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.

ListThingsInput

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

type ListThingsInput struct { AttributeName *string `location:"querystring" locationName:"attributeName" type:"string"` AttributeValue *string `location:"querystring" locationName:"attributeValue" type:"string"` MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` ThingTypeName *string `location:"querystring" locationName:"thingTypeName" min:"1" type:"string"` }

The input for the ListThings operation.

AttributeName

Type: *string

The attribute name used to search for things.

AttributeValue

Type: *string

The attribute value used to search for things.

MaxResults

Type: *int64

The maximum number of results to return in this operation.

NextToken

Type: *string

The token to retrieve the next set of results.

ThingTypeName

Type: *string

The name of the thing type used to search for things.

Method

GoString

func (s ListThingsInput) GoString() string

GoString returns the string representation

SetAttributeName

func (s *ListThingsInput) SetAttributeName(v string) *ListThingsInput

SetAttributeName sets the AttributeName field's value.

SetAttributeValue

func (s *ListThingsInput) SetAttributeValue(v string) *ListThingsInput

SetAttributeValue sets the AttributeValue field's value.

SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

SetNextToken

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

SetNextToken sets the NextToken field's value.

SetThingTypeName

func (s *ListThingsInput) SetThingTypeName(v string) *ListThingsInput

SetThingTypeName sets the ThingTypeName field's value.

String

func (s ListThingsInput) String() string

String returns the string representation

Validate

func (s *ListThingsInput) Validate() error

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

On this page: