Enum aws_sdk_imagebuilder::error::CreateImageRecipeErrorKind[][src]

#[non_exhaustive]
pub enum CreateImageRecipeErrorKind {
    CallRateLimitExceededException(CallRateLimitExceededException),
    ClientException(ClientException),
    ForbiddenException(ForbiddenException),
    IdempotentParameterMismatchException(IdempotentParameterMismatchException),
    InvalidRequestException(InvalidRequestException),
    InvalidVersionNumberException(InvalidVersionNumberException),
    ResourceAlreadyExistsException(ResourceAlreadyExistsException),
    ResourceInUseException(ResourceInUseException),
    ServiceException(ServiceException),
    ServiceQuotaExceededException(ServiceQuotaExceededException),
    ServiceUnavailableException(ServiceUnavailableException),
    Unhandled(Box<dyn Error + Send + Sync + 'static>),
}
Expand description

Types of errors that can occur for the CreateImageRecipe 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.
CallRateLimitExceededException(CallRateLimitExceededException)

You have exceeded the permitted request rate for the specific operation.

Tuple Fields of CallRateLimitExceededException

0: CallRateLimitExceededException
ClientException(ClientException)

These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an invalid resource identifier.

Tuple Fields of ClientException

0: ClientException
ForbiddenException(ForbiddenException)

You are not authorized to perform the requested operation.

Tuple Fields of ForbiddenException

0: ForbiddenException
IdempotentParameterMismatchException(IdempotentParameterMismatchException)

You have specified a client token for an operation using parameter values that differ from a previous request that used the same client token.

Tuple Fields of IdempotentParameterMismatchException

0: IdempotentParameterMismatchException
InvalidRequestException(InvalidRequestException)

You have made a request for an action that is not supported by the service.

Tuple Fields of InvalidRequestException

0: InvalidRequestException
InvalidVersionNumberException(InvalidVersionNumberException)

Your version number is out of bounds or does not follow the required syntax.

Tuple Fields of InvalidVersionNumberException

0: InvalidVersionNumberException
ResourceAlreadyExistsException(ResourceAlreadyExistsException)

The resource that you are trying to create already exists.

Tuple Fields of ResourceAlreadyExistsException

0: ResourceAlreadyExistsException
ResourceInUseException(ResourceInUseException)

The resource that you are trying to operate on is currently in use. Review the message details and retry later.

Tuple Fields of ResourceInUseException

0: ResourceInUseException
ServiceException(ServiceException)

This exception is thrown when the service encounters an unrecoverable exception.

Tuple Fields of ServiceException

0: ServiceException
ServiceQuotaExceededException(ServiceQuotaExceededException)

You have exceeded the number of permitted resources or operations for this service. For service quotas, see EC2 Image Builder endpoints and quotas.

Tuple Fields of ServiceQuotaExceededException

0: ServiceQuotaExceededException
ServiceUnavailableException(ServiceUnavailableException)

The service is unable to process your request at this time.

Tuple Fields of ServiceUnavailableException

0: ServiceUnavailableException
Unhandled(Box<dyn Error + Send + Sync + 'static>)

An unexpected error, e.g. invalid JSON returned by the service or an unknown error code

Tuple Fields of Unhandled

0: Box<dyn Error + Send + Sync + 'static>

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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