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 |
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.
DeleteSafetyRule' | |
|
Instances
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:
$sel:safetyRuleArn:DeleteSafetyRule'
, deleteSafetyRule_safetyRuleArn
- The request body that you include when you update a safety rule.
Request Lenses
deleteSafetyRule_safetyRuleArn :: Lens' DeleteSafetyRule Text Source #
The request body that you include when you update a safety rule.
Destructuring the Response
data DeleteSafetyRuleResponse Source #
See: newDeleteSafetyRuleResponse
smart constructor.
DeleteSafetyRuleResponse' | |
|
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.