ResourceExplorer / Client / delete_resource_explorer_setup

delete_resource_explorer_setup

ResourceExplorer.Client.delete_resource_explorer_setup(**kwargs)

Deletes a Resource Explorer setup configuration. This operation removes indexes and views from the specified Regions or all Regions where Resource Explorer is configured.

See also: AWS API Documentation

Request Syntax

response = client.delete_resource_explorer_setup(
    RegionList=[
        'string',
    ],
    DeleteInAllRegions=True|False
)
Parameters:
  • RegionList (list) –

    A list of Amazon Web Services Regions from which to delete the Resource Explorer configuration. If not specified, the operation uses the DeleteInAllRegions parameter to determine scope.

    • (string) –

  • DeleteInAllRegions (boolean) – Specifies whether to delete Resource Explorer configuration from all Regions where it is currently enabled. If this parameter is set to true, a value for RegionList must not be provided. Otherwise, the operation fails with a ValidationException error.

Return type:

dict

Returns:

Response Syntax

{
    'TaskId': 'string'
}

Response Structure

  • (dict) –

    • TaskId (string) –

      The unique identifier for the deletion task. Use this ID with GetResourceExplorerSetup to monitor the progress of the deletion operation.

Exceptions

  • ResourceExplorer.Client.exceptions.InternalServerException

  • ResourceExplorer.Client.exceptions.ValidationException

  • ResourceExplorer.Client.exceptions.ConflictException

  • ResourceExplorer.Client.exceptions.ThrottlingException

  • ResourceExplorer.Client.exceptions.AccessDeniedException