| 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. |
| Tag |
Metadata assigned to an allocation.
|
| UsageAllocation |
Usage allocations allow you to split usage into buckets by tags.
|
| 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. |
| InvalidTagException |
The tag is invalid, or the number of tags is greater than 5.
|
| InvalidTokenException |
Registration token is invalid.
|
| InvalidUsageAllocationsException |
The usage allocation objects are invalid, or the number of allocations is greater than 500 for a single usage record.
|
| 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 UsageRecord is out of allowed range. |