Amazon.APIGateway.AmazonAPIGatewayClient.CreateUsagePlanKeyAsync C# (CSharp) Метод

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

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

            return InvokeAsync<CreateUsagePlanKeyRequest,CreateUsagePlanKeyResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonAPIGatewayClient