{-# 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.FMS.Types.NetworkFirewallInvalidRouteConfigurationViolation where
import qualified Amazonka.Core as Core
import Amazonka.FMS.Types.ExpectedRoute
import Amazonka.FMS.Types.Route
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
data NetworkFirewallInvalidRouteConfigurationViolation = NetworkFirewallInvalidRouteConfigurationViolation'
{
NetworkFirewallInvalidRouteConfigurationViolation -> Maybe [Route]
actualInternetGatewayRoutes :: Prelude.Maybe [Route],
NetworkFirewallInvalidRouteConfigurationViolation -> Maybe Text
routeTableId :: Prelude.Maybe Prelude.Text,
NetworkFirewallInvalidRouteConfigurationViolation -> Maybe [Text]
affectedSubnets :: Prelude.Maybe [Prelude.Text],
NetworkFirewallInvalidRouteConfigurationViolation -> Maybe Text
vpcId :: Prelude.Maybe Prelude.Text,
NetworkFirewallInvalidRouteConfigurationViolation -> Maybe Text
actualFirewallEndpoint :: Prelude.Maybe Prelude.Text,
NetworkFirewallInvalidRouteConfigurationViolation -> Maybe Text
expectedFirewallSubnetId :: Prelude.Maybe Prelude.Text,
NetworkFirewallInvalidRouteConfigurationViolation
-> Maybe [ExpectedRoute]
expectedFirewallSubnetRoutes :: Prelude.Maybe [ExpectedRoute],
NetworkFirewallInvalidRouteConfigurationViolation
-> Maybe [ExpectedRoute]
expectedInternetGatewayRoutes :: Prelude.Maybe [ExpectedRoute],
NetworkFirewallInvalidRouteConfigurationViolation -> Maybe Text
currentInternetGatewayRouteTable :: Prelude.Maybe Prelude.Text,
NetworkFirewallInvalidRouteConfigurationViolation -> Maybe Route
violatingRoute :: Prelude.Maybe Route,
NetworkFirewallInvalidRouteConfigurationViolation -> Maybe Text
currentFirewallSubnetRouteTable :: Prelude.Maybe Prelude.Text,
NetworkFirewallInvalidRouteConfigurationViolation -> Maybe Text
expectedFirewallEndpoint :: Prelude.Maybe Prelude.Text,
NetworkFirewallInvalidRouteConfigurationViolation -> Maybe Bool
isRouteTableUsedInDifferentAZ :: Prelude.Maybe Prelude.Bool,
NetworkFirewallInvalidRouteConfigurationViolation -> Maybe Text
actualFirewallSubnetId :: Prelude.Maybe Prelude.Text,
NetworkFirewallInvalidRouteConfigurationViolation -> Maybe Text
internetGatewayId :: Prelude.Maybe Prelude.Text,
NetworkFirewallInvalidRouteConfigurationViolation -> Maybe [Route]
actualFirewallSubnetRoutes :: Prelude.Maybe [Route]
}
deriving (NetworkFirewallInvalidRouteConfigurationViolation
-> NetworkFirewallInvalidRouteConfigurationViolation -> Bool
(NetworkFirewallInvalidRouteConfigurationViolation
-> NetworkFirewallInvalidRouteConfigurationViolation -> Bool)
-> (NetworkFirewallInvalidRouteConfigurationViolation
-> NetworkFirewallInvalidRouteConfigurationViolation -> Bool)
-> Eq NetworkFirewallInvalidRouteConfigurationViolation
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: NetworkFirewallInvalidRouteConfigurationViolation
-> NetworkFirewallInvalidRouteConfigurationViolation -> Bool
$c/= :: NetworkFirewallInvalidRouteConfigurationViolation
-> NetworkFirewallInvalidRouteConfigurationViolation -> Bool
== :: NetworkFirewallInvalidRouteConfigurationViolation
-> NetworkFirewallInvalidRouteConfigurationViolation -> Bool
$c== :: NetworkFirewallInvalidRouteConfigurationViolation
-> NetworkFirewallInvalidRouteConfigurationViolation -> Bool
Prelude.Eq, ReadPrec [NetworkFirewallInvalidRouteConfigurationViolation]
ReadPrec NetworkFirewallInvalidRouteConfigurationViolation
Int -> ReadS NetworkFirewallInvalidRouteConfigurationViolation
ReadS [NetworkFirewallInvalidRouteConfigurationViolation]
(Int -> ReadS NetworkFirewallInvalidRouteConfigurationViolation)
-> ReadS [NetworkFirewallInvalidRouteConfigurationViolation]
-> ReadPrec NetworkFirewallInvalidRouteConfigurationViolation
-> ReadPrec [NetworkFirewallInvalidRouteConfigurationViolation]
-> Read NetworkFirewallInvalidRouteConfigurationViolation
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [NetworkFirewallInvalidRouteConfigurationViolation]
$creadListPrec :: ReadPrec [NetworkFirewallInvalidRouteConfigurationViolation]
readPrec :: ReadPrec NetworkFirewallInvalidRouteConfigurationViolation
$creadPrec :: ReadPrec NetworkFirewallInvalidRouteConfigurationViolation
readList :: ReadS [NetworkFirewallInvalidRouteConfigurationViolation]
$creadList :: ReadS [NetworkFirewallInvalidRouteConfigurationViolation]
readsPrec :: Int -> ReadS NetworkFirewallInvalidRouteConfigurationViolation
$creadsPrec :: Int -> ReadS NetworkFirewallInvalidRouteConfigurationViolation
Prelude.Read, Int -> NetworkFirewallInvalidRouteConfigurationViolation -> ShowS
[NetworkFirewallInvalidRouteConfigurationViolation] -> ShowS
NetworkFirewallInvalidRouteConfigurationViolation -> String
(Int -> NetworkFirewallInvalidRouteConfigurationViolation -> ShowS)
-> (NetworkFirewallInvalidRouteConfigurationViolation -> String)
-> ([NetworkFirewallInvalidRouteConfigurationViolation] -> ShowS)
-> Show NetworkFirewallInvalidRouteConfigurationViolation
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [NetworkFirewallInvalidRouteConfigurationViolation] -> ShowS
$cshowList :: [NetworkFirewallInvalidRouteConfigurationViolation] -> ShowS
show :: NetworkFirewallInvalidRouteConfigurationViolation -> String
$cshow :: NetworkFirewallInvalidRouteConfigurationViolation -> String
showsPrec :: Int -> NetworkFirewallInvalidRouteConfigurationViolation -> ShowS
$cshowsPrec :: Int -> NetworkFirewallInvalidRouteConfigurationViolation -> ShowS
Prelude.Show, (forall x.
NetworkFirewallInvalidRouteConfigurationViolation
-> Rep NetworkFirewallInvalidRouteConfigurationViolation x)
-> (forall x.
Rep NetworkFirewallInvalidRouteConfigurationViolation x
-> NetworkFirewallInvalidRouteConfigurationViolation)
-> Generic NetworkFirewallInvalidRouteConfigurationViolation
forall x.
Rep NetworkFirewallInvalidRouteConfigurationViolation x
-> NetworkFirewallInvalidRouteConfigurationViolation
forall x.
NetworkFirewallInvalidRouteConfigurationViolation
-> Rep NetworkFirewallInvalidRouteConfigurationViolation x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep NetworkFirewallInvalidRouteConfigurationViolation x
-> NetworkFirewallInvalidRouteConfigurationViolation
$cfrom :: forall x.
NetworkFirewallInvalidRouteConfigurationViolation
-> Rep NetworkFirewallInvalidRouteConfigurationViolation x
Prelude.Generic)
newNetworkFirewallInvalidRouteConfigurationViolation ::
NetworkFirewallInvalidRouteConfigurationViolation
newNetworkFirewallInvalidRouteConfigurationViolation :: NetworkFirewallInvalidRouteConfigurationViolation
newNetworkFirewallInvalidRouteConfigurationViolation =
NetworkFirewallInvalidRouteConfigurationViolation' :: Maybe [Route]
-> Maybe Text
-> Maybe [Text]
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [ExpectedRoute]
-> Maybe [ExpectedRoute]
-> Maybe Text
-> Maybe Route
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Maybe [Route]
-> NetworkFirewallInvalidRouteConfigurationViolation
NetworkFirewallInvalidRouteConfigurationViolation'
{ $sel:actualInternetGatewayRoutes:NetworkFirewallInvalidRouteConfigurationViolation' :: Maybe [Route]
actualInternetGatewayRoutes =
Maybe [Route]
forall a. Maybe a
Prelude.Nothing,
$sel:routeTableId:NetworkFirewallInvalidRouteConfigurationViolation' :: Maybe Text
routeTableId =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:affectedSubnets:NetworkFirewallInvalidRouteConfigurationViolation' :: Maybe [Text]
affectedSubnets =
Maybe [Text]
forall a. Maybe a
Prelude.Nothing,
$sel:vpcId:NetworkFirewallInvalidRouteConfigurationViolation' :: Maybe Text
vpcId = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:actualFirewallEndpoint:NetworkFirewallInvalidRouteConfigurationViolation' :: Maybe Text
actualFirewallEndpoint =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:expectedFirewallSubnetId:NetworkFirewallInvalidRouteConfigurationViolation' :: Maybe Text
expectedFirewallSubnetId =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:expectedFirewallSubnetRoutes:NetworkFirewallInvalidRouteConfigurationViolation' :: Maybe [ExpectedRoute]
expectedFirewallSubnetRoutes =
Maybe [ExpectedRoute]
forall a. Maybe a
Prelude.Nothing,
$sel:expectedInternetGatewayRoutes:NetworkFirewallInvalidRouteConfigurationViolation' :: Maybe [ExpectedRoute]
expectedInternetGatewayRoutes =
Maybe [ExpectedRoute]
forall a. Maybe a
Prelude.Nothing,
$sel:currentInternetGatewayRouteTable:NetworkFirewallInvalidRouteConfigurationViolation' :: Maybe Text
currentInternetGatewayRouteTable =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:violatingRoute:NetworkFirewallInvalidRouteConfigurationViolation' :: Maybe Route
violatingRoute =
Maybe Route
forall a. Maybe a
Prelude.Nothing,
$sel:currentFirewallSubnetRouteTable:NetworkFirewallInvalidRouteConfigurationViolation' :: Maybe Text
currentFirewallSubnetRouteTable =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:expectedFirewallEndpoint:NetworkFirewallInvalidRouteConfigurationViolation' :: Maybe Text
expectedFirewallEndpoint =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:isRouteTableUsedInDifferentAZ:NetworkFirewallInvalidRouteConfigurationViolation' :: Maybe Bool
isRouteTableUsedInDifferentAZ =
Maybe Bool
forall a. Maybe a
Prelude.Nothing,
$sel:actualFirewallSubnetId:NetworkFirewallInvalidRouteConfigurationViolation' :: Maybe Text
actualFirewallSubnetId =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:internetGatewayId:NetworkFirewallInvalidRouteConfigurationViolation' :: Maybe Text
internetGatewayId =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:actualFirewallSubnetRoutes:NetworkFirewallInvalidRouteConfigurationViolation' :: Maybe [Route]
actualFirewallSubnetRoutes =
Maybe [Route]
forall a. Maybe a
Prelude.Nothing
}
networkFirewallInvalidRouteConfigurationViolation_actualInternetGatewayRoutes :: Lens.Lens' NetworkFirewallInvalidRouteConfigurationViolation (Prelude.Maybe [Route])
networkFirewallInvalidRouteConfigurationViolation_actualInternetGatewayRoutes :: (Maybe [Route] -> f (Maybe [Route]))
-> NetworkFirewallInvalidRouteConfigurationViolation
-> f NetworkFirewallInvalidRouteConfigurationViolation
networkFirewallInvalidRouteConfigurationViolation_actualInternetGatewayRoutes = (NetworkFirewallInvalidRouteConfigurationViolation
-> Maybe [Route])
-> (NetworkFirewallInvalidRouteConfigurationViolation
-> Maybe [Route]
-> NetworkFirewallInvalidRouteConfigurationViolation)
-> Lens
NetworkFirewallInvalidRouteConfigurationViolation
NetworkFirewallInvalidRouteConfigurationViolation
(Maybe [Route])
(Maybe [Route])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\NetworkFirewallInvalidRouteConfigurationViolation' {Maybe [Route]
actualInternetGatewayRoutes :: Maybe [Route]
$sel:actualInternetGatewayRoutes:NetworkFirewallInvalidRouteConfigurationViolation' :: NetworkFirewallInvalidRouteConfigurationViolation -> Maybe [Route]
actualInternetGatewayRoutes} -> Maybe [Route]
actualInternetGatewayRoutes) (\s :: NetworkFirewallInvalidRouteConfigurationViolation
s@NetworkFirewallInvalidRouteConfigurationViolation' {} Maybe [Route]
a -> NetworkFirewallInvalidRouteConfigurationViolation
s {$sel:actualInternetGatewayRoutes:NetworkFirewallInvalidRouteConfigurationViolation' :: Maybe [Route]
actualInternetGatewayRoutes = Maybe [Route]
a} :: NetworkFirewallInvalidRouteConfigurationViolation) ((Maybe [Route] -> f (Maybe [Route]))
-> NetworkFirewallInvalidRouteConfigurationViolation
-> f NetworkFirewallInvalidRouteConfigurationViolation)
-> ((Maybe [Route] -> f (Maybe [Route]))
-> Maybe [Route] -> f (Maybe [Route]))
-> (Maybe [Route] -> f (Maybe [Route]))
-> NetworkFirewallInvalidRouteConfigurationViolation
-> f NetworkFirewallInvalidRouteConfigurationViolation
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso [Route] [Route] [Route] [Route]
-> Iso
(Maybe [Route]) (Maybe [Route]) (Maybe [Route]) (Maybe [Route])
forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping AnIso [Route] [Route] [Route] [Route]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
networkFirewallInvalidRouteConfigurationViolation_routeTableId :: Lens.Lens' NetworkFirewallInvalidRouteConfigurationViolation (Prelude.Maybe Prelude.Text)
networkFirewallInvalidRouteConfigurationViolation_routeTableId :: (Maybe Text -> f (Maybe Text))
-> NetworkFirewallInvalidRouteConfigurationViolation
-> f NetworkFirewallInvalidRouteConfigurationViolation
networkFirewallInvalidRouteConfigurationViolation_routeTableId = (NetworkFirewallInvalidRouteConfigurationViolation -> Maybe Text)
-> (NetworkFirewallInvalidRouteConfigurationViolation
-> Maybe Text -> NetworkFirewallInvalidRouteConfigurationViolation)
-> Lens
NetworkFirewallInvalidRouteConfigurationViolation
NetworkFirewallInvalidRouteConfigurationViolation
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\NetworkFirewallInvalidRouteConfigurationViolation' {Maybe Text
routeTableId :: Maybe Text
$sel:routeTableId:NetworkFirewallInvalidRouteConfigurationViolation' :: NetworkFirewallInvalidRouteConfigurationViolation -> Maybe Text
routeTableId} -> Maybe Text
routeTableId) (\s :: NetworkFirewallInvalidRouteConfigurationViolation
s@NetworkFirewallInvalidRouteConfigurationViolation' {} Maybe Text
a -> NetworkFirewallInvalidRouteConfigurationViolation
s {$sel:routeTableId:NetworkFirewallInvalidRouteConfigurationViolation' :: Maybe Text
routeTableId = Maybe Text
a} :: NetworkFirewallInvalidRouteConfigurationViolation)
networkFirewallInvalidRouteConfigurationViolation_affectedSubnets :: Lens.Lens' NetworkFirewallInvalidRouteConfigurationViolation (Prelude.Maybe [Prelude.Text])
networkFirewallInvalidRouteConfigurationViolation_affectedSubnets :: (Maybe [Text] -> f (Maybe [Text]))
-> NetworkFirewallInvalidRouteConfigurationViolation
-> f NetworkFirewallInvalidRouteConfigurationViolation
networkFirewallInvalidRouteConfigurationViolation_affectedSubnets = (NetworkFirewallInvalidRouteConfigurationViolation -> Maybe [Text])
-> (NetworkFirewallInvalidRouteConfigurationViolation
-> Maybe [Text]
-> NetworkFirewallInvalidRouteConfigurationViolation)
-> Lens
NetworkFirewallInvalidRouteConfigurationViolation
NetworkFirewallInvalidRouteConfigurationViolation
(Maybe [Text])
(Maybe [Text])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\NetworkFirewallInvalidRouteConfigurationViolation' {Maybe [Text]
affectedSubnets :: Maybe [Text]
$sel:affectedSubnets:NetworkFirewallInvalidRouteConfigurationViolation' :: NetworkFirewallInvalidRouteConfigurationViolation -> Maybe [Text]
affectedSubnets} -> Maybe [Text]
affectedSubnets) (\s :: NetworkFirewallInvalidRouteConfigurationViolation
s@NetworkFirewallInvalidRouteConfigurationViolation' {} Maybe [Text]
a -> NetworkFirewallInvalidRouteConfigurationViolation
s {$sel:affectedSubnets:NetworkFirewallInvalidRouteConfigurationViolation' :: Maybe [Text]
affectedSubnets = Maybe [Text]
a} :: NetworkFirewallInvalidRouteConfigurationViolation) ((Maybe [Text] -> f (Maybe [Text]))
-> NetworkFirewallInvalidRouteConfigurationViolation
-> f NetworkFirewallInvalidRouteConfigurationViolation)
-> ((Maybe [Text] -> f (Maybe [Text]))
-> Maybe [Text] -> f (Maybe [Text]))
-> (Maybe [Text] -> f (Maybe [Text]))
-> NetworkFirewallInvalidRouteConfigurationViolation
-> f NetworkFirewallInvalidRouteConfigurationViolation
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso [Text] [Text] [Text] [Text]
-> Iso (Maybe [Text]) (Maybe [Text]) (Maybe [Text]) (Maybe [Text])
forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping AnIso [Text] [Text] [Text] [Text]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
networkFirewallInvalidRouteConfigurationViolation_vpcId :: Lens.Lens' NetworkFirewallInvalidRouteConfigurationViolation (Prelude.Maybe Prelude.Text)
networkFirewallInvalidRouteConfigurationViolation_vpcId :: (Maybe Text -> f (Maybe Text))
-> NetworkFirewallInvalidRouteConfigurationViolation
-> f NetworkFirewallInvalidRouteConfigurationViolation
networkFirewallInvalidRouteConfigurationViolation_vpcId = (NetworkFirewallInvalidRouteConfigurationViolation -> Maybe Text)
-> (NetworkFirewallInvalidRouteConfigurationViolation
-> Maybe Text -> NetworkFirewallInvalidRouteConfigurationViolation)
-> Lens
NetworkFirewallInvalidRouteConfigurationViolation
NetworkFirewallInvalidRouteConfigurationViolation
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\NetworkFirewallInvalidRouteConfigurationViolation' {Maybe Text
vpcId :: Maybe Text
$sel:vpcId:NetworkFirewallInvalidRouteConfigurationViolation' :: NetworkFirewallInvalidRouteConfigurationViolation -> Maybe Text
vpcId} -> Maybe Text
vpcId) (\s :: NetworkFirewallInvalidRouteConfigurationViolation
s@NetworkFirewallInvalidRouteConfigurationViolation' {} Maybe Text
a -> NetworkFirewallInvalidRouteConfigurationViolation
s {$sel:vpcId:NetworkFirewallInvalidRouteConfigurationViolation' :: Maybe Text
vpcId = Maybe Text
a} :: NetworkFirewallInvalidRouteConfigurationViolation)
networkFirewallInvalidRouteConfigurationViolation_actualFirewallEndpoint :: Lens.Lens' NetworkFirewallInvalidRouteConfigurationViolation (Prelude.Maybe Prelude.Text)
networkFirewallInvalidRouteConfigurationViolation_actualFirewallEndpoint :: (Maybe Text -> f (Maybe Text))
-> NetworkFirewallInvalidRouteConfigurationViolation
-> f NetworkFirewallInvalidRouteConfigurationViolation
networkFirewallInvalidRouteConfigurationViolation_actualFirewallEndpoint = (NetworkFirewallInvalidRouteConfigurationViolation -> Maybe Text)
-> (NetworkFirewallInvalidRouteConfigurationViolation
-> Maybe Text -> NetworkFirewallInvalidRouteConfigurationViolation)
-> Lens
NetworkFirewallInvalidRouteConfigurationViolation
NetworkFirewallInvalidRouteConfigurationViolation
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\NetworkFirewallInvalidRouteConfigurationViolation' {Maybe Text
actualFirewallEndpoint :: Maybe Text
$sel:actualFirewallEndpoint:NetworkFirewallInvalidRouteConfigurationViolation' :: NetworkFirewallInvalidRouteConfigurationViolation -> Maybe Text
actualFirewallEndpoint} -> Maybe Text
actualFirewallEndpoint) (\s :: NetworkFirewallInvalidRouteConfigurationViolation
s@NetworkFirewallInvalidRouteConfigurationViolation' {} Maybe Text
a -> NetworkFirewallInvalidRouteConfigurationViolation
s {$sel:actualFirewallEndpoint:NetworkFirewallInvalidRouteConfigurationViolation' :: Maybe Text
actualFirewallEndpoint = Maybe Text
a} :: NetworkFirewallInvalidRouteConfigurationViolation)
networkFirewallInvalidRouteConfigurationViolation_expectedFirewallSubnetId :: Lens.Lens' NetworkFirewallInvalidRouteConfigurationViolation (Prelude.Maybe Prelude.Text)
networkFirewallInvalidRouteConfigurationViolation_expectedFirewallSubnetId :: (Maybe Text -> f (Maybe Text))
-> NetworkFirewallInvalidRouteConfigurationViolation
-> f NetworkFirewallInvalidRouteConfigurationViolation
networkFirewallInvalidRouteConfigurationViolation_expectedFirewallSubnetId = (NetworkFirewallInvalidRouteConfigurationViolation -> Maybe Text)
-> (NetworkFirewallInvalidRouteConfigurationViolation
-> Maybe Text -> NetworkFirewallInvalidRouteConfigurationViolation)
-> Lens
NetworkFirewallInvalidRouteConfigurationViolation
NetworkFirewallInvalidRouteConfigurationViolation
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\NetworkFirewallInvalidRouteConfigurationViolation' {Maybe Text
expectedFirewallSubnetId :: Maybe Text
$sel:expectedFirewallSubnetId:NetworkFirewallInvalidRouteConfigurationViolation' :: NetworkFirewallInvalidRouteConfigurationViolation -> Maybe Text
expectedFirewallSubnetId} -> Maybe Text
expectedFirewallSubnetId) (\s :: NetworkFirewallInvalidRouteConfigurationViolation
s@NetworkFirewallInvalidRouteConfigurationViolation' {} Maybe Text
a -> NetworkFirewallInvalidRouteConfigurationViolation
s {$sel:expectedFirewallSubnetId:NetworkFirewallInvalidRouteConfigurationViolation' :: Maybe Text
expectedFirewallSubnetId = Maybe Text
a} :: NetworkFirewallInvalidRouteConfigurationViolation)
networkFirewallInvalidRouteConfigurationViolation_expectedFirewallSubnetRoutes :: Lens.Lens' NetworkFirewallInvalidRouteConfigurationViolation (Prelude.Maybe [ExpectedRoute])
networkFirewallInvalidRouteConfigurationViolation_expectedFirewallSubnetRoutes :: (Maybe [ExpectedRoute] -> f (Maybe [ExpectedRoute]))
-> NetworkFirewallInvalidRouteConfigurationViolation
-> f NetworkFirewallInvalidRouteConfigurationViolation
networkFirewallInvalidRouteConfigurationViolation_expectedFirewallSubnetRoutes = (NetworkFirewallInvalidRouteConfigurationViolation
-> Maybe [ExpectedRoute])
-> (NetworkFirewallInvalidRouteConfigurationViolation
-> Maybe [ExpectedRoute]
-> NetworkFirewallInvalidRouteConfigurationViolation)
-> Lens
NetworkFirewallInvalidRouteConfigurationViolation
NetworkFirewallInvalidRouteConfigurationViolation
(Maybe [ExpectedRoute])
(Maybe [ExpectedRoute])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\NetworkFirewallInvalidRouteConfigurationViolation' {Maybe [ExpectedRoute]
expectedFirewallSubnetRoutes :: Maybe [ExpectedRoute]
$sel:expectedFirewallSubnetRoutes:NetworkFirewallInvalidRouteConfigurationViolation' :: NetworkFirewallInvalidRouteConfigurationViolation
-> Maybe [ExpectedRoute]
expectedFirewallSubnetRoutes} -> Maybe [ExpectedRoute]
expectedFirewallSubnetRoutes) (\s :: NetworkFirewallInvalidRouteConfigurationViolation
s@NetworkFirewallInvalidRouteConfigurationViolation' {} Maybe [ExpectedRoute]
a -> NetworkFirewallInvalidRouteConfigurationViolation
s {$sel:expectedFirewallSubnetRoutes:NetworkFirewallInvalidRouteConfigurationViolation' :: Maybe [ExpectedRoute]
expectedFirewallSubnetRoutes = Maybe [ExpectedRoute]
a} :: NetworkFirewallInvalidRouteConfigurationViolation) ((Maybe [ExpectedRoute] -> f (Maybe [ExpectedRoute]))
-> NetworkFirewallInvalidRouteConfigurationViolation
-> f NetworkFirewallInvalidRouteConfigurationViolation)
-> ((Maybe [ExpectedRoute] -> f (Maybe [ExpectedRoute]))
-> Maybe [ExpectedRoute] -> f (Maybe [ExpectedRoute]))
-> (Maybe [ExpectedRoute] -> f (Maybe [ExpectedRoute]))
-> NetworkFirewallInvalidRouteConfigurationViolation
-> f NetworkFirewallInvalidRouteConfigurationViolation
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
[ExpectedRoute] [ExpectedRoute] [ExpectedRoute] [ExpectedRoute]
-> Iso
(Maybe [ExpectedRoute])
(Maybe [ExpectedRoute])
(Maybe [ExpectedRoute])
(Maybe [ExpectedRoute])
forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping AnIso
[ExpectedRoute] [ExpectedRoute] [ExpectedRoute] [ExpectedRoute]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
networkFirewallInvalidRouteConfigurationViolation_expectedInternetGatewayRoutes :: Lens.Lens' NetworkFirewallInvalidRouteConfigurationViolation (Prelude.Maybe [ExpectedRoute])
networkFirewallInvalidRouteConfigurationViolation_expectedInternetGatewayRoutes :: (Maybe [ExpectedRoute] -> f (Maybe [ExpectedRoute]))
-> NetworkFirewallInvalidRouteConfigurationViolation
-> f NetworkFirewallInvalidRouteConfigurationViolation
networkFirewallInvalidRouteConfigurationViolation_expectedInternetGatewayRoutes = (NetworkFirewallInvalidRouteConfigurationViolation
-> Maybe [ExpectedRoute])
-> (NetworkFirewallInvalidRouteConfigurationViolation
-> Maybe [ExpectedRoute]
-> NetworkFirewallInvalidRouteConfigurationViolation)
-> Lens
NetworkFirewallInvalidRouteConfigurationViolation
NetworkFirewallInvalidRouteConfigurationViolation
(Maybe [ExpectedRoute])
(Maybe [ExpectedRoute])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\NetworkFirewallInvalidRouteConfigurationViolation' {Maybe [ExpectedRoute]
expectedInternetGatewayRoutes :: Maybe [ExpectedRoute]
$sel:expectedInternetGatewayRoutes:NetworkFirewallInvalidRouteConfigurationViolation' :: NetworkFirewallInvalidRouteConfigurationViolation
-> Maybe [ExpectedRoute]
expectedInternetGatewayRoutes} -> Maybe [ExpectedRoute]
expectedInternetGatewayRoutes) (\s :: NetworkFirewallInvalidRouteConfigurationViolation
s@NetworkFirewallInvalidRouteConfigurationViolation' {} Maybe [ExpectedRoute]
a -> NetworkFirewallInvalidRouteConfigurationViolation
s {$sel:expectedInternetGatewayRoutes:NetworkFirewallInvalidRouteConfigurationViolation' :: Maybe [ExpectedRoute]
expectedInternetGatewayRoutes = Maybe [ExpectedRoute]
a} :: NetworkFirewallInvalidRouteConfigurationViolation) ((Maybe [ExpectedRoute] -> f (Maybe [ExpectedRoute]))
-> NetworkFirewallInvalidRouteConfigurationViolation
-> f NetworkFirewallInvalidRouteConfigurationViolation)
-> ((Maybe [ExpectedRoute] -> f (Maybe [ExpectedRoute]))
-> Maybe [ExpectedRoute] -> f (Maybe [ExpectedRoute]))
-> (Maybe [ExpectedRoute] -> f (Maybe [ExpectedRoute]))
-> NetworkFirewallInvalidRouteConfigurationViolation
-> f NetworkFirewallInvalidRouteConfigurationViolation
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
[ExpectedRoute] [ExpectedRoute] [ExpectedRoute] [ExpectedRoute]
-> Iso
(Maybe [ExpectedRoute])
(Maybe [ExpectedRoute])
(Maybe [ExpectedRoute])
(Maybe [ExpectedRoute])
forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping AnIso
[ExpectedRoute] [ExpectedRoute] [ExpectedRoute] [ExpectedRoute]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
networkFirewallInvalidRouteConfigurationViolation_currentInternetGatewayRouteTable :: Lens.Lens' NetworkFirewallInvalidRouteConfigurationViolation (Prelude.Maybe Prelude.Text)
networkFirewallInvalidRouteConfigurationViolation_currentInternetGatewayRouteTable :: (Maybe Text -> f (Maybe Text))
-> NetworkFirewallInvalidRouteConfigurationViolation
-> f NetworkFirewallInvalidRouteConfigurationViolation
networkFirewallInvalidRouteConfigurationViolation_currentInternetGatewayRouteTable = (NetworkFirewallInvalidRouteConfigurationViolation -> Maybe Text)
-> (NetworkFirewallInvalidRouteConfigurationViolation
-> Maybe Text -> NetworkFirewallInvalidRouteConfigurationViolation)
-> Lens
NetworkFirewallInvalidRouteConfigurationViolation
NetworkFirewallInvalidRouteConfigurationViolation
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\NetworkFirewallInvalidRouteConfigurationViolation' {Maybe Text
currentInternetGatewayRouteTable :: Maybe Text
$sel:currentInternetGatewayRouteTable:NetworkFirewallInvalidRouteConfigurationViolation' :: NetworkFirewallInvalidRouteConfigurationViolation -> Maybe Text
currentInternetGatewayRouteTable} -> Maybe Text
currentInternetGatewayRouteTable) (\s :: NetworkFirewallInvalidRouteConfigurationViolation
s@NetworkFirewallInvalidRouteConfigurationViolation' {} Maybe Text
a -> NetworkFirewallInvalidRouteConfigurationViolation
s {$sel:currentInternetGatewayRouteTable:NetworkFirewallInvalidRouteConfigurationViolation' :: Maybe Text
currentInternetGatewayRouteTable = Maybe Text
a} :: NetworkFirewallInvalidRouteConfigurationViolation)
networkFirewallInvalidRouteConfigurationViolation_violatingRoute :: Lens.Lens' NetworkFirewallInvalidRouteConfigurationViolation (Prelude.Maybe Route)
networkFirewallInvalidRouteConfigurationViolation_violatingRoute :: (Maybe Route -> f (Maybe Route))
-> NetworkFirewallInvalidRouteConfigurationViolation
-> f NetworkFirewallInvalidRouteConfigurationViolation
networkFirewallInvalidRouteConfigurationViolation_violatingRoute = (NetworkFirewallInvalidRouteConfigurationViolation -> Maybe Route)
-> (NetworkFirewallInvalidRouteConfigurationViolation
-> Maybe Route
-> NetworkFirewallInvalidRouteConfigurationViolation)
-> Lens
NetworkFirewallInvalidRouteConfigurationViolation
NetworkFirewallInvalidRouteConfigurationViolation
(Maybe Route)
(Maybe Route)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\NetworkFirewallInvalidRouteConfigurationViolation' {Maybe Route
violatingRoute :: Maybe Route
$sel:violatingRoute:NetworkFirewallInvalidRouteConfigurationViolation' :: NetworkFirewallInvalidRouteConfigurationViolation -> Maybe Route
violatingRoute} -> Maybe Route
violatingRoute) (\s :: NetworkFirewallInvalidRouteConfigurationViolation
s@NetworkFirewallInvalidRouteConfigurationViolation' {} Maybe Route
a -> NetworkFirewallInvalidRouteConfigurationViolation
s {$sel:violatingRoute:NetworkFirewallInvalidRouteConfigurationViolation' :: Maybe Route
violatingRoute = Maybe Route
a} :: NetworkFirewallInvalidRouteConfigurationViolation)
networkFirewallInvalidRouteConfigurationViolation_currentFirewallSubnetRouteTable :: Lens.Lens' NetworkFirewallInvalidRouteConfigurationViolation (Prelude.Maybe Prelude.Text)
networkFirewallInvalidRouteConfigurationViolation_currentFirewallSubnetRouteTable :: (Maybe Text -> f (Maybe Text))
-> NetworkFirewallInvalidRouteConfigurationViolation
-> f NetworkFirewallInvalidRouteConfigurationViolation
networkFirewallInvalidRouteConfigurationViolation_currentFirewallSubnetRouteTable = (NetworkFirewallInvalidRouteConfigurationViolation -> Maybe Text)
-> (NetworkFirewallInvalidRouteConfigurationViolation
-> Maybe Text -> NetworkFirewallInvalidRouteConfigurationViolation)
-> Lens
NetworkFirewallInvalidRouteConfigurationViolation
NetworkFirewallInvalidRouteConfigurationViolation
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\NetworkFirewallInvalidRouteConfigurationViolation' {Maybe Text
currentFirewallSubnetRouteTable :: Maybe Text
$sel:currentFirewallSubnetRouteTable:NetworkFirewallInvalidRouteConfigurationViolation' :: NetworkFirewallInvalidRouteConfigurationViolation -> Maybe Text
currentFirewallSubnetRouteTable} -> Maybe Text
currentFirewallSubnetRouteTable) (\s :: NetworkFirewallInvalidRouteConfigurationViolation
s@NetworkFirewallInvalidRouteConfigurationViolation' {} Maybe Text
a -> NetworkFirewallInvalidRouteConfigurationViolation
s {$sel:currentFirewallSubnetRouteTable:NetworkFirewallInvalidRouteConfigurationViolation' :: Maybe Text
currentFirewallSubnetRouteTable = Maybe Text
a} :: NetworkFirewallInvalidRouteConfigurationViolation)
networkFirewallInvalidRouteConfigurationViolation_expectedFirewallEndpoint :: Lens.Lens' NetworkFirewallInvalidRouteConfigurationViolation (Prelude.Maybe Prelude.Text)
networkFirewallInvalidRouteConfigurationViolation_expectedFirewallEndpoint :: (Maybe Text -> f (Maybe Text))
-> NetworkFirewallInvalidRouteConfigurationViolation
-> f NetworkFirewallInvalidRouteConfigurationViolation
networkFirewallInvalidRouteConfigurationViolation_expectedFirewallEndpoint = (NetworkFirewallInvalidRouteConfigurationViolation -> Maybe Text)
-> (NetworkFirewallInvalidRouteConfigurationViolation
-> Maybe Text -> NetworkFirewallInvalidRouteConfigurationViolation)
-> Lens
NetworkFirewallInvalidRouteConfigurationViolation
NetworkFirewallInvalidRouteConfigurationViolation
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\NetworkFirewallInvalidRouteConfigurationViolation' {Maybe Text
expectedFirewallEndpoint :: Maybe Text
$sel:expectedFirewallEndpoint:NetworkFirewallInvalidRouteConfigurationViolation' :: NetworkFirewallInvalidRouteConfigurationViolation -> Maybe Text
expectedFirewallEndpoint} -> Maybe Text
expectedFirewallEndpoint) (\s :: NetworkFirewallInvalidRouteConfigurationViolation
s@NetworkFirewallInvalidRouteConfigurationViolation' {} Maybe Text
a -> NetworkFirewallInvalidRouteConfigurationViolation
s {$sel:expectedFirewallEndpoint:NetworkFirewallInvalidRouteConfigurationViolation' :: Maybe Text
expectedFirewallEndpoint = Maybe Text
a} :: NetworkFirewallInvalidRouteConfigurationViolation)
networkFirewallInvalidRouteConfigurationViolation_isRouteTableUsedInDifferentAZ :: Lens.Lens' NetworkFirewallInvalidRouteConfigurationViolation (Prelude.Maybe Prelude.Bool)
networkFirewallInvalidRouteConfigurationViolation_isRouteTableUsedInDifferentAZ :: (Maybe Bool -> f (Maybe Bool))
-> NetworkFirewallInvalidRouteConfigurationViolation
-> f NetworkFirewallInvalidRouteConfigurationViolation
networkFirewallInvalidRouteConfigurationViolation_isRouteTableUsedInDifferentAZ = (NetworkFirewallInvalidRouteConfigurationViolation -> Maybe Bool)
-> (NetworkFirewallInvalidRouteConfigurationViolation
-> Maybe Bool -> NetworkFirewallInvalidRouteConfigurationViolation)
-> Lens
NetworkFirewallInvalidRouteConfigurationViolation
NetworkFirewallInvalidRouteConfigurationViolation
(Maybe Bool)
(Maybe Bool)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\NetworkFirewallInvalidRouteConfigurationViolation' {Maybe Bool
isRouteTableUsedInDifferentAZ :: Maybe Bool
$sel:isRouteTableUsedInDifferentAZ:NetworkFirewallInvalidRouteConfigurationViolation' :: NetworkFirewallInvalidRouteConfigurationViolation -> Maybe Bool
isRouteTableUsedInDifferentAZ} -> Maybe Bool
isRouteTableUsedInDifferentAZ) (\s :: NetworkFirewallInvalidRouteConfigurationViolation
s@NetworkFirewallInvalidRouteConfigurationViolation' {} Maybe Bool
a -> NetworkFirewallInvalidRouteConfigurationViolation
s {$sel:isRouteTableUsedInDifferentAZ:NetworkFirewallInvalidRouteConfigurationViolation' :: Maybe Bool
isRouteTableUsedInDifferentAZ = Maybe Bool
a} :: NetworkFirewallInvalidRouteConfigurationViolation)
networkFirewallInvalidRouteConfigurationViolation_actualFirewallSubnetId :: Lens.Lens' NetworkFirewallInvalidRouteConfigurationViolation (Prelude.Maybe Prelude.Text)
networkFirewallInvalidRouteConfigurationViolation_actualFirewallSubnetId :: (Maybe Text -> f (Maybe Text))
-> NetworkFirewallInvalidRouteConfigurationViolation
-> f NetworkFirewallInvalidRouteConfigurationViolation
networkFirewallInvalidRouteConfigurationViolation_actualFirewallSubnetId = (NetworkFirewallInvalidRouteConfigurationViolation -> Maybe Text)
-> (NetworkFirewallInvalidRouteConfigurationViolation
-> Maybe Text -> NetworkFirewallInvalidRouteConfigurationViolation)
-> Lens
NetworkFirewallInvalidRouteConfigurationViolation
NetworkFirewallInvalidRouteConfigurationViolation
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\NetworkFirewallInvalidRouteConfigurationViolation' {Maybe Text
actualFirewallSubnetId :: Maybe Text
$sel:actualFirewallSubnetId:NetworkFirewallInvalidRouteConfigurationViolation' :: NetworkFirewallInvalidRouteConfigurationViolation -> Maybe Text
actualFirewallSubnetId} -> Maybe Text
actualFirewallSubnetId) (\s :: NetworkFirewallInvalidRouteConfigurationViolation
s@NetworkFirewallInvalidRouteConfigurationViolation' {} Maybe Text
a -> NetworkFirewallInvalidRouteConfigurationViolation
s {$sel:actualFirewallSubnetId:NetworkFirewallInvalidRouteConfigurationViolation' :: Maybe Text
actualFirewallSubnetId = Maybe Text
a} :: NetworkFirewallInvalidRouteConfigurationViolation)
networkFirewallInvalidRouteConfigurationViolation_internetGatewayId :: Lens.Lens' NetworkFirewallInvalidRouteConfigurationViolation (Prelude.Maybe Prelude.Text)
networkFirewallInvalidRouteConfigurationViolation_internetGatewayId :: (Maybe Text -> f (Maybe Text))
-> NetworkFirewallInvalidRouteConfigurationViolation
-> f NetworkFirewallInvalidRouteConfigurationViolation
networkFirewallInvalidRouteConfigurationViolation_internetGatewayId = (NetworkFirewallInvalidRouteConfigurationViolation -> Maybe Text)
-> (NetworkFirewallInvalidRouteConfigurationViolation
-> Maybe Text -> NetworkFirewallInvalidRouteConfigurationViolation)
-> Lens
NetworkFirewallInvalidRouteConfigurationViolation
NetworkFirewallInvalidRouteConfigurationViolation
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\NetworkFirewallInvalidRouteConfigurationViolation' {Maybe Text
internetGatewayId :: Maybe Text
$sel:internetGatewayId:NetworkFirewallInvalidRouteConfigurationViolation' :: NetworkFirewallInvalidRouteConfigurationViolation -> Maybe Text
internetGatewayId} -> Maybe Text
internetGatewayId) (\s :: NetworkFirewallInvalidRouteConfigurationViolation
s@NetworkFirewallInvalidRouteConfigurationViolation' {} Maybe Text
a -> NetworkFirewallInvalidRouteConfigurationViolation
s {$sel:internetGatewayId:NetworkFirewallInvalidRouteConfigurationViolation' :: Maybe Text
internetGatewayId = Maybe Text
a} :: NetworkFirewallInvalidRouteConfigurationViolation)
networkFirewallInvalidRouteConfigurationViolation_actualFirewallSubnetRoutes :: Lens.Lens' NetworkFirewallInvalidRouteConfigurationViolation (Prelude.Maybe [Route])
networkFirewallInvalidRouteConfigurationViolation_actualFirewallSubnetRoutes :: (Maybe [Route] -> f (Maybe [Route]))
-> NetworkFirewallInvalidRouteConfigurationViolation
-> f NetworkFirewallInvalidRouteConfigurationViolation
networkFirewallInvalidRouteConfigurationViolation_actualFirewallSubnetRoutes = (NetworkFirewallInvalidRouteConfigurationViolation
-> Maybe [Route])
-> (NetworkFirewallInvalidRouteConfigurationViolation
-> Maybe [Route]
-> NetworkFirewallInvalidRouteConfigurationViolation)
-> Lens
NetworkFirewallInvalidRouteConfigurationViolation
NetworkFirewallInvalidRouteConfigurationViolation
(Maybe [Route])
(Maybe [Route])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\NetworkFirewallInvalidRouteConfigurationViolation' {Maybe [Route]
actualFirewallSubnetRoutes :: Maybe [Route]
$sel:actualFirewallSubnetRoutes:NetworkFirewallInvalidRouteConfigurationViolation' :: NetworkFirewallInvalidRouteConfigurationViolation -> Maybe [Route]
actualFirewallSubnetRoutes} -> Maybe [Route]
actualFirewallSubnetRoutes) (\s :: NetworkFirewallInvalidRouteConfigurationViolation
s@NetworkFirewallInvalidRouteConfigurationViolation' {} Maybe [Route]
a -> NetworkFirewallInvalidRouteConfigurationViolation
s {$sel:actualFirewallSubnetRoutes:NetworkFirewallInvalidRouteConfigurationViolation' :: Maybe [Route]
actualFirewallSubnetRoutes = Maybe [Route]
a} :: NetworkFirewallInvalidRouteConfigurationViolation) ((Maybe [Route] -> f (Maybe [Route]))
-> NetworkFirewallInvalidRouteConfigurationViolation
-> f NetworkFirewallInvalidRouteConfigurationViolation)
-> ((Maybe [Route] -> f (Maybe [Route]))
-> Maybe [Route] -> f (Maybe [Route]))
-> (Maybe [Route] -> f (Maybe [Route]))
-> NetworkFirewallInvalidRouteConfigurationViolation
-> f NetworkFirewallInvalidRouteConfigurationViolation
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso [Route] [Route] [Route] [Route]
-> Iso
(Maybe [Route]) (Maybe [Route]) (Maybe [Route]) (Maybe [Route])
forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping AnIso [Route] [Route] [Route] [Route]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
instance
Core.FromJSON
NetworkFirewallInvalidRouteConfigurationViolation
where
parseJSON :: Value -> Parser NetworkFirewallInvalidRouteConfigurationViolation
parseJSON =
String
-> (Object
-> Parser NetworkFirewallInvalidRouteConfigurationViolation)
-> Value
-> Parser NetworkFirewallInvalidRouteConfigurationViolation
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Core.withObject
String
"NetworkFirewallInvalidRouteConfigurationViolation"
( \Object
x ->
Maybe [Route]
-> Maybe Text
-> Maybe [Text]
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [ExpectedRoute]
-> Maybe [ExpectedRoute]
-> Maybe Text
-> Maybe Route
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Maybe [Route]
-> NetworkFirewallInvalidRouteConfigurationViolation
NetworkFirewallInvalidRouteConfigurationViolation'
(Maybe [Route]
-> Maybe Text
-> Maybe [Text]
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [ExpectedRoute]
-> Maybe [ExpectedRoute]
-> Maybe Text
-> Maybe Route
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Maybe [Route]
-> NetworkFirewallInvalidRouteConfigurationViolation)
-> Parser (Maybe [Route])
-> Parser
(Maybe Text
-> Maybe [Text]
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [ExpectedRoute]
-> Maybe [ExpectedRoute]
-> Maybe Text
-> Maybe Route
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Maybe [Route]
-> NetworkFirewallInvalidRouteConfigurationViolation)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> ( Object
x Object -> Text -> Parser (Maybe (Maybe [Route]))
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"ActualInternetGatewayRoutes"
Parser (Maybe (Maybe [Route]))
-> Maybe [Route] -> Parser (Maybe [Route])
forall a. Parser (Maybe a) -> a -> Parser a
Core..!= Maybe [Route]
forall a. Monoid a => a
Prelude.mempty
)
Parser
(Maybe Text
-> Maybe [Text]
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [ExpectedRoute]
-> Maybe [ExpectedRoute]
-> Maybe Text
-> Maybe Route
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Maybe [Route]
-> NetworkFirewallInvalidRouteConfigurationViolation)
-> Parser (Maybe Text)
-> Parser
(Maybe [Text]
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [ExpectedRoute]
-> Maybe [ExpectedRoute]
-> Maybe Text
-> Maybe Route
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Maybe [Route]
-> NetworkFirewallInvalidRouteConfigurationViolation)
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
"RouteTableId")
Parser
(Maybe [Text]
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [ExpectedRoute]
-> Maybe [ExpectedRoute]
-> Maybe Text
-> Maybe Route
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Maybe [Route]
-> NetworkFirewallInvalidRouteConfigurationViolation)
-> Parser (Maybe [Text])
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [ExpectedRoute]
-> Maybe [ExpectedRoute]
-> Maybe Text
-> Maybe Route
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Maybe [Route]
-> NetworkFirewallInvalidRouteConfigurationViolation)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x Object -> Text -> Parser (Maybe (Maybe [Text]))
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"AffectedSubnets"
Parser (Maybe (Maybe [Text]))
-> Maybe [Text] -> Parser (Maybe [Text])
forall a. Parser (Maybe a) -> a -> Parser a
Core..!= Maybe [Text]
forall a. Monoid a => a
Prelude.mempty
)
Parser
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [ExpectedRoute]
-> Maybe [ExpectedRoute]
-> Maybe Text
-> Maybe Route
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Maybe [Route]
-> NetworkFirewallInvalidRouteConfigurationViolation)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe [ExpectedRoute]
-> Maybe [ExpectedRoute]
-> Maybe Text
-> Maybe Route
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Maybe [Route]
-> NetworkFirewallInvalidRouteConfigurationViolation)
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 [ExpectedRoute]
-> Maybe [ExpectedRoute]
-> Maybe Text
-> Maybe Route
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Maybe [Route]
-> NetworkFirewallInvalidRouteConfigurationViolation)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe [ExpectedRoute]
-> Maybe [ExpectedRoute]
-> Maybe Text
-> Maybe Route
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Maybe [Route]
-> NetworkFirewallInvalidRouteConfigurationViolation)
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
"ActualFirewallEndpoint")
Parser
(Maybe Text
-> Maybe [ExpectedRoute]
-> Maybe [ExpectedRoute]
-> Maybe Text
-> Maybe Route
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Maybe [Route]
-> NetworkFirewallInvalidRouteConfigurationViolation)
-> Parser (Maybe Text)
-> Parser
(Maybe [ExpectedRoute]
-> Maybe [ExpectedRoute]
-> Maybe Text
-> Maybe Route
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Maybe [Route]
-> NetworkFirewallInvalidRouteConfigurationViolation)
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
"ExpectedFirewallSubnetId")
Parser
(Maybe [ExpectedRoute]
-> Maybe [ExpectedRoute]
-> Maybe Text
-> Maybe Route
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Maybe [Route]
-> NetworkFirewallInvalidRouteConfigurationViolation)
-> Parser (Maybe [ExpectedRoute])
-> Parser
(Maybe [ExpectedRoute]
-> Maybe Text
-> Maybe Route
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Maybe [Route]
-> NetworkFirewallInvalidRouteConfigurationViolation)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x Object -> Text -> Parser (Maybe (Maybe [ExpectedRoute]))
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"ExpectedFirewallSubnetRoutes"
Parser (Maybe (Maybe [ExpectedRoute]))
-> Maybe [ExpectedRoute] -> Parser (Maybe [ExpectedRoute])
forall a. Parser (Maybe a) -> a -> Parser a
Core..!= Maybe [ExpectedRoute]
forall a. Monoid a => a
Prelude.mempty
)
Parser
(Maybe [ExpectedRoute]
-> Maybe Text
-> Maybe Route
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Maybe [Route]
-> NetworkFirewallInvalidRouteConfigurationViolation)
-> Parser (Maybe [ExpectedRoute])
-> Parser
(Maybe Text
-> Maybe Route
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Maybe [Route]
-> NetworkFirewallInvalidRouteConfigurationViolation)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x Object -> Text -> Parser (Maybe (Maybe [ExpectedRoute]))
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"ExpectedInternetGatewayRoutes"
Parser (Maybe (Maybe [ExpectedRoute]))
-> Maybe [ExpectedRoute] -> Parser (Maybe [ExpectedRoute])
forall a. Parser (Maybe a) -> a -> Parser a
Core..!= Maybe [ExpectedRoute]
forall a. Monoid a => a
Prelude.mempty
)
Parser
(Maybe Text
-> Maybe Route
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Maybe [Route]
-> NetworkFirewallInvalidRouteConfigurationViolation)
-> Parser (Maybe Text)
-> Parser
(Maybe Route
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Maybe [Route]
-> NetworkFirewallInvalidRouteConfigurationViolation)
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
"CurrentInternetGatewayRouteTable")
Parser
(Maybe Route
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Maybe [Route]
-> NetworkFirewallInvalidRouteConfigurationViolation)
-> Parser (Maybe Route)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Maybe [Route]
-> NetworkFirewallInvalidRouteConfigurationViolation)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Route)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"ViolatingRoute")
Parser
(Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Maybe [Route]
-> NetworkFirewallInvalidRouteConfigurationViolation)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Maybe [Route]
-> NetworkFirewallInvalidRouteConfigurationViolation)
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
"CurrentFirewallSubnetRouteTable")
Parser
(Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe Text
-> Maybe [Route]
-> NetworkFirewallInvalidRouteConfigurationViolation)
-> Parser (Maybe Text)
-> Parser
(Maybe Bool
-> Maybe Text
-> Maybe Text
-> Maybe [Route]
-> NetworkFirewallInvalidRouteConfigurationViolation)
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
"ExpectedFirewallEndpoint")
Parser
(Maybe Bool
-> Maybe Text
-> Maybe Text
-> Maybe [Route]
-> NetworkFirewallInvalidRouteConfigurationViolation)
-> Parser (Maybe Bool)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe [Route]
-> NetworkFirewallInvalidRouteConfigurationViolation)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Bool)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"IsRouteTableUsedInDifferentAZ")
Parser
(Maybe Text
-> Maybe Text
-> Maybe [Route]
-> NetworkFirewallInvalidRouteConfigurationViolation)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe [Route]
-> NetworkFirewallInvalidRouteConfigurationViolation)
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
"ActualFirewallSubnetId")
Parser
(Maybe Text
-> Maybe [Route]
-> NetworkFirewallInvalidRouteConfigurationViolation)
-> Parser (Maybe Text)
-> Parser
(Maybe [Route]
-> NetworkFirewallInvalidRouteConfigurationViolation)
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
"InternetGatewayId")
Parser
(Maybe [Route]
-> NetworkFirewallInvalidRouteConfigurationViolation)
-> Parser (Maybe [Route])
-> Parser NetworkFirewallInvalidRouteConfigurationViolation
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x Object -> Text -> Parser (Maybe (Maybe [Route]))
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"ActualFirewallSubnetRoutes"
Parser (Maybe (Maybe [Route]))
-> Maybe [Route] -> Parser (Maybe [Route])
forall a. Parser (Maybe a) -> a -> Parser a
Core..!= Maybe [Route]
forall a. Monoid a => a
Prelude.mempty
)
)
instance
Prelude.Hashable
NetworkFirewallInvalidRouteConfigurationViolation
instance
Prelude.NFData
NetworkFirewallInvalidRouteConfigurationViolation