Enum aws_sdk_snowball::error::CancelJobErrorKind [−][src]
#[non_exhaustive]
pub enum CancelJobErrorKind {
InvalidJobStateException(InvalidJobStateException),
InvalidResourceException(InvalidResourceException),
KmsRequestFailedException(KmsRequestFailedException),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}
Expand description
Types of errors that can occur for the CancelJob
operation.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
InvalidJobStateException(InvalidJobStateException)
The action can't be performed because the job's current state doesn't allow that action to be performed.
Tuple Fields of InvalidJobStateException
InvalidResourceException(InvalidResourceException)
The specified resource can't be found. Check the information you provided in your last request, and try again.
Tuple Fields of InvalidResourceException
KmsRequestFailedException(KmsRequestFailedException)
The provided AWS Key Management Service key lacks the permissions to perform the specified CreateJob or UpdateJob action.
Tuple Fields of KmsRequestFailedException
An unexpected error, e.g. invalid JSON returned by the service or an unknown error code
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for CancelJobErrorKind
impl Send for CancelJobErrorKind
impl Sync for CancelJobErrorKind
impl Unpin for CancelJobErrorKind
impl !UnwindSafe for CancelJobErrorKind
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