Smaws_Client_MarketplaceMeteringMarketplace Metering client library built on EIO.
module Types : sig ... endval make_tag : value:Types.tag_value -> key:Types.tag_key -> unit -> Types.tagval make_usage_allocation :
?tags:Types.tag_list ->
allocated_usage_quantity:Types.allocated_usage_quantity ->
unit ->
Types.usage_allocationval make_usage_record :
?license_arn:Types.license_arn ->
?customer_aws_account_id:Types.customer_aws_account_id ->
?usage_allocations:Types.usage_allocations ->
?quantity:Types.usage_quantity ->
?customer_identifier:Types.customer_identifier ->
dimension:Types.usage_dimension ->
timestamp:Types.timestamp ->
unit ->
Types.usage_recordval make_resolve_customer_request :
registration_token:Types.non_empty_string ->
unit ->
Types.resolve_customer_requestval make_register_usage_request :
?nonce:Types.nonce ->
public_key_version:Types.version_integer ->
product_code:Types.product_code ->
unit ->
Types.register_usage_requestval make_meter_usage_request :
?client_token:Types.client_token ->
?usage_allocations:Types.usage_allocations ->
?dry_run:Types.boolean_ ->
?usage_quantity:Types.usage_quantity ->
usage_dimension:Types.usage_dimension ->
timestamp:Types.timestamp ->
product_code:Types.product_code ->
unit ->
Types.meter_usage_requestval make_batch_meter_usage_request :
?product_code:Types.product_code ->
usage_records:Types.usage_record_list ->
unit ->
Types.batch_meter_usage_requestOperations
module BatchMeterUsage : sig ... endAmazon Web Services Marketplace is introducing Concurrent Agreements, enabling buyers to make multiple purchases per Amazon Web Services account. Starting June 1, 2026, new SaaS products must use CustomerAWSAccountId (instead of CustomerIdentifier), LicenseArn (instead of ProductCode) to support this feature. Existing integrations will continue to work. Review the new integration for Concurrent Agreements here.
module MeterUsage : sig ... endAs a seller, your software hosted in the buyer's Amazon Web Services account uses this API action to emit metering records directly to Amazon Web Services Marketplace. You must use the following buyer Amazon Web Services account credentials to sign the API request.
module RegisterUsage : sig ... endPaid container software products sold through Amazon Web Services Marketplace must integrate with the Amazon Web Services Marketplace Metering Service and call the 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 may choose to do so if you would like to receive usage data in your seller reports. The sections below explain the behavior of RegisterUsage. RegisterUsage performs two primary functions: metering and entitlement.
module ResolveCustomer : sig ... endmodule Json_serializers : sig ... endmodule Json_deserializers : sig ... end