Skip to content

List Zonal Shifts

arczonalshift_list_zonal_shifts R Documentation

Lists all active and completed zonal shifts in Amazon Application Recovery Controller in your Amazon Web Services account in this Amazon Web Services Region

Description

Lists all active and completed zonal shifts in Amazon Application Recovery Controller in your Amazon Web Services account in this Amazon Web Services Region. list_zonal_shifts returns customer-initiated zonal shifts, as well as practice run zonal shifts that ARC started on your behalf for zonal autoshift.

For more information about listing autoshifts, see "\ListAutoshifts.

Usage

arczonalshift_list_zonal_shifts(nextToken, status, maxResults,
  resourceIdentifier)

Arguments

nextToken

Specifies that you want to receive the next page of results. Valid only if you received a nextToken response in the previous request. If you did, it indicates that more output is available. Set this parameter to the value provided by the previous call's nextToken response to request the next page of results.

status

A status for a zonal shift.

The Status for a zonal shift can have one of the following values:

  • ACTIVE: The zonal shift has been started and is active.

  • EXPIRED: The zonal shift has expired (the expiry time was exceeded).

  • CANCELED: The zonal shift was canceled.

maxResults

The number of objects that you want to return with this call.

resourceIdentifier

The identifier for the resource that you want to list zonal shifts for. The identifier is the Amazon Resource Name (ARN) for the resource.

Value

A list with the following syntax:

list(
  items = list(
    list(
      zonalShiftId = "string",
      resourceIdentifier = "string",
      awayFrom = "string",
      expiryTime = as.POSIXct(
        "2015-01-01"
      ),
      startTime = as.POSIXct(
        "2015-01-01"
      ),
      status = "ACTIVE"|"EXPIRED"|"CANCELED",
      comment = "string",
      shiftType = "ZONAL_SHIFT"|"PRACTICE_RUN"|"FIS_EXPERIMENT"|"ZONAL_AUTOSHIFT",
      practiceRunOutcome = "FAILED"|"INTERRUPTED"|"PENDING"|"SUCCEEDED"|"CAPACITY_CHECK_FAILED"
    )
  ),
  nextToken = "string"
)

Request syntax

svc$list_zonal_shifts(
  nextToken = "string",
  status = "ACTIVE"|"EXPIRED"|"CANCELED",
  maxResults = 123,
  resourceIdentifier = "string"
)