You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::IoT::Types::ThingIndexingConfiguration

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing ThingIndexingConfiguration as input to an Aws::Client method, you can use a vanilla Hash:

{
  thing_indexing_mode: "OFF", # required, accepts OFF, REGISTRY, REGISTRY_AND_SHADOW
  thing_connectivity_indexing_mode: "OFF", # accepts OFF, STATUS
  managed_fields: [
    {
      name: "FieldName",
      type: "Number", # accepts Number, String, Boolean
    },
  ],
  custom_fields: [
    {
      name: "FieldName",
      type: "Number", # accepts Number, String, Boolean
    },
  ],
}

The thing indexing configuration. For more information, see Managing Thing Indexing.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#custom_fieldsArray<Types::Field>

A list of thing fields to index. This list cannot contain any managed fields. Use the GetIndexingConfiguration API to get a list of managed fields.

Returns:

  • (Array<Types::Field>)

    A list of thing fields to index.

#managed_fieldsArray<Types::Field>

A list of automatically indexed thing fields.

Returns:

  • (Array<Types::Field>)

    A list of automatically indexed thing fields.

#thing_connectivity_indexing_modeString

Thing connectivity indexing mode. Valid values are:

  • STATUS – Your thing index contains connectivity status. To enable thing connectivity indexing, thingIndexMode must not be set to OFF.

  • OFF - Thing connectivity status indexing is disabled.

    Possible values:

    • OFF
    • STATUS

Returns:

  • (String)

    Thing connectivity indexing mode.

#thing_indexing_modeString

Thing indexing mode. Valid values are:

  • REGISTRY – Your thing index contains registry data only.

  • REGISTRY_AND_SHADOW - Your thing index contains registry and shadow data.

  • OFF - Thing indexing is disabled.

    Possible values:

    • OFF
    • REGISTRY
    • REGISTRY_AND_SHADOW

Returns:

  • (String)

    Thing indexing mode.