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.
Namespace: Amazon.APIGateway.Model
Assembly: AWSSDK.APIGateway.dll
Version: 3.x.y.z
public class TestInvokeMethodRequest : AmazonAPIGatewayRequest IAmazonWebServiceRequest
The TestInvokeMethodRequest type exposes the following members
Name | Description | |
---|---|---|
TestInvokeMethodRequest() |
Name | Type | Description | |
---|---|---|---|
Body | System.String |
Gets and sets the property Body. The simulated request body of an incoming invocation request. |
|
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. |
|
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. |
|
HttpMethod | System.String |
Gets and sets the property HttpMethod. Specifies a test invoke method request's HTTP method. |
|
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. |
|
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. |
|
ResourceId | System.String |
Gets and sets the property ResourceId. Specifies a test invoke method request's resource ID. |
|
RestApiId | System.String |
Gets and sets the property RestApiId. The string identifier of the associated RestApi. |
|
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. |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5