Class: Aws::APIGateway::Types::TestInvokeAuthorizerResponse
- Inherits:
-
Struct
- Object
- Struct
- Aws::APIGateway::Types::TestInvokeAuthorizerResponse
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-apigateway/types.rb
Overview
Represents the response of the test invoke request for a custom Authorizer
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#authorization ⇒ Hash<String,Array<String>>
The authorization response.
-
#claims ⇒ Hash<String,String>
The open identity claims, with any supported custom attributes, returned from the Cognito Your User Pool configured for the API.
-
#client_status ⇒ Integer
The HTTP status code that the client would have received.
-
#latency ⇒ Integer
The execution latency, in ms, of the test authorizer request.
-
#log ⇒ String
The API Gateway execution log for the test authorizer request.
-
#policy ⇒ String
The JSON policy document returned by the Authorizer.
-
#principal_id ⇒ String
The principal identity returned by the Authorizer.
Instance Attribute Details
#authorization ⇒ Hash<String,Array<String>>
The authorization response.
5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 |
# File 'lib/aws-sdk-apigateway/types.rb', line 5195 class TestInvokeAuthorizerResponse < Struct.new( :client_status, :log, :latency, :principal_id, :policy, :authorization, :claims) SENSITIVE = [] include Aws::Structure end |
#claims ⇒ Hash<String,String>
The open identity claims, with any supported custom attributes, returned from the Cognito Your User Pool configured for the API.
5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 |
# File 'lib/aws-sdk-apigateway/types.rb', line 5195 class TestInvokeAuthorizerResponse < Struct.new( :client_status, :log, :latency, :principal_id, :policy, :authorization, :claims) SENSITIVE = [] include Aws::Structure end |
#client_status ⇒ Integer
The HTTP status code that the client would have received. Value is 0 if the authorizer succeeded.
5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 |
# File 'lib/aws-sdk-apigateway/types.rb', line 5195 class TestInvokeAuthorizerResponse < Struct.new( :client_status, :log, :latency, :principal_id, :policy, :authorization, :claims) SENSITIVE = [] include Aws::Structure end |
#latency ⇒ Integer
The execution latency, in ms, of the test authorizer request.
5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 |
# File 'lib/aws-sdk-apigateway/types.rb', line 5195 class TestInvokeAuthorizerResponse < Struct.new( :client_status, :log, :latency, :principal_id, :policy, :authorization, :claims) SENSITIVE = [] include Aws::Structure end |
#log ⇒ String
The API Gateway execution log for the test authorizer request.
5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 |
# File 'lib/aws-sdk-apigateway/types.rb', line 5195 class TestInvokeAuthorizerResponse < Struct.new( :client_status, :log, :latency, :principal_id, :policy, :authorization, :claims) SENSITIVE = [] include Aws::Structure end |
#policy ⇒ String
The JSON policy document returned by the Authorizer
5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 |
# File 'lib/aws-sdk-apigateway/types.rb', line 5195 class TestInvokeAuthorizerResponse < Struct.new( :client_status, :log, :latency, :principal_id, :policy, :authorization, :claims) SENSITIVE = [] include Aws::Structure end |
#principal_id ⇒ String
The principal identity returned by the Authorizer
5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 |
# File 'lib/aws-sdk-apigateway/types.rb', line 5195 class TestInvokeAuthorizerResponse < Struct.new( :client_status, :log, :latency, :principal_id, :policy, :authorization, :claims) SENSITIVE = [] include Aws::Structure end |