Package software.amazon.awssdk.services.marketplacemetering.model
package software.amazon.awssdk.services.marketplacemetering.model
-
ClassDescriptionA
BatchMeterUsageRequest
containsUsageRecords
, which indicate quantities of usage within your application.Contains theUsageRecords
processed byBatchMeterUsage
and any records that have failed due to transient error.Exception thrown when the customer does not have a valid subscription for the product.The API is disabled in the Region.A metering record has already been emitted by the same EC2 instance, ECS task, or EKS pod for the given {usageDimension
,timestamp
with a differentusageQuantity
.The submitted registration token has expired.An internal error has occurred.You have metered usage for aCustomerIdentifier
that does not exist.The endpoint being called is in a AWS Region different from your EC2 instance, ECS task, or EKS pod.The product code passed does not match the product code used for publishing the product.Public Key version is invalid.RegisterUsage
must be called in the same AWS Region the ECS task was launched in.The tag is invalid, or the number of tags is greater than 5.Registration token is invalid.The usage allocation objects are invalid, or the number of allocations is greater than 500 for a single usage record.The usage dimension does not match one of theUsageDimensions
associated with products.AWS Marketplace does not support metering usage from the underlying platform.Contains input to theResolveCustomer
operation.The result of theResolveCustomer
operation.Metadata assigned to an allocation.The calls to the API are throttled.Thetimestamp
value passed in theUsageRecord
is out of allowed range.Usage allocations allow you to split usage into buckets by tags.AUsageRecord
indicates a quantity of usage for a given product, customer, dimension and time.AUsageRecordResult
indicates the status of a givenUsageRecord
processed byBatchMeterUsage
.