aws_sdk_cleanrooms/client/
get_protected_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 [`GetProtectedQuery`](crate::operation::get_protected_query::builders::GetProtectedQueryFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`membership_identifier(impl Into<String>)`](crate::operation::get_protected_query::builders::GetProtectedQueryFluentBuilder::membership_identifier) / [`set_membership_identifier(Option<String>)`](crate::operation::get_protected_query::builders::GetProtectedQueryFluentBuilder::set_membership_identifier):<br>required: **true**<br><p>The identifier for a membership in a protected query instance.</p><br>
7    ///   - [`protected_query_identifier(impl Into<String>)`](crate::operation::get_protected_query::builders::GetProtectedQueryFluentBuilder::protected_query_identifier) / [`set_protected_query_identifier(Option<String>)`](crate::operation::get_protected_query::builders::GetProtectedQueryFluentBuilder::set_protected_query_identifier):<br>required: **true**<br><p>The identifier for a protected query instance.</p><br>
8    /// - On success, responds with [`GetProtectedQueryOutput`](crate::operation::get_protected_query::GetProtectedQueryOutput) with field(s):
9    ///   - [`protected_query(Option<ProtectedQuery>)`](crate::operation::get_protected_query::GetProtectedQueryOutput::protected_query): <p>The query processing metadata.</p>
10    /// - On failure, responds with [`SdkError<GetProtectedQueryError>`](crate::operation::get_protected_query::GetProtectedQueryError)
11    pub fn get_protected_query(&self) -> crate::operation::get_protected_query::builders::GetProtectedQueryFluentBuilder {
12        crate::operation::get_protected_query::builders::GetProtectedQueryFluentBuilder::new(self.handle.clone())
13    }
14}