#[non_exhaustive]
pub enum DeleteResourcePolicyStatementErrorKind {
InternalServerException(InternalServerException),
PreconditionFailedException(PreconditionFailedException),
ResourceNotFoundException(ResourceNotFoundException),
ThrottlingException(ThrottlingException),
Unhandled(Unhandled),
}Expand description
Types of errors that can occur for the DeleteResourcePolicyStatement operation.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
InternalServerException(InternalServerException)
The service encountered an unexpected condition. Try your request again.
PreconditionFailedException(PreconditionFailedException)
Your request couldn't be completed because one or more request fields aren't valid. Check the fields in your request and try again.
ResourceNotFoundException(ResourceNotFoundException)
You asked to describe a resource that doesn't exist. Check the resource that you are requesting and try again.
ThrottlingException(ThrottlingException)
Your request rate is too high. Reduce the frequency of requests.
Unhandled(Unhandled)
An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
When logging an error from the SDK, it is recommended that you either wrap the error in
DisplayErrorContext, use another
error reporter library that visits the error’s cause/source chain, or call
Error::source for more details about the underlying cause.