aws-sdk-snowdevicemanagement 1.78.0

AWS SDK for AWS Snow Device Management
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeExecution`](crate::operation::describe_execution::builders::DescribeExecutionFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`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>
    /// - On success, responds with [`DescribeExecutionOutput`](crate::operation::describe_execution::DescribeExecutionOutput) with field(s):
    ///   - [`task_id(Option<String>)`](crate::operation::describe_execution::DescribeExecutionOutput::task_id): <p>The ID of the task being executed on the device.</p>
    ///   - [`execution_id(Option<String>)`](crate::operation::describe_execution::DescribeExecutionOutput::execution_id): <p>The ID of the execution.</p>
    ///   - [`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>
    ///   - [`state(Option<ExecutionState>)`](crate::operation::describe_execution::DescribeExecutionOutput::state): <p>The current state of the execution.</p>
    ///   - [`started_at(Option<DateTime>)`](crate::operation::describe_execution::DescribeExecutionOutput::started_at): <p>When the execution began.</p>
    ///   - [`last_updated_at(Option<DateTime>)`](crate::operation::describe_execution::DescribeExecutionOutput::last_updated_at): <p>When the status of the execution was last updated.</p>
    /// - On failure, responds with [`SdkError<DescribeExecutionError>`](crate::operation::describe_execution::DescribeExecutionError)
    pub fn describe_execution(&self) -> crate::operation::describe_execution::builders::DescribeExecutionFluentBuilder {
        crate::operation::describe_execution::builders::DescribeExecutionFluentBuilder::new(self.handle.clone())
    }
}