Class: Aws::VerifiedPermissions::Types::IsAuthorizedWithTokenOutput

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


2210
2211
2212
2213
2214
2215
2216
2217
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 2210

class IsAuthorizedWithTokenOutput < Struct.new(
  :decision,
  :determining_policies,
  :errors,
  :principal)
  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 multiple matching policies, where at least one is a forbid policy, then because forbid always overrides permit the forbid policies are the determining policies. If all matching policies are permit policies, then those policies are the determining policies. When no policies match and the response is the default DENY, there are no determining policies.

Returns:



2210
2211
2212
2213
2214
2215
2216
2217
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 2210

class IsAuthorizedWithTokenOutput < Struct.new(
  :decision,
  :determining_policies,
  :errors,
  :principal)
  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:



2210
2211
2212
2213
2214
2215
2216
2217
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 2210

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

#principalTypes::EntityIdentifier

The identifier of the principal in the ID or access token.



2210
2211
2212
2213
2214
2215
2216
2217
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 2210

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