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

UploadSSHPublicKeyAsync() public method

Initiates the asynchronous execution of the UploadSSHPublicKey operation.
public UploadSSHPublicKeyAsync ( UploadSSHPublicKeyRequest request, System cancellationToken = default(CancellationToken) ) : Task
request UploadSSHPublicKeyRequest Container for the necessary parameters to execute the UploadSSHPublicKey operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<UploadSSHPublicKeyResponse> UploadSSHPublicKeyAsync(UploadSSHPublicKeyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new UploadSSHPublicKeyRequestMarshaller();
            var unmarshaller = UploadSSHPublicKeyResponseUnmarshaller.Instance;

            return InvokeAsync<UploadSSHPublicKeyRequest,UploadSSHPublicKeyResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }

Same methods

AmazonIdentityManagementServiceClient::UploadSSHPublicKeyAsync ( UploadSSHPublicKeyRequest request, UploadSSHPublicKeyResponse>.AmazonServiceCallback callback, AsyncOptions options = null ) : void
AmazonIdentityManagementServiceClient