Enum aws_sdk_backup::error::DescribeProtectedResourceErrorKind [−][src]
#[non_exhaustive]
pub enum DescribeProtectedResourceErrorKind {
InvalidParameterValueException(InvalidParameterValueException),
MissingParameterValueException(MissingParameterValueException),
ResourceNotFoundException(ResourceNotFoundException),
ServiceUnavailableException(ServiceUnavailableException),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}
Expand description
Types of errors that can occur for the DescribeProtectedResource
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.
InvalidParameterValueException(InvalidParameterValueException)
Indicates that something is wrong with a parameter's value. For example, the value is out of range.
Tuple Fields of InvalidParameterValueException
MissingParameterValueException(MissingParameterValueException)
Indicates that a required parameter is missing.
Tuple Fields of MissingParameterValueException
ResourceNotFoundException(ResourceNotFoundException)
A resource that is required for the action doesn't exist.
Tuple Fields of ResourceNotFoundException
The request failed due to a temporary failure of the server.
An unexpected error, eg. invalid JSON returned by the service or an unknown error code
Trait Implementations
Auto Trait Implementations
impl Send for DescribeProtectedResourceErrorKind
impl Sync for DescribeProtectedResourceErrorKind
impl Unpin for DescribeProtectedResourceErrorKind
impl !UnwindSafe for DescribeProtectedResourceErrorKind
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