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

Class: Aws::IoT::Types::AuthResult

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb

Overview

The authorizer result.

Instance Attribute Summary collapse

Instance Attribute Details

#allowedTypes::Allowed

The policies and statements that allowed the specified action.

Returns:



459
460
461
462
463
464
465
466
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 459

class AuthResult < Struct.new(
  :auth_info,
  :allowed,
  :denied,
  :auth_decision,
  :missing_context_values)
  include Aws::Structure
end

#auth_decisionString

The final authorization decision of this scenario. Multiple statements are taken into account when determining the authorization decision. An explicit deny statement can override multiple allow statements.

Returns:

  • (String)


459
460
461
462
463
464
465
466
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 459

class AuthResult < Struct.new(
  :auth_info,
  :allowed,
  :denied,
  :auth_decision,
  :missing_context_values)
  include Aws::Structure
end

#auth_infoTypes::AuthInfo

Authorization information.

Returns:



459
460
461
462
463
464
465
466
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 459

class AuthResult < Struct.new(
  :auth_info,
  :allowed,
  :denied,
  :auth_decision,
  :missing_context_values)
  include Aws::Structure
end

#deniedTypes::Denied

The policies and statements that denied the specified action.

Returns:



459
460
461
462
463
464
465
466
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 459

class AuthResult < Struct.new(
  :auth_info,
  :allowed,
  :denied,
  :auth_decision,
  :missing_context_values)
  include Aws::Structure
end

#missing_context_valuesArray<String>

Contains any missing context values found while evaluating policy.

Returns:

  • (Array<String>)


459
460
461
462
463
464
465
466
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 459

class AuthResult < Struct.new(
  :auth_info,
  :allowed,
  :denied,
  :auth_decision,
  :missing_context_values)
  include Aws::Structure
end