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.

UpdateThingGroupInput

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

type UpdateThingGroupInput struct { ExpectedVersion *int64 `locationName:"expectedVersion" type:"long"` ThingGroupName *string `location:"uri" locationName:"thingGroupName" min:"1" type:"string" required:"true"` ThingGroupProperties *ThingGroupProperties `locationName:"thingGroupProperties" type:"structure" required:"true"` }

ExpectedVersion

Type: *int64

The expected version of the thing group. If this does not match the version of the thing group being updated, the update will fail.

ThingGroupName

Type: *string

The thing group to update.

ThingGroupName is a required field

ThingGroupProperties

Thing group properties.

Method

GoString

func (s UpdateThingGroupInput) GoString() string

GoString returns the string representation

SetExpectedVersion

func (s *UpdateThingGroupInput) SetExpectedVersion(v int64) *UpdateThingGroupInput

SetExpectedVersion sets the ExpectedVersion field's value.

SetThingGroupName

func (s *UpdateThingGroupInput) SetThingGroupName(v string) *UpdateThingGroupInput

SetThingGroupName sets the ThingGroupName field's value.

SetThingGroupProperties

func (s *UpdateThingGroupInput) SetThingGroupProperties(v *ThingGroupProperties) *UpdateThingGroupInput

SetThingGroupProperties sets the ThingGroupProperties field's value.

String

func (s UpdateThingGroupInput) String() string

String returns the string representation

Validate

func (s *UpdateThingGroupInput) Validate() error

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

On this page: