Enum aws_sdk_fsx::error::CancelDataRepositoryTaskErrorKind [−][src]
#[non_exhaustive]
pub enum CancelDataRepositoryTaskErrorKind {
BadRequest(BadRequest),
DataRepositoryTaskEnded(DataRepositoryTaskEnded),
DataRepositoryTaskNotFound(DataRepositoryTaskNotFound),
InternalServerError(InternalServerError),
UnsupportedOperation(UnsupportedOperation),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}Expand description
Types of errors that can occur for the CancelDataRepositoryTask 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.
BadRequest(BadRequest)
Tuple Fields
0: BadRequestA generic error indicating a failure with a client request.
DataRepositoryTaskEnded(DataRepositoryTaskEnded)
Tuple Fields
The data repository task could not be canceled because the task has already ended.
DataRepositoryTaskNotFound(DataRepositoryTaskNotFound)
Tuple Fields
The data repository task or tasks you specified could not be found.
InternalServerError(InternalServerError)
Tuple Fields
A generic error indicating a server-side failure.
UnsupportedOperation(UnsupportedOperation)
Tuple Fields
The requested operation is not supported for this resource or API.
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 CancelDataRepositoryTaskErrorKind
impl Sync for CancelDataRepositoryTaskErrorKind
impl Unpin for CancelDataRepositoryTaskErrorKind
impl !UnwindSafe for CancelDataRepositoryTaskErrorKind
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