You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::APIGateway::Types::TestInvokeMethodRequestWhen passing TestInvokeMethodRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
rest_api_id: "String", resource_id: "String", http_method: "String", path_with_query_string: "String",
body: "String",
headers: {
"String" => "String",
},
multi_value_headers: {
"String" => ["String"],
},
client_certificate_id: "String",
stage_variables: {
"String" => "String",
},
}
Make a request to simulate the execution of a Method.
Instance Attribute Summary collapseThe simulated request body of an incoming invocation request.
A ClientCertificate identifier to use in the test invocation.
A key-value map of headers to simulate an incoming invocation request.
[Required] Specifies a test invoke method request\'s HTTP method.
The headers as a map from string to list of values to simulate an incoming invocation request.
The URI path, including query string, of the simulated invocation request.
[Required] Specifies a test invoke method request\'s resource ID.
[Required] The string identifier of the associated RestApi.
A key-value map of stage variables to simulate an invocation on a deployed Stage.
The simulated request body of an incoming invocation request.
#client_certificate_id ⇒ StringA 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.
A key-value map of headers to simulate an incoming invocation request.
#http_method ⇒ String[Required] Specifies a test invoke method request\'s HTTP method.
The headers as a map from string to list of values to simulate an incoming invocation request.
#path_with_query_string ⇒ StringThe URI path, including query string, of the simulated invocation request. Use this to specify path parameters and query string parameters.
#resource_id ⇒ String[Required] Specifies a test invoke method request\'s resource ID.
#rest_api_id ⇒ String[Required] The string identifier of the associated RestApi.
#stage_variables ⇒ Hash<String,String>A key-value map of stage variables to simulate an invocation on a deployed Stage.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4