Enum aws_sdk_iot::error::CreateFleetMetricErrorKind
source ·
[−]#[non_exhaustive]
pub enum CreateFleetMetricErrorKind {
IndexNotReadyException(IndexNotReadyException),
InternalFailureException(InternalFailureException),
InvalidAggregationException(InvalidAggregationException),
InvalidQueryException(InvalidQueryException),
InvalidRequestException(InvalidRequestException),
LimitExceededException(LimitExceededException),
ResourceAlreadyExistsException(ResourceAlreadyExistsException),
ResourceNotFoundException(ResourceNotFoundException),
ServiceUnavailableException(ServiceUnavailableException),
ThrottlingException(ThrottlingException),
UnauthorizedException(UnauthorizedException),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}Expand description
Types of errors that can occur for the CreateFleetMetric 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.
IndexNotReadyException(IndexNotReadyException)
Tuple Fields
The index is not ready.
InternalFailureException(InternalFailureException)
Tuple Fields
An unexpected error has occurred.
InvalidAggregationException(InvalidAggregationException)
Tuple Fields
The aggregation is invalid.
InvalidQueryException(InvalidQueryException)
Tuple Fields
The query is invalid.
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.
ResourceNotFoundException(ResourceNotFoundException)
Tuple Fields
The specified resource does not exist.
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 CreateFleetMetricErrorKind
impl Send for CreateFleetMetricErrorKind
impl Sync for CreateFleetMetricErrorKind
impl Unpin for CreateFleetMetricErrorKind
impl !UnwindSafe for CreateFleetMetricErrorKind
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
