public interface AWSMarketplaceMeteringAsync extends AWSMarketplaceMetering
AsyncHandler
can be
used to receive notification when an asynchronous operation completes.
This reference provides descriptions of the low-level AWS Marketplace Metering Service API.
AWS Marketplace sellers can use this API to submit usage data for custom usage dimensions.
Submitting Metering Records
MeterUsage- Submits the metering record for a Marketplace product.
Modifier and Type | Method and Description |
---|---|
Future<MeterUsageResult> |
meterUsageAsync(MeterUsageRequest meterUsageRequest)
API to emit metering records.
|
Future<MeterUsageResult> |
meterUsageAsync(MeterUsageRequest meterUsageRequest,
AsyncHandler<MeterUsageRequest,MeterUsageResult> asyncHandler)
API to emit metering records.
|
getCachedResponseMetadata, meterUsage, setEndpoint, setRegion, shutdown
Future<MeterUsageResult> meterUsageAsync(MeterUsageRequest meterUsageRequest)
API to emit metering records. For identical requests, the API is idempotent. It simply returns the metering record ID.
meterUsageRequest
- Future<MeterUsageResult> meterUsageAsync(MeterUsageRequest meterUsageRequest, AsyncHandler<MeterUsageRequest,MeterUsageResult> asyncHandler)
API to emit metering records. For identical requests, the API is idempotent. It simply returns the metering record ID.
meterUsageRequest
- 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 © 2018. All rights reserved.