Class: Aws::VerifiedPermissions::Types::EntityIdentifier

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-verifiedpermissions/types.rb

Overview

Contains the identifier of an entity, including its ID and type.

This data type is used as a request parameter for [IsAuthorized] operation, and as a response parameter for the [CreatePolicy],

GetPolicy], and [UpdatePolicy][4

operations.

Example: ‘“entityId”:“string”,“entityType”:“string”`

[1]: docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_IsAuthorized.html [2]: docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_CreatePolicy.html [3]: docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_GetPolicy.html [4]: docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_UpdatePolicy.html

Constant Summary collapse

SENSITIVE =
[:entity_type, :entity_id]

Instance Attribute Summary collapse

Instance Attribute Details

#entity_idString

The identifier of an entity.

‘“entityId”:“identifier”`

Returns:

  • (String)


1579
1580
1581
1582
1583
1584
# File 'lib/aws-sdk-verifiedpermissions/types.rb', line 1579

class EntityIdentifier < Struct.new(
  :entity_type,
  :entity_id)
  SENSITIVE = [:entity_type, :entity_id]
  include Aws::Structure
end

#entity_typeString

The type of an entity.

Example: ‘“entityType”:“typeName”`

Returns:

  • (String)


1579
1580
1581
1582
1583
1584
# File 'lib/aws-sdk-verifiedpermissions/types.rb', line 1579

class EntityIdentifier < Struct.new(
  :entity_type,
  :entity_id)
  SENSITIVE = [:entity_type, :entity_id]
  include Aws::Structure
end