aws_sdk_cleanrooms/client/list_protected_queries.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 [`ListProtectedQueries`](crate::operation::list_protected_queries::builders::ListProtectedQueriesFluentBuilder) operation.
4 /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_protected_queries::builders::ListProtectedQueriesFluentBuilder::into_paginator).
5 ///
6 /// - The fluent builder is configurable:
7 /// - [`membership_identifier(impl Into<String>)`](crate::operation::list_protected_queries::builders::ListProtectedQueriesFluentBuilder::membership_identifier) / [`set_membership_identifier(Option<String>)`](crate::operation::list_protected_queries::builders::ListProtectedQueriesFluentBuilder::set_membership_identifier):<br>required: **true**<br><p>The identifier for the membership in the collaboration.</p><br>
8 /// - [`status(ProtectedQueryStatus)`](crate::operation::list_protected_queries::builders::ListProtectedQueriesFluentBuilder::status) / [`set_status(Option<ProtectedQueryStatus>)`](crate::operation::list_protected_queries::builders::ListProtectedQueriesFluentBuilder::set_status):<br>required: **false**<br><p>A filter on the status of the protected query.</p><br>
9 /// - [`next_token(impl Into<String>)`](crate::operation::list_protected_queries::builders::ListProtectedQueriesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_protected_queries::builders::ListProtectedQueriesFluentBuilder::set_next_token):<br>required: **false**<br><p>The pagination token that's used to fetch the next set of results.</p><br>
10 /// - [`max_results(i32)`](crate::operation::list_protected_queries::builders::ListProtectedQueriesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_protected_queries::builders::ListProtectedQueriesFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results that are returned for an API request call. The service chooses a default number if you don't set one. The service might return a `nextToken` even if the `maxResults` value has not been met.</p><br>
11 /// - On success, responds with [`ListProtectedQueriesOutput`](crate::operation::list_protected_queries::ListProtectedQueriesOutput) with field(s):
12 /// - [`next_token(Option<String>)`](crate::operation::list_protected_queries::ListProtectedQueriesOutput::next_token): <p>The pagination token that's used to fetch the next set of results.</p>
13 /// - [`protected_queries(Vec::<ProtectedQuerySummary>)`](crate::operation::list_protected_queries::ListProtectedQueriesOutput::protected_queries): <p>A list of protected queries.</p>
14 /// - On failure, responds with [`SdkError<ListProtectedQueriesError>`](crate::operation::list_protected_queries::ListProtectedQueriesError)
15 pub fn list_protected_queries(&self) -> crate::operation::list_protected_queries::builders::ListProtectedQueriesFluentBuilder {
16 crate::operation::list_protected_queries::builders::ListProtectedQueriesFluentBuilder::new(self.handle.clone())
17 }
18}