class Aws::APIGateway::Types::TestInvokeAuthorizerRequest
Make a request to simulate the execution of an Authorizer
.
@note When making an API call, you may pass TestInvokeAuthorizerRequest
data as a hash: { rest_api_id: "String", # required authorizer_id: "String", # required headers: { "String" => "String", }, multi_value_headers: { "String" => ["String"], }, path_with_query_string: "String", body: "String", stage_variables: { "String" => "String", }, additional_context: { "String" => "String", }, }
@!attribute [rw] rest_api_id
\[Required\] The string identifier of the associated RestApi. @return [String]
@!attribute [rw] authorizer_id
\[Required\] Specifies a test invoke authorizer request's Authorizer ID. @return [String]
@!attribute [rw] headers
\[Required\] 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. @return [Hash<String,String>]
@!attribute [rw] multi_value_headers
\[Optional\] 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. @return [Hash<String,Array<String>>]
@!attribute [rw] path_with_query_string
\[Optional\] 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
\[Optional\] The simulated request body of an incoming invocation request. @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>]
@!attribute [rw] additional_context
\[Optional\] A key-value map of additional context variables. @return [Hash<String,String>]
Constants
- SENSITIVE