Skip to main content

indexing_configurations

Creates, updates, deletes, gets or lists an indexing_configurations resource.

Overview

Nameindexing_configurations
TypeResource
Idaws.iot.indexing_configurations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
thing_group_indexing_configurationobjectThe index configuration.
thing_indexing_configurationobjectThing indexing configuration.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_indexing_configurationselectregionGets the indexing configuration. Requires permission to access the GetIndexingConfiguration action.
update_indexing_configurationupdateregionUpdates the search configuration. Requires permission to access the UpdateIndexingConfiguration action.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Gets the indexing configuration. Requires permission to access the GetIndexingConfiguration action.

SELECT
thing_group_indexing_configuration,
thing_indexing_configuration
FROM aws.iot.indexing_configurations
WHERE region = '{{ region }}' -- required
;

UPDATE examples

Updates the search configuration. Requires permission to access the UpdateIndexingConfiguration action.

UPDATE aws.iot.indexing_configurations
SET
thingIndexingConfiguration = '{{ thingIndexingConfiguration }}',
thingGroupIndexingConfiguration = '{{ thingGroupIndexingConfiguration }}'
WHERE
region = '{{ region }}' --required;