// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`ExecuteSql`](crate::operation::execute_sql::builders::ExecuteSqlFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`agent_context_id(impl Into<String>)`](crate::operation::execute_sql::builders::ExecuteSqlFluentBuilder::agent_context_id) / [`set_agent_context_id(Option<String>)`](crate::operation::execute_sql::builders::ExecuteSqlFluentBuilder::set_agent_context_id):<br>required: **true**<br><p>The agent context that owns the connection, by ID or full ARN.</p><br>
/// - [`connection_id(impl Into<String>)`](crate::operation::execute_sql::builders::ExecuteSqlFluentBuilder::connection_id) / [`set_connection_id(Option<String>)`](crate::operation::execute_sql::builders::ExecuteSqlFluentBuilder::set_connection_id):<br>required: **true**<br><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><br>
/// - [`query(SqlDataQuery)`](crate::operation::execute_sql::builders::ExecuteSqlFluentBuilder::query) / [`set_query(Option<SqlDataQuery>)`](crate::operation::execute_sql::builders::ExecuteSqlFluentBuilder::set_query):<br>required: **true**<br><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><br>
/// - On success, responds with [`ExecuteSqlOutput`](crate::operation::execute_sql::ExecuteSqlOutput) with field(s):
/// - [`column_metadata(Vec::<SqlColumnMetadata>)`](crate::operation::execute_sql::ExecuteSqlOutput::column_metadata): <p>One entry per result column, in result order. <code>rows\[i\].values\[j\]</code> is the value of <code>columnMetadata\[j\]</code>.</p>
/// - [`rows(Vec::<SqlRow>)`](crate::operation::execute_sql::ExecuteSqlOutput::rows): <p>The result rows, in result order. Each row holds a positional list of typed values, one per column.</p>
/// - On failure, responds with [`SdkError<ExecuteSqlError>`](crate::operation::execute_sql::ExecuteSqlError)
pub fn execute_sql(&self) -> crate::operation::execute_sql::builders::ExecuteSqlFluentBuilder {
crate::operation::execute_sql::builders::ExecuteSqlFluentBuilder::new(self.handle.clone())
}
}