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 RuleGroup.
Synopsis
- data DeleteRuleGroup = DeleteRuleGroup' {}
- newDeleteRuleGroup :: DeleteRuleGroup
- deleteRuleGroup_ruleGroupArn :: Lens' DeleteRuleGroup (Maybe Text)
- deleteRuleGroup_type :: Lens' DeleteRuleGroup (Maybe RuleGroupType)
- deleteRuleGroup_ruleGroupName :: Lens' DeleteRuleGroup (Maybe Text)
- data DeleteRuleGroupResponse = DeleteRuleGroupResponse' {}
- newDeleteRuleGroupResponse :: Int -> RuleGroupResponse -> DeleteRuleGroupResponse
- deleteRuleGroupResponse_httpStatus :: Lens' DeleteRuleGroupResponse Int
- deleteRuleGroupResponse_ruleGroupResponse :: Lens' DeleteRuleGroupResponse RuleGroupResponse
Creating a Request
data DeleteRuleGroup Source #
See: newDeleteRuleGroup
smart constructor.
DeleteRuleGroup' | |
|
Instances
newDeleteRuleGroup :: DeleteRuleGroup Source #
Create a value of DeleteRuleGroup
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:ruleGroupArn:DeleteRuleGroup'
, deleteRuleGroup_ruleGroupArn
- The Amazon Resource Name (ARN) of the rule group.
You must specify the ARN or the name, and you can specify both.
$sel:type':DeleteRuleGroup'
, deleteRuleGroup_type
- Indicates whether the rule group is stateless or stateful. If the rule
group is stateless, it contains stateless rules. If it is stateful, it
contains stateful rules.
This setting is required for requests that do not include the
RuleGroupARN
.
$sel:ruleGroupName:DeleteRuleGroup'
, deleteRuleGroup_ruleGroupName
- The descriptive name of the rule group. You can't change the name of a
rule group after you create it.
You must specify the ARN or the name, and you can specify both.
Request Lenses
deleteRuleGroup_ruleGroupArn :: Lens' DeleteRuleGroup (Maybe Text) Source #
The Amazon Resource Name (ARN) of the rule group.
You must specify the ARN or the name, and you can specify both.
deleteRuleGroup_type :: Lens' DeleteRuleGroup (Maybe RuleGroupType) Source #
Indicates whether the rule group is stateless or stateful. If the rule group is stateless, it contains stateless rules. If it is stateful, it contains stateful rules.
This setting is required for requests that do not include the
RuleGroupARN
.
deleteRuleGroup_ruleGroupName :: Lens' DeleteRuleGroup (Maybe Text) Source #
The descriptive name of the rule group. You can't change the name of a rule group after you create it.
You must specify the ARN or the name, and you can specify both.
Destructuring the Response
data DeleteRuleGroupResponse Source #
See: newDeleteRuleGroupResponse
smart constructor.
DeleteRuleGroupResponse' | |
|
Instances
newDeleteRuleGroupResponse Source #
Create a value of DeleteRuleGroupResponse
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:DeleteRuleGroupResponse'
, deleteRuleGroupResponse_httpStatus
- The response's http status code.
$sel:ruleGroupResponse:DeleteRuleGroupResponse'
, deleteRuleGroupResponse_ruleGroupResponse
- The high-level properties of a rule group. This, along with the
RuleGroup, define the rule group. You can retrieve all objects for a
rule group by calling DescribeRuleGroup.
Response Lenses
deleteRuleGroupResponse_httpStatus :: Lens' DeleteRuleGroupResponse Int Source #
The response's http status code.
deleteRuleGroupResponse_ruleGroupResponse :: Lens' DeleteRuleGroupResponse RuleGroupResponse Source #
The high-level properties of a rule group. This, along with the RuleGroup, define the rule group. You can retrieve all objects for a rule group by calling DescribeRuleGroup.