Class: Aws::MarketplaceMetering::Types::UsageRecordResult
- Inherits:
-
Struct
- Object
- Struct
- Aws::MarketplaceMetering::Types::UsageRecordResult
- 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.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#metering_record_id ⇒ String
The
MeteringRecordIdis a unique identifier for this metering event. -
#status ⇒ String
The
UsageRecordResultStatusindicates the status of an individualUsageRecordprocessed byBatchMeterUsage. -
#usage_record ⇒ Types::UsageRecord
The
UsageRecordthat was part of theBatchMeterUsagerequest.
Instance Attribute Details
#metering_record_id ⇒ String
The MeteringRecordId is a unique identifier for this metering
event.
636 637 638 639 640 641 642 |
# File 'gems/aws-sdk-marketplacemetering/lib/aws-sdk-marketplacemetering/types.rb', line 636 class UsageRecordResult < Struct.new( :usage_record, :metering_record_id, :status) SENSITIVE = [] include Aws::Structure end |
#status ⇒ String
The UsageRecordResult Status indicates the status of an
individual UsageRecord processed by BatchMeterUsage.
Success- The
UsageRecordwas accepted and honored byBatchMeterUsage.CustomerNotSubscribed- The
CustomerIdentifierspecified is not able to use your product. TheUsageRecordwas not honored. There are three causes for this result:The customer identifier is invalid.
The customer identifier provided in the metering record does not have an active agreement or subscription with this product. Future
UsageRecordsfor this customer will fail until the customer subscribes to your product.The customer's Amazon Web Services account was suspended.
- DuplicateRecord- Indicates that the
UsageRecordwas invalid and not honored. A previously meteredUsageRecordhad the same customer, dimension, and time, but a different quantity.
636 637 638 639 640 641 642 |
# File 'gems/aws-sdk-marketplacemetering/lib/aws-sdk-marketplacemetering/types.rb', line 636 class UsageRecordResult < Struct.new( :usage_record, :metering_record_id, :status) SENSITIVE = [] include Aws::Structure end |
#usage_record ⇒ Types::UsageRecord
The UsageRecord that was part of the BatchMeterUsage request.
636 637 638 639 640 641 642 |
# File 'gems/aws-sdk-marketplacemetering/lib/aws-sdk-marketplacemetering/types.rb', line 636 class UsageRecordResult < Struct.new( :usage_record, :metering_record_id, :status) SENSITIVE = [] include Aws::Structure end |