#[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(Unhandled),
}
Expand description
Types of errors that can occur for the CreateFleetMetric
operation.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
IndexNotReadyException(IndexNotReadyException)
The index is not ready.
InternalFailureException(InternalFailureException)
An unexpected error has occurred.
InvalidAggregationException(InvalidAggregationException)
The aggregation is invalid.
InvalidQueryException(InvalidQueryException)
The query is invalid.
InvalidRequestException(InvalidRequestException)
The request is not valid.
LimitExceededException(LimitExceededException)
A limit has been exceeded.
ResourceAlreadyExistsException(ResourceAlreadyExistsException)
The resource already exists.
ResourceNotFoundException(ResourceNotFoundException)
The specified resource does not exist.
The service is temporarily unavailable.
ThrottlingException(ThrottlingException)
The rate exceeds the limit.
You are not authorized to perform this operation.
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.