AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

CreateThingTypeInput

import "github.com/aws/aws-sdk-go/service/iot"

type CreateThingTypeInput struct { Tags []*Tag `locationName:"tags" type:"list"` ThingTypeName *string `location:"uri" locationName:"thingTypeName" min:"1" type:"string" required:"true"` ThingTypeProperties *ThingTypeProperties `locationName:"thingTypeProperties" type:"structure"` }

The input for the CreateThingType operation.

Tags

A set of key/value pairs that are used to manage the resource.

ThingTypeName

Type: *string

The name of the thing type.

ThingTypeName is a required field

ThingTypeProperties

The ThingTypeProperties contains information about the thing type including: a thing type description, and a list of searchable thing attribute names.

Method

GoString

func (s CreateThingTypeInput) GoString() string

GoString returns the string representation

SetTags

func (s *CreateThingTypeInput) SetTags(v []*Tag) *CreateThingTypeInput

SetTags sets the Tags field's value.

SetThingTypeName

func (s *CreateThingTypeInput) SetThingTypeName(v string) *CreateThingTypeInput

SetThingTypeName sets the ThingTypeName field's value.

SetThingTypeProperties

func (s *CreateThingTypeInput) SetThingTypeProperties(v *ThingTypeProperties) *CreateThingTypeInput

SetThingTypeProperties sets the ThingTypeProperties field's value.

String

func (s CreateThingTypeInput) String() string

String returns the string representation

Validate

func (s *CreateThingTypeInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: