Enum rusoto_meteringmarketplace::MeterUsageError [−][src]
pub enum MeterUsageError { CustomerNotEntitled(String), DuplicateRequest(String), InternalServiceError(String), InvalidEndpointRegion(String), InvalidProductCode(String), InvalidTag(String), InvalidUsageAllocations(String), InvalidUsageDimension(String), Throttling(String), TimestampOutOfBounds(String), }
Expand description
Errors returned by MeterUsage
Variants
CustomerNotEntitled(String)
Exception thrown when the customer does not have a valid subscription for the product.
DuplicateRequest(String)
A metering record has already been emitted by the same EC2 instance, ECS task, or EKS pod for the given {usageDimension, timestamp} with a different usageQuantity.
InternalServiceError(String)
An internal error has occurred. Retry your request. If the problem persists, post a message with details on the AWS forums.
InvalidEndpointRegion(String)
The endpoint being called is in a AWS Region different from your EC2 instance, ECS task, or EKS pod. The Region of the Metering Service endpoint and the AWS Region of the resource must match.
InvalidProductCode(String)
The product code passed does not match the product code used for publishing the product.
InvalidTag(String)
The tag is invalid, or the number of tags is greater than 5.
InvalidUsageAllocations(String)
The usage allocation objects are invalid, or the number of allocations is greater than 500 for a single usage record.
InvalidUsageDimension(String)
The usage dimension does not match one of the UsageDimensions associated with products.
Throttling(String)
The calls to the API are throttled.
TimestampOutOfBounds(String)
The timestamp value passed in the meterUsage() is out of allowed range.
Implementations
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for MeterUsageError
impl Send for MeterUsageError
impl Sync for MeterUsageError
impl Unpin for MeterUsageError
impl UnwindSafe for MeterUsageError