aws_sdk_athena/client/update_prepared_statement.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`UpdatePreparedStatement`](crate::operation::update_prepared_statement::builders::UpdatePreparedStatementFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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>
7 /// - [`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>
8 /// - [`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>
9 /// - [`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>
10 /// - On success, responds with [`UpdatePreparedStatementOutput`](crate::operation::update_prepared_statement::UpdatePreparedStatementOutput)
11 /// - On failure, responds with [`SdkError<UpdatePreparedStatementError>`](crate::operation::update_prepared_statement::UpdatePreparedStatementError)
12 pub fn update_prepared_statement(&self) -> crate::operation::update_prepared_statement::builders::UpdatePreparedStatementFluentBuilder {
13 crate::operation::update_prepared_statement::builders::UpdatePreparedStatementFluentBuilder::new(self.handle.clone())
14 }
15}