Values_0.StepExecutionSourceDetailed information about an the execution state of an Automation step.
type nonrec t = {stepName : String_.t option;The name of this execution step.
*)action : AutomationActionName.t option;The action this step performs. The action determines the behavior of the step.
*)timeoutSeconds : Long.t option;The timeout seconds of the step.
*)onFailure : String_.t option;The action to take if the step fails. The default value is Abort.
*)maxAttempts : Integer.t option;The maximum number of tries to run the action of the step. The default value is 1.
*)executionStartTime : DateTime.t option;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.
*)executionEndTime : DateTime.t option;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.
*)stepStatus : AutomationExecutionStatus.t option;The execution status for this step.
*)responseCode : String_.t option;The response code returned by the execution of the step.
*)inputs : NormalStringMap.t option;Fully-resolved values passed into the step before execution.
*)outputs : AutomationParameterMap.t option;Returned values from the execution of the step.
*)response : String_.t option;A message associated with the response code for an execution.
*)failureMessage : String_.t option;If a step failed, this message explains why the execution failed.
*)failureDetails : FailureDetails.t option;Information about the Automation failure.
*)stepExecutionId : String_.t option;The unique ID of a step execution.
*)overriddenParameters : AutomationParameterMap.t option;A user-specified list of parameters to override when running a step.
*)isEnd : Boolean.t option;The flag which can be used to end automation no matter whether the step succeeds or fails.
*)nextStep : String_.t option;The next step after the step succeeds.
*)isCritical : Boolean.t option;The flag which can be used to help decide whether the failure of current step leads to the Automation failure.
*)validNextSteps : ValidNextStepList.t option;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 : Targets.t option;The targets for the step execution.
*)targetLocation : TargetLocation.t option;The combination of Amazon Web Services Regions and Amazon Web Services accounts targeted by the current Automation execution.
*)triggeredAlarms : AlarmStateInformationList.t option;The CloudWatch alarms that were invoked by the automation.
*)parentStepDetails : ParentStepDetails.t option;Information about the parent step.
*)}val make :
?stepName:??? ->
?action:??? ->
?timeoutSeconds:??? ->
?onFailure:??? ->
?maxAttempts:??? ->
?executionStartTime:??? ->
?executionEndTime:??? ->
?stepStatus:??? ->
?responseCode:??? ->
?inputs:??? ->
?outputs:??? ->
?response:??? ->
?failureMessage:??? ->
?failureDetails:??? ->
?stepExecutionId:??? ->
?overriddenParameters:??? ->
?isEnd:??? ->
?nextStep:??? ->
?isCritical:??? ->
?validNextSteps:??? ->
?targets:??? ->
?targetLocation:??? ->
?triggeredAlarms:??? ->
?parentStepDetails:??? ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Boolean of Boolean.t
| `Enum of string
| `Integer of Integer.t
| `List of
[> `String of ValidNextStep.t
| `Structure of
(string
* [> `Enum of string
| `List of [> `String of TargetValue.t ] list
| `String of TargetKey.t ])
list ]
list
| `Long of Long.t
| `Map of
([> `String of String_.t ]
* [> `List of [> `String of AutomationParameterValue.t ] list
| `String of String_.t ])
list
| `String of String_.t
| `Structure of
(string
* [> `Boolean of Boolean.t
| `Integer of Integer.t
| `List of
[> `String of Account.t
| `Structure of
(string
* [> `List of [> `String of TargetValue.t ] list
| `String of TargetKey.t ])
list ]
list
| `Map of
([> `String of AutomationParameterKey.t ]
* [> `List of [> `String of AutomationParameterValue.t ] list ])
list
| `String of String_.t
| `Structure of
(string
* [> `Boolean of Boolean.t
| `List of
[> `Structure of
(string * [> `String of AlarmName.t ]) list ]
list ])
list ])
list
| `Timestamp of DateTime.t ])
list ]