aws_sdk_snowdevicemanagement/client/describe_execution.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 [`DescribeExecution`](crate::operation::describe_execution::builders::DescribeExecutionFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`task_id(impl Into<String>)`](crate::operation::describe_execution::builders::DescribeExecutionFluentBuilder::task_id) / [`set_task_id(Option<String>)`](crate::operation::describe_execution::builders::DescribeExecutionFluentBuilder::set_task_id):<br>required: **true**<br><p>The ID of the task that the action is describing.</p><br>
7 /// - [`managed_device_id(impl Into<String>)`](crate::operation::describe_execution::builders::DescribeExecutionFluentBuilder::managed_device_id) / [`set_managed_device_id(Option<String>)`](crate::operation::describe_execution::builders::DescribeExecutionFluentBuilder::set_managed_device_id):<br>required: **true**<br><p>The ID of the managed device.</p><br>
8 /// - On success, responds with [`DescribeExecutionOutput`](crate::operation::describe_execution::DescribeExecutionOutput) with field(s):
9 /// - [`task_id(Option<String>)`](crate::operation::describe_execution::DescribeExecutionOutput::task_id): <p>The ID of the task being executed on the device.</p>
10 /// - [`execution_id(Option<String>)`](crate::operation::describe_execution::DescribeExecutionOutput::execution_id): <p>The ID of the execution.</p>
11 /// - [`managed_device_id(Option<String>)`](crate::operation::describe_execution::DescribeExecutionOutput::managed_device_id): <p>The ID of the managed device that the task is being executed on.</p>
12 /// - [`state(Option<ExecutionState>)`](crate::operation::describe_execution::DescribeExecutionOutput::state): <p>The current state of the execution.</p>
13 /// - [`started_at(Option<DateTime>)`](crate::operation::describe_execution::DescribeExecutionOutput::started_at): <p>When the execution began.</p>
14 /// - [`last_updated_at(Option<DateTime>)`](crate::operation::describe_execution::DescribeExecutionOutput::last_updated_at): <p>When the status of the execution was last updated.</p>
15 /// - On failure, responds with [`SdkError<DescribeExecutionError>`](crate::operation::describe_execution::DescribeExecutionError)
16 pub fn describe_execution(&self) -> crate::operation::describe_execution::builders::DescribeExecutionFluentBuilder {
17 crate::operation::describe_execution::builders::DescribeExecutionFluentBuilder::new(self.handle.clone())
18 }
19}