| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Route53RecoveryControlConfig.DeleteSafetyRule
Description
Deletes a safety rule.
/>
Synopsis
- data DeleteSafetyRule = DeleteSafetyRule' {}
- newDeleteSafetyRule :: Text -> DeleteSafetyRule
- deleteSafetyRule_safetyRuleArn :: Lens' DeleteSafetyRule Text
- data DeleteSafetyRuleResponse = DeleteSafetyRuleResponse' {
- httpStatus :: Int
- newDeleteSafetyRuleResponse :: Int -> DeleteSafetyRuleResponse
- deleteSafetyRuleResponse_httpStatus :: Lens' DeleteSafetyRuleResponse Int
Creating a Request
data DeleteSafetyRule Source #
See: newDeleteSafetyRule smart constructor.
Constructors
| DeleteSafetyRule' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> DeleteSafetyRule |
Create a value of DeleteSafetyRule 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:
DeleteSafetyRule, deleteSafetyRule_safetyRuleArn - The ARN of the safety rule.
Request Lenses
deleteSafetyRule_safetyRuleArn :: Lens' DeleteSafetyRule Text Source #
The ARN of the safety rule.
Destructuring the Response
data DeleteSafetyRuleResponse Source #
See: newDeleteSafetyRuleResponse smart constructor.
Constructors
| DeleteSafetyRuleResponse' | |
Fields
| |
Instances
newDeleteSafetyRuleResponse Source #
Create a value of DeleteSafetyRuleResponse 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:DeleteSafetyRuleResponse', deleteSafetyRuleResponse_httpStatus - The response's http status code.
Response Lenses
deleteSafetyRuleResponse_httpStatus :: Lens' DeleteSafetyRuleResponse Int Source #
The response's http status code.