class Aws::MarketplaceMetering::Types::BatchMeterUsageRequest
A BatchMeterUsageRequest
contains UsageRecords, which indicate quantities of usage within your application.
@note When making an API call, you may pass BatchMeterUsageRequest
data as a hash: { usage_records: [ # required { timestamp: Time.now, # required customer_identifier: "CustomerIdentifier", # required dimension: "UsageDimension", # required quantity: 1, usage_allocations: [ { allocated_usage_quantity: 1, # required tags: [ { key: "TagKey", # required value: "TagValue", # required }, ], }, ], }, ], product_code: "ProductCode", # required }
@!attribute [rw] usage_records
The set of UsageRecords to submit. BatchMeterUsage accepts up to 25 UsageRecords at a time. @return [Array<Types::UsageRecord>]
@!attribute [rw] product_code
Product code is used to uniquely identify a product in AWS Marketplace. The product code should be the same as the one used during the publishing of a new product. @return [String]
@see docs.aws.amazon.com/goto/WebAPI/meteringmarketplace-2016-01-14/BatchMeterUsageRequest AWS API Documentation
Constants
- SENSITIVE