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 |
Updates a routing control. You can only update the name of the routing control. To get or update the routing control state, see the Recovery Cluster (data plane) API actions for Amazon Route 53 Application Recovery Controller.
Synopsis
- data UpdateRoutingControl = UpdateRoutingControl' {}
- newUpdateRoutingControl :: Text -> Text -> UpdateRoutingControl
- updateRoutingControl_routingControlName :: Lens' UpdateRoutingControl Text
- updateRoutingControl_routingControlArn :: Lens' UpdateRoutingControl Text
- data UpdateRoutingControlResponse = UpdateRoutingControlResponse' {}
- newUpdateRoutingControlResponse :: Int -> UpdateRoutingControlResponse
- updateRoutingControlResponse_routingControl :: Lens' UpdateRoutingControlResponse (Maybe RoutingControl)
- updateRoutingControlResponse_httpStatus :: Lens' UpdateRoutingControlResponse Int
Creating a Request
data UpdateRoutingControl Source #
The details of the routing control that you're updating.
See: newUpdateRoutingControl
smart constructor.
UpdateRoutingControl' | |
|
Instances
newUpdateRoutingControl Source #
:: Text | |
-> Text | |
-> UpdateRoutingControl |
Create a value of UpdateRoutingControl
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:routingControlName:UpdateRoutingControl'
, updateRoutingControl_routingControlName
- The name of the routing control.
$sel:routingControlArn:UpdateRoutingControl'
, updateRoutingControl_routingControlArn
- The Amazon Resource Name (ARN) of the routing control.
Request Lenses
updateRoutingControl_routingControlName :: Lens' UpdateRoutingControl Text Source #
The name of the routing control.
updateRoutingControl_routingControlArn :: Lens' UpdateRoutingControl Text Source #
The Amazon Resource Name (ARN) of the routing control.
Destructuring the Response
data UpdateRoutingControlResponse Source #
See: newUpdateRoutingControlResponse
smart constructor.
UpdateRoutingControlResponse' | |
|
Instances
newUpdateRoutingControlResponse Source #
Create a value of UpdateRoutingControlResponse
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:routingControl:UpdateRoutingControlResponse'
, updateRoutingControlResponse_routingControl
- The routing control that was updated.
$sel:httpStatus:UpdateRoutingControlResponse'
, updateRoutingControlResponse_httpStatus
- The response's http status code.
Response Lenses
updateRoutingControlResponse_routingControl :: Lens' UpdateRoutingControlResponse (Maybe RoutingControl) Source #
The routing control that was updated.
updateRoutingControlResponse_httpStatus :: Lens' UpdateRoutingControlResponse Int Source #
The response's http status code.