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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetRun`](crate::operation::get_run::builders::GetRunFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`id(impl Into<String>)`](crate::operation::get_run::builders::GetRunFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::get_run::builders::GetRunFluentBuilder::set_id):<br>required: **true**<br><p>The run's ID.</p><br>
    ///   - [`export(RunExport)`](crate::operation::get_run::builders::GetRunFluentBuilder::export) / [`set_export(Option<Vec::<RunExport>>)`](crate::operation::get_run::builders::GetRunFluentBuilder::set_export):<br>required: **false**<br><p>The run's export format.</p><br>
    /// - On success, responds with [`GetRunOutput`](crate::operation::get_run::GetRunOutput) with field(s):
    ///   - [`arn(Option<String>)`](crate::operation::get_run::GetRunOutput::arn): <p>The run's ARN.</p>
    ///   - [`id(Option<String>)`](crate::operation::get_run::GetRunOutput::id): <p>The run's ID.</p>
    ///   - [`status(Option<RunStatus>)`](crate::operation::get_run::GetRunOutput::status): <p>The run's status.</p>
    ///   - [`workflow_id(Option<String>)`](crate::operation::get_run::GetRunOutput::workflow_id): <p>The run's workflow ID.</p>
    ///   - [`workflow_type(Option<WorkflowType>)`](crate::operation::get_run::GetRunOutput::workflow_type): <p>The run's workflow type.</p>
    ///   - [`run_id(Option<String>)`](crate::operation::get_run::GetRunOutput::run_id): <p>The run's ID.</p>
    ///   - [`role_arn(Option<String>)`](crate::operation::get_run::GetRunOutput::role_arn): <p>The run's service role ARN.</p>
    ///   - [`name(Option<String>)`](crate::operation::get_run::GetRunOutput::name): <p>The run's name.</p>
    ///   - [`run_group_id(Option<String>)`](crate::operation::get_run::GetRunOutput::run_group_id): <p>The run's group ID.</p>
    ///   - [`priority(Option<i32>)`](crate::operation::get_run::GetRunOutput::priority): <p>The run's priority.</p>
    ///   - [`definition(Option<String>)`](crate::operation::get_run::GetRunOutput::definition): <p>The run's definition.</p>
    ///   - [`digest(Option<String>)`](crate::operation::get_run::GetRunOutput::digest): <p>The run's digest.</p>
    ///   - [`parameters(Option<Document>)`](crate::operation::get_run::GetRunOutput::parameters): <p>The run's parameters.</p>
    ///   - [`storage_capacity(Option<i32>)`](crate::operation::get_run::GetRunOutput::storage_capacity): <p>The run's storage capacity in gigabytes.</p>
    ///   - [`output_uri(Option<String>)`](crate::operation::get_run::GetRunOutput::output_uri): <p>The run's output URI.</p>
    ///   - [`log_level(Option<RunLogLevel>)`](crate::operation::get_run::GetRunOutput::log_level): <p>The run's log level.</p>
    ///   - [`resource_digests(Option<HashMap::<String, String>>)`](crate::operation::get_run::GetRunOutput::resource_digests): <p>The run's resource digests.</p>
    ///   - [`started_by(Option<String>)`](crate::operation::get_run::GetRunOutput::started_by): <p>Who started the run.</p>
    ///   - [`creation_time(Option<DateTime>)`](crate::operation::get_run::GetRunOutput::creation_time): <p>When the run was created.</p>
    ///   - [`start_time(Option<DateTime>)`](crate::operation::get_run::GetRunOutput::start_time): <p>When the run started.</p>
    ///   - [`stop_time(Option<DateTime>)`](crate::operation::get_run::GetRunOutput::stop_time): <p>The run's stop time.</p>
    ///   - [`status_message(Option<String>)`](crate::operation::get_run::GetRunOutput::status_message): <p>The run's status message.</p>
    ///   - [`tags(Option<HashMap::<String, String>>)`](crate::operation::get_run::GetRunOutput::tags): <p>The run's tags.</p>
    ///   - [`accelerators(Option<Accelerators>)`](crate::operation::get_run::GetRunOutput::accelerators): <p> The computational accelerator used to run the workflow. </p>
    ///   - [`retention_mode(Option<RunRetentionMode>)`](crate::operation::get_run::GetRunOutput::retention_mode): <p>The run's retention mode.</p>
    ///   - [`failure_reason(Option<String>)`](crate::operation::get_run::GetRunOutput::failure_reason): <p> The reason a run has failed. </p>
    ///   - [`log_location(Option<RunLogLocation>)`](crate::operation::get_run::GetRunOutput::log_location): <p> The location of the run log. </p>
    /// - On failure, responds with [`SdkError<GetRunError>`](crate::operation::get_run::GetRunError)
    pub fn get_run(&self) -> crate::operation::get_run::builders::GetRunFluentBuilder {
        crate::operation::get_run::builders::GetRunFluentBuilder::new(self.handle.clone())
    }
}