You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::IoT::Types::CreateThingRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::IoT::Types::CreateThingRequest
- Defined in:
- (unknown)
Overview
When passing CreateThingRequest as input to an Aws::Client method, you can use a vanilla 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\"}}`
#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.
You can\'t change a thing\'s name after you create it. To change a thing\'s name, you must create a new thing, give it the new name, and then delete the old thing.
#thing_type_name ⇒ String
The name of the thing type associated with the new thing.