aws_sdk_athena/client/
batch_get_named_query.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 [`BatchGetNamedQuery`](crate::operation::batch_get_named_query::builders::BatchGetNamedQueryFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`named_query_ids(impl Into<String>)`](crate::operation::batch_get_named_query::builders::BatchGetNamedQueryFluentBuilder::named_query_ids) / [`set_named_query_ids(Option<Vec::<String>>)`](crate::operation::batch_get_named_query::builders::BatchGetNamedQueryFluentBuilder::set_named_query_ids):<br>required: **true**<br><p>An array of query IDs.</p><br>
7    /// - On success, responds with [`BatchGetNamedQueryOutput`](crate::operation::batch_get_named_query::BatchGetNamedQueryOutput) with field(s):
8    ///   - [`named_queries(Option<Vec::<NamedQuery>>)`](crate::operation::batch_get_named_query::BatchGetNamedQueryOutput::named_queries): <p>Information about the named query IDs submitted.</p>
9    ///   - [`unprocessed_named_query_ids(Option<Vec::<UnprocessedNamedQueryId>>)`](crate::operation::batch_get_named_query::BatchGetNamedQueryOutput::unprocessed_named_query_ids): <p>Information about provided query IDs.</p>
10    /// - On failure, responds with [`SdkError<BatchGetNamedQueryError>`](crate::operation::batch_get_named_query::BatchGetNamedQueryError)
11    pub fn batch_get_named_query(&self) -> crate::operation::batch_get_named_query::builders::BatchGetNamedQueryFluentBuilder {
12        crate::operation::batch_get_named_query::builders::BatchGetNamedQueryFluentBuilder::new(self.handle.clone())
13    }
14}