{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DuplicateRecordFields #-}
{-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}
module Amazonka.Route53Resolver.Types.FirewallRuleGroupAssociation where
import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
import Amazonka.Route53Resolver.Types.FirewallRuleGroupAssociationStatus
import Amazonka.Route53Resolver.Types.MutationProtectionStatus
data FirewallRuleGroupAssociation = FirewallRuleGroupAssociation'
{
FirewallRuleGroupAssociation -> Maybe Text
creationTime :: Prelude.Maybe Prelude.Text,
FirewallRuleGroupAssociation
-> Maybe FirewallRuleGroupAssociationStatus
status :: Prelude.Maybe FirewallRuleGroupAssociationStatus,
FirewallRuleGroupAssociation -> Maybe MutationProtectionStatus
mutationProtection :: Prelude.Maybe MutationProtectionStatus,
FirewallRuleGroupAssociation -> Maybe Text
firewallRuleGroupId :: Prelude.Maybe Prelude.Text,
FirewallRuleGroupAssociation -> Maybe Int
priority :: Prelude.Maybe Prelude.Int,
FirewallRuleGroupAssociation -> Maybe Text
arn :: Prelude.Maybe Prelude.Text,
FirewallRuleGroupAssociation -> Maybe Text
vpcId :: Prelude.Maybe Prelude.Text,
FirewallRuleGroupAssociation -> Maybe Text
creatorRequestId :: Prelude.Maybe Prelude.Text,
FirewallRuleGroupAssociation -> Maybe Text
managedOwnerName :: Prelude.Maybe Prelude.Text,
FirewallRuleGroupAssociation -> Maybe Text
modificationTime :: Prelude.Maybe Prelude.Text,
FirewallRuleGroupAssociation -> Maybe Text
statusMessage :: Prelude.Maybe Prelude.Text,
FirewallRuleGroupAssociation -> Maybe Text
name :: Prelude.Maybe Prelude.Text,
FirewallRuleGroupAssociation -> Maybe Text
id :: Prelude.Maybe Prelude.Text
}
deriving (FirewallRuleGroupAssociation
-> FirewallRuleGroupAssociation -> Bool
(FirewallRuleGroupAssociation
-> FirewallRuleGroupAssociation -> Bool)
-> (FirewallRuleGroupAssociation
-> FirewallRuleGroupAssociation -> Bool)
-> Eq FirewallRuleGroupAssociation
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: FirewallRuleGroupAssociation
-> FirewallRuleGroupAssociation -> Bool
$c/= :: FirewallRuleGroupAssociation
-> FirewallRuleGroupAssociation -> Bool
== :: FirewallRuleGroupAssociation
-> FirewallRuleGroupAssociation -> Bool
$c== :: FirewallRuleGroupAssociation
-> FirewallRuleGroupAssociation -> Bool
Prelude.Eq, ReadPrec [FirewallRuleGroupAssociation]
ReadPrec FirewallRuleGroupAssociation
Int -> ReadS FirewallRuleGroupAssociation
ReadS [FirewallRuleGroupAssociation]
(Int -> ReadS FirewallRuleGroupAssociation)
-> ReadS [FirewallRuleGroupAssociation]
-> ReadPrec FirewallRuleGroupAssociation
-> ReadPrec [FirewallRuleGroupAssociation]
-> Read FirewallRuleGroupAssociation
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [FirewallRuleGroupAssociation]
$creadListPrec :: ReadPrec [FirewallRuleGroupAssociation]
readPrec :: ReadPrec FirewallRuleGroupAssociation
$creadPrec :: ReadPrec FirewallRuleGroupAssociation
readList :: ReadS [FirewallRuleGroupAssociation]
$creadList :: ReadS [FirewallRuleGroupAssociation]
readsPrec :: Int -> ReadS FirewallRuleGroupAssociation
$creadsPrec :: Int -> ReadS FirewallRuleGroupAssociation
Prelude.Read, Int -> FirewallRuleGroupAssociation -> ShowS
[FirewallRuleGroupAssociation] -> ShowS
FirewallRuleGroupAssociation -> String
(Int -> FirewallRuleGroupAssociation -> ShowS)
-> (FirewallRuleGroupAssociation -> String)
-> ([FirewallRuleGroupAssociation] -> ShowS)
-> Show FirewallRuleGroupAssociation
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [FirewallRuleGroupAssociation] -> ShowS
$cshowList :: [FirewallRuleGroupAssociation] -> ShowS
show :: FirewallRuleGroupAssociation -> String
$cshow :: FirewallRuleGroupAssociation -> String
showsPrec :: Int -> FirewallRuleGroupAssociation -> ShowS
$cshowsPrec :: Int -> FirewallRuleGroupAssociation -> ShowS
Prelude.Show, (forall x.
FirewallRuleGroupAssociation -> Rep FirewallRuleGroupAssociation x)
-> (forall x.
Rep FirewallRuleGroupAssociation x -> FirewallRuleGroupAssociation)
-> Generic FirewallRuleGroupAssociation
forall x.
Rep FirewallRuleGroupAssociation x -> FirewallRuleGroupAssociation
forall x.
FirewallRuleGroupAssociation -> Rep FirewallRuleGroupAssociation x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep FirewallRuleGroupAssociation x -> FirewallRuleGroupAssociation
$cfrom :: forall x.
FirewallRuleGroupAssociation -> Rep FirewallRuleGroupAssociation x
Prelude.Generic)
newFirewallRuleGroupAssociation ::
FirewallRuleGroupAssociation
newFirewallRuleGroupAssociation :: FirewallRuleGroupAssociation
newFirewallRuleGroupAssociation =
FirewallRuleGroupAssociation' :: Maybe Text
-> Maybe FirewallRuleGroupAssociationStatus
-> Maybe MutationProtectionStatus
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> FirewallRuleGroupAssociation
FirewallRuleGroupAssociation'
{ $sel:creationTime:FirewallRuleGroupAssociation' :: Maybe Text
creationTime =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:status:FirewallRuleGroupAssociation' :: Maybe FirewallRuleGroupAssociationStatus
status = Maybe FirewallRuleGroupAssociationStatus
forall a. Maybe a
Prelude.Nothing,
$sel:mutationProtection:FirewallRuleGroupAssociation' :: Maybe MutationProtectionStatus
mutationProtection = Maybe MutationProtectionStatus
forall a. Maybe a
Prelude.Nothing,
$sel:firewallRuleGroupId:FirewallRuleGroupAssociation' :: Maybe Text
firewallRuleGroupId = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:priority:FirewallRuleGroupAssociation' :: Maybe Int
priority = Maybe Int
forall a. Maybe a
Prelude.Nothing,
$sel:arn:FirewallRuleGroupAssociation' :: Maybe Text
arn = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:vpcId:FirewallRuleGroupAssociation' :: Maybe Text
vpcId = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:creatorRequestId:FirewallRuleGroupAssociation' :: Maybe Text
creatorRequestId = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:managedOwnerName:FirewallRuleGroupAssociation' :: Maybe Text
managedOwnerName = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:modificationTime:FirewallRuleGroupAssociation' :: Maybe Text
modificationTime = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:statusMessage:FirewallRuleGroupAssociation' :: Maybe Text
statusMessage = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:name:FirewallRuleGroupAssociation' :: Maybe Text
name = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:id:FirewallRuleGroupAssociation' :: Maybe Text
id = Maybe Text
forall a. Maybe a
Prelude.Nothing
}
firewallRuleGroupAssociation_creationTime :: Lens.Lens' FirewallRuleGroupAssociation (Prelude.Maybe Prelude.Text)
firewallRuleGroupAssociation_creationTime :: (Maybe Text -> f (Maybe Text))
-> FirewallRuleGroupAssociation -> f FirewallRuleGroupAssociation
firewallRuleGroupAssociation_creationTime = (FirewallRuleGroupAssociation -> Maybe Text)
-> (FirewallRuleGroupAssociation
-> Maybe Text -> FirewallRuleGroupAssociation)
-> Lens
FirewallRuleGroupAssociation
FirewallRuleGroupAssociation
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\FirewallRuleGroupAssociation' {Maybe Text
creationTime :: Maybe Text
$sel:creationTime:FirewallRuleGroupAssociation' :: FirewallRuleGroupAssociation -> Maybe Text
creationTime} -> Maybe Text
creationTime) (\s :: FirewallRuleGroupAssociation
s@FirewallRuleGroupAssociation' {} Maybe Text
a -> FirewallRuleGroupAssociation
s {$sel:creationTime:FirewallRuleGroupAssociation' :: Maybe Text
creationTime = Maybe Text
a} :: FirewallRuleGroupAssociation)
firewallRuleGroupAssociation_status :: Lens.Lens' FirewallRuleGroupAssociation (Prelude.Maybe FirewallRuleGroupAssociationStatus)
firewallRuleGroupAssociation_status :: (Maybe FirewallRuleGroupAssociationStatus
-> f (Maybe FirewallRuleGroupAssociationStatus))
-> FirewallRuleGroupAssociation -> f FirewallRuleGroupAssociation
firewallRuleGroupAssociation_status = (FirewallRuleGroupAssociation
-> Maybe FirewallRuleGroupAssociationStatus)
-> (FirewallRuleGroupAssociation
-> Maybe FirewallRuleGroupAssociationStatus
-> FirewallRuleGroupAssociation)
-> Lens
FirewallRuleGroupAssociation
FirewallRuleGroupAssociation
(Maybe FirewallRuleGroupAssociationStatus)
(Maybe FirewallRuleGroupAssociationStatus)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\FirewallRuleGroupAssociation' {Maybe FirewallRuleGroupAssociationStatus
status :: Maybe FirewallRuleGroupAssociationStatus
$sel:status:FirewallRuleGroupAssociation' :: FirewallRuleGroupAssociation
-> Maybe FirewallRuleGroupAssociationStatus
status} -> Maybe FirewallRuleGroupAssociationStatus
status) (\s :: FirewallRuleGroupAssociation
s@FirewallRuleGroupAssociation' {} Maybe FirewallRuleGroupAssociationStatus
a -> FirewallRuleGroupAssociation
s {$sel:status:FirewallRuleGroupAssociation' :: Maybe FirewallRuleGroupAssociationStatus
status = Maybe FirewallRuleGroupAssociationStatus
a} :: FirewallRuleGroupAssociation)
firewallRuleGroupAssociation_mutationProtection :: Lens.Lens' FirewallRuleGroupAssociation (Prelude.Maybe MutationProtectionStatus)
firewallRuleGroupAssociation_mutationProtection :: (Maybe MutationProtectionStatus
-> f (Maybe MutationProtectionStatus))
-> FirewallRuleGroupAssociation -> f FirewallRuleGroupAssociation
firewallRuleGroupAssociation_mutationProtection = (FirewallRuleGroupAssociation -> Maybe MutationProtectionStatus)
-> (FirewallRuleGroupAssociation
-> Maybe MutationProtectionStatus -> FirewallRuleGroupAssociation)
-> Lens
FirewallRuleGroupAssociation
FirewallRuleGroupAssociation
(Maybe MutationProtectionStatus)
(Maybe MutationProtectionStatus)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\FirewallRuleGroupAssociation' {Maybe MutationProtectionStatus
mutationProtection :: Maybe MutationProtectionStatus
$sel:mutationProtection:FirewallRuleGroupAssociation' :: FirewallRuleGroupAssociation -> Maybe MutationProtectionStatus
mutationProtection} -> Maybe MutationProtectionStatus
mutationProtection) (\s :: FirewallRuleGroupAssociation
s@FirewallRuleGroupAssociation' {} Maybe MutationProtectionStatus
a -> FirewallRuleGroupAssociation
s {$sel:mutationProtection:FirewallRuleGroupAssociation' :: Maybe MutationProtectionStatus
mutationProtection = Maybe MutationProtectionStatus
a} :: FirewallRuleGroupAssociation)
firewallRuleGroupAssociation_firewallRuleGroupId :: Lens.Lens' FirewallRuleGroupAssociation (Prelude.Maybe Prelude.Text)
firewallRuleGroupAssociation_firewallRuleGroupId :: (Maybe Text -> f (Maybe Text))
-> FirewallRuleGroupAssociation -> f FirewallRuleGroupAssociation
firewallRuleGroupAssociation_firewallRuleGroupId = (FirewallRuleGroupAssociation -> Maybe Text)
-> (FirewallRuleGroupAssociation
-> Maybe Text -> FirewallRuleGroupAssociation)
-> Lens
FirewallRuleGroupAssociation
FirewallRuleGroupAssociation
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\FirewallRuleGroupAssociation' {Maybe Text
firewallRuleGroupId :: Maybe Text
$sel:firewallRuleGroupId:FirewallRuleGroupAssociation' :: FirewallRuleGroupAssociation -> Maybe Text
firewallRuleGroupId} -> Maybe Text
firewallRuleGroupId) (\s :: FirewallRuleGroupAssociation
s@FirewallRuleGroupAssociation' {} Maybe Text
a -> FirewallRuleGroupAssociation
s {$sel:firewallRuleGroupId:FirewallRuleGroupAssociation' :: Maybe Text
firewallRuleGroupId = Maybe Text
a} :: FirewallRuleGroupAssociation)
firewallRuleGroupAssociation_priority :: Lens.Lens' FirewallRuleGroupAssociation (Prelude.Maybe Prelude.Int)
firewallRuleGroupAssociation_priority :: (Maybe Int -> f (Maybe Int))
-> FirewallRuleGroupAssociation -> f FirewallRuleGroupAssociation
firewallRuleGroupAssociation_priority = (FirewallRuleGroupAssociation -> Maybe Int)
-> (FirewallRuleGroupAssociation
-> Maybe Int -> FirewallRuleGroupAssociation)
-> Lens
FirewallRuleGroupAssociation
FirewallRuleGroupAssociation
(Maybe Int)
(Maybe Int)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\FirewallRuleGroupAssociation' {Maybe Int
priority :: Maybe Int
$sel:priority:FirewallRuleGroupAssociation' :: FirewallRuleGroupAssociation -> Maybe Int
priority} -> Maybe Int
priority) (\s :: FirewallRuleGroupAssociation
s@FirewallRuleGroupAssociation' {} Maybe Int
a -> FirewallRuleGroupAssociation
s {$sel:priority:FirewallRuleGroupAssociation' :: Maybe Int
priority = Maybe Int
a} :: FirewallRuleGroupAssociation)
firewallRuleGroupAssociation_arn :: Lens.Lens' FirewallRuleGroupAssociation (Prelude.Maybe Prelude.Text)
firewallRuleGroupAssociation_arn :: (Maybe Text -> f (Maybe Text))
-> FirewallRuleGroupAssociation -> f FirewallRuleGroupAssociation
firewallRuleGroupAssociation_arn = (FirewallRuleGroupAssociation -> Maybe Text)
-> (FirewallRuleGroupAssociation
-> Maybe Text -> FirewallRuleGroupAssociation)
-> Lens
FirewallRuleGroupAssociation
FirewallRuleGroupAssociation
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\FirewallRuleGroupAssociation' {Maybe Text
arn :: Maybe Text
$sel:arn:FirewallRuleGroupAssociation' :: FirewallRuleGroupAssociation -> Maybe Text
arn} -> Maybe Text
arn) (\s :: FirewallRuleGroupAssociation
s@FirewallRuleGroupAssociation' {} Maybe Text
a -> FirewallRuleGroupAssociation
s {$sel:arn:FirewallRuleGroupAssociation' :: Maybe Text
arn = Maybe Text
a} :: FirewallRuleGroupAssociation)
firewallRuleGroupAssociation_vpcId :: Lens.Lens' FirewallRuleGroupAssociation (Prelude.Maybe Prelude.Text)
firewallRuleGroupAssociation_vpcId :: (Maybe Text -> f (Maybe Text))
-> FirewallRuleGroupAssociation -> f FirewallRuleGroupAssociation
firewallRuleGroupAssociation_vpcId = (FirewallRuleGroupAssociation -> Maybe Text)
-> (FirewallRuleGroupAssociation
-> Maybe Text -> FirewallRuleGroupAssociation)
-> Lens
FirewallRuleGroupAssociation
FirewallRuleGroupAssociation
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\FirewallRuleGroupAssociation' {Maybe Text
vpcId :: Maybe Text
$sel:vpcId:FirewallRuleGroupAssociation' :: FirewallRuleGroupAssociation -> Maybe Text
vpcId} -> Maybe Text
vpcId) (\s :: FirewallRuleGroupAssociation
s@FirewallRuleGroupAssociation' {} Maybe Text
a -> FirewallRuleGroupAssociation
s {$sel:vpcId:FirewallRuleGroupAssociation' :: Maybe Text
vpcId = Maybe Text
a} :: FirewallRuleGroupAssociation)
firewallRuleGroupAssociation_creatorRequestId :: Lens.Lens' FirewallRuleGroupAssociation (Prelude.Maybe Prelude.Text)
firewallRuleGroupAssociation_creatorRequestId :: (Maybe Text -> f (Maybe Text))
-> FirewallRuleGroupAssociation -> f FirewallRuleGroupAssociation
firewallRuleGroupAssociation_creatorRequestId = (FirewallRuleGroupAssociation -> Maybe Text)
-> (FirewallRuleGroupAssociation
-> Maybe Text -> FirewallRuleGroupAssociation)
-> Lens
FirewallRuleGroupAssociation
FirewallRuleGroupAssociation
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\FirewallRuleGroupAssociation' {Maybe Text
creatorRequestId :: Maybe Text
$sel:creatorRequestId:FirewallRuleGroupAssociation' :: FirewallRuleGroupAssociation -> Maybe Text
creatorRequestId} -> Maybe Text
creatorRequestId) (\s :: FirewallRuleGroupAssociation
s@FirewallRuleGroupAssociation' {} Maybe Text
a -> FirewallRuleGroupAssociation
s {$sel:creatorRequestId:FirewallRuleGroupAssociation' :: Maybe Text
creatorRequestId = Maybe Text
a} :: FirewallRuleGroupAssociation)
firewallRuleGroupAssociation_managedOwnerName :: Lens.Lens' FirewallRuleGroupAssociation (Prelude.Maybe Prelude.Text)
firewallRuleGroupAssociation_managedOwnerName :: (Maybe Text -> f (Maybe Text))
-> FirewallRuleGroupAssociation -> f FirewallRuleGroupAssociation
firewallRuleGroupAssociation_managedOwnerName = (FirewallRuleGroupAssociation -> Maybe Text)
-> (FirewallRuleGroupAssociation
-> Maybe Text -> FirewallRuleGroupAssociation)
-> Lens
FirewallRuleGroupAssociation
FirewallRuleGroupAssociation
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\FirewallRuleGroupAssociation' {Maybe Text
managedOwnerName :: Maybe Text
$sel:managedOwnerName:FirewallRuleGroupAssociation' :: FirewallRuleGroupAssociation -> Maybe Text
managedOwnerName} -> Maybe Text
managedOwnerName) (\s :: FirewallRuleGroupAssociation
s@FirewallRuleGroupAssociation' {} Maybe Text
a -> FirewallRuleGroupAssociation
s {$sel:managedOwnerName:FirewallRuleGroupAssociation' :: Maybe Text
managedOwnerName = Maybe Text
a} :: FirewallRuleGroupAssociation)
firewallRuleGroupAssociation_modificationTime :: Lens.Lens' FirewallRuleGroupAssociation (Prelude.Maybe Prelude.Text)
firewallRuleGroupAssociation_modificationTime :: (Maybe Text -> f (Maybe Text))
-> FirewallRuleGroupAssociation -> f FirewallRuleGroupAssociation
firewallRuleGroupAssociation_modificationTime = (FirewallRuleGroupAssociation -> Maybe Text)
-> (FirewallRuleGroupAssociation
-> Maybe Text -> FirewallRuleGroupAssociation)
-> Lens
FirewallRuleGroupAssociation
FirewallRuleGroupAssociation
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\FirewallRuleGroupAssociation' {Maybe Text
modificationTime :: Maybe Text
$sel:modificationTime:FirewallRuleGroupAssociation' :: FirewallRuleGroupAssociation -> Maybe Text
modificationTime} -> Maybe Text
modificationTime) (\s :: FirewallRuleGroupAssociation
s@FirewallRuleGroupAssociation' {} Maybe Text
a -> FirewallRuleGroupAssociation
s {$sel:modificationTime:FirewallRuleGroupAssociation' :: Maybe Text
modificationTime = Maybe Text
a} :: FirewallRuleGroupAssociation)
firewallRuleGroupAssociation_statusMessage :: Lens.Lens' FirewallRuleGroupAssociation (Prelude.Maybe Prelude.Text)
firewallRuleGroupAssociation_statusMessage :: (Maybe Text -> f (Maybe Text))
-> FirewallRuleGroupAssociation -> f FirewallRuleGroupAssociation
firewallRuleGroupAssociation_statusMessage = (FirewallRuleGroupAssociation -> Maybe Text)
-> (FirewallRuleGroupAssociation
-> Maybe Text -> FirewallRuleGroupAssociation)
-> Lens
FirewallRuleGroupAssociation
FirewallRuleGroupAssociation
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\FirewallRuleGroupAssociation' {Maybe Text
statusMessage :: Maybe Text
$sel:statusMessage:FirewallRuleGroupAssociation' :: FirewallRuleGroupAssociation -> Maybe Text
statusMessage} -> Maybe Text
statusMessage) (\s :: FirewallRuleGroupAssociation
s@FirewallRuleGroupAssociation' {} Maybe Text
a -> FirewallRuleGroupAssociation
s {$sel:statusMessage:FirewallRuleGroupAssociation' :: Maybe Text
statusMessage = Maybe Text
a} :: FirewallRuleGroupAssociation)
firewallRuleGroupAssociation_name :: Lens.Lens' FirewallRuleGroupAssociation (Prelude.Maybe Prelude.Text)
firewallRuleGroupAssociation_name :: (Maybe Text -> f (Maybe Text))
-> FirewallRuleGroupAssociation -> f FirewallRuleGroupAssociation
firewallRuleGroupAssociation_name = (FirewallRuleGroupAssociation -> Maybe Text)
-> (FirewallRuleGroupAssociation
-> Maybe Text -> FirewallRuleGroupAssociation)
-> Lens
FirewallRuleGroupAssociation
FirewallRuleGroupAssociation
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\FirewallRuleGroupAssociation' {Maybe Text
name :: Maybe Text
$sel:name:FirewallRuleGroupAssociation' :: FirewallRuleGroupAssociation -> Maybe Text
name} -> Maybe Text
name) (\s :: FirewallRuleGroupAssociation
s@FirewallRuleGroupAssociation' {} Maybe Text
a -> FirewallRuleGroupAssociation
s {$sel:name:FirewallRuleGroupAssociation' :: Maybe Text
name = Maybe Text
a} :: FirewallRuleGroupAssociation)
firewallRuleGroupAssociation_id :: Lens.Lens' FirewallRuleGroupAssociation (Prelude.Maybe Prelude.Text)
firewallRuleGroupAssociation_id :: (Maybe Text -> f (Maybe Text))
-> FirewallRuleGroupAssociation -> f FirewallRuleGroupAssociation
firewallRuleGroupAssociation_id = (FirewallRuleGroupAssociation -> Maybe Text)
-> (FirewallRuleGroupAssociation
-> Maybe Text -> FirewallRuleGroupAssociation)
-> Lens
FirewallRuleGroupAssociation
FirewallRuleGroupAssociation
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\FirewallRuleGroupAssociation' {Maybe Text
id :: Maybe Text
$sel:id:FirewallRuleGroupAssociation' :: FirewallRuleGroupAssociation -> Maybe Text
id} -> Maybe Text
id) (\s :: FirewallRuleGroupAssociation
s@FirewallRuleGroupAssociation' {} Maybe Text
a -> FirewallRuleGroupAssociation
s {$sel:id:FirewallRuleGroupAssociation' :: Maybe Text
id = Maybe Text
a} :: FirewallRuleGroupAssociation)
instance Core.FromJSON FirewallRuleGroupAssociation where
parseJSON :: Value -> Parser FirewallRuleGroupAssociation
parseJSON =
String
-> (Object -> Parser FirewallRuleGroupAssociation)
-> Value
-> Parser FirewallRuleGroupAssociation
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Core.withObject
String
"FirewallRuleGroupAssociation"
( \Object
x ->
Maybe Text
-> Maybe FirewallRuleGroupAssociationStatus
-> Maybe MutationProtectionStatus
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> FirewallRuleGroupAssociation
FirewallRuleGroupAssociation'
(Maybe Text
-> Maybe FirewallRuleGroupAssociationStatus
-> Maybe MutationProtectionStatus
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> FirewallRuleGroupAssociation)
-> Parser (Maybe Text)
-> Parser
(Maybe FirewallRuleGroupAssociationStatus
-> Maybe MutationProtectionStatus
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> FirewallRuleGroupAssociation)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"CreationTime")
Parser
(Maybe FirewallRuleGroupAssociationStatus
-> Maybe MutationProtectionStatus
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> FirewallRuleGroupAssociation)
-> Parser (Maybe FirewallRuleGroupAssociationStatus)
-> Parser
(Maybe MutationProtectionStatus
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> FirewallRuleGroupAssociation)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe FirewallRuleGroupAssociationStatus)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"Status")
Parser
(Maybe MutationProtectionStatus
-> Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> FirewallRuleGroupAssociation)
-> Parser (Maybe MutationProtectionStatus)
-> Parser
(Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> FirewallRuleGroupAssociation)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe MutationProtectionStatus)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"MutationProtection")
Parser
(Maybe Text
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> FirewallRuleGroupAssociation)
-> Parser (Maybe Text)
-> Parser
(Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> FirewallRuleGroupAssociation)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"FirewallRuleGroupId")
Parser
(Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> FirewallRuleGroupAssociation)
-> Parser (Maybe Int)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> FirewallRuleGroupAssociation)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Int)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"Priority")
Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> FirewallRuleGroupAssociation)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> FirewallRuleGroupAssociation)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"Arn")
Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> FirewallRuleGroupAssociation)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> FirewallRuleGroupAssociation)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"VpcId")
Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> FirewallRuleGroupAssociation)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> FirewallRuleGroupAssociation)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"CreatorRequestId")
Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> FirewallRuleGroupAssociation)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> FirewallRuleGroupAssociation)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"ManagedOwnerName")
Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> FirewallRuleGroupAssociation)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe Text -> Maybe Text -> FirewallRuleGroupAssociation)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"ModificationTime")
Parser
(Maybe Text
-> Maybe Text -> Maybe Text -> FirewallRuleGroupAssociation)
-> Parser (Maybe Text)
-> Parser
(Maybe Text -> Maybe Text -> FirewallRuleGroupAssociation)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"StatusMessage")
Parser (Maybe Text -> Maybe Text -> FirewallRuleGroupAssociation)
-> Parser (Maybe Text)
-> Parser (Maybe Text -> FirewallRuleGroupAssociation)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"Name")
Parser (Maybe Text -> FirewallRuleGroupAssociation)
-> Parser (Maybe Text) -> Parser FirewallRuleGroupAssociation
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"Id")
)
instance
Prelude.Hashable
FirewallRuleGroupAssociation
instance Prelude.NFData FirewallRuleGroupAssociation