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.

CreateDynamicThingGroupInput

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

type CreateDynamicThingGroupInput struct { IndexName *string `locationName:"indexName" min:"1" type:"string"` QueryString *string `locationName:"queryString" min:"1" type:"string" required:"true"` QueryVersion *string `locationName:"queryVersion" 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"` }

IndexName

Type: *string

The dynamic thing group index name.

Currently one index is supported: "AWS_Things".

QueryString

Type: *string

The dynamic thing group search query string.

See Query Syntax (https://docs.aws.amazon.com/iot/latest/developerguide/query-syntax.html) for information about query string syntax.

QueryString is a required field

QueryVersion

Type: *string

The dynamic thing group query version.

Currently one query version is supported: "2017-09-30". If not specified, the query version defaults to this value.

Tags

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

ThingGroupName

Type: *string

The dynamic thing group name to create.

ThingGroupName is a required field

ThingGroupProperties

Thing group properties.

Method

GoString

func (s CreateDynamicThingGroupInput) GoString() string

GoString returns the string representation

SetIndexName

func (s *CreateDynamicThingGroupInput) SetIndexName(v string) *CreateDynamicThingGroupInput

SetIndexName sets the IndexName field's value.

SetQueryString

func (s *CreateDynamicThingGroupInput) SetQueryString(v string) *CreateDynamicThingGroupInput

SetQueryString sets the QueryString field's value.

SetQueryVersion

func (s *CreateDynamicThingGroupInput) SetQueryVersion(v string) *CreateDynamicThingGroupInput

SetQueryVersion sets the QueryVersion field's value.

SetTags

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

SetTags sets the Tags field's value.

SetThingGroupName

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

SetThingGroupName sets the ThingGroupName field's value.

SetThingGroupProperties

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

SetThingGroupProperties sets the ThingGroupProperties field's value.

String

func (s CreateDynamicThingGroupInput) String() string

String returns the string representation

Validate

func (s *CreateDynamicThingGroupInput) Validate() error

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

On this page: