ResourceExplorer / Client / get_service_index
get_service_index¶
- ResourceExplorer.Client.get_service_index()¶
Retrieves information about the Resource Explorer index in the current Amazon Web Services Region. This operation returns the ARN and type of the index if one exists.
See also: AWS API Documentation
Request Syntax
response = client.get_service_index()
- Return type:
dict
- Returns:
Response Syntax
{ 'Arn': 'string', 'Type': 'LOCAL'|'AGGREGATOR' }
Response Structure
(dict) –
Arn (string) –
The Amazon Resource Name (ARN) of the Resource Explorer index in the current Region.
Type (string) –
The type of the index. Valid values are
LOCAL(contains resources from the current Region only) orAGGREGATOR(contains replicated resource information from all Regions).
Exceptions
ResourceExplorer.Client.exceptions.ResourceNotFoundExceptionResourceExplorer.Client.exceptions.InternalServerExceptionResourceExplorer.Client.exceptions.ValidationExceptionResourceExplorer.Client.exceptions.ThrottlingExceptionResourceExplorer.Client.exceptions.AccessDeniedException