StepExecution class

Detailed information about an the execution state of an Automation step.

Constructors

StepExecution({String? action, DateTime? executionEndTime, DateTime? executionStartTime, FailureDetails? failureDetails, String? failureMessage, Map<String, String>? inputs, bool? isCritical, bool? isEnd, int? maxAttempts, String? nextStep, String? onFailure, Map<String, List<String>>? outputs, Map<String, List<String>>? overriddenParameters, String? response, String? responseCode, String? stepExecutionId, String? stepName, AutomationExecutionStatus? stepStatus, TargetLocation? targetLocation, List<Target>? targets, int? timeoutSeconds, List<String>? validNextSteps})
StepExecution.fromJson(Map<String, dynamic> json)
factory

Properties

action String?
The action this step performs. The action determines the behavior of the step.
final
executionEndTime DateTime?
If a step has finished execution, this contains the time the execution ended. If the step has not yet concluded, this field is not populated.
final
executionStartTime DateTime?
If a step has begun execution, this contains the time the step started. If the step is in Pending status, this field is not populated.
final
failureDetails FailureDetails?
Information about the Automation failure.
final
failureMessage String?
If a step failed, this message explains why the execution failed.
final
hashCode int
The hash code for this object.
no setterinherited
inputs Map<String, String>?
Fully-resolved values passed into the step before execution.
final
isCritical bool?
The flag which can be used to help decide whether the failure of current step leads to the Automation failure.
final
isEnd bool?
The flag which can be used to end automation no matter whether the step succeeds or fails.
final
maxAttempts int?
The maximum number of tries to run the action of the step. The default value is 1.
final
nextStep String?
The next step after the step succeeds.
final
onFailure String?
The action to take if the step fails. The default value is Abort.
final
outputs Map<String, List<String>>?
Returned values from the execution of the step.
final
overriddenParameters Map<String, List<String>>?
A user-specified list of parameters to override when running a step.
final
response String?
A message associated with the response code for an execution.
final
responseCode String?
The response code returned by the execution of the step.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stepExecutionId String?
The unique ID of a step execution.
final
stepName String?
The name of this execution step.
final
stepStatus AutomationExecutionStatus?
The execution status for this step.
final
targetLocation TargetLocation?
The combination of AWS Regions and accounts targeted by the current Automation execution.
final
targets List<Target>?
The targets for the step execution.
final
timeoutSeconds int?
The timeout seconds of the step.
final
validNextSteps List<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.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited