Amazon.CognitoIdentityProvider.AmazonCognitoIdentityProviderClient.GetUserAsync C# (CSharp) Method

GetUserAsync() public method

Initiates the asynchronous execution of the GetUser operation.
public GetUserAsync ( GetUserRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.CognitoIdentityProvider.Model.GetUserRequest Container for the necessary parameters to execute the GetUser operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<GetUserResponse> GetUserAsync(GetUserRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new GetUserRequestMarshaller();
            var unmarshaller = GetUserResponseUnmarshaller.Instance;

            return InvokeAsync<GetUserRequest,GetUserResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonCognitoIdentityProviderClient