Enum aws_sdk_elasticsearch::error::UpdatePackageErrorKind [−][src]
#[non_exhaustive]
pub enum UpdatePackageErrorKind {
AccessDeniedException(AccessDeniedException),
BaseException(BaseException),
InternalException(InternalException),
LimitExceededException(LimitExceededException),
ResourceNotFoundException(ResourceNotFoundException),
ValidationException(ValidationException),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}
Expand description
Types of errors that can occur for the UpdatePackage
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.
LimitExceededException(LimitExceededException)
Tuple Fields
An exception for trying to create more than allowed resources or sub-resources. Gives http status code of 409.
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 UpdatePackageErrorKind
impl Send for UpdatePackageErrorKind
impl Sync for UpdatePackageErrorKind
impl Unpin for UpdatePackageErrorKind
impl !UnwindSafe for UpdatePackageErrorKind
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