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

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

Example: \{"entityId":"string","entityType":"string"\}

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)


1424
1425
1426
1427
1428
1429
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 1424

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)


1424
1425
1426
1427
1428
1429
# File 'gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/types.rb', line 1424

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