Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Lists all the active zonal shifts in Amazon Route 53 Application Recovery Controller in your AWS account in this AWS Region.
This operation returns paginated results.
Synopsis
- data ListZonalShifts = ListZonalShifts' {}
- newListZonalShifts :: ListZonalShifts
- listZonalShifts_maxResults :: Lens' ListZonalShifts (Maybe Natural)
- listZonalShifts_nextToken :: Lens' ListZonalShifts (Maybe Text)
- listZonalShifts_status :: Lens' ListZonalShifts (Maybe ZonalShiftStatus)
- data ListZonalShiftsResponse = ListZonalShiftsResponse' {
- items :: Maybe [ZonalShiftSummary]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListZonalShiftsResponse :: Int -> ListZonalShiftsResponse
- listZonalShiftsResponse_items :: Lens' ListZonalShiftsResponse (Maybe [ZonalShiftSummary])
- listZonalShiftsResponse_nextToken :: Lens' ListZonalShiftsResponse (Maybe Text)
- listZonalShiftsResponse_httpStatus :: Lens' ListZonalShiftsResponse Int
Creating a Request
data ListZonalShifts Source #
See: newListZonalShifts
smart constructor.
ListZonalShifts' | |
|
Instances
newListZonalShifts :: ListZonalShifts Source #
Create a value of ListZonalShifts
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:maxResults:ListZonalShifts'
, listZonalShifts_maxResults
- The number of objects that you want to return with this call.
ListZonalShifts
, listZonalShifts_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.
ListZonalShifts
, listZonalShifts_status
- A status for a zonal shift.
The Status
for a zonal shift can have one of the following values:
- ACTIVE: The zonal shift is started and active.
- EXPIRED: The zonal shift has expired (the expiry time was exceeded).
- CANCELED: The zonal shift was canceled.
Request Lenses
listZonalShifts_maxResults :: Lens' ListZonalShifts (Maybe Natural) Source #
The number of objects that you want to return with this call.
listZonalShifts_nextToken :: Lens' ListZonalShifts (Maybe Text) Source #
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.
listZonalShifts_status :: Lens' ListZonalShifts (Maybe ZonalShiftStatus) Source #
A status for a zonal shift.
The Status
for a zonal shift can have one of the following values:
- ACTIVE: The zonal shift is started and active.
- EXPIRED: The zonal shift has expired (the expiry time was exceeded).
- CANCELED: The zonal shift was canceled.
Destructuring the Response
data ListZonalShiftsResponse Source #
See: newListZonalShiftsResponse
smart constructor.
ListZonalShiftsResponse' | |
|
Instances
newListZonalShiftsResponse Source #
Create a value of ListZonalShiftsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:items:ListZonalShiftsResponse'
, listZonalShiftsResponse_items
- The items in the response list.
ListZonalShifts
, listZonalShiftsResponse_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.
$sel:httpStatus:ListZonalShiftsResponse'
, listZonalShiftsResponse_httpStatus
- The response's http status code.
Response Lenses
listZonalShiftsResponse_items :: Lens' ListZonalShiftsResponse (Maybe [ZonalShiftSummary]) Source #
The items in the response list.
listZonalShiftsResponse_nextToken :: Lens' ListZonalShiftsResponse (Maybe Text) Source #
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.
listZonalShiftsResponse_httpStatus :: Lens' ListZonalShiftsResponse Int Source #
The response's http status code.