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

ForgetDeviceAsync() public method

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

            return InvokeAsync<ForgetDeviceRequest,ForgetDeviceResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonCognitoIdentityProviderClient