Class: Aws::MarketplaceMetering::Types::BatchMeterUsageRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::MarketplaceMetering::Types::BatchMeterUsageRequest
- Defined in:
- gems/aws-sdk-marketplacemetering/lib/aws-sdk-marketplacemetering/types.rb
Overview
A BatchMeterUsageRequest
contains UsageRecords
, which indicate
quantities of usage within your application.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#product_code ⇒ String
Product code is used to uniquely identify a product in AWS Marketplace.
-
#usage_records ⇒ Array<Types::UsageRecord>
The set of
UsageRecords
to submit.
Instance Attribute Details
#product_code ⇒ String
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.
29 30 31 32 33 34 |
# File 'gems/aws-sdk-marketplacemetering/lib/aws-sdk-marketplacemetering/types.rb', line 29 class BatchMeterUsageRequest < Struct.new( :usage_records, :product_code) SENSITIVE = [] include Aws::Structure end |
#usage_records ⇒ Array<Types::UsageRecord>
The set of UsageRecords
to submit. BatchMeterUsage
accepts up to
25 UsageRecords
at a time.
29 30 31 32 33 34 |
# File 'gems/aws-sdk-marketplacemetering/lib/aws-sdk-marketplacemetering/types.rb', line 29 class BatchMeterUsageRequest < Struct.new( :usage_records, :product_code) SENSITIVE = [] include Aws::Structure end |