Enum aws_sdk_elasticsearch::error::GetPackageVersionHistoryErrorKind [−][src]
#[non_exhaustive]
pub enum GetPackageVersionHistoryErrorKind {
AccessDeniedException(AccessDeniedException),
BaseException(BaseException),
InternalException(InternalException),
ResourceNotFoundException(ResourceNotFoundException),
ValidationException(ValidationException),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}
Expand description
Types of errors that can occur for the GetPackageVersionHistory
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.
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 Send for GetPackageVersionHistoryErrorKind
impl Sync for GetPackageVersionHistoryErrorKind
impl Unpin for GetPackageVersionHistoryErrorKind
impl !UnwindSafe for GetPackageVersionHistoryErrorKind
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