Struct aws_sdk_ssm::model::StepExecution [−][src]
#[non_exhaustive]pub struct StepExecution {Show 22 fields
pub step_name: Option<String>,
pub action: Option<String>,
pub timeout_seconds: Option<i64>,
pub on_failure: Option<String>,
pub max_attempts: Option<i32>,
pub execution_start_time: Option<Instant>,
pub execution_end_time: Option<Instant>,
pub step_status: Option<AutomationExecutionStatus>,
pub response_code: Option<String>,
pub inputs: Option<HashMap<String, String>>,
pub outputs: Option<HashMap<String, Vec<String>>>,
pub response: Option<String>,
pub failure_message: Option<String>,
pub failure_details: Option<FailureDetails>,
pub step_execution_id: Option<String>,
pub overridden_parameters: Option<HashMap<String, Vec<String>>>,
pub is_end: Option<bool>,
pub next_step: Option<String>,
pub is_critical: Option<bool>,
pub valid_next_steps: Option<Vec<String>>,
pub targets: Option<Vec<Target>>,
pub target_location: Option<TargetLocation>,
}
Expand description
Detailed information about an the execution state of an Automation step.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.step_name: Option<String>
The name of this execution step.
action: Option<String>
The action this step performs. The action determines the behavior of the step.
timeout_seconds: Option<i64>
The timeout seconds of the step.
on_failure: Option<String>
The action to take if the step fails. The default value is Abort
.
max_attempts: Option<i32>
The maximum number of tries to run the action of the step. The default value is
1
.
execution_start_time: Option<Instant>
If a step has begun execution, this contains the time the step started. If the step is in Pending status, this field isn't populated.
execution_end_time: Option<Instant>
If a step has finished execution, this contains the time the execution ended. If the step hasn't yet concluded, this field isn't populated.
step_status: Option<AutomationExecutionStatus>
The execution status for this step.
response_code: Option<String>
The response code returned by the execution of the step.
inputs: Option<HashMap<String, String>>
Fully-resolved values passed into the step before execution.
outputs: Option<HashMap<String, Vec<String>>>
Returned values from the execution of the step.
response: Option<String>
A message associated with the response code for an execution.
failure_message: Option<String>
If a step failed, this message explains why the execution failed.
failure_details: Option<FailureDetails>
Information about the Automation failure.
step_execution_id: Option<String>
The unique ID of a step execution.
overridden_parameters: Option<HashMap<String, Vec<String>>>
A user-specified list of parameters to override when running a step.
is_end: Option<bool>
The flag which can be used to end automation no matter whether the step succeeds or fails.
next_step: Option<String>
The next step after the step succeeds.
is_critical: Option<bool>
The flag which can be used to help decide whether the failure of current step leads to the Automation failure.
valid_next_steps: Option<Vec<String>>
Strategies used when step fails, we support Continue and Abort. Abort will fail the automation when the step fails. Continue will ignore the failure of current step and allow automation to run the next step. With conditional branching, we add step:stepName to support the automation to go to another specific step.
targets: Option<Vec<Target>>
The targets for the step execution.
target_location: Option<TargetLocation>
The combination of Amazon Web Services Regions and Amazon Web Services accounts targeted by the current Automation execution.
Implementations
Creates a new builder-style object to manufacture StepExecution
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for StepExecution
impl Send for StepExecution
impl Sync for StepExecution
impl Unpin for StepExecution
impl UnwindSafe for StepExecution
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more