class
Amazonite::ApiGateway::TestInvokeAuthorizerRequest
- Amazonite::ApiGateway::TestInvokeAuthorizerRequest
- Reference
- Object
Overview
Make a request to simulate the invocation of an Authorizer.
Included Modules
- JSON::Serializable
Defined in:
api_gateway/test_invoke_authorizer_request.crConstructors
- .new(rest_api_id : String, authorizer_id : String, headers : Hash(String, String) | Nil = nil, multi_value_headers : Hash(String, Array(String)) | Nil = nil, path_with_query_string : String | Nil = nil, body : String | Nil = nil, stage_variables : Hash(String, String) | Nil = nil, additional_context : 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. -
#additional_context : Hash(String, String) | Nil
A key-value map of additional context variables.
-
#additional_context=(additional_context : Hash(String, String) | Nil)
A key-value map of additional context variables.
-
#authorizer_id : String
Specifies a test invoke authorizer request's Authorizer ID.
-
#authorizer_id=(authorizer_id : String)
Specifies a test invoke authorizer request's Authorizer ID.
-
#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.
-
#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.
-
#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.
-
#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 key-value map of additional context variables.
A key-value map of additional context variables.
Specifies a test invoke authorizer request's Authorizer ID.
A key-value map of headers to simulate an incoming invocation request. This is where the incoming authorization token, or identity source, should be specified.
A key-value map of headers to simulate an incoming invocation request. This is where the incoming authorization token, or identity source, should be specified.
The headers as a map from string to list of values to simulate an incoming invocation request. This is where the incoming authorization token, or identity source, may be specified.
The headers as a map from string to list of values to simulate an incoming invocation request. This is where the incoming authorization token, or identity source, may be specified.
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.