aws_sdk_cleanrooms/client/update_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 [`UpdateProtectedQuery`](crate::operation::update_protected_query::builders::UpdateProtectedQueryFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`membership_identifier(impl Into<String>)`](crate::operation::update_protected_query::builders::UpdateProtectedQueryFluentBuilder::membership_identifier) / [`set_membership_identifier(Option<String>)`](crate::operation::update_protected_query::builders::UpdateProtectedQueryFluentBuilder::set_membership_identifier):<br>required: **true**<br><p>The identifier for a member of a protected query instance.</p><br>
7 /// - [`protected_query_identifier(impl Into<String>)`](crate::operation::update_protected_query::builders::UpdateProtectedQueryFluentBuilder::protected_query_identifier) / [`set_protected_query_identifier(Option<String>)`](crate::operation::update_protected_query::builders::UpdateProtectedQueryFluentBuilder::set_protected_query_identifier):<br>required: **true**<br><p>The identifier for a protected query instance.</p><br>
8 /// - [`target_status(TargetProtectedQueryStatus)`](crate::operation::update_protected_query::builders::UpdateProtectedQueryFluentBuilder::target_status) / [`set_target_status(Option<TargetProtectedQueryStatus>)`](crate::operation::update_protected_query::builders::UpdateProtectedQueryFluentBuilder::set_target_status):<br>required: **true**<br><p>The target status of a query. Used to update the execution status of a currently running query.</p><br>
9 /// - On success, responds with [`UpdateProtectedQueryOutput`](crate::operation::update_protected_query::UpdateProtectedQueryOutput) with field(s):
10 /// - [`protected_query(Option<ProtectedQuery>)`](crate::operation::update_protected_query::UpdateProtectedQueryOutput::protected_query): <p>The protected query output.</p>
11 /// - On failure, responds with [`SdkError<UpdateProtectedQueryError>`](crate::operation::update_protected_query::UpdateProtectedQueryError)
12 pub fn update_protected_query(&self) -> crate::operation::update_protected_query::builders::UpdateProtectedQueryFluentBuilder {
13 crate::operation::update_protected_query::builders::UpdateProtectedQueryFluentBuilder::new(self.handle.clone())
14 }
15}