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 [`CreatePreparedStatement`](crate::operation::create_prepared_statement::builders::CreatePreparedStatementFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`statement_name(impl Into<String>)`](crate::operation::create_prepared_statement::builders::CreatePreparedStatementFluentBuilder::statement_name) / [`set_statement_name(Option<String>)`](crate::operation::create_prepared_statement::builders::CreatePreparedStatementFluentBuilder::set_statement_name):<br>required: **true**<br><p>The name of the prepared statement.</p><br>
    ///   - [`work_group(impl Into<String>)`](crate::operation::create_prepared_statement::builders::CreatePreparedStatementFluentBuilder::work_group) / [`set_work_group(Option<String>)`](crate::operation::create_prepared_statement::builders::CreatePreparedStatementFluentBuilder::set_work_group):<br>required: **true**<br><p>The name of the workgroup to which the prepared statement belongs.</p><br>
    ///   - [`query_statement(impl Into<String>)`](crate::operation::create_prepared_statement::builders::CreatePreparedStatementFluentBuilder::query_statement) / [`set_query_statement(Option<String>)`](crate::operation::create_prepared_statement::builders::CreatePreparedStatementFluentBuilder::set_query_statement):<br>required: **true**<br><p>The query string for the prepared statement.</p><br>
    ///   - [`description(impl Into<String>)`](crate::operation::create_prepared_statement::builders::CreatePreparedStatementFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::create_prepared_statement::builders::CreatePreparedStatementFluentBuilder::set_description):<br>required: **false**<br><p>The description of the prepared statement.</p><br>
    /// - On success, responds with [`CreatePreparedStatementOutput`](crate::operation::create_prepared_statement::CreatePreparedStatementOutput)
    /// - On failure, responds with [`SdkError<CreatePreparedStatementError>`](crate::operation::create_prepared_statement::CreatePreparedStatementError)
    pub fn create_prepared_statement(&self) -> crate::operation::create_prepared_statement::builders::CreatePreparedStatementFluentBuilder {
        crate::operation::create_prepared_statement::builders::CreatePreparedStatementFluentBuilder::new(self.handle.clone())
    }
}