ResourceExplorer / Paginator / ListServiceIndexes
ListServiceIndexes¶
- class ResourceExplorer.Paginator.ListServiceIndexes¶
paginator = client.get_paginator('list_service_indexes')
- paginate(**kwargs)¶
Creates an iterator that will paginate through responses from
ResourceExplorer.Client.list_service_indexes()
.See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate( Regions=[ 'string', ], PaginationConfig={ 'MaxItems': 123, 'PageSize': 123, 'StartingToken': 'string' } )
- Parameters:
Regions (list) –
A list of Amazon Web Services Regions to include in the search for indexes. If not specified, indexes from all Regions are returned.
(string) –
PaginationConfig (dict) –
A dictionary that provides parameters to control pagination.
MaxItems (integer) –
The total number of items to return. If the total number of items available is more than the value specified in max-items then a
NextToken
will be provided in the output that you can use to resume pagination.PageSize (integer) –
The size of each page.
StartingToken (string) –
A token to specify where to start paginating. This is the
NextToken
from a previous response.
- Return type:
dict
- Returns:
Response Syntax
{ 'Indexes': [ { 'Region': 'string', 'Arn': 'string', 'Type': 'LOCAL'|'AGGREGATOR' }, ], }
Response Structure
(dict) –
Indexes (list) –
A list of
Index
objects that describe the Resource Explorer indexes found in the specified Regions.(dict) –
An index is the data store used by Amazon Web Services Resource Explorer to hold information about your Amazon Web Services resources that the service discovers. Creating an index in an Amazon Web Services Region turns on Resource Explorer and lets it discover your resources.
By default, an index is local, meaning that it contains information about resources in only the same Region as the index. However, you can promote the index of one Region in the account by calling UpdateIndexType to convert it into an aggregator index. The aggregator index receives a replicated copy of the index information from all other Regions where Resource Explorer is turned on. This allows search operations in that Region to return results from all Regions in the account.
Region (string) –
The Amazon Web Services Region in which the index exists.
Arn (string) –
The Amazon resource name (ARN) of the index.
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.