Updates an execution step¶
Description¶
Updates an execution step. Supports two actions: (1) skip a step that is in NOT_STARTED or FAILED status; (2) update the wait duration of a WAIT type step that is in NOT_STARTED status.
Usage¶
drs_update_recovery_plan_execution_step(recoveryPlanExecutionStepArn,
status, servers, waitDurationMinutes)
Arguments¶
-
recoveryPlanExecutionStepArn[required] The ARN of the execution step to update.
-
statusOnly SKIPPED is accepted. Step must be in NOT_STARTED or FAILED status.
-
serversFull replacement of the server list. Only allowed when the step is in NOT_STARTED status (Server type steps only).
-
waitDurationMinutesUpdated wait duration. Only allowed when the step is in NOT_STARTED status (Wait type steps only).
Value¶
A list with the following syntax:
list(
recoveryPlanExecutionStep = list(
recoveryPlanExecutionStepArn = "string",
stepIndex = 123,
status = "NOT_STARTED"|"EXECUTING"|"WAITING"|"COMPLETED"|"FAILED"|"TIMED_OUT"|"SKIPPED",
stepName = "string",
configuration = list(
executionServerStepConfiguration = list(
servers = list(
list(
serverArn = "string",
impactLevel = "CRITICAL"|"OPTIONAL",
jobID = "string"
)
)
),
waitStepConfiguration = list(
waitDurationMinutes = 123
)
),
errorDetail = list(
message = "string",
code = "string"
),
attempt = 123,
createdAt = "string",
updatedAt = "string"
)
)