#[non_exhaustive]
pub enum CreateDomainNameErrorKind {
AccessDeniedException(AccessDeniedException),
BadRequestException(BadRequestException),
InternalFailureException(InternalFailureException),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}
Expand description
Types of errors that can occur for the CreateDomainName
operation.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
AccessDeniedException(AccessDeniedException)
You don't have access to perform this operation on this resource.
BadRequestException(BadRequestException)
The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.
InternalFailureException(InternalFailureException)
An internal AppSync error occurred. Try your request again.
Unhandled(Box<dyn Error + Send + Sync + 'static>)
An unexpected error, e.g. invalid JSON returned by the service or an unknown error code
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for CreateDomainNameErrorKind
impl Send for CreateDomainNameErrorKind
impl Sync for CreateDomainNameErrorKind
impl Unpin for CreateDomainNameErrorKind
impl !UnwindSafe for CreateDomainNameErrorKind
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more