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.

UpdateThingGroupsForThingInput

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

type UpdateThingGroupsForThingInput struct { OverrideDynamicGroups *bool `locationName:"overrideDynamicGroups" type:"boolean"` ThingGroupsToAdd []*string `locationName:"thingGroupsToAdd" type:"list"` ThingGroupsToRemove []*string `locationName:"thingGroupsToRemove" type:"list"` ThingName *string `locationName:"thingName" min:"1" type:"string"` }

OverrideDynamicGroups

Type: *bool

Override dynamic thing groups with static thing groups when 10-group limit is reached. If a thing belongs to 10 thing groups, and one or more of those groups are dynamic thing groups, adding a thing to a static group removes the thing from the last dynamic group.

ThingGroupsToAdd

Type: []*string

The groups to which the thing will be added.

ThingGroupsToRemove

Type: []*string

The groups from which the thing will be removed.

ThingName

Type: *string

The thing whose group memberships will be updated.

Method

GoString

func (s UpdateThingGroupsForThingInput) GoString() string

GoString returns the string representation

SetOverrideDynamicGroups

func (s *UpdateThingGroupsForThingInput) SetOverrideDynamicGroups(v bool) *UpdateThingGroupsForThingInput

SetOverrideDynamicGroups sets the OverrideDynamicGroups field's value.

SetThingGroupsToAdd

func (s *UpdateThingGroupsForThingInput) SetThingGroupsToAdd(v []*string) *UpdateThingGroupsForThingInput

SetThingGroupsToAdd sets the ThingGroupsToAdd field's value.

SetThingGroupsToRemove

func (s *UpdateThingGroupsForThingInput) SetThingGroupsToRemove(v []*string) *UpdateThingGroupsForThingInput

SetThingGroupsToRemove sets the ThingGroupsToRemove field's value.

SetThingName

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

SetThingName sets the ThingName field's value.

String

func (s UpdateThingGroupsForThingInput) String() string

String returns the string representation

Validate

func (s *UpdateThingGroupsForThingInput) Validate() error

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

On this page: