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.

AddThingToThingGroupInput

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

type AddThingToThingGroupInput struct { OverrideDynamicGroups *bool `locationName:"overrideDynamicGroups" type:"boolean"` ThingArn *string `locationName:"thingArn" type:"string"` ThingGroupArn *string `locationName:"thingGroupArn" type:"string"` ThingGroupName *string `locationName:"thingGroupName" min:"1" type:"string"` 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.

ThingArn

Type: *string

The ARN of the thing to add to a group.

ThingGroupArn

Type: *string

The ARN of the group to which you are adding a thing.

ThingGroupName

Type: *string

The name of the group to which you are adding a thing.

ThingName

Type: *string

The name of the thing to add to a group.

Method

GoString

func (s AddThingToThingGroupInput) GoString() string

GoString returns the string representation

SetOverrideDynamicGroups

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

SetOverrideDynamicGroups sets the OverrideDynamicGroups field's value.

SetThingArn

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

SetThingArn sets the ThingArn field's value.

SetThingGroupArn

func (s *AddThingToThingGroupInput) SetThingGroupArn(v string) *AddThingToThingGroupInput

SetThingGroupArn sets the ThingGroupArn field's value.

SetThingGroupName

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

SetThingGroupName sets the ThingGroupName field's value.

SetThingName

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

SetThingName sets the ThingName field's value.

String

func (s AddThingToThingGroupInput) String() string

String returns the string representation

Validate

func (s *AddThingToThingGroupInput) Validate() error

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

On this page: