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.
The API needs to called from the seller account id used to publish the SaaS application
to successfully resolve the token.
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 AWS Marketplace Seller Guide.
This is an asynchronous operation using the standard naming convention for .NET 4.5 or higher. For .NET 3.5 the operation is implemented as a pair of methods using the standard naming convention of BeginResolveCustomer and EndResolveCustomer.
Namespace: Amazon.AWSMarketplaceMetering
Assembly: AWSSDK.AWSMarketplaceMetering.dll
Version: 3.x.y.z
public abstract Task<ResolveCustomerResponse> ResolveCustomerAsync( ResolveCustomerRequest request, CancellationToken cancellationToken )
Container for the necessary parameters to execute the ResolveCustomer service method.
A cancellation token that can be used by other objects or threads to receive notice of cancellation.
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 AWS forums. |
InvalidTokenException | Registration token is invalid. |
ThrottlingException | The calls to the API are throttled. |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5