Class: Aws::IoT::Types::CreateThingRequest
- Inherits:
 - 
      Struct
      
        
- Object
 - Struct
 - Aws::IoT::Types::CreateThingRequest
 
 
- Includes:
 - Structure
 
- Defined in:
 - lib/aws-sdk-iot/types.rb
 
Overview
The input for the CreateThing operation.
Constant Summary collapse
- SENSITIVE =
 []
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”}`
      4040 4041 4042 4043 4044 4045 4046 4047  | 
    
      # File 'lib/aws-sdk-iot/types.rb', line 4040 class CreateThingRequest < Struct.new( :thing_name, :thing_type_name, :attribute_payload, :billing_group_name) SENSITIVE = [] include Aws::Structure end  | 
  
#billing_group_name ⇒ String
The name of the billing group the thing will be added to.
      4040 4041 4042 4043 4044 4045 4046 4047  | 
    
      # File 'lib/aws-sdk-iot/types.rb', line 4040 class CreateThingRequest < Struct.new( :thing_name, :thing_type_name, :attribute_payload, :billing_group_name) SENSITIVE = [] include Aws::Structure end  | 
  
#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.
      4040 4041 4042 4043 4044 4045 4046 4047  | 
    
      # File 'lib/aws-sdk-iot/types.rb', line 4040 class CreateThingRequest < Struct.new( :thing_name, :thing_type_name, :attribute_payload, :billing_group_name) SENSITIVE = [] include Aws::Structure end  | 
  
#thing_type_name ⇒ String
The name of the thing type associated with the new thing.
      4040 4041 4042 4043 4044 4045 4046 4047  | 
    
      # File 'lib/aws-sdk-iot/types.rb', line 4040 class CreateThingRequest < Struct.new( :thing_name, :thing_type_name, :attribute_payload, :billing_group_name) SENSITIVE = [] include Aws::Structure end  |