#[non_exhaustive]
pub enum CreateApplicationErrorKind {
ApplicationAlreadyExistsException(ApplicationAlreadyExistsException),
ApplicationLimitExceededException(ApplicationLimitExceededException),
ApplicationNameRequiredException(ApplicationNameRequiredException),
InvalidApplicationNameException(InvalidApplicationNameException),
InvalidComputePlatformException(InvalidComputePlatformException),
InvalidTagsToAddException(InvalidTagsToAddException),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}
Expand description
Types of errors that can occur for the CreateApplication
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.
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(Box<dyn Error + Send + Sync + 'static>)
An unexpected error, e.g. invalid JSON returned by the service or an unknown error code
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for CreateApplicationErrorKind
impl Send for CreateApplicationErrorKind
impl Sync for CreateApplicationErrorKind
impl Unpin for CreateApplicationErrorKind
impl !UnwindSafe for CreateApplicationErrorKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more