Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

CreateThingRequest

import type { CreateThingRequest } from "https://aws-api.deno.dev/v0.3/services/iot.ts?docs=full";

The input for the CreateThing operation.

interface CreateThingRequest {
attributePayload?: AttributePayload | null;
billingGroupName?: string | null;
thingName: string;
thingTypeName?: string | null;
}

§Properties

§
attributePayload?: AttributePayload | null
[src]

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

{\"attributes\":{\"string1\":\"string2\"}}
§
billingGroupName?: string | null
[src]

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

§
thingName: string
[src]

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.

§
thingTypeName?: string | null
[src]

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