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 TestInvokeMethod operation. Simulate the invocation of a Method in your RestApi with headers, parameters, and an incoming request body.

Inheritance Hierarchy

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

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

Syntax

C#
public class TestInvokeMethodRequest : AmazonAPIGatewayRequest
         IAmazonWebServiceRequest

The TestInvokeMethodRequest type exposes the following members

Constructors

NameDescription
Public Method TestInvokeMethodRequest()

Properties

NameTypeDescription
Public Property Body System.String

Gets and sets the property Body.

The simulated request body of an incoming invocation request.

Public Property ClientCertificateId System.String

Gets and sets the property ClientCertificateId.

A ClientCertificate identifier to use in the test invocation. API Gateway will use the certificate when making the HTTPS request to the defined back-end endpoint.

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.

Public Property HttpMethod System.String

Gets and sets the property HttpMethod.

Specifies a test invoke method request's HTTP method.

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.

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 ResourceId System.String

Gets and sets the property ResourceId.

Specifies a test invoke method request's resource ID.

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