// Code generated by smithy-go-codegen DO NOT EDIT. package types import ( "fmt" smithy "github.com/aws/smithy-go" ) // The message can't be sent because the account's ability to send email has been // permanently restricted. type AccountSuspendedException struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *AccountSuspendedException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *AccountSuspendedException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *AccountSuspendedException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "AccountSuspendedException" } return *e.ErrorCodeOverride } func (e *AccountSuspendedException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The resource specified in your request already exists. type AlreadyExistsException struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *AlreadyExistsException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *AlreadyExistsException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *AlreadyExistsException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "AlreadyExistsException" } return *e.ErrorCodeOverride } func (e *AlreadyExistsException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The input you provided is invalid. type BadRequestException struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *BadRequestException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *BadRequestException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *BadRequestException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "BadRequestException" } return *e.ErrorCodeOverride } func (e *BadRequestException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The resource is being modified by another operation or thread. type ConcurrentModificationException struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *ConcurrentModificationException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *ConcurrentModificationException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *ConcurrentModificationException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "ConcurrentModificationException" } return *e.ErrorCodeOverride } func (e *ConcurrentModificationException) ErrorFault() smithy.ErrorFault { return smithy.FaultServer } // There are too many instances of the specified resource type. type LimitExceededException struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *LimitExceededException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *LimitExceededException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *LimitExceededException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "LimitExceededException" } return *e.ErrorCodeOverride } func (e *LimitExceededException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The message can't be sent because the sending domain isn't verified. type MailFromDomainNotVerifiedException struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *MailFromDomainNotVerifiedException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *MailFromDomainNotVerifiedException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *MailFromDomainNotVerifiedException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "MailFromDomainNotVerifiedException" } return *e.ErrorCodeOverride } func (e *MailFromDomainNotVerifiedException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The message can't be sent because it contains invalid content. type MessageRejected struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *MessageRejected) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *MessageRejected) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *MessageRejected) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "MessageRejected" } return *e.ErrorCodeOverride } func (e *MessageRejected) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The resource you attempted to access doesn't exist. type NotFoundException struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *NotFoundException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *NotFoundException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *NotFoundException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "NotFoundException" } return *e.ErrorCodeOverride } func (e *NotFoundException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // The message can't be sent because the account's ability to send email is // currently paused. type SendingPausedException struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *SendingPausedException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *SendingPausedException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *SendingPausedException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "SendingPausedException" } return *e.ErrorCodeOverride } func (e *SendingPausedException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient } // Too many requests have been made to the operation. type TooManyRequestsException struct { Message *string ErrorCodeOverride *string noSmithyDocumentSerde } func (e *TooManyRequestsException) Error() string { return fmt.Sprintf("%s: %s", e.ErrorCode(), e.ErrorMessage()) } func (e *TooManyRequestsException) ErrorMessage() string { if e.Message == nil { return "" } return *e.Message } func (e *TooManyRequestsException) ErrorCode() string { if e == nil || e.ErrorCodeOverride == nil { return "TooManyRequestsException" } return *e.ErrorCodeOverride } func (e *TooManyRequestsException) ErrorFault() smithy.ErrorFault { return smithy.FaultClient }