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 execution 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 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 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