class
Amazonite::ApiGateway::TestInvokeMethodRequest
- Amazonite::ApiGateway::TestInvokeMethodRequest
- Reference
- Object
Overview
Make a request to simulate the invocation of a Method.
Included Modules
- JSON::Serializable
Defined in:
api_gateway/test_invoke_method_request.crConstructors
- .new(rest_api_id : String, resource_id : String, http_method : String, path_with_query_string : String | Nil = nil, body : String | Nil = nil, headers : Hash(String, String) | Nil = nil, multi_value_headers : Hash(String, Array(String)) | Nil = nil, client_certificate_id : String | Nil = nil, stage_variables : Hash(String, String) | Nil = nil)
- .new(pull : JSON::PullParser)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#body : String | Nil
The simulated request body of an incoming invocation request.
-
#body=(body : String | Nil)
The simulated request body of an incoming invocation request.
-
#client_certificate_id : String | Nil
A ClientCertificate identifier to use in the test invocation.
-
#client_certificate_id=(client_certificate_id : String | Nil)
A ClientCertificate identifier to use in the test invocation.
-
#hash(hasher)
See
Object#hash(hasher) -
#headers : Hash(String, String) | Nil
A key-value map of headers to simulate an incoming invocation request.
-
#headers=(headers : Hash(String, String) | Nil)
A key-value map of headers to simulate an incoming invocation request.
-
#http_method : String
Specifies a test invoke method request's HTTP method.
-
#http_method=(http_method : String)
Specifies a test invoke method request's HTTP method.
-
#multi_value_headers : Hash(String, Array(String)) | Nil
The headers as a map from string to list of values to simulate an incoming invocation request.
-
#multi_value_headers=(multi_value_headers : Hash(String, Array(String)) | Nil)
The headers as a map from string to list of values to simulate an incoming invocation request.
-
#path_with_query_string : String | Nil
The URI path, including query string, of the simulated invocation request.
-
#path_with_query_string=(path_with_query_string : String | Nil)
The URI path, including query string, of the simulated invocation request.
-
#resource_id : String
Specifies a test invoke method request's resource ID.
-
#resource_id=(resource_id : String)
Specifies a test invoke method request's resource ID.
-
#rest_api_id : String
The string identifier of the associated RestApi.
-
#rest_api_id=(rest_api_id : String)
The string identifier of the associated RestApi.
-
#stage_variables : Hash(String, String) | Nil
A key-value map of stage variables to simulate an invocation on a deployed Stage.
-
#stage_variables=(stage_variables : Hash(String, String) | Nil)
A key-value map of stage variables to simulate an invocation on a deployed Stage.
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
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.
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.
A key-value map of headers to simulate an incoming invocation request.
A key-value map of headers to simulate an incoming invocation request.
The headers as a map from string to list of values to simulate an incoming invocation request.
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. Use this to specify path parameters and query string parameters.
The URI path, including query string, of the simulated invocation request. Use this to specify path parameters and query string parameters.
A key-value map of stage variables to simulate an invocation on a deployed Stage.
A key-value map of stage variables to simulate an invocation on a deployed Stage.