Class: Aws::VerifiedPermissions::Types::BatchIsAuthorizedOutputItem

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 ‘BatchIsAuthorized` 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)


426
427
428
429
430
431
432
433
# File 'lib/aws-sdk-verifiedpermissions/types.rb', line 426

class BatchIsAuthorizedOutputItem < 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:



426
427
428
429
430
431
432
433
# File 'lib/aws-sdk-verifiedpermissions/types.rb', line 426

class BatchIsAuthorizedOutputItem < 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:



426
427
428
429
430
431
432
433
# File 'lib/aws-sdk-verifiedpermissions/types.rb', line 426

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

#requestTypes::BatchIsAuthorizedInputItem

The authorization request that initiated the decision.



426
427
428
429
430
431
432
433
# File 'lib/aws-sdk-verifiedpermissions/types.rb', line 426

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