aws_sdk_cleanrooms/client/
start_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 [`StartProtectedQuery`](crate::operation::start_protected_query::builders::StartProtectedQueryFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`r#type(ProtectedQueryType)`](crate::operation::start_protected_query::builders::StartProtectedQueryFluentBuilder::type) / [`set_type(Option<ProtectedQueryType>)`](crate::operation::start_protected_query::builders::StartProtectedQueryFluentBuilder::set_type):<br>required: **true**<br><p>The type of the protected query to be started.</p><br>
7    ///   - [`membership_identifier(impl Into<String>)`](crate::operation::start_protected_query::builders::StartProtectedQueryFluentBuilder::membership_identifier) / [`set_membership_identifier(Option<String>)`](crate::operation::start_protected_query::builders::StartProtectedQueryFluentBuilder::set_membership_identifier):<br>required: **true**<br><p>A unique identifier for the membership to run this query against. Currently accepts a membership ID.</p><br>
8    ///   - [`sql_parameters(ProtectedQuerySqlParameters)`](crate::operation::start_protected_query::builders::StartProtectedQueryFluentBuilder::sql_parameters) / [`set_sql_parameters(Option<ProtectedQuerySqlParameters>)`](crate::operation::start_protected_query::builders::StartProtectedQueryFluentBuilder::set_sql_parameters):<br>required: **true**<br><p>The protected SQL query parameters.</p><br>
9    ///   - [`result_configuration(ProtectedQueryResultConfiguration)`](crate::operation::start_protected_query::builders::StartProtectedQueryFluentBuilder::result_configuration) / [`set_result_configuration(Option<ProtectedQueryResultConfiguration>)`](crate::operation::start_protected_query::builders::StartProtectedQueryFluentBuilder::set_result_configuration):<br>required: **false**<br><p>The details needed to write the query results.</p><br>
10    ///   - [`compute_configuration(ComputeConfiguration)`](crate::operation::start_protected_query::builders::StartProtectedQueryFluentBuilder::compute_configuration) / [`set_compute_configuration(Option<ComputeConfiguration>)`](crate::operation::start_protected_query::builders::StartProtectedQueryFluentBuilder::set_compute_configuration):<br>required: **false**<br><p>The compute configuration for the protected query.</p><br>
11    /// - On success, responds with [`StartProtectedQueryOutput`](crate::operation::start_protected_query::StartProtectedQueryOutput) with field(s):
12    ///   - [`protected_query(Option<ProtectedQuery>)`](crate::operation::start_protected_query::StartProtectedQueryOutput::protected_query): <p>The protected query.</p>
13    /// - On failure, responds with [`SdkError<StartProtectedQueryError>`](crate::operation::start_protected_query::StartProtectedQueryError)
14    pub fn start_protected_query(&self) -> crate::operation::start_protected_query::builders::StartProtectedQueryFluentBuilder {
15        crate::operation::start_protected_query::builders::StartProtectedQueryFluentBuilder::new(self.handle.clone())
16    }
17}