1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`RunStatement`](crate::operation::run_statement::builders::RunStatementFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`session_id(impl Into<String>)`](crate::operation::run_statement::builders::RunStatementFluentBuilder::session_id) / [`set_session_id(Option<String>)`](crate::operation::run_statement::builders::RunStatementFluentBuilder::set_session_id):<br>required: **true**<br><p>The Session Id of the statement to be run.</p><br>
    ///   - [`code(impl Into<String>)`](crate::operation::run_statement::builders::RunStatementFluentBuilder::code) / [`set_code(Option<String>)`](crate::operation::run_statement::builders::RunStatementFluentBuilder::set_code):<br>required: **true**<br><p>The statement code to be run.</p><br>
    ///   - [`request_origin(impl Into<String>)`](crate::operation::run_statement::builders::RunStatementFluentBuilder::request_origin) / [`set_request_origin(Option<String>)`](crate::operation::run_statement::builders::RunStatementFluentBuilder::set_request_origin):<br>required: **false**<br><p>The origin of the request.</p><br>
    /// - On success, responds with [`RunStatementOutput`](crate::operation::run_statement::RunStatementOutput) with field(s):
    ///   - [`id(i32)`](crate::operation::run_statement::RunStatementOutput::id): <p>Returns the Id of the statement that was run.</p>
    /// - On failure, responds with [`SdkError<RunStatementError>`](crate::operation::run_statement::RunStatementError)
    pub fn run_statement(&self) -> crate::operation::run_statement::builders::RunStatementFluentBuilder {
        crate::operation::run_statement::builders::RunStatementFluentBuilder::new(self.handle.clone())
    }
}