aws_sdk_cleanrooms/client/get_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 [`GetProtectedJob`](crate::operation::get_protected_job::builders::GetProtectedJobFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`membership_identifier(impl Into<String>)`](crate::operation::get_protected_job::builders::GetProtectedJobFluentBuilder::membership_identifier) / [`set_membership_identifier(Option<String>)`](crate::operation::get_protected_job::builders::GetProtectedJobFluentBuilder::set_membership_identifier):<br>required: **true**<br><p>The identifier for a membership in a protected job instance.</p><br>
7 /// - [`protected_job_identifier(impl Into<String>)`](crate::operation::get_protected_job::builders::GetProtectedJobFluentBuilder::protected_job_identifier) / [`set_protected_job_identifier(Option<String>)`](crate::operation::get_protected_job::builders::GetProtectedJobFluentBuilder::set_protected_job_identifier):<br>required: **true**<br><p>The identifier for the protected job instance.</p><br>
8 /// - On success, responds with [`GetProtectedJobOutput`](crate::operation::get_protected_job::GetProtectedJobOutput) with field(s):
9 /// - [`protected_job(Option<ProtectedJob>)`](crate::operation::get_protected_job::GetProtectedJobOutput::protected_job): <p>The protected job metadata.</p>
10 /// - On failure, responds with [`SdkError<GetProtectedJobError>`](crate::operation::get_protected_job::GetProtectedJobError)
11 pub fn get_protected_job(&self) -> crate::operation::get_protected_job::builders::GetProtectedJobFluentBuilder {
12 crate::operation::get_protected_job::builders::GetProtectedJobFluentBuilder::new(self.handle.clone())
13 }
14}