AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
To successfully resolve the token, the API must be called from the account that was
used to publish the SaaS application. For an example of using ResolveCustomer
is called by a SaaS application during the registration process.
When a buyer visits your website during the registration process, the buyer submits
a registration token through their browser. The registration token is resolved through
this API to obtain a CustomerIdentifier
along with the CustomerAWSAccountId
and ProductCode
.
ResolveCustomer
,
see
ResolveCustomer code example in the Amazon Web Services Marketplace Seller
Guide.
Permission is required for this operation. Your IAM role or user performing this operation
requires a policy to allow the aws-marketplace:ResolveCustomer
action. For
more information, see Actions,
resources, and condition keys for Amazon Web Services Marketplace Metering Service
in the Service Authorization Reference.
For Amazon Web Services Regions that support ResolveCustomer
, see ResolveCustomer
Region support.
For .NET Core this operation is only available in asynchronous form. Please refer to ResolveCustomerAsync.
Namespace: Amazon.AWSMarketplaceMetering
Assembly: AWSSDK.AWSMarketplaceMetering.dll
Version: 3.x.y.z
public abstract ResolveCustomerResponse ResolveCustomer( ResolveCustomerRequest request )
Container for the necessary parameters to execute the ResolveCustomer service method.
Exception | Condition |
---|---|
DisabledApiException | The API is disabled in the Region. |
ExpiredTokenException | The submitted registration token has expired. This can happen if the buyer's browser takes too long to redirect to your page, the buyer has resubmitted the registration token, or your application has held on to the registration token for too long. Your SaaS registration website should redeem this token as soon as it is submitted by the buyer's browser. |
InternalServiceErrorException | An internal error has occurred. Retry your request. If the problem persists, post a message with details on the Amazon Web Services forums. |
InvalidTokenException | Registration token is invalid. |
ThrottlingException | The calls to the API are throttled. |
.NET Framework:
Supported in: 4.5 and newer, 3.5