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.
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
public abstract GetTokenResponse GetToken( GetTokenRequest request )
Container for the necessary parameters to execute the GetToken service method.
Exception | Condition |
---|---|
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. |
.NET Framework:
Supported in: 4.5 and newer, 3.5