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_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