Class: Aws::MarketplaceMetering::Types::BatchMeterUsageRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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

Instance Attribute Details

#product_codeString

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.

Returns:

  • (String)


29
30
31
32
33
34
# File 'lib/aws-sdk-marketplacemetering/types.rb', line 29

class BatchMeterUsageRequest < Struct.new(
  :usage_records,
  :product_code)
  SENSITIVE = []
  include Aws::Structure
end

#usage_recordsArray<Types::UsageRecord>

The set of ‘UsageRecords` to submit. `BatchMeterUsage` accepts up to 25 `UsageRecords` at a time.

Returns:



29
30
31
32
33
34
# File 'lib/aws-sdk-marketplacemetering/types.rb', line 29

class BatchMeterUsageRequest < Struct.new(
  :usage_records,
  :product_code)
  SENSITIVE = []
  include Aws::Structure
end