aws_sdk_glue/client/
get_ml_task_run.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 [`GetMLTaskRun`](crate::operation::get_ml_task_run::builders::GetMLTaskRunFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`transform_id(impl Into<String>)`](crate::operation::get_ml_task_run::builders::GetMLTaskRunFluentBuilder::transform_id) / [`set_transform_id(Option<String>)`](crate::operation::get_ml_task_run::builders::GetMLTaskRunFluentBuilder::set_transform_id):<br>required: **true**<br><p>The unique identifier of the machine learning transform.</p><br>
7    ///   - [`task_run_id(impl Into<String>)`](crate::operation::get_ml_task_run::builders::GetMLTaskRunFluentBuilder::task_run_id) / [`set_task_run_id(Option<String>)`](crate::operation::get_ml_task_run::builders::GetMLTaskRunFluentBuilder::set_task_run_id):<br>required: **true**<br><p>The unique identifier of the task run.</p><br>
8    /// - On success, responds with [`GetMlTaskRunOutput`](crate::operation::get_ml_task_run::GetMlTaskRunOutput) with field(s):
9    ///   - [`transform_id(Option<String>)`](crate::operation::get_ml_task_run::GetMlTaskRunOutput::transform_id): <p>The unique identifier of the task run.</p>
10    ///   - [`task_run_id(Option<String>)`](crate::operation::get_ml_task_run::GetMlTaskRunOutput::task_run_id): <p>The unique run identifier associated with this run.</p>
11    ///   - [`status(Option<TaskStatusType>)`](crate::operation::get_ml_task_run::GetMlTaskRunOutput::status): <p>The status for this task run.</p>
12    ///   - [`log_group_name(Option<String>)`](crate::operation::get_ml_task_run::GetMlTaskRunOutput::log_group_name): <p>The names of the log groups that are associated with the task run.</p>
13    ///   - [`properties(Option<TaskRunProperties>)`](crate::operation::get_ml_task_run::GetMlTaskRunOutput::properties): <p>The list of properties that are associated with the task run.</p>
14    ///   - [`error_string(Option<String>)`](crate::operation::get_ml_task_run::GetMlTaskRunOutput::error_string): <p>The error strings that are associated with the task run.</p>
15    ///   - [`started_on(Option<DateTime>)`](crate::operation::get_ml_task_run::GetMlTaskRunOutput::started_on): <p>The date and time when this task run started.</p>
16    ///   - [`last_modified_on(Option<DateTime>)`](crate::operation::get_ml_task_run::GetMlTaskRunOutput::last_modified_on): <p>The date and time when this task run was last modified.</p>
17    ///   - [`completed_on(Option<DateTime>)`](crate::operation::get_ml_task_run::GetMlTaskRunOutput::completed_on): <p>The date and time when this task run was completed.</p>
18    ///   - [`execution_time(i32)`](crate::operation::get_ml_task_run::GetMlTaskRunOutput::execution_time): <p>The amount of time (in seconds) that the task run consumed resources.</p>
19    /// - On failure, responds with [`SdkError<GetMLTaskRunError>`](crate::operation::get_ml_task_run::GetMLTaskRunError)
20    pub fn get_ml_task_run(&self) -> crate::operation::get_ml_task_run::builders::GetMLTaskRunFluentBuilder {
21        crate::operation::get_ml_task_run::builders::GetMLTaskRunFluentBuilder::new(self.handle.clone())
22    }
23}