Enum aws_sdk_elasticsearch::error::DissociatePackageErrorKind [−][src]
#[non_exhaustive]
pub enum DissociatePackageErrorKind {
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 DissociatePackage
operation.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
AccessDeniedException(AccessDeniedException)
An error occurred because user does not have permissions to access the resource. Returns HTTP status code 403.
Tuple Fields of AccessDeniedException
BaseException(BaseException)
An error occurred while processing the request.
Tuple Fields of BaseException
ConflictException(ConflictException)
An error occurred because the client attempts to remove a resource that is currently in use. Returns HTTP status code 409.
Tuple Fields of ConflictException
InternalException(InternalException)
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.
Tuple Fields of InternalException
ResourceNotFoundException(ResourceNotFoundException)
An exception for accessing or deleting a resource that does not exist. Gives http status code of 400.
Tuple Fields of ResourceNotFoundException
ValidationException(ValidationException)
An exception for missing / invalid input fields. Gives http status code of 400.
Tuple Fields of ValidationException
An unexpected error, eg. invalid JSON returned by the service or an unknown error code
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for DissociatePackageErrorKind
impl Send for DissociatePackageErrorKind
impl Sync for DissociatePackageErrorKind
impl Unpin for DissociatePackageErrorKind
impl !UnwindSafe for DissociatePackageErrorKind
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