libZSservicesZSamazonka-network-firewallZSamazonka-network-firewall
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.NetworkFirewall.DeleteRuleGroup

Description

Deletes the specified RuleGroup.

Synopsis

Creating a Request

data DeleteRuleGroup Source #

See: newDeleteRuleGroup smart constructor.

Constructors

DeleteRuleGroup' 

Fields

  • ruleGroupArn :: Maybe Text

    The Amazon Resource Name (ARN) of the rule group.

    You must specify the ARN or the name, and you can specify both.

  • type' :: Maybe RuleGroupType

    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.

  • ruleGroupName :: Maybe Text

    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.

Instances

Instances details
Eq DeleteRuleGroup Source # 
Instance details

Defined in Amazonka.NetworkFirewall.DeleteRuleGroup

Read DeleteRuleGroup Source # 
Instance details

Defined in Amazonka.NetworkFirewall.DeleteRuleGroup

Show DeleteRuleGroup Source # 
Instance details

Defined in Amazonka.NetworkFirewall.DeleteRuleGroup

Generic DeleteRuleGroup Source # 
Instance details

Defined in Amazonka.NetworkFirewall.DeleteRuleGroup

Associated Types

type Rep DeleteRuleGroup :: Type -> Type #

NFData DeleteRuleGroup Source # 
Instance details

Defined in Amazonka.NetworkFirewall.DeleteRuleGroup

Methods

rnf :: DeleteRuleGroup -> () #

Hashable DeleteRuleGroup Source # 
Instance details

Defined in Amazonka.NetworkFirewall.DeleteRuleGroup

ToJSON DeleteRuleGroup Source # 
Instance details

Defined in Amazonka.NetworkFirewall.DeleteRuleGroup

AWSRequest DeleteRuleGroup Source # 
Instance details

Defined in Amazonka.NetworkFirewall.DeleteRuleGroup

Associated Types

type AWSResponse DeleteRuleGroup #

ToHeaders DeleteRuleGroup Source # 
Instance details

Defined in Amazonka.NetworkFirewall.DeleteRuleGroup

ToPath DeleteRuleGroup Source # 
Instance details

Defined in Amazonka.NetworkFirewall.DeleteRuleGroup

ToQuery DeleteRuleGroup Source # 
Instance details

Defined in Amazonka.NetworkFirewall.DeleteRuleGroup

type Rep DeleteRuleGroup Source # 
Instance details

Defined in Amazonka.NetworkFirewall.DeleteRuleGroup

type Rep DeleteRuleGroup = D1 ('MetaData "DeleteRuleGroup" "Amazonka.NetworkFirewall.DeleteRuleGroup" "libZSservicesZSamazonka-network-firewallZSamazonka-network-firewall" 'False) (C1 ('MetaCons "DeleteRuleGroup'" 'PrefixI 'True) (S1 ('MetaSel ('Just "ruleGroupArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RuleGroupType)) :*: S1 ('MetaSel ('Just "ruleGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))
type AWSResponse DeleteRuleGroup Source # 
Instance details

Defined in Amazonka.NetworkFirewall.DeleteRuleGroup

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.

Constructors

DeleteRuleGroupResponse' 

Fields

  • httpStatus :: Int

    The response's http status code.

  • ruleGroupResponse :: 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.

Instances

Instances details
Eq DeleteRuleGroupResponse Source # 
Instance details

Defined in Amazonka.NetworkFirewall.DeleteRuleGroup

Read DeleteRuleGroupResponse Source # 
Instance details

Defined in Amazonka.NetworkFirewall.DeleteRuleGroup

Show DeleteRuleGroupResponse Source # 
Instance details

Defined in Amazonka.NetworkFirewall.DeleteRuleGroup

Generic DeleteRuleGroupResponse Source # 
Instance details

Defined in Amazonka.NetworkFirewall.DeleteRuleGroup

Associated Types

type Rep DeleteRuleGroupResponse :: Type -> Type #

NFData DeleteRuleGroupResponse Source # 
Instance details

Defined in Amazonka.NetworkFirewall.DeleteRuleGroup

Methods

rnf :: DeleteRuleGroupResponse -> () #

type Rep DeleteRuleGroupResponse Source # 
Instance details

Defined in Amazonka.NetworkFirewall.DeleteRuleGroup

type Rep DeleteRuleGroupResponse = D1 ('MetaData "DeleteRuleGroupResponse" "Amazonka.NetworkFirewall.DeleteRuleGroup" "libZSservicesZSamazonka-network-firewallZSamazonka-network-firewall" 'False) (C1 ('MetaCons "DeleteRuleGroupResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "ruleGroupResponse") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RuleGroupResponse)))

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_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.