StepExecution
public struct StepExecution : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
The action this step performs. The action determines the behavior of the step.
Declaration
Swift
public let action: String?
-
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.
Declaration
Swift
public let executionEndTime: TimeStamp?
-
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.
Declaration
Swift
public let executionStartTime: TimeStamp?
-
Information about the Automation failure.
Declaration
Swift
public let failureDetails: FailureDetails?
-
If a step failed, this message explains why the execution failed.
Declaration
Swift
public let failureMessage: String?
-
Fully-resolved values passed into the step before execution.
Declaration
Swift
public let inputs: [String : String]?
-
The flag which can be used to help decide whether the failure of current step leads to the Automation failure.
Declaration
Swift
public let isCritical: Bool?
-
The flag which can be used to end automation no matter whether the step succeeds or fails.
Declaration
Swift
public let isEnd: Bool?
-
The maximum number of tries to run the action of the step. The default value is 1.
Declaration
Swift
public let maxAttempts: Int?
-
The next step after the step succeeds.
Declaration
Swift
public let nextStep: String?
-
The action to take if the step fails. The default value is Abort.
Declaration
Swift
public let onFailure: String?
-
Returned values from the execution of the step.
Declaration
Swift
public let outputs: [String : [String]]?
-
A user-specified list of parameters to override when running a step.
Declaration
Swift
public let overriddenParameters: [String : [String]]?
-
A message associated with the response code for an execution.
Declaration
Swift
public let response: String?
-
The response code returned by the execution of the step.
Declaration
Swift
public let responseCode: String?
-
The unique ID of a step execution.
Declaration
Swift
public let stepExecutionId: String?
-
The name of this execution step.
Declaration
Swift
public let stepName: String?
-
The execution status for this step.
Declaration
Swift
public let stepStatus: AutomationExecutionStatus?
-
The combination of AWS Regions and accounts targeted by the current Automation execution.
Declaration
Swift
public let targetLocation: TargetLocation?
-
The targets for the step execution.
Declaration
Swift
public let targets: [Target]?
-
The timeout seconds of the step.
Declaration
Swift
public let timeoutSeconds: Int64?
-
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.
Declaration
Swift
public let validNextSteps: [String]?
-
init(action:executionEndTime:executionStartTime:failureDetails:failureMessage:inputs:isCritical:isEnd:maxAttempts:nextStep:onFailure:outputs:overriddenParameters:response:responseCode:stepExecutionId:stepName:stepStatus:targetLocation:targets:timeoutSeconds:validNextSteps:)
Undocumented
Declaration
Swift
public init(action: String? = nil, executionEndTime: TimeStamp? = nil, executionStartTime: TimeStamp? = nil, failureDetails: FailureDetails? = nil, failureMessage: String? = nil, inputs: [String : String]? = nil, isCritical: Bool? = nil, isEnd: Bool? = nil, maxAttempts: Int? = nil, nextStep: String? = nil, onFailure: String? = nil, outputs: [String : [String]]? = nil, overriddenParameters: [String : [String]]? = nil, response: String? = nil, responseCode: String? = nil, stepExecutionId: String? = nil, stepName: String? = nil, stepStatus: AutomationExecutionStatus? = nil, targetLocation: TargetLocation? = nil, targets: [Target]? = nil, timeoutSeconds: Int64? = nil, validNextSteps: [String]? = nil)