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

TestInvokeAuthorizerAsync() public method

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

            return InvokeAsync<TestInvokeAuthorizerRequest,TestInvokeAuthorizerResponse>(request, marshaller, 
                unmarshaller, cancellationToken);
        }
AmazonAPIGatewayClient