update_named_query

update_named_query(**kwargs)

Updates a NamedQuery object. The database or workgroup cannot be updated.

See also: AWS API Documentation

Request Syntax

response = client.update_named_query(
    NamedQueryId='string',
    Name='string',
    Description='string',
    QueryString='string'
)
Parameters
  • NamedQueryId (string) --

    [REQUIRED]

    The unique identifier (UUID) of the query.

  • Name (string) --

    [REQUIRED]

    The name of the query.

  • Description (string) -- The query description.
  • QueryString (string) --

    [REQUIRED]

    The contents of the query with all query statements.

Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

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