aws_sdk_config/client/get_stored_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 [`GetStoredQuery`](crate::operation::get_stored_query::builders::GetStoredQueryFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`query_name(impl Into<String>)`](crate::operation::get_stored_query::builders::GetStoredQueryFluentBuilder::query_name) / [`set_query_name(Option<String>)`](crate::operation::get_stored_query::builders::GetStoredQueryFluentBuilder::set_query_name):<br>required: **true**<br><p>The name of the query.</p><br>
7 /// - On success, responds with [`GetStoredQueryOutput`](crate::operation::get_stored_query::GetStoredQueryOutput) with field(s):
8 /// - [`stored_query(Option<StoredQuery>)`](crate::operation::get_stored_query::GetStoredQueryOutput::stored_query): <p>Returns a <code>StoredQuery</code> object.</p>
9 /// - On failure, responds with [`SdkError<GetStoredQueryError>`](crate::operation::get_stored_query::GetStoredQueryError)
10 pub fn get_stored_query(&self) -> crate::operation::get_stored_query::builders::GetStoredQueryFluentBuilder {
11 crate::operation::get_stored_query::builders::GetStoredQueryFluentBuilder::new(self.handle.clone())
12 }
13}