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