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.Types.RuleGroupResponse

Description

 
Synopsis

Documentation

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

See: newRuleGroupResponse smart constructor.

Constructors

RuleGroupResponse' 

Fields

  • numberOfAssociations :: Maybe Int

    The number of firewall policies that use this rule group.

  • capacity :: Maybe Int

    The maximum operating resources that this rule group can use. Rule group capacity is fixed at creation. When you update a rule group, you are limited to this capacity. When you reference a rule group from a firewall policy, Network Firewall reserves this capacity for the rule group.

    You can retrieve the capacity that would be required for a rule group before you create the rule group by calling CreateRuleGroup with DryRun set to TRUE.

  • consumedCapacity :: Maybe Int

    The number of capacity units currently consumed by the rule group rules.

  • ruleGroupStatus :: Maybe ResourceStatus

    Detailed information about the current status of a rule group.

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

  • description :: Maybe Text

    A description of the rule group.

  • tags :: Maybe (NonEmpty Tag)

    The key:value pairs to associate with the resource.

  • ruleGroupArn :: Text

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

    If this response is for a create request that had DryRun set to TRUE, then this ARN is a placeholder that isn't attached to a valid resource.

  • ruleGroupName :: Text

    The descriptive name of the rule group. You can't change the name of a rule group after you create it.

  • ruleGroupId :: Text

    The unique identifier for the rule group.

Instances

Instances details
Eq RuleGroupResponse Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleGroupResponse

Read RuleGroupResponse Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleGroupResponse

Show RuleGroupResponse Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleGroupResponse

Generic RuleGroupResponse Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleGroupResponse

Associated Types

type Rep RuleGroupResponse :: Type -> Type #

NFData RuleGroupResponse Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleGroupResponse

Methods

rnf :: RuleGroupResponse -> () #

Hashable RuleGroupResponse Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleGroupResponse

FromJSON RuleGroupResponse Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleGroupResponse

type Rep RuleGroupResponse Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.RuleGroupResponse

type Rep RuleGroupResponse = D1 ('MetaData "RuleGroupResponse" "Amazonka.NetworkFirewall.Types.RuleGroupResponse" "libZSservicesZSamazonka-network-firewallZSamazonka-network-firewall" 'False) (C1 ('MetaCons "RuleGroupResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "numberOfAssociations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "capacity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 ('MetaSel ('Just "consumedCapacity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "ruleGroupStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResourceStatus)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RuleGroupType))))) :*: ((S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Tag)))) :*: (S1 ('MetaSel ('Just "ruleGroupArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "ruleGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "ruleGroupId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))))

newRuleGroupResponse Source #

Create a value of RuleGroupResponse 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:numberOfAssociations:RuleGroupResponse', ruleGroupResponse_numberOfAssociations - The number of firewall policies that use this rule group.

$sel:capacity:RuleGroupResponse', ruleGroupResponse_capacity - The maximum operating resources that this rule group can use. Rule group capacity is fixed at creation. When you update a rule group, you are limited to this capacity. When you reference a rule group from a firewall policy, Network Firewall reserves this capacity for the rule group.

You can retrieve the capacity that would be required for a rule group before you create the rule group by calling CreateRuleGroup with DryRun set to TRUE.

$sel:consumedCapacity:RuleGroupResponse', ruleGroupResponse_consumedCapacity - The number of capacity units currently consumed by the rule group rules.

$sel:ruleGroupStatus:RuleGroupResponse', ruleGroupResponse_ruleGroupStatus - Detailed information about the current status of a rule group.

$sel:type':RuleGroupResponse', ruleGroupResponse_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.

$sel:description:RuleGroupResponse', ruleGroupResponse_description - A description of the rule group.

$sel:tags:RuleGroupResponse', ruleGroupResponse_tags - The key:value pairs to associate with the resource.

$sel:ruleGroupArn:RuleGroupResponse', ruleGroupResponse_ruleGroupArn - The Amazon Resource Name (ARN) of the rule group.

If this response is for a create request that had DryRun set to TRUE, then this ARN is a placeholder that isn't attached to a valid resource.

$sel:ruleGroupName:RuleGroupResponse', ruleGroupResponse_ruleGroupName - The descriptive name of the rule group. You can't change the name of a rule group after you create it.

$sel:ruleGroupId:RuleGroupResponse', ruleGroupResponse_ruleGroupId - The unique identifier for the rule group.

ruleGroupResponse_numberOfAssociations :: Lens' RuleGroupResponse (Maybe Int) Source #

The number of firewall policies that use this rule group.

ruleGroupResponse_capacity :: Lens' RuleGroupResponse (Maybe Int) Source #

The maximum operating resources that this rule group can use. Rule group capacity is fixed at creation. When you update a rule group, you are limited to this capacity. When you reference a rule group from a firewall policy, Network Firewall reserves this capacity for the rule group.

You can retrieve the capacity that would be required for a rule group before you create the rule group by calling CreateRuleGroup with DryRun set to TRUE.

ruleGroupResponse_consumedCapacity :: Lens' RuleGroupResponse (Maybe Int) Source #

The number of capacity units currently consumed by the rule group rules.

ruleGroupResponse_ruleGroupStatus :: Lens' RuleGroupResponse (Maybe ResourceStatus) Source #

Detailed information about the current status of a rule group.

ruleGroupResponse_type :: Lens' RuleGroupResponse (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.

ruleGroupResponse_tags :: Lens' RuleGroupResponse (Maybe (NonEmpty Tag)) Source #

The key:value pairs to associate with the resource.

ruleGroupResponse_ruleGroupArn :: Lens' RuleGroupResponse Text Source #

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

If this response is for a create request that had DryRun set to TRUE, then this ARN is a placeholder that isn't attached to a valid resource.

ruleGroupResponse_ruleGroupName :: Lens' RuleGroupResponse Text Source #

The descriptive name of the rule group. You can't change the name of a rule group after you create it.

ruleGroupResponse_ruleGroupId :: Lens' RuleGroupResponse Text Source #

The unique identifier for the rule group.