aws_sdk_codepipeline/client/get_job_details.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 [`GetJobDetails`](crate::operation::get_job_details::builders::GetJobDetailsFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`job_id(impl Into<String>)`](crate::operation::get_job_details::builders::GetJobDetailsFluentBuilder::job_id) / [`set_job_id(Option<String>)`](crate::operation::get_job_details::builders::GetJobDetailsFluentBuilder::set_job_id):<br>required: **true**<br><p>The unique system-generated ID for the job.</p><br>
7 /// - On success, responds with [`GetJobDetailsOutput`](crate::operation::get_job_details::GetJobDetailsOutput) with field(s):
8 /// - [`job_details(Option<JobDetails>)`](crate::operation::get_job_details::GetJobDetailsOutput::job_details): <p>The details of the job.</p><note> <p>If AWSSessionCredentials is used, a long-running job can call <code>GetJobDetails</code> again to obtain new credentials.</p> </note>
9 /// - On failure, responds with [`SdkError<GetJobDetailsError>`](crate::operation::get_job_details::GetJobDetailsError)
10 pub fn get_job_details(&self) -> crate::operation::get_job_details::builders::GetJobDetailsFluentBuilder {
11 crate::operation::get_job_details::builders::GetJobDetailsFluentBuilder::new(self.handle.clone())
12 }
13}