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 |
Returns an array of routing controls for a control panel. A routing control is an Amazon Route 53 Application Recovery Controller construct that has one of two states: ON and OFF. You can map the routing control state to the state of an Amazon Route 53 health check, which can be used to control routing.
This operation returns paginated results.
Synopsis
- data ListRoutingControls = ListRoutingControls' {}
- newListRoutingControls :: Text -> ListRoutingControls
- listRoutingControls_maxResults :: Lens' ListRoutingControls (Maybe Natural)
- listRoutingControls_nextToken :: Lens' ListRoutingControls (Maybe Text)
- listRoutingControls_controlPanelArn :: Lens' ListRoutingControls Text
- data ListRoutingControlsResponse = ListRoutingControlsResponse' {}
- newListRoutingControlsResponse :: Int -> ListRoutingControlsResponse
- listRoutingControlsResponse_nextToken :: Lens' ListRoutingControlsResponse (Maybe Text)
- listRoutingControlsResponse_routingControls :: Lens' ListRoutingControlsResponse (Maybe [RoutingControl])
- listRoutingControlsResponse_httpStatus :: Lens' ListRoutingControlsResponse Int
Creating a Request
data ListRoutingControls Source #
See: newListRoutingControls
smart constructor.
ListRoutingControls' | |
|
Instances
newListRoutingControls Source #
Create a value of ListRoutingControls
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:ListRoutingControls'
, listRoutingControls_maxResults
- The number of objects that you want to return with this call.
ListRoutingControls
, listRoutingControls_nextToken
- The token that identifies which batch of results you want to see.
ListRoutingControls
, listRoutingControls_controlPanelArn
- The Amazon Resource Name (ARN) of the control panel.
Request Lenses
listRoutingControls_maxResults :: Lens' ListRoutingControls (Maybe Natural) Source #
The number of objects that you want to return with this call.
listRoutingControls_nextToken :: Lens' ListRoutingControls (Maybe Text) Source #
The token that identifies which batch of results you want to see.
listRoutingControls_controlPanelArn :: Lens' ListRoutingControls Text Source #
The Amazon Resource Name (ARN) of the control panel.
Destructuring the Response
data ListRoutingControlsResponse Source #
See: newListRoutingControlsResponse
smart constructor.
ListRoutingControlsResponse' | |
|
Instances
newListRoutingControlsResponse Source #
Create a value of ListRoutingControlsResponse
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:
ListRoutingControls
, listRoutingControlsResponse_nextToken
- The token that identifies which batch of results you want to see.
$sel:routingControls:ListRoutingControlsResponse'
, listRoutingControlsResponse_routingControls
- An array of routing controls.
$sel:httpStatus:ListRoutingControlsResponse'
, listRoutingControlsResponse_httpStatus
- The response's http status code.
Response Lenses
listRoutingControlsResponse_nextToken :: Lens' ListRoutingControlsResponse (Maybe Text) Source #
The token that identifies which batch of results you want to see.
listRoutingControlsResponse_routingControls :: Lens' ListRoutingControlsResponse (Maybe [RoutingControl]) Source #
An array of routing controls.
listRoutingControlsResponse_httpStatus :: Lens' ListRoutingControlsResponse Int Source #
The response's http status code.