indices
Creates, updates, deletes, gets or lists an indices resource.
Overview
| Name | indices |
| Type | Resource |
| Id | aws.iot.indices |
Fields
The following fields are returned by SELECT queries:
- list_indices
| Name | Datatype | Description |
|---|---|---|
index_name | string | The index names. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_indices | select | region | nextToken, maxResults | Lists the search indices. Requires permission to access the ListIndices 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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
maxResults | integer | The maximum number of results to return at one time. |
nextToken | string | The token used to get the next set of results, or null if there are no additional results. |
SELECT examples
- list_indices
Lists the search indices. Requires permission to access the ListIndices action.
SELECT
index_name
FROM aws.iot.indices
WHERE region = '{{ region }}' -- required
AND nextToken = '{{ nextToken }}'
AND maxResults = '{{ maxResults }}'
;