update_prepared_statement

update_prepared_statement(**kwargs)

Updates a prepared statement.

See also: AWS API Documentation

Request Syntax

response = client.update_prepared_statement(
    StatementName='string',
    WorkGroup='string',
    QueryStatement='string',
    Description='string'
)
Parameters
  • StatementName (string) --

    [REQUIRED]

    The name of the prepared statement.

  • WorkGroup (string) --

    [REQUIRED]

    The workgroup for the prepared statement.

  • QueryStatement (string) --

    [REQUIRED]

    The query string for the prepared statement.

  • Description (string) -- The description of the prepared statement.
Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

  • Athena.Client.exceptions.InternalServerException
  • Athena.Client.exceptions.InvalidRequestException
  • Athena.Client.exceptions.ResourceNotFoundException