Module Smaws_Client_MarketplaceMetering

Marketplace Metering client library built on EIO.

Types

module Types : sig ... end

Builders

val make_tag : value:Types.tag_value -> key:Types.tag_key -> unit -> Types.tag
val make_usage_allocation : ?tags:Types.tag_list -> allocated_usage_quantity:Types.allocated_usage_quantity -> unit -> Types.usage_allocation
val 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_record
val make_resolve_customer_request : registration_token:Types.non_empty_string -> unit -> Types.resolve_customer_request
val make_register_usage_request : ?nonce:Types.nonce -> public_key_version:Types.version_integer -> product_code:Types.product_code -> unit -> Types.register_usage_request
val 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_request
val make_batch_meter_usage_request : ?product_code:Types.product_code -> usage_records:Types.usage_record_list -> unit -> Types.batch_meter_usage_request

Operations

module BatchMeterUsage : sig ... end

Amazon 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 ... end

As 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 ... end

Paid 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 ... end
module Json_serializers : sig ... end
module Json_deserializers : sig ... end