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.

[Optional] 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.

[Optional] 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.

[Required] 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 PathWithQueryString System.String

Gets and sets the property PathWithQueryString.

[Optional] 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 Standard:
Supported in: 1.3

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

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms