TestInvokeMethodRequest
¶
Source code in docs_src/capo_api_gateway/types/test_invoke_method_request.py
body
instance-attribute
¶
body: NotRequired[String]
The simulated request body of an incoming invocation request.
client_certificate_id
instance-attribute
¶
client_certificate_id: NotRequired[String]
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
instance-attribute
¶
headers: NotRequired[MapOfStringToString]
A key-value map of headers to simulate an incoming invocation request.
http_method
instance-attribute
¶
http_method: String
Specifies a test invoke method request's HTTP method.
multi_value_headers
instance-attribute
¶
multi_value_headers: NotRequired[MapOfStringToList]
The headers as a map from string to list of values to simulate an incoming invocation request.
path_with_query_string
instance-attribute
¶
path_with_query_string: NotRequired[String]
The URI path, including query string, of the simulated invocation request. Use this to specify path parameters and query string parameters.
resource_id
instance-attribute
¶
resource_id: String
Specifies a test invoke method request's resource ID.
rest_api_id
instance-attribute
¶
rest_api_id: String
The string identifier of the associated RestApi.
stage_variables
instance-attribute
¶
stage_variables: NotRequired[MapOfStringToString]
A key-value map of stage variables to simulate an invocation on a deployed Stage.