aws_sdk_cleanrooms/client/start_protected_job.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 [`StartProtectedJob`](crate::operation::start_protected_job::builders::StartProtectedJobFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`r#type(ProtectedJobType)`](crate::operation::start_protected_job::builders::StartProtectedJobFluentBuilder::type) / [`set_type(Option<ProtectedJobType>)`](crate::operation::start_protected_job::builders::StartProtectedJobFluentBuilder::set_type):<br>required: **true**<br><p>The type of protected job to start.</p><br>
7 /// - [`membership_identifier(impl Into<String>)`](crate::operation::start_protected_job::builders::StartProtectedJobFluentBuilder::membership_identifier) / [`set_membership_identifier(Option<String>)`](crate::operation::start_protected_job::builders::StartProtectedJobFluentBuilder::set_membership_identifier):<br>required: **true**<br><p>A unique identifier for the membership to run this job against. Currently accepts a membership ID.</p><br>
8 /// - [`job_parameters(ProtectedJobParameters)`](crate::operation::start_protected_job::builders::StartProtectedJobFluentBuilder::job_parameters) / [`set_job_parameters(Option<ProtectedJobParameters>)`](crate::operation::start_protected_job::builders::StartProtectedJobFluentBuilder::set_job_parameters):<br>required: **true**<br><p>The job parameters.</p><br>
9 /// - [`result_configuration(ProtectedJobResultConfigurationInput)`](crate::operation::start_protected_job::builders::StartProtectedJobFluentBuilder::result_configuration) / [`set_result_configuration(Option<ProtectedJobResultConfigurationInput>)`](crate::operation::start_protected_job::builders::StartProtectedJobFluentBuilder::set_result_configuration):<br>required: **false**<br><p>The details needed to write the job results.</p><br>
10 /// - [`compute_configuration(ProtectedJobComputeConfiguration)`](crate::operation::start_protected_job::builders::StartProtectedJobFluentBuilder::compute_configuration) / [`set_compute_configuration(Option<ProtectedJobComputeConfiguration>)`](crate::operation::start_protected_job::builders::StartProtectedJobFluentBuilder::set_compute_configuration):<br>required: **false**<br><p>The compute configuration for the protected job.</p><br>
11 /// - On success, responds with [`StartProtectedJobOutput`](crate::operation::start_protected_job::StartProtectedJobOutput) with field(s):
12 /// - [`protected_job(Option<ProtectedJob>)`](crate::operation::start_protected_job::StartProtectedJobOutput::protected_job): <p>The protected job.</p>
13 /// - On failure, responds with [`SdkError<StartProtectedJobError>`](crate::operation::start_protected_job::StartProtectedJobError)
14 pub fn start_protected_job(&self) -> crate::operation::start_protected_job::builders::StartProtectedJobFluentBuilder {
15 crate::operation::start_protected_job::builders::StartProtectedJobFluentBuilder::new(self.handle.clone())
16 }
17}