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

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


418
419
420
421
422
423
424
425
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 418

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:



418
419
420
421
422
423
424
425
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 418

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:



418
419
420
421
422
423
424
425
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 418

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

#requestTypes::BatchIsAuthorizedWithTokenInputItem

The authorization request that initiated the decision.



418
419
420
421
422
423
424
425
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 418

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