class
Amazonite::ApiGateway::TestInvokeAuthorizerResponse
- Amazonite::ApiGateway::TestInvokeAuthorizerResponse
- Reference
- Object
Overview
Represents the response of the test invoke request for a custom Authorizer
Included Modules
- JSON::Serializable
Defined in:
api_gateway/test_invoke_authorizer_response.crConstructors
- .new(pull : JSON::PullParser)
- .new(client_status : Int32 | Nil = nil, log : String | Nil = nil, latency : Int64 | Nil = nil, principal_id : String | Nil = nil, policy : String | Nil = nil, authorization : Hash(String, Array(String)) | Nil = nil, claims : Hash(String, String) | Nil = nil)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#authorization : Hash(String, Array(String)) | Nil
The authorization response.
-
#authorization=(authorization : Hash(String, Array(String)) | Nil)
The authorization response.
-
#claims : Hash(String, String) | Nil
The open identity claims, with any supported custom attributes, returned from the Cognito Your User Pool configured for the API.
-
#claims=(claims : Hash(String, String) | Nil)
The open identity claims, with any supported custom attributes, returned from the Cognito Your User Pool configured for the API.
-
#client_status : Int32 | Nil
The HTTP status code that the client would have received.
-
#client_status=(client_status : Int32 | Nil)
The HTTP status code that the client would have received.
-
#hash(hasher)
See
Object#hash(hasher) -
#latency : Int64 | Nil
The execution latency, in ms, of the test authorizer request.
-
#latency=(latency : Int64 | Nil)
The execution latency, in ms, of the test authorizer request.
-
#log : String | Nil
The API Gateway execution log for the test authorizer request.
-
#log=(log : String | Nil)
The API Gateway execution log for the test authorizer request.
-
#policy : String | Nil
The JSON policy document returned by the Authorizer
-
#policy=(policy : String | Nil)
The JSON policy document returned by the Authorizer
-
#principal_id : String | Nil
The principal identity returned by the Authorizer
-
#principal_id=(principal_id : String | Nil)
The principal identity returned by the Authorizer
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
The open identity claims, with any supported custom attributes, returned from the Cognito Your User Pool configured for the API.
The open identity claims, with any supported custom attributes, returned from the Cognito Your User Pool configured for the API.
The HTTP status code that the client would have received. Value is 0 if the authorizer succeeded.
The HTTP status code that the client would have received. Value is 0 if the authorizer succeeded.