Class: Aws::IoTThingsGraph::Types::AssociateEntityToThingRequest

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#entity_idString

The ID of the device to be associated with the thing.

The ID should be in the following format.

‘urn:tdm:REGION/ACCOUNT ID/default:device:DEVICENAME`

Returns:

  • (String)


30
31
32
33
34
35
36
# File 'lib/aws-sdk-iotthingsgraph/types.rb', line 30

class AssociateEntityToThingRequest < Struct.new(
  :thing_name,
  :entity_id,
  :namespace_version)
  SENSITIVE = []
  include Aws::Structure
end

#namespace_versionInteger

The version of the user’s namespace. Defaults to the latest version of the user’s namespace.

Returns:

  • (Integer)


30
31
32
33
34
35
36
# File 'lib/aws-sdk-iotthingsgraph/types.rb', line 30

class AssociateEntityToThingRequest < Struct.new(
  :thing_name,
  :entity_id,
  :namespace_version)
  SENSITIVE = []
  include Aws::Structure
end

#thing_nameString

The name of the thing to which the entity is to be associated.

Returns:

  • (String)


30
31
32
33
34
35
36
# File 'lib/aws-sdk-iotthingsgraph/types.rb', line 30

class AssociateEntityToThingRequest < Struct.new(
  :thing_name,
  :entity_id,
  :namespace_version)
  SENSITIVE = []
  include Aws::Structure
end