AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the CreateThing operation. Creates a thing record in the registry. If this call is made multiple times using the same thing name and configuration, the call will succeed. If this call is made with the same thing name but different configuration a ResourceAlreadyExistsException is thrown.

This is a control plane operation. See Authorization for information about authorizing control plane actions.

Requires permission to access the CreateThing action.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.IoT.AmazonIoTRequest
      Amazon.IoT.Model.CreateThingRequest

Namespace: Amazon.IoT.Model
Assembly: AWSSDK.IoT.dll
Version: 3.x.y.z

Syntax

C#
public class CreateThingRequest : AmazonIoTRequest
         IAmazonWebServiceRequest

The CreateThingRequest type exposes the following members

Constructors

NameDescription
Public Method CreateThingRequest()

Properties

NameTypeDescription
Public Property AttributePayload Amazon.IoT.Model.AttributePayload

Gets and sets the property AttributePayload.

The attribute payload, which consists of up to three name/value pairs in a JSON document. For example:

{\"attributes\":{\"string1\":\"string2\"}}

Public Property BillingGroupName System.String

Gets and sets the property BillingGroupName.

The name of the billing group the thing will be added to.

Public Property ThingName System.String

Gets and sets the property ThingName.

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.

Public Property ThingTypeName System.String

Gets and sets the property ThingTypeName.

The name of the thing type associated with the new thing.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5