Class: Aws::VerifiedPermissions::Types::EntitiesDefinition
- Inherits:
-
Struct
- Object
- Struct
- Aws::VerifiedPermissions::Types::EntitiesDefinition
- Includes:
- Structure, Structure::Union
- Defined in:
- lib/aws-sdk-verifiedpermissions/types.rb
Overview
EntitiesDefinition is a union - when making an API calls you must set exactly one of the members.
Contains the list of entities to be considered during an authorization request. This includes all principals, resources, and actions required to successfully evaluate the request.
This data type is used as a field in the response parameter for the
- IsAuthorized][1
-
and [IsAuthorizedWithToken] operations.
[1]: docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_IsAuthorized.html [2]: docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_IsAuthorizedWithToken.html
Direct Known Subclasses
Defined Under Namespace
Classes: EntityList, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#entity_list ⇒ Array<Types::EntityItem>
An array of entities that are needed to successfully evaluate an authorization request.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#entity_list ⇒ Array<Types::EntityItem>
An array of entities that are needed to successfully evaluate an authorization request. Each entity in this array must include an identifier for the entity, the attributes of the entity, and a list of any parent entities.
1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 |
# File 'lib/aws-sdk-verifiedpermissions/types.rb', line 1539 class EntitiesDefinition < Struct.new( :entity_list, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class EntityList < EntitiesDefinition; end class Unknown < EntitiesDefinition; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
1539 1540 1541 |
# File 'lib/aws-sdk-verifiedpermissions/types.rb', line 1539 def unknown @unknown end |