github.com/aavshr/aws-sdk-go@v1.41.3/service/sesv2/errors.go (about) 1 // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. 2 3 package sesv2 4 5 import ( 6 "github.com/aavshr/aws-sdk-go/private/protocol" 7 ) 8 9 const ( 10 11 // ErrCodeAccountSuspendedException for service response error code 12 // "AccountSuspendedException". 13 // 14 // The message can't be sent because the account's ability to send email has 15 // been permanently restricted. 16 ErrCodeAccountSuspendedException = "AccountSuspendedException" 17 18 // ErrCodeAlreadyExistsException for service response error code 19 // "AlreadyExistsException". 20 // 21 // The resource specified in your request already exists. 22 ErrCodeAlreadyExistsException = "AlreadyExistsException" 23 24 // ErrCodeBadRequestException for service response error code 25 // "BadRequestException". 26 // 27 // The input you provided is invalid. 28 ErrCodeBadRequestException = "BadRequestException" 29 30 // ErrCodeConcurrentModificationException for service response error code 31 // "ConcurrentModificationException". 32 // 33 // The resource is being modified by another operation or thread. 34 ErrCodeConcurrentModificationException = "ConcurrentModificationException" 35 36 // ErrCodeConflictException for service response error code 37 // "ConflictException". 38 // 39 // If there is already an ongoing account details update under review. 40 ErrCodeConflictException = "ConflictException" 41 42 // ErrCodeInvalidNextTokenException for service response error code 43 // "InvalidNextTokenException". 44 // 45 // The specified request includes an invalid or expired token. 46 ErrCodeInvalidNextTokenException = "InvalidNextTokenException" 47 48 // ErrCodeLimitExceededException for service response error code 49 // "LimitExceededException". 50 // 51 // There are too many instances of the specified resource type. 52 ErrCodeLimitExceededException = "LimitExceededException" 53 54 // ErrCodeMailFromDomainNotVerifiedException for service response error code 55 // "MailFromDomainNotVerifiedException". 56 // 57 // The message can't be sent because the sending domain isn't verified. 58 ErrCodeMailFromDomainNotVerifiedException = "MailFromDomainNotVerifiedException" 59 60 // ErrCodeMessageRejected for service response error code 61 // "MessageRejected". 62 // 63 // The message can't be sent because it contains invalid content. 64 ErrCodeMessageRejected = "MessageRejected" 65 66 // ErrCodeNotFoundException for service response error code 67 // "NotFoundException". 68 // 69 // The resource you attempted to access doesn't exist. 70 ErrCodeNotFoundException = "NotFoundException" 71 72 // ErrCodeSendingPausedException for service response error code 73 // "SendingPausedException". 74 // 75 // The message can't be sent because the account's ability to send email is 76 // currently paused. 77 ErrCodeSendingPausedException = "SendingPausedException" 78 79 // ErrCodeTooManyRequestsException for service response error code 80 // "TooManyRequestsException". 81 // 82 // Too many requests have been made to the operation. 83 ErrCodeTooManyRequestsException = "TooManyRequestsException" 84 ) 85 86 var exceptionFromCode = map[string]func(protocol.ResponseMetadata) error{ 87 "AccountSuspendedException": newErrorAccountSuspendedException, 88 "AlreadyExistsException": newErrorAlreadyExistsException, 89 "BadRequestException": newErrorBadRequestException, 90 "ConcurrentModificationException": newErrorConcurrentModificationException, 91 "ConflictException": newErrorConflictException, 92 "InvalidNextTokenException": newErrorInvalidNextTokenException, 93 "LimitExceededException": newErrorLimitExceededException, 94 "MailFromDomainNotVerifiedException": newErrorMailFromDomainNotVerifiedException, 95 "MessageRejected": newErrorMessageRejected, 96 "NotFoundException": newErrorNotFoundException, 97 "SendingPausedException": newErrorSendingPausedException, 98 "TooManyRequestsException": newErrorTooManyRequestsException, 99 }