You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::APIGateway::Types::TestInvokeAuthorizerResponse

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Represents the response of the test invoke request for a custom Authorizer

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#authorizationHash<String,Array<String>>

Returns:

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

#claimsHash<String,String>

The open identity claims, with any supported custom attributes, returned from the Cognito Your User Pool configured for the API.

Returns:

  • (Hash<String,String>)

    The [open identity claims][1], with any supported custom attributes, returned from the Cognito Your User Pool configured for the API.

#client_statusInteger

The HTTP status code that the client would have received. Value is 0 if the authorizer succeeded.

Returns:

  • (Integer)

    The HTTP status code that the client would have received.

#latencyInteger

The execution latency of the test authorizer request.

Returns:

  • (Integer)

    The execution latency of the test authorizer request.

#logString

The Amazon API Gateway execution log for the test authorizer request.

Returns:

  • (String)

    The Amazon API Gateway execution log for the test authorizer request.

#policyString

The JSON policy document returned by the Authorizer

Returns:

  • (String)

    The JSON policy document returned by the Authorizer.

#principal_idString

The principal identity returned by the Authorizer

Returns:

  • (String)

    The principal identity returned by the Authorizer.