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.

CreateThingGroupInput

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

type CreateThingGroupInput struct { ParentGroupName *string `locationName:"parentGroupName" min:"1" type:"string"` Tags []*Tag `locationName:"tags" type:"list"` ThingGroupName *string `location:"uri" locationName:"thingGroupName" min:"1" type:"string" required:"true"` ThingGroupProperties *ThingGroupProperties `locationName:"thingGroupProperties" type:"structure"` }

ParentGroupName

Type: *string

The name of the parent thing group.

Tags

A set of key/value pairs that are used to manage the resource.

ThingGroupName

Type: *string

The thing group name to create.

ThingGroupName is a required field

ThingGroupProperties

Thing group properties.

Method

GoString

func (s CreateThingGroupInput) GoString() string

GoString returns the string representation

SetParentGroupName

func (s *CreateThingGroupInput) SetParentGroupName(v string) *CreateThingGroupInput

SetParentGroupName sets the ParentGroupName field's value.

SetTags

func (s *CreateThingGroupInput) SetTags(v []*Tag) *CreateThingGroupInput

SetTags sets the Tags field's value.

SetThingGroupName

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

SetThingGroupName sets the ThingGroupName field's value.

SetThingGroupProperties

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

SetThingGroupProperties sets the ThingGroupProperties field's value.

String

func (s CreateThingGroupInput) String() string

String returns the string representation

Validate

func (s *CreateThingGroupInput) Validate() error

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

On this page: