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.

ListThingGroupsInput

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

type ListThingGroupsInput struct { MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` NamePrefixFilter *string `location:"querystring" locationName:"namePrefixFilter" min:"1" type:"string"` NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` ParentGroup *string `location:"querystring" locationName:"parentGroup" min:"1" type:"string"` Recursive *bool `location:"querystring" locationName:"recursive" type:"boolean"` }

MaxResults

Type: *int64

The maximum number of results to return at one time.

NamePrefixFilter

Type: *string

A filter that limits the results to those with the specified name prefix.

NextToken

Type: *string

The token to retrieve the next set of results.

ParentGroup

Type: *string

A filter that limits the results to those with the specified parent group.

Recursive

Type: *bool

If true, return child groups as well.

Method

GoString

func (s ListThingGroupsInput) GoString() string

GoString returns the string representation

SetMaxResults

func (s *ListThingGroupsInput) SetMaxResults(v int64) *ListThingGroupsInput

SetMaxResults sets the MaxResults field's value.

SetNamePrefixFilter

func (s *ListThingGroupsInput) SetNamePrefixFilter(v string) *ListThingGroupsInput

SetNamePrefixFilter sets the NamePrefixFilter field's value.

SetNextToken

func (s *ListThingGroupsInput) SetNextToken(v string) *ListThingGroupsInput

SetNextToken sets the NextToken field's value.

SetParentGroup

func (s *ListThingGroupsInput) SetParentGroup(v string) *ListThingGroupsInput

SetParentGroup sets the ParentGroup field's value.

SetRecursive

func (s *ListThingGroupsInput) SetRecursive(v bool) *ListThingGroupsInput

SetRecursive sets the Recursive field's value.

String

func (s ListThingGroupsInput) String() string

String returns the string representation

Validate

func (s *ListThingGroupsInput) Validate() error

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

On this page: