Module Smaws_Client_MarketplaceMetering.RegisterUsage

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.

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `CustomerNotEntitledException of Types.customer_not_entitled_exception | `DisabledApiException of Types.disabled_api_exception | `InternalServiceErrorException of Types.internal_service_error_exception | `InvalidProductCodeException of Types.invalid_product_code_exception | `InvalidPublicKeyVersionException of Types.invalid_public_key_version_exception | `InvalidRegionException of Types.invalid_region_exception | `PlatformNotSupportedException of Types.platform_not_supported_exception | `ThrottlingException of Types.throttling_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.register_usage_request -> (Types.register_usage_result, [> Smaws_Lib.Protocols.AwsJson.error | `CustomerNotEntitledException of Types.customer_not_entitled_exception | `DisabledApiException of Types.disabled_api_exception | `InternalServiceErrorException of Types.internal_service_error_exception | `InvalidProductCodeException of Types.invalid_product_code_exception | `InvalidPublicKeyVersionException of Types.invalid_public_key_version_exception | `InvalidRegionException of Types.invalid_region_exception | `PlatformNotSupportedException of Types.platform_not_supported_exception | `ThrottlingException of Types.throttling_exception ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.register_usage_request -> (Types.register_usage_result Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsJson.error | `CustomerNotEntitledException of Types.customer_not_entitled_exception | `DisabledApiException of Types.disabled_api_exception | `InternalServiceErrorException of Types.internal_service_error_exception | `InvalidProductCodeException of Types.invalid_product_code_exception | `InvalidPublicKeyVersionException of Types.invalid_public_key_version_exception | `InvalidRegionException of Types.invalid_region_exception | `PlatformNotSupportedException of Types.platform_not_supported_exception | `ThrottlingException of Types.throttling_exception ] * Smaws_Lib.Response.metadata) Stdlib.result