You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::MarketplaceMetering::Types::UsageRecordResult

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-marketplacemetering/lib/aws-sdk-marketplacemetering/types.rb

Overview

A UsageRecordResult indicates the status of a given UsageRecord processed by BatchMeterUsage.

Instance Attribute Summary collapse

Instance Attribute Details

#metering_record_idString

The MeteringRecordId is a unique identifier for this metering event.

Returns:

  • (String)


256
257
258
259
260
261
# File 'gems/aws-sdk-marketplacemetering/lib/aws-sdk-marketplacemetering/types.rb', line 256

class UsageRecordResult < Struct.new(
  :usage_record,
  :metering_record_id,
  :status)
  include Aws::Structure
end

#statusString

The UsageRecordResult Status indicates the status of an individual UsageRecord processed by BatchMeterUsage.

  • Success- The UsageRecord was accepted and honored by BatchMeterUsage.

  • CustomerNotSubscribed- The CustomerIdentifier specified is not subscribed to your product. The UsageRecord was not honored. Future UsageRecords for this customer will fail until the customer subscribes to your product.

  • DuplicateRecord- Indicates that the UsageRecord was invalid and not honored. A previously metered UsageRecord had the same customer, dimension, and time, but a different quantity.

Returns:

  • (String)


256
257
258
259
260
261
# File 'gems/aws-sdk-marketplacemetering/lib/aws-sdk-marketplacemetering/types.rb', line 256

class UsageRecordResult < Struct.new(
  :usage_record,
  :metering_record_id,
  :status)
  include Aws::Structure
end

#usage_recordTypes::UsageRecord

The UsageRecord that was part of the BatchMeterUsage request.

Returns:



256
257
258
259
260
261
# File 'gems/aws-sdk-marketplacemetering/lib/aws-sdk-marketplacemetering/types.rb', line 256

class UsageRecordResult < Struct.new(
  :usage_record,
  :metering_record_id,
  :status)
  include Aws::Structure
end