[][src]Enum rusoto_meteringmarketplace::MeterUsageError

pub enum MeterUsageError {
    CustomerNotEntitled(String),
    DuplicateRequest(String),
    InternalServiceError(String),
    InvalidEndpointRegion(String),
    InvalidProductCode(String),
    InvalidUsageDimension(String),
    Throttling(String),
    TimestampOutOfBounds(String),
}

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.

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

impl MeterUsageError[src]

Trait Implementations

impl Debug for MeterUsageError[src]

impl Display for MeterUsageError[src]

impl Error for MeterUsageError[src]

impl PartialEq<MeterUsageError> for MeterUsageError[src]

impl StructuralPartialEq for MeterUsageError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.