Enum aws_sdk_iot::error::CreateRoleAliasErrorKind [−][src]
#[non_exhaustive]
pub enum CreateRoleAliasErrorKind {
InternalFailureException(InternalFailureException),
InvalidRequestException(InvalidRequestException),
LimitExceededException(LimitExceededException),
ResourceAlreadyExistsException(ResourceAlreadyExistsException),
ServiceUnavailableException(ServiceUnavailableException),
ThrottlingException(ThrottlingException),
UnauthorizedException(UnauthorizedException),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}
Expand description
Types of errors that can occur for the CreateRoleAlias
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.
InternalFailureException(InternalFailureException)
Tuple Fields
An unexpected error has occurred.
InvalidRequestException(InvalidRequestException)
Tuple Fields
The request is not valid.
LimitExceededException(LimitExceededException)
Tuple Fields
A limit has been exceeded.
ResourceAlreadyExistsException(ResourceAlreadyExistsException)
Tuple Fields
The resource already exists.
ServiceUnavailableException(ServiceUnavailableException)
The service is temporarily unavailable.
ThrottlingException(ThrottlingException)
Tuple Fields
The rate exceeds the limit.
UnauthorizedException(UnauthorizedException)
Tuple Fields
You are not authorized to perform this operation.
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 CreateRoleAliasErrorKind
impl Send for CreateRoleAliasErrorKind
impl Sync for CreateRoleAliasErrorKind
impl Unpin for CreateRoleAliasErrorKind
impl !UnwindSafe for CreateRoleAliasErrorKind
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