Class: Aws::APIGateway::Types::TestInvokeAuthorizerRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::APIGateway::Types::TestInvokeAuthorizerRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-apigateway/types.rb
Overview
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",
},
path_with_query_string: "String",
body: "String",
stage_variables: {
"String" => "String",
},
additional_context: {
"String" => "String",
},
}
Make a request to simulate the execution of an Authorizer.
Instance Attribute Summary collapse
-
#additional_context ⇒ Hash<String,String>
[Optional] A key-value map of additional context variables.
-
#authorizer_id ⇒ String
Specifies a test invoke authorizer request’s Authorizer ID.
-
#body ⇒ String
[Optional] The simulated request body of an incoming invocation request.
-
#headers ⇒ Hash<String,String>
[Required] A key-value map of headers to simulate an incoming invocation request.
-
#path_with_query_string ⇒ String
[Optional] The URI path, including query string, of the simulated invocation request.
-
#rest_api_id ⇒ String
The string identifier of the associated RestApi.
-
#stage_variables ⇒ Hash<String,String>
A key-value map of stage variables to simulate an invocation on a deployed Stage.
Instance Attribute Details
#additional_context ⇒ Hash<String,String>
[Optional] A key-value map of additional context variables.
5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 |
# File 'lib/aws-sdk-apigateway/types.rb', line 5679 class TestInvokeAuthorizerRequest < Struct.new( :rest_api_id, :authorizer_id, :headers, :path_with_query_string, :body, :stage_variables, :additional_context) include Aws::Structure end |
#authorizer_id ⇒ String
Specifies a test invoke authorizer request’s Authorizer ID.
5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 |
# File 'lib/aws-sdk-apigateway/types.rb', line 5679 class TestInvokeAuthorizerRequest < Struct.new( :rest_api_id, :authorizer_id, :headers, :path_with_query_string, :body, :stage_variables, :additional_context) include Aws::Structure end |
#body ⇒ String
[Optional] The simulated request body of an incoming invocation request.
5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 |
# File 'lib/aws-sdk-apigateway/types.rb', line 5679 class TestInvokeAuthorizerRequest < Struct.new( :rest_api_id, :authorizer_id, :headers, :path_with_query_string, :body, :stage_variables, :additional_context) include Aws::Structure end |
#headers ⇒ Hash<String,String>
[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.
5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 |
# File 'lib/aws-sdk-apigateway/types.rb', line 5679 class TestInvokeAuthorizerRequest < Struct.new( :rest_api_id, :authorizer_id, :headers, :path_with_query_string, :body, :stage_variables, :additional_context) include Aws::Structure end |
#path_with_query_string ⇒ String
[Optional] The URI path, including query string, of the simulated invocation request. Use this to specify path parameters and query string parameters.
5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 |
# File 'lib/aws-sdk-apigateway/types.rb', line 5679 class TestInvokeAuthorizerRequest < Struct.new( :rest_api_id, :authorizer_id, :headers, :path_with_query_string, :body, :stage_variables, :additional_context) include Aws::Structure end |
#rest_api_id ⇒ String
The string identifier of the associated RestApi.
5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 |
# File 'lib/aws-sdk-apigateway/types.rb', line 5679 class TestInvokeAuthorizerRequest < Struct.new( :rest_api_id, :authorizer_id, :headers, :path_with_query_string, :body, :stage_variables, :additional_context) include Aws::Structure end |
#stage_variables ⇒ Hash<String,String>
A key-value map of stage variables to simulate an invocation on a deployed Stage.
5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 |
# File 'lib/aws-sdk-apigateway/types.rb', line 5679 class TestInvokeAuthorizerRequest < Struct.new( :rest_api_id, :authorizer_id, :headers, :path_with_query_string, :body, :stage_variables, :additional_context) include Aws::Structure end |