Class | Description |
---|---|
BatchMeterUsageRequest |
A BatchMeterUsageRequest contains UsageRecords, which indicate quantities of usage within your application.
|
BatchMeterUsageResult |
Contains the UsageRecords processed by BatchMeterUsage and any records that have failed due to transient error.
|
MeterUsageRequest | |
MeterUsageResult | |
RegisterUsageRequest | |
RegisterUsageResult | |
ResolveCustomerRequest |
Contains input to the ResolveCustomer operation.
|
ResolveCustomerResult |
The result of the ResolveCustomer operation.
|
UsageRecord |
A UsageRecord indicates a quantity of usage for a given product, customer, dimension and time.
|
UsageRecordResult |
A UsageRecordResult indicates the status of a given UsageRecord processed by BatchMeterUsage.
|
Enum | Description |
---|---|
UsageRecordResultStatus |
Exception | Description |
---|---|
AWSMarketplaceMeteringException |
Base exception for all service exceptions thrown by AWSMarketplace Metering
|
CustomerNotEntitledException |
Exception thrown when the customer does not have a valid subscription for the product.
|
DisabledApiException |
The API is disabled in the Region.
|
DuplicateRequestException |
A metering record has already been emitted by the same EC2 instance, ECS task, or EKS pod for the given
{usageDimension, timestamp} with a different usageQuantity.
|
ExpiredTokenException |
The submitted registration token has expired.
|
InternalServiceErrorException |
An internal error has occurred.
|
InvalidCustomerIdentifierException |
You have metered usage for a CustomerIdentifier that does not exist.
|
InvalidEndpointRegionException |
The endpoint being called is in a AWS Region different from your EC2 instance, ECS task, or EKS pod.
|
InvalidProductCodeException |
The product code passed does not match the product code used for publishing the product.
|
InvalidPublicKeyVersionException |
Public Key version is invalid.
|
InvalidRegionException |
RegisterUsage must be called in the same AWS Region the ECS task was launched in.
|
InvalidTokenException |
Registration token is invalid.
|
InvalidUsageDimensionException |
The usage dimension does not match one of the UsageDimensions associated with products.
|
PlatformNotSupportedException |
AWS Marketplace does not support metering usage from the underlying platform.
|
ThrottlingException |
The calls to the API are throttled.
|
TimestampOutOfBoundsException |
The timestamp value passed in the meterUsage() is out of allowed range.
|
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.