aws_sdk_datazone/client/
get_job_run.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetJobRun`](crate::operation::get_job_run::builders::GetJobRunFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`domain_identifier(impl Into<String>)`](crate::operation::get_job_run::builders::GetJobRunFluentBuilder::domain_identifier) / [`set_domain_identifier(Option<String>)`](crate::operation::get_job_run::builders::GetJobRunFluentBuilder::set_domain_identifier):<br>required: **true**<br><p>The ID of the domain.</p><br>
    ///   - [`identifier(impl Into<String>)`](crate::operation::get_job_run::builders::GetJobRunFluentBuilder::identifier) / [`set_identifier(Option<String>)`](crate::operation::get_job_run::builders::GetJobRunFluentBuilder::set_identifier):<br>required: **true**<br><p>The ID of the job run.</p><br>
    /// - On success, responds with [`GetJobRunOutput`](crate::operation::get_job_run::GetJobRunOutput) with field(s):
    ///   - [`domain_id(Option<String>)`](crate::operation::get_job_run::GetJobRunOutput::domain_id): <p>The ID of the domain.</p>
    ///   - [`id(Option<String>)`](crate::operation::get_job_run::GetJobRunOutput::id): <p>The ID of the job run.</p>
    ///   - [`job_id(Option<String>)`](crate::operation::get_job_run::GetJobRunOutput::job_id): <p>The ID of the job run.</p>
    ///   - [`job_type(Option<JobType>)`](crate::operation::get_job_run::GetJobRunOutput::job_type): <p>The type of the job run.</p>
    ///   - [`run_mode(Option<JobRunMode>)`](crate::operation::get_job_run::GetJobRunOutput::run_mode): <p>The mode of the job run.</p>
    ///   - [`details(Option<JobRunDetails>)`](crate::operation::get_job_run::GetJobRunOutput::details): <p>The details of the job run.</p>
    ///   - [`status(Option<JobRunStatus>)`](crate::operation::get_job_run::GetJobRunOutput::status): <p>The status of the job run.</p>
    ///   - [`error(Option<JobRunError>)`](crate::operation::get_job_run::GetJobRunOutput::error): <p>The error generated if the action is not completed successfully.</p>
    ///   - [`created_by(Option<String>)`](crate::operation::get_job_run::GetJobRunOutput::created_by): <p>The user who created the job run.</p>
    ///   - [`created_at(Option<DateTime>)`](crate::operation::get_job_run::GetJobRunOutput::created_at): <p>The timestamp of when the job run was created.</p>
    ///   - [`start_time(Option<DateTime>)`](crate::operation::get_job_run::GetJobRunOutput::start_time): <p>The timestamp of when the job run started.</p>
    ///   - [`end_time(Option<DateTime>)`](crate::operation::get_job_run::GetJobRunOutput::end_time): <p>The timestamp of when the job run ended.</p>
    /// - On failure, responds with [`SdkError<GetJobRunError>`](crate::operation::get_job_run::GetJobRunError)
    pub fn get_job_run(&self) -> crate::operation::get_job_run::builders::GetJobRunFluentBuilder {
        crate::operation::get_job_run::builders::GetJobRunFluentBuilder::new(self.handle.clone())
    }
}