AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the TestInvokeAuthorizer operation. Simulate the execution of an Authorizer in your RestApi with headers, parameters, and an incoming request body.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.APIGateway.AmazonAPIGatewayRequest
      Amazon.APIGateway.Model.TestInvokeAuthorizerRequest

Namespace: Amazon.APIGateway.Model
Assembly: AWSSDK.APIGateway.dll
Version: 3.x.y.z

Syntax

C#
public class TestInvokeAuthorizerRequest : AmazonAPIGatewayRequest
         IAmazonWebServiceRequest

The TestInvokeAuthorizerRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property AdditionalContext System.Collections.Generic.Dictionary<System.String, System.String>

Gets and sets the property AdditionalContext.

A key-value map of additional context variables.

Public Property AuthorizerId System.String

Gets and sets the property AuthorizerId.

Specifies a test invoke authorizer request's Authorizer ID.

Public Property Body System.String

Gets and sets the property Body.

The simulated request body of an incoming invocation request.

Public Property Headers System.Collections.Generic.Dictionary<System.String, System.String>

Gets and sets the property Headers.

A key-value map of headers to simulate an incoming invocation request. This is where the incoming authorization token, or identity source, should be specified.

Public Property MultiValueHeaders System.Collections.Generic.Dictionary<System.String, System.Collections.Generic.List<System.String>>

Gets and sets the property MultiValueHeaders.

The headers as a map from string to list of values to simulate an incoming invocation request. This is where the incoming authorization token, or identity source, may be specified.

Public Property PathWithQueryString System.String

Gets and sets the property PathWithQueryString.

The URI path, including query string, of the simulated invocation request. Use this to specify path parameters and query string parameters.

Public Property RestApiId System.String

Gets and sets the property RestApiId.

The string identifier of the associated RestApi.

Public Property StageVariables System.Collections.Generic.Dictionary<System.String, System.String>

Gets and sets the property StageVariables.

A key-value map of stage variables to simulate an invocation on a deployed Stage.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5