Class: Aws::APIGateway::Types::TestInvokeAuthorizerRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb

Overview

Make a request to simulate the invocation of an Authorizer.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#additional_contextHash<String,String>

A key-value map of additional context variables.

Returns:

  • (Hash<String,String>)


4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 4949

class TestInvokeAuthorizerRequest < Struct.new(
  :rest_api_id,
  :authorizer_id,
  :headers,
  :multi_value_headers,
  :path_with_query_string,
  :body,
  :stage_variables,
  :additional_context)
  SENSITIVE = []
  include Aws::Structure
end

#authorizer_idString

Specifies a test invoke authorizer request's Authorizer ID.

Returns:

  • (String)


4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 4949

class TestInvokeAuthorizerRequest < Struct.new(
  :rest_api_id,
  :authorizer_id,
  :headers,
  :multi_value_headers,
  :path_with_query_string,
  :body,
  :stage_variables,
  :additional_context)
  SENSITIVE = []
  include Aws::Structure
end

#bodyString

The simulated request body of an incoming invocation request.

Returns:

  • (String)


4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 4949

class TestInvokeAuthorizerRequest < Struct.new(
  :rest_api_id,
  :authorizer_id,
  :headers,
  :multi_value_headers,
  :path_with_query_string,
  :body,
  :stage_variables,
  :additional_context)
  SENSITIVE = []
  include Aws::Structure
end

#headersHash<String,String>

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.

Returns:

  • (Hash<String,String>)


4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 4949

class TestInvokeAuthorizerRequest < Struct.new(
  :rest_api_id,
  :authorizer_id,
  :headers,
  :multi_value_headers,
  :path_with_query_string,
  :body,
  :stage_variables,
  :additional_context)
  SENSITIVE = []
  include Aws::Structure
end

#multi_value_headersHash<String,Array<String>>

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.

Returns:

  • (Hash<String,Array<String>>)


4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 4949

class TestInvokeAuthorizerRequest < Struct.new(
  :rest_api_id,
  :authorizer_id,
  :headers,
  :multi_value_headers,
  :path_with_query_string,
  :body,
  :stage_variables,
  :additional_context)
  SENSITIVE = []
  include Aws::Structure
end

#path_with_query_stringString

The URI path, including query string, of the simulated invocation request. Use this to specify path parameters and query string parameters.

Returns:

  • (String)


4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 4949

class TestInvokeAuthorizerRequest < Struct.new(
  :rest_api_id,
  :authorizer_id,
  :headers,
  :multi_value_headers,
  :path_with_query_string,
  :body,
  :stage_variables,
  :additional_context)
  SENSITIVE = []
  include Aws::Structure
end

#rest_api_idString

The string identifier of the associated RestApi.

Returns:

  • (String)


4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 4949

class TestInvokeAuthorizerRequest < Struct.new(
  :rest_api_id,
  :authorizer_id,
  :headers,
  :multi_value_headers,
  :path_with_query_string,
  :body,
  :stage_variables,
  :additional_context)
  SENSITIVE = []
  include Aws::Structure
end

#stage_variablesHash<String,String>

A key-value map of stage variables to simulate an invocation on a deployed Stage.

Returns:

  • (Hash<String,String>)


4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 4949

class TestInvokeAuthorizerRequest < Struct.new(
  :rest_api_id,
  :authorizer_id,
  :headers,
  :multi_value_headers,
  :path_with_query_string,
  :body,
  :stage_variables,
  :additional_context)
  SENSITIVE = []
  include Aws::Structure
end