Enum aws_sdk_appstream::error::CreateDirectoryConfigErrorKind [−][src]
#[non_exhaustive]
pub enum CreateDirectoryConfigErrorKind {
InvalidAccountStatusException(InvalidAccountStatusException),
InvalidRoleException(InvalidRoleException),
LimitExceededException(LimitExceededException),
OperationNotPermittedException(OperationNotPermittedException),
ResourceAlreadyExistsException(ResourceAlreadyExistsException),
ResourceNotFoundException(ResourceNotFoundException),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}Expand description
Types of errors that can occur for the CreateDirectoryConfig 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.
InvalidAccountStatusException(InvalidAccountStatusException)The resource cannot be created because your AWS account is suspended. For assistance, contact AWS Support.
Tuple Fields of InvalidAccountStatusException
InvalidRoleException(InvalidRoleException)The specified role is invalid.
Tuple Fields of InvalidRoleException
LimitExceededException(LimitExceededException)The requested limit exceeds the permitted limit for an account.
Tuple Fields of LimitExceededException
OperationNotPermittedException(OperationNotPermittedException)The attempted operation is not permitted.
Tuple Fields of OperationNotPermittedException
ResourceAlreadyExistsException(ResourceAlreadyExistsException)The specified resource already exists.
Tuple Fields of ResourceAlreadyExistsException
ResourceNotFoundException(ResourceNotFoundException)The specified resource was not found.
Tuple Fields of ResourceNotFoundException
An unexpected error, e.g. invalid JSON returned by the service or an unknown error code
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for CreateDirectoryConfigErrorKind
impl Send for CreateDirectoryConfigErrorKind
impl Sync for CreateDirectoryConfigErrorKind
impl Unpin for CreateDirectoryConfigErrorKind
impl !UnwindSafe for CreateDirectoryConfigErrorKind
Blanket Implementations
Mutably borrows from an owned value. Read more
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