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 the specified rule.
You can't delete the default rule.
Synopsis
Creating a Request
data DeleteRule Source #
See: newDeleteRule
smart constructor.
Instances
Create a value of DeleteRule
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:ruleArn:DeleteRule'
, deleteRule_ruleArn
- The Amazon Resource Name (ARN) of the rule.
Request Lenses
deleteRule_ruleArn :: Lens' DeleteRule Text Source #
The Amazon Resource Name (ARN) of the rule.
Destructuring the Response
data DeleteRuleResponse Source #
See: newDeleteRuleResponse
smart constructor.
DeleteRuleResponse' | |
|
Instances
newDeleteRuleResponse Source #
Create a value of DeleteRuleResponse
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:DeleteRuleResponse'
, deleteRuleResponse_httpStatus
- The response's http status code.
Response Lenses
deleteRuleResponse_httpStatus :: Lens' DeleteRuleResponse Int Source #
The response's http status code.