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