Class: Aws::MarketplaceMetering::Types::ResolveCustomerResult

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-marketplacemetering/lib/aws-sdk-marketplacemetering/types.rb

Overview

The result of the ResolveCustomer operation. Contains the CustomerIdentifier along with the CustomerAWSAccountId, ProductCode, LicenseArn, and Metadata.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#customer_aws_account_id ⇒ String

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.

Returns:

  • (String)


532
533
534
535
536
537
538
539
540
# File 'gems/aws-sdk-marketplacemetering/lib/aws-sdk-marketplacemetering/types.rb', line 532

class ResolveCustomerResult < Struct.new(
  :customer_identifier,
  :product_code,
  :customer_aws_account_id,
  :license_arn,
  :metadata)
  SENSITIVE = []
  include Aws::Structure
end

#customer_identifier ⇒ String

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.

Returns:

  • (String)


532
533
534
535
536
537
538
539
540
# File 'gems/aws-sdk-marketplacemetering/lib/aws-sdk-marketplacemetering/types.rb', line 532

class ResolveCustomerResult < Struct.new(
  :customer_identifier,
  :product_code,
  :customer_aws_account_id,
  :license_arn,
  :metadata)
  SENSITIVE = []
  include Aws::Structure
end

#license_arn ⇒ String

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.

Returns:

  • (String)


532
533
534
535
536
537
538
539
540
# File 'gems/aws-sdk-marketplacemetering/lib/aws-sdk-marketplacemetering/types.rb', line 532

class ResolveCustomerResult < Struct.new(
  :customer_identifier,
  :product_code,
  :customer_aws_account_id,
  :license_arn,
  :metadata)
  SENSITIVE = []
  include Aws::Structure
end

#metadata ⇒ Types::Metadata

The metadata associated with the resolved customer, including the AgreementId of the Amazon Web Services Marketplace agreement the customer accepted.

Returns:



532
533
534
535
536
537
538
539
540
# File 'gems/aws-sdk-marketplacemetering/lib/aws-sdk-marketplacemetering/types.rb', line 532

class ResolveCustomerResult < Struct.new(
  :customer_identifier,
  :product_code,
  :customer_aws_account_id,
  :license_arn,
  :metadata)
  SENSITIVE = []
  include Aws::Structure
end

#product_code ⇒ String

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.

Returns:

  • (String)


532
533
534
535
536
537
538
539
540
# File 'gems/aws-sdk-marketplacemetering/lib/aws-sdk-marketplacemetering/types.rb', line 532

class ResolveCustomerResult < Struct.new(
  :customer_identifier,
  :product_code,
  :customer_aws_account_id,
  :license_arn,
  :metadata)
  SENSITIVE = []
  include Aws::Structure
end