UsageRecordResult
A UsageRecordResult indicates the status of a given
UsageRecord processed by BatchMeterUsage.
Contents
Note
In the following list, the required parameters are described first.
- MeteringRecordId
-
The
MeteringRecordIdis a unique identifier for this metering event.Type: String
Required: No
- Status
-
The
UsageRecordResultStatusindicates the status of an individualUsageRecordprocessed byBatchMeterUsage.-
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 AWS 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.
Type: String
Valid Values:
Success | CustomerNotSubscribed | DuplicateRecordRequired: No
-
- UsageRecord
-
The
UsageRecordthat was part of theBatchMeterUsagerequest.Type: UsageRecord object
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: