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

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)


2365
2366
2367
2368
2369
2370
2371
2372
# File 'lib/aws-sdk-verifiedpermissions/types.rb', line 2365

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:



2365
2366
2367
2368
2369
2370
2371
2372
# File 'lib/aws-sdk-verifiedpermissions/types.rb', line 2365

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:



2365
2366
2367
2368
2369
2370
2371
2372
# File 'lib/aws-sdk-verifiedpermissions/types.rb', line 2365

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.



2365
2366
2367
2368
2369
2370
2371
2372
# File 'lib/aws-sdk-verifiedpermissions/types.rb', line 2365

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