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

CreateAuthorizerAsync() public method

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

            return InvokeAsync<CreateAuthorizerRequest,CreateAuthorizerResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonAPIGatewayClient