AWS CLI version 2, the latest major version of AWS CLI, is now stable and recommended for general use. To view this page for the AWS CLI version 2, click here. For more information see the AWS CLI version 2 installation instructions and migration guide.
[ aws ]
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.
For information on the permissions you need to use this API, see AWS Marketplace metering and entitlement API permissions in the AWS Marketplace Seller Guide.
Submitting Metering Records
MeterUsage
is called from an EC2 instance or a container running on EKS or ECS.BatchMeterUsage
is called from a software-as-a-service (SaaS) application.Accepting New Customers
CustomerIdentifier
along with the CustomerAWSAccountId
and ProductCode
.Entitlement and Metering for Paid Container Products
RegisterUsage
operation for software entitlement and metering. Free and BYOL products for Amazon ECS or Amazon EKS aren't required to call RegisterUsage
, but you can do so if you want to receive usage data in your seller reports. For more information on using the RegisterUsage
operation, see Container-Based Products .BatchMeterUsage
API calls are captured by AWS CloudTrail. You can use Cloudtrail to verify that the SaaS metering records that you sent are accurate by searching for records with theeventName
ofBatchMeterUsage
. You can also use CloudTrail to audit records over time. For more information, see the * AWS CloudTrail User Guide .*