AWS SDK Version 3 for .NET
API Reference

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.

Gets the challenge token based on the given appId and sessionId.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to GetTokenAsync.

Namespace: Amazon.AmplifyBackend
Assembly: AWSSDK.AmplifyBackend.dll
Version: 3.x.y.z

Syntax

C#
public abstract GetTokenResponse GetToken(
         GetTokenRequest request
)

Parameters

request
Type: Amazon.AmplifyBackend.Model.GetTokenRequest

Container for the necessary parameters to execute the GetToken service method.

Return Value


The response from the GetToken service method, as returned by AmplifyBackend.

Exceptions

ExceptionCondition
BadRequestException An error returned if a request is not formed properly.
GatewayTimeoutException An error returned if there's a temporary issue with the service.
NotFoundException An error returned when a specific resource type is not found.
TooManyRequestsException An error that is returned when a limit of a specific type has been exceeded.

Version Information

.NET Framework:
Supported in: 4.5 and newer, 3.5

See Also