Class: Aws::VerifiedPermissions::Types::BatchIsAuthorizedWithTokenOutputItem

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

Overview

The decision, based on policy evaluation, from an individual authorization request in a ‘BatchIsAuthorizedWithToken` API request.

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)


573
574
575
576
577
578
579
580
# File 'lib/aws-sdk-verifiedpermissions/types.rb', line 573

class BatchIsAuthorizedWithTokenOutputItem < Struct.new(
  :request,
  :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:



573
574
575
576
577
578
579
580
# File 'lib/aws-sdk-verifiedpermissions/types.rb', line 573

class BatchIsAuthorizedWithTokenOutputItem < Struct.new(
  :request,
  :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 might reference an entity or attribute that doesn’t exist in the request.

Returns:



573
574
575
576
577
578
579
580
# File 'lib/aws-sdk-verifiedpermissions/types.rb', line 573

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

#requestTypes::BatchIsAuthorizedWithTokenInputItem

The authorization request that initiated the decision.



573
574
575
576
577
578
579
580
# File 'lib/aws-sdk-verifiedpermissions/types.rb', line 573

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