Struct aws_sdk_ssm::input::GetAutomationExecutionInput
source · #[non_exhaustive]pub struct GetAutomationExecutionInput { /* private fields */ }
Implementations§
source§impl GetAutomationExecutionInput
impl GetAutomationExecutionInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetAutomationExecution, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetAutomationExecution, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<GetAutomationExecution
>
Examples found in repository?
src/client.rs (line 9806)
9792 9793 9794 9795 9796 9797 9798 9799 9800 9801 9802 9803 9804 9805 9806 9807 9808 9809 9810 9811 9812 9813 9814 9815 9816 9817 9818 9819 9820 9821 9822 9823 9824 9825 9826 9827 9828 9829 9830 9831 9832 9833 9834
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::GetAutomationExecution,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::GetAutomationExecutionError>,
> {
let handle = self.handle.clone();
let operation = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
Ok(crate::operation::customize::CustomizableOperation { handle, operation })
}
/// Sends the request and returns the response.
///
/// If an error occurs, an `SdkError` will be returned with additional details that
/// can be matched against.
///
/// By default, any retryable failures will be retried twice. Retry behavior
/// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
/// set when configuring the client.
pub async fn send(
self,
) -> std::result::Result<
crate::output::GetAutomationExecutionOutput,
aws_smithy_http::result::SdkError<crate::error::GetAutomationExecutionError>,
> {
let op = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&self.handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
self.handle.client.call(op).await
}
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture GetAutomationExecutionInput
.
source§impl GetAutomationExecutionInput
impl GetAutomationExecutionInput
sourcepub fn automation_execution_id(&self) -> Option<&str>
pub fn automation_execution_id(&self) -> Option<&str>
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.
Trait Implementations§
source§impl Clone for GetAutomationExecutionInput
impl Clone for GetAutomationExecutionInput
source§fn clone(&self) -> GetAutomationExecutionInput
fn clone(&self) -> GetAutomationExecutionInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more