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) or AGGREGATOR (contains replicated resource information from all Regions).

Exceptions

  • ResourceExplorer.Client.exceptions.ResourceNotFoundException

  • ResourceExplorer.Client.exceptions.InternalServerException

  • ResourceExplorer.Client.exceptions.ValidationException

  • ResourceExplorer.Client.exceptions.ThrottlingException

  • ResourceExplorer.Client.exceptions.AccessDeniedException