Enum aws_sdk_cloudwatchlogs::error::PutRetentionPolicyErrorKind [−][src]
#[non_exhaustive]
pub enum PutRetentionPolicyErrorKind {
InvalidParameterException(InvalidParameterException),
OperationAbortedException(OperationAbortedException),
ResourceNotFoundException(ResourceNotFoundException),
ServiceUnavailableException(ServiceUnavailableException),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}
Expand description
Types of errors that can occur for the PutRetentionPolicy
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.
InvalidParameterException(InvalidParameterException)
A parameter is specified incorrectly.
Tuple Fields of InvalidParameterException
OperationAbortedException(OperationAbortedException)
Multiple requests to update the same resource were in conflict.
Tuple Fields of OperationAbortedException
ResourceNotFoundException(ResourceNotFoundException)
The specified resource does not exist.
Tuple Fields of ResourceNotFoundException
The service cannot complete the request.
An unexpected error, eg. invalid JSON returned by the service or an unknown error code
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for PutRetentionPolicyErrorKind
impl Send for PutRetentionPolicyErrorKind
impl Sync for PutRetentionPolicyErrorKind
impl Unpin for PutRetentionPolicyErrorKind
impl !UnwindSafe for PutRetentionPolicyErrorKind
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