Skip to content

Lists executions of Recovery Plans, optionally filtered by plan or status

Description

Lists executions of Recovery Plans, optionally filtered by plan or status.

Usage

drs_list_recovery_plan_executions(recoveryPlanArn, status, maxResults,
  nextToken)

Arguments

  • recoveryPlanArn

    Filter executions by Recovery Plan ARN.

  • status

    Filter executions by status.

  • maxResults

    Maximum number of results to return.

  • nextToken

    The token for the next page of results.

Value

A list with the following syntax:

list(
  recoveryPlanExecutions = list(
    list(
      recoveryPlanExecutionArn = "string",
      recoveryPlanArn = "string",
      mode = "DRILL"|"RECOVERY",
      status = "CREATED"|"IN_PROGRESS"|"COMPLETED"|"FAILED"|"CANCELLING"|"CANCELLED",
      startedAt = "string",
      errorDetail = list(
        message = "string",
        code = "string"
      )
    )
  ),
  nextToken = "string"
)

Request syntax

svc$list_recovery_plan_executions(
  recoveryPlanArn = "string",
  status = "CREATED"|"IN_PROGRESS"|"COMPLETED"|"FAILED"|"CANCELLING"|"CANCELLED",
  maxResults = 123,
  nextToken = "string"
)