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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-apigateway/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

Instance Attribute Details

#authorizationHash<String,Array<String>>

The authorization response.

Returns:

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


4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 4996

class TestInvokeAuthorizerResponse < Struct.new(
  :client_status,
  :log,
  :latency,
  :principal_id,
  :policy,
  :authorization,
  :claims)
  SENSITIVE = []
  include Aws::Structure
end

#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>)


4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 4996

class TestInvokeAuthorizerResponse < Struct.new(
  :client_status,
  :log,
  :latency,
  :principal_id,
  :policy,
  :authorization,
  :claims)
  SENSITIVE = []
  include Aws::Structure
end

#client_statusInteger

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

Returns:

  • (Integer)


4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 4996

class TestInvokeAuthorizerResponse < Struct.new(
  :client_status,
  :log,
  :latency,
  :principal_id,
  :policy,
  :authorization,
  :claims)
  SENSITIVE = []
  include Aws::Structure
end

#latencyInteger

The execution latency, in ms, of the test authorizer request.

Returns:

  • (Integer)


4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 4996

class TestInvokeAuthorizerResponse < Struct.new(
  :client_status,
  :log,
  :latency,
  :principal_id,
  :policy,
  :authorization,
  :claims)
  SENSITIVE = []
  include Aws::Structure
end

#logString

The API Gateway execution log for the test authorizer request.

Returns:

  • (String)


4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 4996

class TestInvokeAuthorizerResponse < Struct.new(
  :client_status,
  :log,
  :latency,
  :principal_id,
  :policy,
  :authorization,
  :claims)
  SENSITIVE = []
  include Aws::Structure
end

#policyString

The JSON policy document returned by the Authorizer

Returns:

  • (String)


4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 4996

class TestInvokeAuthorizerResponse < Struct.new(
  :client_status,
  :log,
  :latency,
  :principal_id,
  :policy,
  :authorization,
  :claims)
  SENSITIVE = []
  include Aws::Structure
end

#principal_idString

The principal identity returned by the Authorizer

Returns:

  • (String)


4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/types.rb', line 4996

class TestInvokeAuthorizerResponse < Struct.new(
  :client_status,
  :log,
  :latency,
  :principal_id,
  :policy,
  :authorization,
  :claims)
  SENSITIVE = []
  include Aws::Structure
end