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

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

Overview

Note:

When making an API call, you may pass AssociateEntityToThingRequest data as a hash:

{
  thing_name: "ThingName", # required
  entity_id: "Urn", # required
  namespace_version: 1,
}

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)


39
40
41
42
43
44
45
# File 'gems/aws-sdk-iotthingsgraph/lib/aws-sdk-iotthingsgraph/types.rb', line 39

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)


39
40
41
42
43
44
45
# File 'gems/aws-sdk-iotthingsgraph/lib/aws-sdk-iotthingsgraph/types.rb', line 39

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)


39
40
41
42
43
44
45
# File 'gems/aws-sdk-iotthingsgraph/lib/aws-sdk-iotthingsgraph/types.rb', line 39

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