class Aws::APIGateway::Types::TestInvokeMethodRequest
Make a request to simulate the execution of a Method
.
@note When making an API call, you may pass TestInvokeMethodRequest
data as a hash: { rest_api_id: "String", # required resource_id: "String", # required http_method: "String", # required path_with_query_string: "String", body: "String", headers: { "String" => "String", }, multi_value_headers: { "String" => ["String"], }, client_certificate_id: "String", stage_variables: { "String" => "String", }, }
@!attribute [rw] rest_api_id
\[Required\] The string identifier of the associated RestApi. @return [String]
@!attribute [rw] resource_id
\[Required\] Specifies a test invoke method request's resource ID. @return [String]
@!attribute [rw] http_method
\[Required\] Specifies a test invoke method request's HTTP method. @return [String]
@!attribute [rw] path_with_query_string
The URI path, including query string, of the simulated invocation request. Use this to specify path parameters and query string parameters. @return [String]
@!attribute [rw] body
The simulated request body of an incoming invocation request. @return [String]
@!attribute [rw] headers
A key-value map of headers to simulate an incoming invocation request. @return [Hash<String,String>]
@!attribute [rw] multi_value_headers
The headers as a map from string to list of values to simulate an incoming invocation request. @return [Hash<String,Array<String>>]
@!attribute [rw] client_certificate_id
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. @return [String]
@!attribute [rw] stage_variables
A key-value map of stage variables to simulate an invocation on a deployed Stage. @return [Hash<String,String>]
Constants
- SENSITIVE