| Package | Description |
|---|---|
| software.amazon.awssdk.services.marketplacemetering |
|
| software.amazon.awssdk.services.marketplacemetering.model |
| Modifier and Type | Method and Description |
|---|---|
default BatchMeterUsageResponse |
MarketplaceMeteringClient.batchMeterUsage(BatchMeterUsageRequest batchMeterUsageRequest)
BatchMeterUsage is called from a SaaS application listed on AWS Marketplace to post metering records
for a set of customers. |
default BatchMeterUsageResponse |
MarketplaceMeteringClient.batchMeterUsage(Consumer<BatchMeterUsageRequest.Builder> batchMeterUsageRequest)
BatchMeterUsage is called from a SaaS application listed on AWS Marketplace to post metering records
for a set of customers. |
default MeterUsageResponse |
MarketplaceMeteringClient.meterUsage(Consumer<MeterUsageRequest.Builder> meterUsageRequest)
API to emit metering records.
|
default MeterUsageResponse |
MarketplaceMeteringClient.meterUsage(MeterUsageRequest meterUsageRequest)
API to emit metering records.
|
default RegisterUsageResponse |
MarketplaceMeteringClient.registerUsage(Consumer<RegisterUsageRequest.Builder> registerUsageRequest)
Paid container software products sold through AWS Marketplace must integrate with the AWS Marketplace Metering
Service and call the
RegisterUsage operation for software entitlement and metering. |
default RegisterUsageResponse |
MarketplaceMeteringClient.registerUsage(RegisterUsageRequest registerUsageRequest)
Paid container software products sold through AWS Marketplace must integrate with the AWS Marketplace Metering
Service and call the
RegisterUsage operation for software entitlement and metering. |
default ResolveCustomerResponse |
MarketplaceMeteringClient.resolveCustomer(Consumer<ResolveCustomerRequest.Builder> resolveCustomerRequest)
ResolveCustomer is called by a SaaS application during the registration process. |
default ResolveCustomerResponse |
MarketplaceMeteringClient.resolveCustomer(ResolveCustomerRequest resolveCustomerRequest)
ResolveCustomer is called by a SaaS application during the registration process. |
| Modifier and Type | Class and Description |
|---|---|
class |
CustomerNotEntitledException
Exception thrown when the customer does not have a valid subscription for the product.
|
class |
DisabledApiException
The API is disabled in the Region.
|
class |
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. |
class |
ExpiredTokenException
The submitted registration token has expired.
|
class |
InternalServiceErrorException
An internal error has occurred.
|
class |
InvalidCustomerIdentifierException
You have metered usage for a
CustomerIdentifier that does not exist. |
class |
InvalidEndpointRegionException
The endpoint being called is in a AWS Region different from your EC2 instance, ECS task, or EKS pod.
|
class |
InvalidProductCodeException
The product code passed does not match the product code used for publishing the product.
|
class |
InvalidPublicKeyVersionException
Public Key version is invalid.
|
class |
InvalidRegionException
RegisterUsage must be called in the same AWS Region the ECS task was launched in. |
class |
InvalidTagException
The tag is invalid, or the number of tags is greater than 5.
|
class |
InvalidTokenException
Registration token is invalid.
|
class |
InvalidUsageAllocationsException
The usage allocation objects are invalid, or the number of allocations is greater than 500 for a single usage record.
|
class |
InvalidUsageDimensionException
The usage dimension does not match one of the
UsageDimensions associated with products. |
class |
PlatformNotSupportedException
AWS Marketplace does not support metering usage from the underlying platform.
|
class |
ThrottlingException
The calls to the API are throttled.
|
class |
TimestampOutOfBoundsException
The
timestamp value passed in the UsageRecord is out of allowed range. |
| Modifier and Type | Method and Description |
|---|---|
MarketplaceMeteringException |
MarketplaceMeteringException.BuilderImpl.build() |
| Constructor and Description |
|---|
BuilderImpl(MarketplaceMeteringException ex) |
Copyright © 2023. All rights reserved.