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.

ThingIndexingConfiguration

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

type ThingIndexingConfiguration struct { ThingConnectivityIndexingMode *string `locationName:"thingConnectivityIndexingMode" type:"string" enum:"ThingConnectivityIndexingMode"` ThingIndexingMode *string `locationName:"thingIndexingMode" type:"string" required:"true" enum:"ThingIndexingMode"` }

The thing indexing configuration. For more information, see Managing Thing Indexing (https://docs.aws.amazon.com/iot/latest/developerguide/managing-index.html).

ThingConnectivityIndexingMode

Type: *string

Thing connectivity indexing mode. Valid values are:

  • STATUS – Your thing index will contain connectivity status. In order to enable thing connectivity indexing, thingIndexMode must not be set to OFF.

  • OFF - Thing connectivity status indexing is disabled.

ThingIndexingMode

Type: *string

Thing indexing mode. Valid values are:

  • REGISTRY – Your thing index will contain only registry data.

  • REGISTRY_AND_SHADOW - Your thing index will contain registry and shadow data.

  • OFF - Thing indexing is disabled.

ThingIndexingMode is a required field

Method

GoString

func (s ThingIndexingConfiguration) GoString() string

GoString returns the string representation

SetThingConnectivityIndexingMode

func (s *ThingIndexingConfiguration) SetThingConnectivityIndexingMode(v string) *ThingIndexingConfiguration

SetThingConnectivityIndexingMode sets the ThingConnectivityIndexingMode field's value.

SetThingIndexingMode

func (s *ThingIndexingConfiguration) SetThingIndexingMode(v string) *ThingIndexingConfiguration

SetThingIndexingMode sets the ThingIndexingMode field's value.

String

func (s ThingIndexingConfiguration) String() string

String returns the string representation

Validate

func (s *ThingIndexingConfiguration) Validate() error

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

On this page: