Skip to main content

indexes_for_members

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

Overview

Nameindexes_for_members
TypeResource
Idaws.resource_explorer_2.indexes_for_members

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
account_idstringThe account ID for the index.
arnstringThe Amazon resource name (ARN) of the index.
regionstringThe Amazon Web Services Region in which the index exists.
typestringThe 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:

NameAccessible byRequired ParamsOptional ParamsDescription
list_indexes_for_membersselectregionRetrieves 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.

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

SELECT examples

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
;