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 |
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.
UpdateRoutingControlStates' | |
|
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.
UpdateRoutingControlStatesResponse' | |
|
Instances
Eq UpdateRoutingControlStatesResponse Source # | |
Read UpdateRoutingControlStatesResponse Source # | |
Show UpdateRoutingControlStatesResponse Source # | |
Generic UpdateRoutingControlStatesResponse Source # | |
Defined in Amazonka.Route53RecoveryCluster.UpdateRoutingControlStates type Rep UpdateRoutingControlStatesResponse :: Type -> Type # | |
NFData UpdateRoutingControlStatesResponse Source # | |
type Rep UpdateRoutingControlStatesResponse Source # | |
Defined in Amazonka.Route53RecoveryCluster.UpdateRoutingControlStates type Rep UpdateRoutingControlStatesResponse = D1 ('MetaData "UpdateRoutingControlStatesResponse" "Amazonka.Route53RecoveryCluster.UpdateRoutingControlStates" "libZSservicesZSamazonka-route53-recovery-clusterZSamazonka-route53-recovery-cluster" 'False) (C1 ('MetaCons "UpdateRoutingControlStatesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newUpdateRoutingControlStatesResponse Source #
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.