@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAWSMarketplaceMeteringAsync extends AbstractAWSMarketplaceMetering implements AWSMarketplaceMeteringAsync
AWSMarketplaceMeteringAsync. Convenient method forms pass through to the
corresponding overload that takes a request object and an AsyncHandler, which throws an
UnsupportedOperationException.ENDPOINT_PREFIX| Modifier and Type | Method and Description |
|---|---|
Future<BatchMeterUsageResult> |
batchMeterUsageAsync(BatchMeterUsageRequest request)
BatchMeterUsage is called from a SaaS application listed on the AWS Marketplace to post metering records for a
set of customers.
|
Future<BatchMeterUsageResult> |
batchMeterUsageAsync(BatchMeterUsageRequest request,
AsyncHandler<BatchMeterUsageRequest,BatchMeterUsageResult> asyncHandler)
BatchMeterUsage is called from a SaaS application listed on the AWS Marketplace to post metering records for a
set of customers.
|
Future<MeterUsageResult> |
meterUsageAsync(MeterUsageRequest request)
API to emit metering records.
|
Future<MeterUsageResult> |
meterUsageAsync(MeterUsageRequest request,
AsyncHandler<MeterUsageRequest,MeterUsageResult> asyncHandler)
API to emit metering records.
|
Future<ResolveCustomerResult> |
resolveCustomerAsync(ResolveCustomerRequest request)
ResolveCustomer is called by a SaaS application during the registration process.
|
Future<ResolveCustomerResult> |
resolveCustomerAsync(ResolveCustomerRequest request,
AsyncHandler<ResolveCustomerRequest,ResolveCustomerResult> asyncHandler)
ResolveCustomer is called by a SaaS application during the registration process.
|
batchMeterUsage, getCachedResponseMetadata, meterUsage, resolveCustomer, setEndpoint, setRegion, shutdownequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbatchMeterUsage, getCachedResponseMetadata, meterUsage, resolveCustomer, setEndpoint, setRegion, shutdownpublic Future<BatchMeterUsageResult> batchMeterUsageAsync(BatchMeterUsageRequest request)
AWSMarketplaceMeteringAsyncBatchMeterUsage is called from a SaaS application listed on the AWS Marketplace to post metering records for a set of customers.
For identical requests, the API is idempotent; requests can be retried with the same records or a subset of the input records.
Every request to BatchMeterUsage is for one product. If you need to meter usage for multiple products, you must make multiple calls to BatchMeterUsage.
BatchMeterUsage can process up to 25 UsageRecords at a time.
batchMeterUsageAsync in interface AWSMarketplaceMeteringAsyncrequest - A BatchMeterUsageRequest contains UsageRecords, which indicate quantities of usage within your
application.public Future<BatchMeterUsageResult> batchMeterUsageAsync(BatchMeterUsageRequest request, AsyncHandler<BatchMeterUsageRequest,BatchMeterUsageResult> asyncHandler)
AWSMarketplaceMeteringAsyncBatchMeterUsage is called from a SaaS application listed on the AWS Marketplace to post metering records for a set of customers.
For identical requests, the API is idempotent; requests can be retried with the same records or a subset of the input records.
Every request to BatchMeterUsage is for one product. If you need to meter usage for multiple products, you must make multiple calls to BatchMeterUsage.
BatchMeterUsage can process up to 25 UsageRecords at a time.
batchMeterUsageAsync in interface AWSMarketplaceMeteringAsyncrequest - A BatchMeterUsageRequest contains UsageRecords, which indicate quantities of usage within your
application.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<MeterUsageResult> meterUsageAsync(MeterUsageRequest request)
AWSMarketplaceMeteringAsyncAPI to emit metering records. For identical requests, the API is idempotent. It simply returns the metering record ID.
MeterUsage is authenticated on the buyer's AWS account, generally when running from an EC2 instance on the AWS Marketplace.
meterUsageAsync in interface AWSMarketplaceMeteringAsyncpublic Future<MeterUsageResult> meterUsageAsync(MeterUsageRequest request, AsyncHandler<MeterUsageRequest,MeterUsageResult> asyncHandler)
AWSMarketplaceMeteringAsyncAPI to emit metering records. For identical requests, the API is idempotent. It simply returns the metering record ID.
MeterUsage is authenticated on the buyer's AWS account, generally when running from an EC2 instance on the AWS Marketplace.
meterUsageAsync in interface AWSMarketplaceMeteringAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<ResolveCustomerResult> resolveCustomerAsync(ResolveCustomerRequest request)
AWSMarketplaceMeteringAsyncResolveCustomer is called by a SaaS application during the registration process. When a buyer visits your website during the registration process, the buyer submits a registration token through their browser. The registration token is resolved through this API to obtain a CustomerIdentifier and product code.
resolveCustomerAsync in interface AWSMarketplaceMeteringAsyncrequest - Contains input to the ResolveCustomer operation.public Future<ResolveCustomerResult> resolveCustomerAsync(ResolveCustomerRequest request, AsyncHandler<ResolveCustomerRequest,ResolveCustomerResult> asyncHandler)
AWSMarketplaceMeteringAsyncResolveCustomer is called by a SaaS application during the registration process. When a buyer visits your website during the registration process, the buyer submits a registration token through their browser. The registration token is resolved through this API to obtain a CustomerIdentifier and product code.
resolveCustomerAsync in interface AWSMarketplaceMeteringAsyncrequest - Contains input to the ResolveCustomer operation.asyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.