Amazon.IdentityManagement.AmazonIdentityManagementServiceClient.EnableMFADeviceAsync C# (CSharp) Method

EnableMFADeviceAsync() public method

Initiates the asynchronous execution of the EnableMFADevice operation.
public EnableMFADeviceAsync ( EnableMFADeviceRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.IdentityManagement.Model.EnableMFADeviceRequest Container for the necessary parameters to execute the EnableMFADevice operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<EnableMFADeviceResponse> EnableMFADeviceAsync(EnableMFADeviceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new EnableMFADeviceRequestMarshaller();
            var unmarshaller = EnableMFADeviceResponseUnmarshaller.Instance;

            return InvokeAsync<EnableMFADeviceRequest,EnableMFADeviceResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }

Same methods

AmazonIdentityManagementServiceClient::EnableMFADeviceAsync ( EnableMFADeviceRequest request, EnableMFADeviceResponse>.AmazonServiceCallback callback, AsyncOptions options = null ) : void
AmazonIdentityManagementServiceClient