indexes_for_members
Creates, updates, deletes, gets or lists an indexes_for_members resource.
Overview
| Name | indexes_for_members |
| Type | Resource |
| Id | aws.resource_explorer_2.indexes_for_members |
Fields
The following fields are returned by SELECT queries:
- list_indexes_for_members
| Name | Datatype | Description |
|---|---|---|
account_id | string | The account ID for the index. |
arn | string | The Amazon resource name (ARN) of the index. |
region | string | The Amazon Web Services Region in which the index exists. |
type | string | The type of index. It can be one of the following values: LOCAL – The index contains information about resources from only the same Amazon Web Services Region. AGGREGATOR – Resource Explorer replicates copies of the indexed information about resources in all other Amazon Web Services Regions to the aggregator index. This lets search results in the Region with the aggregator index to include resources from all Regions in the account where Resource Explorer is turned on. (LOCAL, AGGREGATOR) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_indexes_for_members | select | region | Retrieves a list of a member's indexes in all Amazon Web Services Regions that are currently collecting resource information for Amazon Web Services Resource Explorer. Only the management account or a delegated administrator with service access enabled can invoke this API call. |
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) |
SELECT examples
- list_indexes_for_members
Retrieves a list of a member's indexes in all Amazon Web Services Regions that are currently collecting resource information for Amazon Web Services Resource Explorer. Only the management account or a delegated administrator with service access enabled can invoke this API call.
SELECT
account_id,
arn,
region,
type
FROM aws.resource_explorer_2.indexes_for_members
WHERE region = '{{ region }}' -- required
;