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.

DeprecateThingTypeInput

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

type DeprecateThingTypeInput struct { ThingTypeName *string `location:"uri" locationName:"thingTypeName" min:"1" type:"string" required:"true"` UndoDeprecate *bool `locationName:"undoDeprecate" type:"boolean"` }

The input for the DeprecateThingType operation.

ThingTypeName

Type: *string

The name of the thing type to deprecate.

ThingTypeName is a required field

UndoDeprecate

Type: *bool

Whether to undeprecate a deprecated thing type. If true, the thing type will not be deprecated anymore and you can associate it with things.

Method

GoString

func (s DeprecateThingTypeInput) GoString() string

GoString returns the string representation

SetThingTypeName

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

SetThingTypeName sets the ThingTypeName field's value.

SetUndoDeprecate

func (s *DeprecateThingTypeInput) SetUndoDeprecate(v bool) *DeprecateThingTypeInput

SetUndoDeprecate sets the UndoDeprecate field's value.

String

func (s DeprecateThingTypeInput) String() string

String returns the string representation

Validate

func (s *DeprecateThingTypeInput) Validate() error

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

On this page: