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
customer_identifier: CustomerIdentifier
The CustomerIdentifier is obtained through the ResolveCustomer operation and represents an individual buyer in your application.
dimension: UsageDimension
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.
quantity: UsageQuantity
The quantity of usage consumed by the customer for the given dimension and time.
timestamp: Timestamp
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]
fn default() -> UsageRecord
Returns the "default value" for a type. Read more
impl Debug for UsageRecord
[src]
impl Clone for UsageRecord
[src]
fn clone(&self) -> UsageRecord
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more