aws_sdk_codepipeline/client/
get_job_details.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetJobDetails`](crate::operation::get_job_details::builders::GetJobDetailsFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    /// - On success, responds with [`GetJobDetailsOutput`](crate::operation::get_job_details::GetJobDetailsOutput) with field(s):
    ///   - [`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>
    /// - On failure, responds with [`SdkError<GetJobDetailsError>`](crate::operation::get_job_details::GetJobDetailsError)
    pub fn get_job_details(&self) -> crate::operation::get_job_details::builders::GetJobDetailsFluentBuilder {
        crate::operation::get_job_details::builders::GetJobDetailsFluentBuilder::new(self.handle.clone())
    }
}