Deletes the specified index and turns off Amazon Web Services Resource Explorer in the specified Amazon Web Services Region. When you delete an index, Resource Explorer stops discovering and indexing resources in that Region. Resource Explorer also deletes all views in that Region. These actions occur as asynchronous background tasks. You can check to see when the actions are complete by using the GetIndex operation and checking the Status response value.


If the index you delete is the aggregator index for the Amazon Web Services account, you must wait 24 hours before you can promote another local index to be the aggregator index for the account. Users can't perform account-wide searches using Resource Explorer until another aggregator index is configured.

See also: AWS API Documentation

Request Syntax

response = client.delete_index(
Arn (string) --


The Amazon resource name (ARN) of the index that you want to delete.

Return type
Response Syntax
    'Arn': 'string',
    'LastUpdatedAt': datetime(2015, 1, 1),

Response Structure

  • (dict) --
    • Arn (string) --

      The Amazon resource name (ARN) of the index that you successfully started the deletion process.


      This operation is asynchronous. To check its status, call the GetIndex operation.

    • LastUpdatedAt (datetime) --

      The date and time when you last updated this index.

    • State (string) --

      Indicates the current state of the index.


  • ResourceExplorer.Client.exceptions.ResourceNotFoundException
  • ResourceExplorer.Client.exceptions.InternalServerException
  • ResourceExplorer.Client.exceptions.ValidationException
  • ResourceExplorer.Client.exceptions.ThrottlingException
  • ResourceExplorer.Client.exceptions.AccessDeniedException