Skip to content

ExecuteSqlRequest

Source code in docs_src/capo_context/types/execute_sql_request.py
class ExecuteSqlRequest(TypedDict, closed=True):
    agent_context_id: (
        "capo_context.types.agent_context_identifier.AgentContextIdentifier"
    )
    """<p>The agent context that owns the connection, by ID or full ARN.</p>"""
    connection_id: "capo_context.types.connection_identifier.ConnectionIdentifier"
    """<p>The connection to run against. Must be a GLUE_DATA_CATALOG connection linked to the agent context. Its access configuration (<code>accessConfig</code>) determines how AWS Context reads the tables.</p>"""
    query: "capo_context.types.sql_data_query.SqlDataQuery"
    """<p>The query to run: a SQL statement and the AWS Glue tables that it reads. For the SQL rules and limits, see <code>SqlQuery</code>.</p>"""

agent_context_id instance-attribute

agent_context_id: AgentContextIdentifier

The agent context that owns the connection, by ID or full ARN.

connection_id instance-attribute

connection_id: ConnectionIdentifier

The connection to run against. Must be a GLUE_DATA_CATALOG connection linked to the agent context. Its access configuration (accessConfig) determines how AWS Context reads the tables.

query instance-attribute

query: SqlDataQuery

The query to run: a SQL statement and the AWS Glue tables that it reads. For the SQL rules and limits, see SqlQuery.