Class: Aws::VerifiedPermissions::Types::IsAuthorizedOutput

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-verifiedpermissions/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[:errors]

Instance Attribute Summary collapse

Instance Attribute Details

#decisionString

An authorization decision that indicates if the authorization request should be allowed or denied.

Returns:

  • (String)


2257
2258
2259
2260
2261
2262
2263
# File 'lib/aws-sdk-verifiedpermissions/types.rb', line 2257

class IsAuthorizedOutput < Struct.new(
  :decision,
  :determining_policies,
  :errors)
  SENSITIVE = [:errors]
  include Aws::Structure
end

#determining_policiesArray<Types::DeterminingPolicyItem>

The list of determining policies used to make the authorization decision. For example, if there are two matching policies, where one is a forbid and the other is a permit, then the forbid policy will be the determining policy. In the case of multiple matching permit policies then there would be multiple determining policies. In the case that no policies match, and hence the response is DENY, there would be no determining policies.

Returns:



2257
2258
2259
2260
2261
2262
2263
# File 'lib/aws-sdk-verifiedpermissions/types.rb', line 2257

class IsAuthorizedOutput < Struct.new(
  :decision,
  :determining_policies,
  :errors)
  SENSITIVE = [:errors]
  include Aws::Structure
end

#errorsArray<Types::EvaluationErrorItem>

Errors that occurred while making an authorization decision, for example, a policy references an Entity or entity Attribute that does not exist in the slice.

Returns:



2257
2258
2259
2260
2261
2262
2263
# File 'lib/aws-sdk-verifiedpermissions/types.rb', line 2257

class IsAuthorizedOutput < Struct.new(
  :decision,
  :determining_policies,
  :errors)
  SENSITIVE = [:errors]
  include Aws::Structure
end