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¶
Arguments¶
-
nextTokenSpecifies that you want to receive the next page of results. Valid only if you received a
nextTokenresponse 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'snextTokenresponse to request the next page of results. -
statusA status for a zonal shift.
The
Statusfor 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.
-
maxResultsThe number of objects that you want to return with this call.
-
resourceIdentifierThe 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"
)