delete_view

ResourceExplorer.Client.delete_view(**kwargs)

Deletes the specified view.

If the specified view is the default view for its Amazon Web Services Region, then all Search operations in that Region must explicitly specify the view to use until you configure a new default by calling the AssociateDefaultView operation.

See also: AWS API Documentation

Request Syntax

response = client.delete_view(
    ViewArn='string'
)
Parameters
ViewArn (string) --

[REQUIRED]

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

Return type
dict
Returns
Response Syntax
{
    'ViewArn': 'string'
}

Response Structure

Exceptions

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