Class: Aws::IoT::Types::CreateThingRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::IoT::Types::CreateThingRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-iot/types.rb
Overview
Note:
When making an API call, you may pass CreateThingRequest data as a hash:
{
thing_name: "ThingName", # required
thing_type_name: "ThingTypeName",
attribute_payload: {
attributes: {
"AttributeName" => "AttributeValue",
},
merge: false,
},
billing_group_name: "BillingGroupName",
}
The input for the CreateThing operation.
Instance Attribute Summary collapse
-
#attribute_payload ⇒ Types::AttributePayload
The attribute payload, which consists of up to three name/value pairs in a JSON document.
-
#billing_group_name ⇒ String
The name of the billing group the thing will be added to.
-
#thing_name ⇒ String
The name of the thing to create.
-
#thing_type_name ⇒ String
The name of the thing type associated with the new thing.
Instance Attribute Details
#attribute_payload ⇒ Types::AttributePayload
The attribute payload, which consists of up to three name/value pairs in a JSON document. For example:
‘“attributes”:{“string1”:“string2”}`
2705 2706 2707 2708 2709 2710 2711 |
# File 'lib/aws-sdk-iot/types.rb', line 2705 class CreateThingRequest < Struct.new( :thing_name, :thing_type_name, :attribute_payload, :billing_group_name) include Aws::Structure end |
#billing_group_name ⇒ String
The name of the billing group the thing will be added to.
2705 2706 2707 2708 2709 2710 2711 |
# File 'lib/aws-sdk-iot/types.rb', line 2705 class CreateThingRequest < Struct.new( :thing_name, :thing_type_name, :attribute_payload, :billing_group_name) include Aws::Structure end |
#thing_name ⇒ String
The name of the thing to create.
2705 2706 2707 2708 2709 2710 2711 |
# File 'lib/aws-sdk-iot/types.rb', line 2705 class CreateThingRequest < Struct.new( :thing_name, :thing_type_name, :attribute_payload, :billing_group_name) include Aws::Structure end |
#thing_type_name ⇒ String
The name of the thing type associated with the new thing.
2705 2706 2707 2708 2709 2710 2711 |
# File 'lib/aws-sdk-iot/types.rb', line 2705 class CreateThingRequest < Struct.new( :thing_name, :thing_type_name, :attribute_payload, :billing_group_name) include Aws::Structure end |