Enum rusoto_meteringmarketplace::MeterUsageError [] [src]

pub enum MeterUsageError {
    DuplicateRequest(String),
    InternalServiceError(String),
    InvalidEndpointRegion(String),
    InvalidProductCode(String),
    InvalidUsageDimension(String),
    Throttling(String),
    TimestampOutOfBounds(String),
    HttpDispatch(HttpDispatchError),
    Credentials(CredentialsError),
    Validation(String),
    Unknown(String),
}

Errors returned by MeterUsage

Variants

A metering record has already been emitted by the same EC2 instance for the given {usageDimension, timestamp} with a different usageQuantity.

An internal error has occurred. Retry your request. If the problem persists, post a message with details on the AWS forums.

The endpoint being called is in a region different from your EC2 instance. The region of the Metering service endpoint and the region of the EC2 instance must match.

The product code passed does not match the product code used for publishing the product.

The usage dimension does not match one of the UsageDimensions associated with products.

The calls to the MeterUsage API are throttled.

The timestamp value passed in the meterUsage() is out of allowed range.

An error occurred dispatching the HTTP request

An error was encountered with AWS credentials.

A validation error occurred. Details from AWS are provided.

An unknown error occurred. The raw HTTP response is provided.

Methods

impl MeterUsageError
[src]

Trait Implementations

impl Debug for MeterUsageError
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for MeterUsageError
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl From<Error> for MeterUsageError
[src]

[src]

Performs the conversion.

impl From<CredentialsError> for MeterUsageError
[src]

[src]

Performs the conversion.

impl From<HttpDispatchError> for MeterUsageError
[src]

[src]

Performs the conversion.

impl From<Error> for MeterUsageError
[src]

[src]

Performs the conversion.

impl Display for MeterUsageError
[src]

[src]

Formats the value using the given formatter. Read more

impl Error for MeterUsageError
[src]

[src]

A short description of the error. Read more

1.0.0
[src]

The lower-level cause of this error, if any. Read more