#[non_exhaustive]pub enum SesErrorCode {
Show 33 variants
AccountSendingPausedException,
AlreadyExists,
AlreadyExistsException,
CannotDeleteException,
ConfigurationSetAlreadyExistsException,
ConfigurationSetDoesNotExist,
ConfigurationSetDoesNotExistException,
ConfigurationSetSendingPausedException,
EventDestinationAlreadyExistsException,
EventDestinationDoesNotExistException,
InternalError,
InvalidCloudWatchDestinationException,
InvalidConfigurationSetException,
InvalidFirehoseDestinationException,
InvalidLambdaFunctionException,
InvalidParameterValue,
InvalidPolicyException,
InvalidS3ConfigurationException,
InvalidSNSDestinationException,
InvalidSnsTopicException,
InvalidTemplate,
InvalidTemplateException,
LimitExceeded,
LimitExceededException,
MailFromDomainNotVerifiedException,
MessageRejected,
MissingAction,
RuleDoesNotExist,
RuleDoesNotExistException,
RuleSetDoesNotExist,
RuleSetDoesNotExistException,
TemplateDoesNotExist,
TemplateDoesNotExistException,
}Expand description
Well-known SES error codes.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
AccountSendingPausedException
AccountSendingPausedException error.
AlreadyExists
AlreadyExists error.
AlreadyExistsException
AlreadyExistsException error.
CannotDeleteException
CannotDeleteException error.
ConfigurationSetAlreadyExistsException
ConfigurationSetAlreadyExistsException error.
ConfigurationSetDoesNotExist
ConfigurationSetDoesNotExist error.
ConfigurationSetDoesNotExistException
ConfigurationSetDoesNotExistException error.
ConfigurationSetSendingPausedException
ConfigurationSetSendingPausedException error.
EventDestinationAlreadyExistsException
EventDestinationAlreadyExistsException error.
EventDestinationDoesNotExistException
EventDestinationDoesNotExistException error.
InternalError
InternalError error.
InvalidCloudWatchDestinationException
InvalidCloudWatchDestinationException error.
InvalidConfigurationSetException
InvalidConfigurationSetException error.
InvalidFirehoseDestinationException
InvalidFirehoseDestinationException error.
InvalidLambdaFunctionException
InvalidLambdaFunctionException error.
InvalidParameterValue
InvalidParameterValue error.
InvalidPolicyException
InvalidPolicyException error.
InvalidS3ConfigurationException
InvalidS3ConfigurationException error.
InvalidSNSDestinationException
InvalidSNSDestinationException error.
InvalidSnsTopicException
InvalidSnsTopicException error.
InvalidTemplate
InvalidTemplate error.
InvalidTemplateException
InvalidTemplateException error.
LimitExceeded
LimitExceeded error.
LimitExceededException
LimitExceededException error.
MailFromDomainNotVerifiedException
MailFromDomainNotVerifiedException error.
MessageRejected
MessageRejected error.
MissingAction
MissingAction error.
RuleDoesNotExist
RuleDoesNotExist error.
RuleDoesNotExistException
RuleDoesNotExistException error.
RuleSetDoesNotExist
RuleSetDoesNotExist error.
RuleSetDoesNotExistException
RuleSetDoesNotExistException error.
TemplateDoesNotExist
TemplateDoesNotExist error.
TemplateDoesNotExistException
TemplateDoesNotExistException error.
Implementations§
Source§impl SesErrorCode
impl SesErrorCode
Sourcepub fn error_type(&self) -> &'static str
pub fn error_type(&self) -> &'static str
Returns the short error type string for the JSON __type field.
Sourcepub fn status_code(&self) -> StatusCode
pub fn status_code(&self) -> StatusCode
HTTP status code for this error.
Sourcepub fn fault(&self) -> &'static str
pub fn fault(&self) -> &'static str
Fault type: "Sender" for client errors, "Receiver" for server errors.
Sourcepub fn default_status_code(&self) -> StatusCode
pub fn default_status_code(&self) -> StatusCode
Returns the default HTTP status code for this error.
Trait Implementations§
Source§impl Clone for SesErrorCode
impl Clone for SesErrorCode
Source§fn clone(&self) -> SesErrorCode
fn clone(&self) -> SesErrorCode
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for SesErrorCode
impl Debug for SesErrorCode
Source§impl Default for SesErrorCode
impl Default for SesErrorCode
Source§fn default() -> SesErrorCode
fn default() -> SesErrorCode
Source§impl Display for SesErrorCode
impl Display for SesErrorCode
Source§impl Hash for SesErrorCode
impl Hash for SesErrorCode
Source§impl PartialEq for SesErrorCode
impl PartialEq for SesErrorCode
Source§fn eq(&self, other: &SesErrorCode) -> bool
fn eq(&self, other: &SesErrorCode) -> bool
self and other values to be equal, and is used by ==.