Struct rusoto_meteringmarketplace::UsageRecord [] [src]

pub struct UsageRecord {
    pub customer_identifier: CustomerIdentifier,
    pub dimension: UsageDimension,
    pub quantity: UsageQuantity,
    pub timestamp: Timestamp,
}

A UsageRecord indicates a quantity of usage for a given product, customer, dimension and time.

Multiple requests with the same UsageRecords as input will be deduplicated to prevent double charges.

Fields

The CustomerIdentifier is obtained through the ResolveCustomer operation and represents an individual buyer in your application.

During the process of registering a product on AWS Marketplace, up to eight dimensions are specified. These represent different units of value in your application.

The quantity of usage consumed by the customer for the given dimension and time.

Timestamp of the hour, recorded in UTC. The seconds and milliseconds portions of the timestamp will be ignored.

Your application can meter usage for up to one hour in the past.

Trait Implementations

impl Default for UsageRecord
[src]

Returns the "default value" for a type. Read more

impl Debug for UsageRecord
[src]

Formats the value using the given formatter.

impl Clone for UsageRecord
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more