ResolveCustomerResult
¶
Source code in docs_src/capo_marketplace_metering/types/resolve_customer_result.py
customer_aws_account_id
instance-attribute
¶
customer_aws_account_id: NotRequired[CustomerAWSAccountId]
The CustomerAWSAccountId provides the Amazon Web Services account ID associated with the CustomerIdentifier for the individual customer. Calls to BatchMeterUsage require CustomerAWSAccountId for each UsageRecord.
customer_identifier
instance-attribute
¶
customer_identifier: NotRequired[CustomerIdentifier]
The CustomerIdentifier is used to identify an individual customer in your application.
For new SaaS product integrations, this field is not populated. Use CustomerAWSAccountId and LicenseArn to identify customers instead.
license_arn
instance-attribute
¶
license_arn: NotRequired[LicenseArn]
The LicenseArn is a unique identifier for a specific granted license. These are typically used for software purchased through Amazon Web Services Marketplace. Calls to BatchMeterUsage require LicenseArn for each UsageRecord.
Once you receive the CustomerAWSAccountId and LicenseArn in the response, store that for future purposes/API calls/integrations.
metadata
instance-attribute
¶
metadata: NotRequired[Metadata]
The metadata associated with the resolved customer, including the AgreementId of the Amazon Web Services Marketplace agreement the customer accepted.
product_code
instance-attribute
¶
product_code: NotRequired[ProductCode]
The product code is returned to confirm that the buyer is registering for your product. Subsequent BatchMeterUsage calls should be made using this product code.