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'
)
[REQUIRED]
The Amazon resource name (ARN) of the view that you want to delete.
{
'ViewArn': 'string'
}
Response Structure
The Amazon resource name (ARN) of the view that you successfully deleted.
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