Amazon.APIGateway.AmazonAPIGatewayClient.CreateApiKeyAsync C# (CSharp) Method

CreateApiKeyAsync() public method

Initiates the asynchronous execution of the CreateApiKey operation.
public CreateApiKeyAsync ( CreateApiKeyRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.APIGateway.Model.CreateApiKeyRequest Container for the necessary parameters to execute the CreateApiKey operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task
        public Task<CreateApiKeyResponse> CreateApiKeyAsync(CreateApiKeyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var marshaller = new CreateApiKeyRequestMarshaller();
            var unmarshaller = CreateApiKeyResponseUnmarshaller.Instance;

            return InvokeAsync<CreateApiKeyRequest,CreateApiKeyResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonAPIGatewayClient