aws_sdk_athena/client/batch_get_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 [`BatchGetPreparedStatement`](crate::operation::batch_get_prepared_statement::builders::BatchGetPreparedStatementFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`prepared_statement_names(impl Into<String>)`](crate::operation::batch_get_prepared_statement::builders::BatchGetPreparedStatementFluentBuilder::prepared_statement_names) / [`set_prepared_statement_names(Option<Vec::<String>>)`](crate::operation::batch_get_prepared_statement::builders::BatchGetPreparedStatementFluentBuilder::set_prepared_statement_names):<br>required: **true**<br><p>A list of prepared statement names to return.</p><br>
7 /// - [`work_group(impl Into<String>)`](crate::operation::batch_get_prepared_statement::builders::BatchGetPreparedStatementFluentBuilder::work_group) / [`set_work_group(Option<String>)`](crate::operation::batch_get_prepared_statement::builders::BatchGetPreparedStatementFluentBuilder::set_work_group):<br>required: **true**<br><p>The name of the workgroup to which the prepared statements belong.</p><br>
8 /// - On success, responds with [`BatchGetPreparedStatementOutput`](crate::operation::batch_get_prepared_statement::BatchGetPreparedStatementOutput) with field(s):
9 /// - [`prepared_statements(Option<Vec::<PreparedStatement>>)`](crate::operation::batch_get_prepared_statement::BatchGetPreparedStatementOutput::prepared_statements): <p>The list of prepared statements returned.</p>
10 /// - [`unprocessed_prepared_statement_names(Option<Vec::<UnprocessedPreparedStatementName>>)`](crate::operation::batch_get_prepared_statement::BatchGetPreparedStatementOutput::unprocessed_prepared_statement_names): <p>A list of one or more prepared statements that were requested but could not be returned.</p>
11 /// - On failure, responds with [`SdkError<BatchGetPreparedStatementError>`](crate::operation::batch_get_prepared_statement::BatchGetPreparedStatementError)
12 pub fn batch_get_prepared_statement(&self) -> crate::operation::batch_get_prepared_statement::builders::BatchGetPreparedStatementFluentBuilder {
13 crate::operation::batch_get_prepared_statement::builders::BatchGetPreparedStatementFluentBuilder::new(self.handle.clone())
14 }
15}