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.

ListThingGroupsForThingInput

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

type ListThingGroupsForThingInput struct { MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` ThingName *string `location:"uri" locationName:"thingName" min:"1" type:"string" required:"true"` }

MaxResults

Type: *int64

The maximum number of results to return at one time.

NextToken

Type: *string

The token to retrieve the next set of results.

ThingName

Type: *string

The thing name.

ThingName is a required field

Method

GoString

func (s ListThingGroupsForThingInput) GoString() string

GoString returns the string representation

SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

SetNextToken

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

SetNextToken sets the NextToken field's value.

SetThingName

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

SetThingName sets the ThingName field's value.

String

func (s ListThingGroupsForThingInput) String() string

String returns the string representation

Validate

func (s *ListThingGroupsForThingInput) Validate() error

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

On this page: