Athena / Client / delete_prepared_statement

delete_prepared_statement#

Athena.Client.delete_prepared_statement(**kwargs)#

Deletes the prepared statement with the specified name from the specified workgroup.

See also: AWS API Documentation

Request Syntax

response = client.delete_prepared_statement(
    StatementName='string',
    WorkGroup='string'
)
Parameters:
  • StatementName (string) –

    [REQUIRED]

    The name of the prepared statement to delete.

  • WorkGroup (string) –

    [REQUIRED]

    The workgroup to which the statement to be deleted belongs.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • Athena.Client.exceptions.InternalServerException

  • Athena.Client.exceptions.InvalidRequestException

  • Athena.Client.exceptions.ResourceNotFoundException