File: //opt/go/pkg/mod/github.com/aws/
[email protected]/service/cleanroomsml/errors.go
// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
package cleanroomsml
import (
"github.com/aws/aws-sdk-go/private/protocol"
)
const (
// ErrCodeAccessDeniedException for service response error code
// "AccessDeniedException".
//
// You do not have sufficient access to perform this action.
ErrCodeAccessDeniedException = "AccessDeniedException"
// ErrCodeConflictException for service response error code
// "ConflictException".
//
// You can't complete this action because another resource depends on this resource.
ErrCodeConflictException = "ConflictException"
// ErrCodeResourceNotFoundException for service response error code
// "ResourceNotFoundException".
//
// The resource you are requesting does not exist.
ErrCodeResourceNotFoundException = "ResourceNotFoundException"
// ErrCodeServiceQuotaExceededException for service response error code
// "ServiceQuotaExceededException".
//
// You have exceeded your service quota.
ErrCodeServiceQuotaExceededException = "ServiceQuotaExceededException"
// ErrCodeValidationException for service response error code
// "ValidationException".
//
// The request parameters for this request are incorrect.
ErrCodeValidationException = "ValidationException"
)
var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{
"AccessDeniedException": newErrorAccessDeniedException,
"ConflictException": newErrorConflictException,
"ResourceNotFoundException": newErrorResourceNotFoundException,
"ServiceQuotaExceededException": newErrorServiceQuotaExceededException,
"ValidationException": newErrorValidationException,
}