aws_sdk_ssm/client/get_automation_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 [`GetAutomationExecution`](crate::operation::get_automation_execution::builders::GetAutomationExecutionFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`automation_execution_id(impl Into<String>)`](crate::operation::get_automation_execution::builders::GetAutomationExecutionFluentBuilder::automation_execution_id) / [`set_automation_execution_id(Option<String>)`](crate::operation::get_automation_execution::builders::GetAutomationExecutionFluentBuilder::set_automation_execution_id):<br>required: **true**<br><p>The unique identifier for an existing automation execution to examine. The execution ID is returned by StartAutomationExecution when the execution of an Automation runbook is initiated.</p><br>
7 /// - On success, responds with [`GetAutomationExecutionOutput`](crate::operation::get_automation_execution::GetAutomationExecutionOutput) with field(s):
8 /// - [`automation_execution(Option<AutomationExecution>)`](crate::operation::get_automation_execution::GetAutomationExecutionOutput::automation_execution): <p>Detailed information about the current state of an automation execution.</p>
9 /// - On failure, responds with [`SdkError<GetAutomationExecutionError>`](crate::operation::get_automation_execution::GetAutomationExecutionError)
10 pub fn get_automation_execution(&self) -> crate::operation::get_automation_execution::builders::GetAutomationExecutionFluentBuilder {
11 crate::operation::get_automation_execution::builders::GetAutomationExecutionFluentBuilder::new(self.handle.clone())
12 }
13}