| 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 |
Amazonka.Route53RecoveryCluster.UpdateRoutingControlStates
Description
Set multiple routing control states. You can set the value for each state to be On or Off. When the state is On, traffic flows to a cell. When it's off, traffic does not flow.
For more information about working with routing controls, see Routing control in the Route 53 Application Recovery Controller Developer Guide.
Synopsis
- data UpdateRoutingControlStates = UpdateRoutingControlStates' {}
- newUpdateRoutingControlStates :: UpdateRoutingControlStates
- updateRoutingControlStates_updateRoutingControlStateEntries :: Lens' UpdateRoutingControlStates [UpdateRoutingControlStateEntry]
- data UpdateRoutingControlStatesResponse = UpdateRoutingControlStatesResponse' {
- httpStatus :: Int
- newUpdateRoutingControlStatesResponse :: Int -> UpdateRoutingControlStatesResponse
- updateRoutingControlStatesResponse_httpStatus :: Lens' UpdateRoutingControlStatesResponse Int
Creating a Request
data UpdateRoutingControlStates Source #
See: newUpdateRoutingControlStates smart constructor.
Constructors
| UpdateRoutingControlStates' | |
Fields
| |
Instances
newUpdateRoutingControlStates :: UpdateRoutingControlStates Source #
Create a value of UpdateRoutingControlStates 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:updateRoutingControlStateEntries:UpdateRoutingControlStates', updateRoutingControlStates_updateRoutingControlStateEntries - A set of routing control entries that you want to update.
Request Lenses
updateRoutingControlStates_updateRoutingControlStateEntries :: Lens' UpdateRoutingControlStates [UpdateRoutingControlStateEntry] Source #
A set of routing control entries that you want to update.
Destructuring the Response
data UpdateRoutingControlStatesResponse Source #
See: newUpdateRoutingControlStatesResponse smart constructor.
Constructors
| UpdateRoutingControlStatesResponse' | |
Fields
| |
Instances
newUpdateRoutingControlStatesResponse Source #
Arguments
| :: Int | |
| -> UpdateRoutingControlStatesResponse |
Create a value of UpdateRoutingControlStatesResponse 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:httpStatus:UpdateRoutingControlStatesResponse', updateRoutingControlStatesResponse_httpStatus - The response's http status code.
Response Lenses
updateRoutingControlStatesResponse_httpStatus :: Lens' UpdateRoutingControlStatesResponse Int Source #
The response's http status code.