Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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.
Synopsis
- data ListRoutingControls = ListRoutingControls' {}
- newListRoutingControls :: Text -> ListRoutingControls
- listRoutingControls_nextToken :: Lens' ListRoutingControls (Maybe Text)
- listRoutingControls_maxResults :: Lens' ListRoutingControls (Maybe Natural)
- 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:nextToken:ListRoutingControls'
, listRoutingControls_nextToken
- The token that identifies which batch of results you want to see.
$sel:maxResults:ListRoutingControls'
, listRoutingControls_maxResults
- The number of objects that you want to return with this call.
$sel:controlPanelArn:ListRoutingControls'
, listRoutingControls_controlPanelArn
- The Amazon Resource Name (ARN) of the control panel that you're getting
routing control details for.
Request Lenses
listRoutingControls_nextToken :: Lens' ListRoutingControls (Maybe Text) Source #
The token that identifies which batch of results you want to see.
listRoutingControls_maxResults :: Lens' ListRoutingControls (Maybe Natural) Source #
The number of objects that you want to return with this call.
listRoutingControls_controlPanelArn :: Lens' ListRoutingControls Text Source #
The Amazon Resource Name (ARN) of the control panel that you're getting routing control details for.
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:
$sel:nextToken: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.