#[non_exhaustive]
pub enum CopyImageErrorKind {
IncompatibleImageException(IncompatibleImageException),
InvalidAccountStatusException(InvalidAccountStatusException),
LimitExceededException(LimitExceededException),
ResourceAlreadyExistsException(ResourceAlreadyExistsException),
ResourceNotAvailableException(ResourceNotAvailableException),
ResourceNotFoundException(ResourceNotFoundException),
Unhandled(Unhandled),
}
Expand description
Types of errors that can occur for the CopyImage
operation.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
IncompatibleImageException(IncompatibleImageException)
The image can't be updated because it's not compatible for updates.
InvalidAccountStatusException(InvalidAccountStatusException)
The resource cannot be created because your AWS account is suspended. For assistance, contact AWS Support.
LimitExceededException(LimitExceededException)
The requested limit exceeds the permitted limit for an account.
ResourceAlreadyExistsException(ResourceAlreadyExistsException)
The specified resource already exists.
ResourceNotAvailableException(ResourceNotAvailableException)
The specified resource exists and is not in use, but isn't available.
ResourceNotFoundException(ResourceNotFoundException)
The specified resource was not found.
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.