aws_sdk_cleanrooms/client/
update_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 [`UpdateProtectedJob`](crate::operation::update_protected_job::builders::UpdateProtectedJobFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`membership_identifier(impl Into<String>)`](crate::operation::update_protected_job::builders::UpdateProtectedJobFluentBuilder::membership_identifier) / [`set_membership_identifier(Option<String>)`](crate::operation::update_protected_job::builders::UpdateProtectedJobFluentBuilder::set_membership_identifier):<br>required: **true**<br><p>The identifier for a member of a protected job instance.</p><br>
7    ///   - [`protected_job_identifier(impl Into<String>)`](crate::operation::update_protected_job::builders::UpdateProtectedJobFluentBuilder::protected_job_identifier) / [`set_protected_job_identifier(Option<String>)`](crate::operation::update_protected_job::builders::UpdateProtectedJobFluentBuilder::set_protected_job_identifier):<br>required: **true**<br><p>The identifier of the protected job to update.</p><br>
8    ///   - [`target_status(TargetProtectedJobStatus)`](crate::operation::update_protected_job::builders::UpdateProtectedJobFluentBuilder::target_status) / [`set_target_status(Option<TargetProtectedJobStatus>)`](crate::operation::update_protected_job::builders::UpdateProtectedJobFluentBuilder::set_target_status):<br>required: **true**<br><p>The target status of a protected job. Used to update the execution status of a currently running job.</p><br>
9    /// - On success, responds with [`UpdateProtectedJobOutput`](crate::operation::update_protected_job::UpdateProtectedJobOutput) with field(s):
10    ///   - [`protected_job(Option<ProtectedJob>)`](crate::operation::update_protected_job::UpdateProtectedJobOutput::protected_job): <p>The protected job output.</p>
11    /// - On failure, responds with [`SdkError<UpdateProtectedJobError>`](crate::operation::update_protected_job::UpdateProtectedJobError)
12    pub fn update_protected_job(&self) -> crate::operation::update_protected_job::builders::UpdateProtectedJobFluentBuilder {
13        crate::operation::update_protected_job::builders::UpdateProtectedJobFluentBuilder::new(self.handle.clone())
14    }
15}