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.

CreateThingOutput

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

type CreateThingOutput struct { ThingArn *string `locationName:"thingArn" type:"string"` ThingId *string `locationName:"thingId" type:"string"` ThingName *string `locationName:"thingName" min:"1" type:"string"` }

The output of the CreateThing operation.

ThingArn

Type: *string

The ARN of the new thing.

ThingId

Type: *string

The thing ID.

ThingName

Type: *string

The name of the new thing.

Method

GoString

func (s CreateThingOutput) GoString() string

GoString returns the string representation

SetThingArn

func (s *CreateThingOutput) SetThingArn(v string) *CreateThingOutput

SetThingArn sets the ThingArn field's value.

SetThingId

func (s *CreateThingOutput) SetThingId(v string) *CreateThingOutput

SetThingId sets the ThingId field's value.

SetThingName

func (s *CreateThingOutput) SetThingName(v string) *CreateThingOutput

SetThingName sets the ThingName field's value.

String

func (s CreateThingOutput) String() string

String returns the string representation

On this page: