#[non_exhaustive]
pub enum CreateApplicationErrorKind {
ApplicationAlreadyExistsException(ApplicationAlreadyExistsException),
ApplicationLimitExceededException(ApplicationLimitExceededException),
ApplicationNameRequiredException(ApplicationNameRequiredException),
InvalidApplicationNameException(InvalidApplicationNameException),
InvalidComputePlatformException(InvalidComputePlatformException),
InvalidTagsToAddException(InvalidTagsToAddException),
Unhandled(Unhandled),
}
Expand description
Types of errors that can occur for the CreateApplication
operation.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
ApplicationAlreadyExistsException(ApplicationAlreadyExistsException)
An application with the specified name with the IAM user or Amazon Web Services account already exists.
ApplicationLimitExceededException(ApplicationLimitExceededException)
More applications were attempted to be created than are allowed.
ApplicationNameRequiredException(ApplicationNameRequiredException)
The minimum number of required application names was not specified.
InvalidApplicationNameException(InvalidApplicationNameException)
The application name was specified in an invalid format.
InvalidComputePlatformException(InvalidComputePlatformException)
The computePlatform is invalid. The computePlatform should be Lambda
, Server
, or ECS
.
InvalidTagsToAddException(InvalidTagsToAddException)
The specified tags are not valid.
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.