#[non_exhaustive]
pub enum AssociateApiErrorKind {
AccessDeniedException(AccessDeniedException),
BadRequestException(BadRequestException),
InternalFailureException(InternalFailureException),
NotFoundException(NotFoundException),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}
Expand description
Types of errors that can occur for the AssociateApi
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.
NotFoundException(NotFoundException)
The resource specified in the request was not found. Check the resource, and then try 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 AssociateApiErrorKind
impl Send for AssociateApiErrorKind
impl Sync for AssociateApiErrorKind
impl Unpin for AssociateApiErrorKind
impl !UnwindSafe for AssociateApiErrorKind
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