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

Description

 
Synopsis

Documentation

data FirewallPolicyResponse Source #

The high-level properties of a firewall policy. This, along with the FirewallPolicy, define the policy. You can retrieve all objects for a firewall policy by calling DescribeFirewallPolicy.

See: newFirewallPolicyResponse smart constructor.

Constructors

FirewallPolicyResponse' 

Fields

Instances

Instances details
FromJSON FirewallPolicyResponse Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.FirewallPolicyResponse

Generic FirewallPolicyResponse Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.FirewallPolicyResponse

Associated Types

type Rep FirewallPolicyResponse :: Type -> Type #

Read FirewallPolicyResponse Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.FirewallPolicyResponse

Show FirewallPolicyResponse Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.FirewallPolicyResponse

NFData FirewallPolicyResponse Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.FirewallPolicyResponse

Methods

rnf :: FirewallPolicyResponse -> () #

Eq FirewallPolicyResponse Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.FirewallPolicyResponse

Hashable FirewallPolicyResponse Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.FirewallPolicyResponse

type Rep FirewallPolicyResponse Source # 
Instance details

Defined in Amazonka.NetworkFirewall.Types.FirewallPolicyResponse

type Rep FirewallPolicyResponse = D1 ('MetaData "FirewallPolicyResponse" "Amazonka.NetworkFirewall.Types.FirewallPolicyResponse" "amazonka-network-firewall-2.0-4y6HybZBSNcEwGPO5AYVfm" 'False) (C1 ('MetaCons "FirewallPolicyResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "consumedStatefulRuleCapacity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "consumedStatelessRuleCapacity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "encryptionConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EncryptionConfiguration)) :*: S1 ('MetaSel ('Just "firewallPolicyStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResourceStatus))))) :*: ((S1 ('MetaSel ('Just "lastModifiedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "numberOfAssociations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Tag))))) :*: (S1 ('MetaSel ('Just "firewallPolicyName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "firewallPolicyArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "firewallPolicyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))))

newFirewallPolicyResponse Source #

Create a value of FirewallPolicyResponse 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:consumedStatefulRuleCapacity:FirewallPolicyResponse', firewallPolicyResponse_consumedStatefulRuleCapacity - The number of capacity units currently consumed by the policy's stateful rules.

$sel:consumedStatelessRuleCapacity:FirewallPolicyResponse', firewallPolicyResponse_consumedStatelessRuleCapacity - The number of capacity units currently consumed by the policy's stateless rules.

$sel:description:FirewallPolicyResponse', firewallPolicyResponse_description - A description of the firewall policy.

$sel:encryptionConfiguration:FirewallPolicyResponse', firewallPolicyResponse_encryptionConfiguration - A complex type that contains the Amazon Web Services KMS encryption configuration settings for your firewall policy.

$sel:firewallPolicyStatus:FirewallPolicyResponse', firewallPolicyResponse_firewallPolicyStatus - The current status of the firewall policy. You can retrieve this for a firewall policy by calling DescribeFirewallPolicy and providing the firewall policy's name or ARN.

$sel:lastModifiedTime:FirewallPolicyResponse', firewallPolicyResponse_lastModifiedTime - The last time that the firewall policy was changed.

$sel:numberOfAssociations:FirewallPolicyResponse', firewallPolicyResponse_numberOfAssociations - The number of firewalls that are associated with this firewall policy.

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

$sel:firewallPolicyName:FirewallPolicyResponse', firewallPolicyResponse_firewallPolicyName - The descriptive name of the firewall policy. You can't change the name of a firewall policy after you create it.

$sel:firewallPolicyArn:FirewallPolicyResponse', firewallPolicyResponse_firewallPolicyArn - The Amazon Resource Name (ARN) of the firewall policy.

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:firewallPolicyId:FirewallPolicyResponse', firewallPolicyResponse_firewallPolicyId - The unique identifier for the firewall policy.

firewallPolicyResponse_consumedStatefulRuleCapacity :: Lens' FirewallPolicyResponse (Maybe Int) Source #

The number of capacity units currently consumed by the policy's stateful rules.

firewallPolicyResponse_consumedStatelessRuleCapacity :: Lens' FirewallPolicyResponse (Maybe Int) Source #

The number of capacity units currently consumed by the policy's stateless rules.

firewallPolicyResponse_encryptionConfiguration :: Lens' FirewallPolicyResponse (Maybe EncryptionConfiguration) Source #

A complex type that contains the Amazon Web Services KMS encryption configuration settings for your firewall policy.

firewallPolicyResponse_firewallPolicyStatus :: Lens' FirewallPolicyResponse (Maybe ResourceStatus) Source #

The current status of the firewall policy. You can retrieve this for a firewall policy by calling DescribeFirewallPolicy and providing the firewall policy's name or ARN.

firewallPolicyResponse_lastModifiedTime :: Lens' FirewallPolicyResponse (Maybe UTCTime) Source #

The last time that the firewall policy was changed.

firewallPolicyResponse_numberOfAssociations :: Lens' FirewallPolicyResponse (Maybe Int) Source #

The number of firewalls that are associated with this firewall policy.

firewallPolicyResponse_tags :: Lens' FirewallPolicyResponse (Maybe (NonEmpty Tag)) Source #

The key:value pairs to associate with the resource.

firewallPolicyResponse_firewallPolicyName :: Lens' FirewallPolicyResponse Text Source #

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

firewallPolicyResponse_firewallPolicyArn :: Lens' FirewallPolicyResponse Text Source #

The Amazon Resource Name (ARN) of the firewall policy.

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.

firewallPolicyResponse_firewallPolicyId :: Lens' FirewallPolicyResponse Text Source #

The unique identifier for the firewall policy.