You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::IoT::Types::AddThingToThingGroupRequest

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

Overview

Note:

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

{
  thing_group_name: "ThingGroupName",
  thing_group_arn: "ThingGroupArn",
  thing_name: "ThingName",
  thing_arn: "ThingArn",
}

Instance Attribute Summary collapse

Instance Attribute Details

#thing_arnString

The ARN of the thing to add to a group.

Returns:

  • (String)


227
228
229
230
231
232
233
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 227

class AddThingToThingGroupRequest < Struct.new(
  :thing_group_name,
  :thing_group_arn,
  :thing_name,
  :thing_arn)
  include Aws::Structure
end

#thing_group_arnString

The ARN of the group to which you are adding a thing.

Returns:

  • (String)


227
228
229
230
231
232
233
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 227

class AddThingToThingGroupRequest < Struct.new(
  :thing_group_name,
  :thing_group_arn,
  :thing_name,
  :thing_arn)
  include Aws::Structure
end

#thing_group_nameString

The name of the group to which you are adding a thing.

Returns:

  • (String)


227
228
229
230
231
232
233
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 227

class AddThingToThingGroupRequest < Struct.new(
  :thing_group_name,
  :thing_group_arn,
  :thing_name,
  :thing_arn)
  include Aws::Structure
end

#thing_nameString

The name of the thing to add to a group.

Returns:

  • (String)


227
228
229
230
231
232
233
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 227

class AddThingToThingGroupRequest < Struct.new(
  :thing_group_name,
  :thing_group_arn,
  :thing_name,
  :thing_arn)
  include Aws::Structure
end