amazonka-network-firewall-2.0: Amazon Network Firewall SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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.

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

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

Instances

Instances details
ToJSON DeleteRuleGroup Source # 
Instance details

Defined in Amazonka.NetworkFirewall.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

AWSRequest DeleteRuleGroup Source # 
Instance details

Defined in Amazonka.NetworkFirewall.DeleteRuleGroup

Associated Types

type AWSResponse DeleteRuleGroup #

Generic DeleteRuleGroup Source # 
Instance details

Defined in Amazonka.NetworkFirewall.DeleteRuleGroup

Associated Types

type Rep DeleteRuleGroup :: Type -> Type #

Read DeleteRuleGroup Source # 
Instance details

Defined in Amazonka.NetworkFirewall.DeleteRuleGroup

Show DeleteRuleGroup Source # 
Instance details

Defined in Amazonka.NetworkFirewall.DeleteRuleGroup

NFData DeleteRuleGroup Source # 
Instance details

Defined in Amazonka.NetworkFirewall.DeleteRuleGroup

Methods

rnf :: DeleteRuleGroup -> () #

Eq DeleteRuleGroup Source # 
Instance details

Defined in Amazonka.NetworkFirewall.DeleteRuleGroup

Hashable DeleteRuleGroup Source # 
Instance details

Defined in Amazonka.NetworkFirewall.DeleteRuleGroup

type AWSResponse 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" "amazonka-network-firewall-2.0-4y6HybZBSNcEwGPO5AYVfm" 'False) (C1 ('MetaCons "DeleteRuleGroup'" 'PrefixI 'True) (S1 ('MetaSel ('Just "ruleGroupArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "ruleGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RuleGroupType)))))

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:

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.

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.

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.

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

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.

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
Generic DeleteRuleGroupResponse Source # 
Instance details

Defined in Amazonka.NetworkFirewall.DeleteRuleGroup

Associated Types

type Rep DeleteRuleGroupResponse :: Type -> Type #

Read DeleteRuleGroupResponse Source # 
Instance details

Defined in Amazonka.NetworkFirewall.DeleteRuleGroup

Show DeleteRuleGroupResponse Source # 
Instance details

Defined in Amazonka.NetworkFirewall.DeleteRuleGroup

NFData DeleteRuleGroupResponse Source # 
Instance details

Defined in Amazonka.NetworkFirewall.DeleteRuleGroup

Methods

rnf :: DeleteRuleGroupResponse -> () #

Eq DeleteRuleGroupResponse Source # 
Instance details

Defined in Amazonka.NetworkFirewall.DeleteRuleGroup

type Rep DeleteRuleGroupResponse Source # 
Instance details

Defined in Amazonka.NetworkFirewall.DeleteRuleGroup

type Rep DeleteRuleGroupResponse = D1 ('MetaData "DeleteRuleGroupResponse" "Amazonka.NetworkFirewall.DeleteRuleGroup" "amazonka-network-firewall-2.0-4y6HybZBSNcEwGPO5AYVfm" '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.