list_zonal_shifts
async
¶
list_zonal_shifts(
*,
config_overrides: Optional[AsyncARCZonalShiftClientConfig] = None,
next_token: Optional[str] = None,
status: Optional[ZonalShiftStatus] = None,
max_results: Optional[MaxResults] = None,
resource_identifier: Optional[ResourceIdentifier] = None,
) -> ListZonalShiftsResponse
Lists all active and completed zonal shifts in Amazon Application Recovery Controller in your Amazon Web Services account in this Amazon Web Services Region. ListZonalShifts 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.
Parameters:
-
next_token(Optional[str], default:None) –Specifies 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. -
status(Optional[ZonalShiftStatus], default:None) –A 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.
-
-
max_results(Optional[MaxResults], default:None) –The number of objects that you want to return with this call.
-
resource_identifier(Optional[ResourceIdentifier], default:None) –The identifier for the resource that you want to list zonal shifts for. The identifier is the Amazon Resource Name (ARN) for the resource.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
InternalServerException–There was an internal server error.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The input fails to satisfy the constraints specified by an Amazon Web Services service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_arc_zonal_shift/_services/async_arc_zonal_shift.py
965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 | |