Athena / Client / delete_named_query

delete_named_query#

Athena.Client.delete_named_query(**kwargs)#

Deletes the named query if you have access to the workgroup in which the query was saved.

See also: AWS API Documentation

Request Syntax

response = client.delete_named_query(
    NamedQueryId='string'
)
Parameters:

NamedQueryId (string) –

[REQUIRED]

The unique ID of the query to delete.

This field is autopopulated if not provided.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • Athena.Client.exceptions.InternalServerException

  • Athena.Client.exceptions.InvalidRequestException