Amazon.KeyManagementService.AmazonKeyManagementServiceClient.CreateKeyAsync C# (CSharp) Метод

CreateKeyAsync() публичный Метод

Initiates the asynchronous execution of the CreateKey operation.
public CreateKeyAsync ( CreateKeyRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.KeyManagementService.Model.CreateKeyRequest Container for the necessary parameters to execute the CreateKey operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
Результат Task
        public Task<CreateKeyResponse> CreateKeyAsync(CreateKeyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new CreateKeyRequestMarshaller();
            var unmarshaller = CreateKeyResponseUnmarshaller.Instance;

            return InvokeAsync<CreateKeyRequest,CreateKeyResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonKeyManagementServiceClient