Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

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