| 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.Route53RecoveryControlConfig.UpdateSafetyRule
Description
Update a safety rule (an assertion rule or gating rule) for the routing controls in a control panel. You can only update the name and the waiting period for a safety rule. To make other updates, delete the safety rule and create a new safety rule.
Synopsis
- data UpdateSafetyRule = UpdateSafetyRule' {}
- newUpdateSafetyRule :: UpdateSafetyRule
- updateSafetyRule_gatingRuleUpdate :: Lens' UpdateSafetyRule (Maybe GatingRuleUpdate)
- updateSafetyRule_assertionRuleUpdate :: Lens' UpdateSafetyRule (Maybe AssertionRuleUpdate)
- data UpdateSafetyRuleResponse = UpdateSafetyRuleResponse' {}
- newUpdateSafetyRuleResponse :: Int -> UpdateSafetyRuleResponse
- updateSafetyRuleResponse_assertionRule :: Lens' UpdateSafetyRuleResponse (Maybe AssertionRule)
- updateSafetyRuleResponse_gatingRule :: Lens' UpdateSafetyRuleResponse (Maybe GatingRule)
- updateSafetyRuleResponse_httpStatus :: Lens' UpdateSafetyRuleResponse Int
Creating a Request
data UpdateSafetyRule Source #
See: newUpdateSafetyRule smart constructor.
Constructors
| UpdateSafetyRule' | |
Instances
newUpdateSafetyRule :: UpdateSafetyRule Source #
Create a value of UpdateSafetyRule 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:gatingRuleUpdate:UpdateSafetyRule', updateSafetyRule_gatingRuleUpdate - Undocumented member.
$sel:assertionRuleUpdate:UpdateSafetyRule', updateSafetyRule_assertionRuleUpdate - Undocumented member.
Request Lenses
updateSafetyRule_gatingRuleUpdate :: Lens' UpdateSafetyRule (Maybe GatingRuleUpdate) Source #
Undocumented member.
updateSafetyRule_assertionRuleUpdate :: Lens' UpdateSafetyRule (Maybe AssertionRuleUpdate) Source #
Undocumented member.
Destructuring the Response
data UpdateSafetyRuleResponse Source #
See: newUpdateSafetyRuleResponse smart constructor.
Constructors
| UpdateSafetyRuleResponse' | |
Fields
| |
Instances
newUpdateSafetyRuleResponse Source #
Create a value of UpdateSafetyRuleResponse 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:assertionRule:UpdateSafetyRuleResponse', updateSafetyRuleResponse_assertionRule - Undocumented member.
$sel:gatingRule:UpdateSafetyRuleResponse', updateSafetyRuleResponse_gatingRule - Undocumented member.
$sel:httpStatus:UpdateSafetyRuleResponse', updateSafetyRuleResponse_httpStatus - The response's http status code.
Response Lenses
updateSafetyRuleResponse_assertionRule :: Lens' UpdateSafetyRuleResponse (Maybe AssertionRule) Source #
Undocumented member.
updateSafetyRuleResponse_gatingRule :: Lens' UpdateSafetyRuleResponse (Maybe GatingRule) Source #
Undocumented member.
updateSafetyRuleResponse_httpStatus :: Lens' UpdateSafetyRuleResponse Int Source #
The response's http status code.