Enum aws_sdk_elasticsearch::error::AssociatePackageErrorKind [−][src]
#[non_exhaustive]
pub enum AssociatePackageErrorKind {
AccessDeniedException(AccessDeniedException),
BaseException(BaseException),
ConflictException(ConflictException),
InternalException(InternalException),
ResourceNotFoundException(ResourceNotFoundException),
ValidationException(ValidationException),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}
Expand description
Types of errors that can occur for the AssociatePackage
operation.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
AccessDeniedException(AccessDeniedException)
Tuple Fields
An error occurred because user does not have permissions to access the resource. Returns HTTP status code 403.
BaseException(BaseException)
Tuple Fields
An error occurred while processing the request.
ConflictException(ConflictException)
Tuple Fields
An error occurred because the client attempts to remove a resource that is currently in use. Returns HTTP status code 409.
InternalException(InternalException)
Tuple Fields
The request processing has failed because of an unknown error, exception or failure (the failure is internal to the service) . Gives http status code of 500.
ResourceNotFoundException(ResourceNotFoundException)
Tuple Fields
An exception for accessing or deleting a resource that does not exist. Gives http status code of 400.
ValidationException(ValidationException)
Tuple Fields
An exception for missing / invalid input fields. Gives http status code of 400.
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 AssociatePackageErrorKind
impl Send for AssociatePackageErrorKind
impl Sync for AssociatePackageErrorKind
impl Unpin for AssociatePackageErrorKind
impl !UnwindSafe for AssociatePackageErrorKind
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