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.
5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 |
# File 'lib/aws-sdk-apigateway/types.rb', line 5286 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.
5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 |
# File 'lib/aws-sdk-apigateway/types.rb', line 5286 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.
5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 |
# File 'lib/aws-sdk-apigateway/types.rb', line 5286 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.
5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 |
# File 'lib/aws-sdk-apigateway/types.rb', line 5286 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.
5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 |
# File 'lib/aws-sdk-apigateway/types.rb', line 5286 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
5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 |
# File 'lib/aws-sdk-apigateway/types.rb', line 5286 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
5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 |
# File 'lib/aws-sdk-apigateway/types.rb', line 5286 class TestInvokeAuthorizerResponse < Struct.new( :client_status, :log, :latency, :principal_id, :policy, :authorization, :claims) SENSITIVE = [] include Aws::Structure end |