#[non_exhaustive]
pub enum PauseServiceErrorKind {
InternalServiceErrorException(InternalServiceErrorException),
InvalidRequestException(InvalidRequestException),
InvalidStateException(InvalidStateException),
ResourceNotFoundException(ResourceNotFoundException),
Unhandled(Unhandled),
}
Expand description
Types of errors that can occur for the PauseService
operation.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
InternalServiceErrorException(InternalServiceErrorException)
An unexpected service exception occurred.
InvalidRequestException(InvalidRequestException)
One or more input parameters aren't valid. Refer to the API action's document page, correct the input parameters, and try the action again.
InvalidStateException(InvalidStateException)
You can't perform this action when the resource is in its current state.
ResourceNotFoundException(ResourceNotFoundException)
A resource doesn't exist for the specified Amazon Resource Name (ARN) in your Amazon Web Services account.
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.