Skip to content

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.

  • status

    Only SKIPPED is accepted. Step must be in NOT_STARTED or FAILED status.

  • servers

    Full replacement of the server list. Only allowed when the step is in NOT_STARTED status (Server type steps only).

  • waitDurationMinutes

    Updated 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"
  )
)

Request syntax

svc$update_recovery_plan_execution_step(
  recoveryPlanExecutionStepArn = "string",
  status = "NOT_STARTED"|"EXECUTING"|"WAITING"|"COMPLETED"|"FAILED"|"TIMED_OUT"|"SKIPPED",
  servers = list(
    list(
      serverArn = "string",
      impactLevel = "CRITICAL"|"OPTIONAL"
    )
  ),
  waitDurationMinutes = 123
)