Skip to content

NamedQuery

Source code in docs_src/capo_athena/types/named_query.py
class NamedQuery(TypedDict, closed=True):
    name: "capo_athena.types.name_string.NameString"
    """<p>The query name.</p>"""
    description: NotRequired["capo_athena.types.description_string.DescriptionString"]
    """<p>The query description.</p>"""
    database: "capo_athena.types.database_string.DatabaseString"
    """<p>The database to which the query belongs.</p>"""
    query_string: "capo_athena.types.query_string.QueryString"
    """<p>The SQL statements that make up the query.</p>"""
    named_query_id: NotRequired["capo_athena.types.named_query_id.NamedQueryId"]
    """<p>The unique identifier of the query.</p>"""
    work_group: NotRequired["capo_athena.types.work_group_name.WorkGroupName"]
    """<p>The name of the workgroup that contains the named query.</p>"""

database instance-attribute

database: DatabaseString

The database to which the query belongs.

description instance-attribute

description: NotRequired[DescriptionString]

The query description.

name instance-attribute

name: NameString

The query name.

named_query_id instance-attribute

named_query_id: NotRequired[NamedQueryId]

The unique identifier of the query.

query_string instance-attribute

query_string: QueryString

The SQL statements that make up the query.

work_group instance-attribute

work_group: NotRequired[WorkGroupName]

The name of the workgroup that contains the named query.