{-# 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 #-}

-- Derived from AWS service descriptions, licensed under Apache 2.0.

-- |
-- Module      : Amazonka.FMS.Types.NetworkFirewallInternetTrafficNotInspectedViolation
-- Copyright   : (c) 2013-2021 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
module Amazonka.FMS.Types.NetworkFirewallInternetTrafficNotInspectedViolation 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

-- | Violation detail for the subnet for which internet traffic that hasn\'t
-- been inspected.
--
-- /See:/ 'newNetworkFirewallInternetTrafficNotInspectedViolation' smart constructor.
data NetworkFirewallInternetTrafficNotInspectedViolation = NetworkFirewallInternetTrafficNotInspectedViolation'
  { -- | The actual internet gateway routes.
    NetworkFirewallInternetTrafficNotInspectedViolation
-> Maybe [Route]
actualInternetGatewayRoutes :: Prelude.Maybe [Route],
    -- | Information about the route table ID.
    NetworkFirewallInternetTrafficNotInspectedViolation -> Maybe Text
routeTableId :: Prelude.Maybe Prelude.Text,
    -- | Information about the VPC ID.
    NetworkFirewallInternetTrafficNotInspectedViolation -> Maybe Text
vpcId :: Prelude.Maybe Prelude.Text,
    -- | The route or routes that are in violation.
    NetworkFirewallInternetTrafficNotInspectedViolation
-> Maybe [Route]
violatingRoutes :: Prelude.Maybe [Route],
    -- | The subnet ID.
    NetworkFirewallInternetTrafficNotInspectedViolation -> Maybe Text
subnetId :: Prelude.Maybe Prelude.Text,
    -- | The firewall subnet routes that are expected.
    NetworkFirewallInternetTrafficNotInspectedViolation
-> Maybe [ExpectedRoute]
expectedFirewallSubnetRoutes :: Prelude.Maybe [ExpectedRoute],
    -- | The subnet Availability Zone.
    NetworkFirewallInternetTrafficNotInspectedViolation -> Maybe Text
subnetAvailabilityZone :: Prelude.Maybe Prelude.Text,
    -- | The internet gateway routes that are expected.
    NetworkFirewallInternetTrafficNotInspectedViolation
-> Maybe [ExpectedRoute]
expectedInternetGatewayRoutes :: Prelude.Maybe [ExpectedRoute],
    -- | The current route table for the internet gateway.
    NetworkFirewallInternetTrafficNotInspectedViolation -> Maybe Text
currentInternetGatewayRouteTable :: Prelude.Maybe Prelude.Text,
    -- | The firewall subnet ID.
    NetworkFirewallInternetTrafficNotInspectedViolation -> Maybe Text
firewallSubnetId :: Prelude.Maybe Prelude.Text,
    -- | Information about the subnet route table for the current firewall.
    NetworkFirewallInternetTrafficNotInspectedViolation -> Maybe Text
currentFirewallSubnetRouteTable :: Prelude.Maybe Prelude.Text,
    -- | The expected endpoint for the current firewall.
    NetworkFirewallInternetTrafficNotInspectedViolation -> Maybe Text
expectedFirewallEndpoint :: Prelude.Maybe Prelude.Text,
    -- | Information about whether the route table is used in another
    -- Availability Zone.
    NetworkFirewallInternetTrafficNotInspectedViolation -> Maybe Bool
isRouteTableUsedInDifferentAZ :: Prelude.Maybe Prelude.Bool,
    -- | The internet gateway ID.
    NetworkFirewallInternetTrafficNotInspectedViolation -> Maybe Text
internetGatewayId :: Prelude.Maybe Prelude.Text,
    -- | The actual firewall subnet routes.
    NetworkFirewallInternetTrafficNotInspectedViolation
-> Maybe [Route]
actualFirewallSubnetRoutes :: Prelude.Maybe [Route]
  }
  deriving (NetworkFirewallInternetTrafficNotInspectedViolation
-> NetworkFirewallInternetTrafficNotInspectedViolation -> Bool
(NetworkFirewallInternetTrafficNotInspectedViolation
 -> NetworkFirewallInternetTrafficNotInspectedViolation -> Bool)
-> (NetworkFirewallInternetTrafficNotInspectedViolation
    -> NetworkFirewallInternetTrafficNotInspectedViolation -> Bool)
-> Eq NetworkFirewallInternetTrafficNotInspectedViolation
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: NetworkFirewallInternetTrafficNotInspectedViolation
-> NetworkFirewallInternetTrafficNotInspectedViolation -> Bool
$c/= :: NetworkFirewallInternetTrafficNotInspectedViolation
-> NetworkFirewallInternetTrafficNotInspectedViolation -> Bool
== :: NetworkFirewallInternetTrafficNotInspectedViolation
-> NetworkFirewallInternetTrafficNotInspectedViolation -> Bool
$c== :: NetworkFirewallInternetTrafficNotInspectedViolation
-> NetworkFirewallInternetTrafficNotInspectedViolation -> Bool
Prelude.Eq, ReadPrec [NetworkFirewallInternetTrafficNotInspectedViolation]
ReadPrec NetworkFirewallInternetTrafficNotInspectedViolation
Int -> ReadS NetworkFirewallInternetTrafficNotInspectedViolation
ReadS [NetworkFirewallInternetTrafficNotInspectedViolation]
(Int -> ReadS NetworkFirewallInternetTrafficNotInspectedViolation)
-> ReadS [NetworkFirewallInternetTrafficNotInspectedViolation]
-> ReadPrec NetworkFirewallInternetTrafficNotInspectedViolation
-> ReadPrec [NetworkFirewallInternetTrafficNotInspectedViolation]
-> Read NetworkFirewallInternetTrafficNotInspectedViolation
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [NetworkFirewallInternetTrafficNotInspectedViolation]
$creadListPrec :: ReadPrec [NetworkFirewallInternetTrafficNotInspectedViolation]
readPrec :: ReadPrec NetworkFirewallInternetTrafficNotInspectedViolation
$creadPrec :: ReadPrec NetworkFirewallInternetTrafficNotInspectedViolation
readList :: ReadS [NetworkFirewallInternetTrafficNotInspectedViolation]
$creadList :: ReadS [NetworkFirewallInternetTrafficNotInspectedViolation]
readsPrec :: Int -> ReadS NetworkFirewallInternetTrafficNotInspectedViolation
$creadsPrec :: Int -> ReadS NetworkFirewallInternetTrafficNotInspectedViolation
Prelude.Read, Int -> NetworkFirewallInternetTrafficNotInspectedViolation -> ShowS
[NetworkFirewallInternetTrafficNotInspectedViolation] -> ShowS
NetworkFirewallInternetTrafficNotInspectedViolation -> String
(Int
 -> NetworkFirewallInternetTrafficNotInspectedViolation -> ShowS)
-> (NetworkFirewallInternetTrafficNotInspectedViolation -> String)
-> ([NetworkFirewallInternetTrafficNotInspectedViolation] -> ShowS)
-> Show NetworkFirewallInternetTrafficNotInspectedViolation
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [NetworkFirewallInternetTrafficNotInspectedViolation] -> ShowS
$cshowList :: [NetworkFirewallInternetTrafficNotInspectedViolation] -> ShowS
show :: NetworkFirewallInternetTrafficNotInspectedViolation -> String
$cshow :: NetworkFirewallInternetTrafficNotInspectedViolation -> String
showsPrec :: Int -> NetworkFirewallInternetTrafficNotInspectedViolation -> ShowS
$cshowsPrec :: Int -> NetworkFirewallInternetTrafficNotInspectedViolation -> ShowS
Prelude.Show, (forall x.
 NetworkFirewallInternetTrafficNotInspectedViolation
 -> Rep NetworkFirewallInternetTrafficNotInspectedViolation x)
-> (forall x.
    Rep NetworkFirewallInternetTrafficNotInspectedViolation x
    -> NetworkFirewallInternetTrafficNotInspectedViolation)
-> Generic NetworkFirewallInternetTrafficNotInspectedViolation
forall x.
Rep NetworkFirewallInternetTrafficNotInspectedViolation x
-> NetworkFirewallInternetTrafficNotInspectedViolation
forall x.
NetworkFirewallInternetTrafficNotInspectedViolation
-> Rep NetworkFirewallInternetTrafficNotInspectedViolation x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep NetworkFirewallInternetTrafficNotInspectedViolation x
-> NetworkFirewallInternetTrafficNotInspectedViolation
$cfrom :: forall x.
NetworkFirewallInternetTrafficNotInspectedViolation
-> Rep NetworkFirewallInternetTrafficNotInspectedViolation x
Prelude.Generic)

-- |
-- Create a value of 'NetworkFirewallInternetTrafficNotInspectedViolation' with all optional fields omitted.
--
-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.
--
-- The following record fields are available, with the corresponding lenses provided
-- for backwards compatibility:
--
-- 'actualInternetGatewayRoutes', 'networkFirewallInternetTrafficNotInspectedViolation_actualInternetGatewayRoutes' - The actual internet gateway routes.
--
-- 'routeTableId', 'networkFirewallInternetTrafficNotInspectedViolation_routeTableId' - Information about the route table ID.
--
-- 'vpcId', 'networkFirewallInternetTrafficNotInspectedViolation_vpcId' - Information about the VPC ID.
--
-- 'violatingRoutes', 'networkFirewallInternetTrafficNotInspectedViolation_violatingRoutes' - The route or routes that are in violation.
--
-- 'subnetId', 'networkFirewallInternetTrafficNotInspectedViolation_subnetId' - The subnet ID.
--
-- 'expectedFirewallSubnetRoutes', 'networkFirewallInternetTrafficNotInspectedViolation_expectedFirewallSubnetRoutes' - The firewall subnet routes that are expected.
--
-- 'subnetAvailabilityZone', 'networkFirewallInternetTrafficNotInspectedViolation_subnetAvailabilityZone' - The subnet Availability Zone.
--
-- 'expectedInternetGatewayRoutes', 'networkFirewallInternetTrafficNotInspectedViolation_expectedInternetGatewayRoutes' - The internet gateway routes that are expected.
--
-- 'currentInternetGatewayRouteTable', 'networkFirewallInternetTrafficNotInspectedViolation_currentInternetGatewayRouteTable' - The current route table for the internet gateway.
--
-- 'firewallSubnetId', 'networkFirewallInternetTrafficNotInspectedViolation_firewallSubnetId' - The firewall subnet ID.
--
-- 'currentFirewallSubnetRouteTable', 'networkFirewallInternetTrafficNotInspectedViolation_currentFirewallSubnetRouteTable' - Information about the subnet route table for the current firewall.
--
-- 'expectedFirewallEndpoint', 'networkFirewallInternetTrafficNotInspectedViolation_expectedFirewallEndpoint' - The expected endpoint for the current firewall.
--
-- 'isRouteTableUsedInDifferentAZ', 'networkFirewallInternetTrafficNotInspectedViolation_isRouteTableUsedInDifferentAZ' - Information about whether the route table is used in another
-- Availability Zone.
--
-- 'internetGatewayId', 'networkFirewallInternetTrafficNotInspectedViolation_internetGatewayId' - The internet gateway ID.
--
-- 'actualFirewallSubnetRoutes', 'networkFirewallInternetTrafficNotInspectedViolation_actualFirewallSubnetRoutes' - The actual firewall subnet routes.
newNetworkFirewallInternetTrafficNotInspectedViolation ::
  NetworkFirewallInternetTrafficNotInspectedViolation
newNetworkFirewallInternetTrafficNotInspectedViolation :: NetworkFirewallInternetTrafficNotInspectedViolation
newNetworkFirewallInternetTrafficNotInspectedViolation =
  NetworkFirewallInternetTrafficNotInspectedViolation' :: Maybe [Route]
-> Maybe Text
-> Maybe Text
-> Maybe [Route]
-> Maybe Text
-> Maybe [ExpectedRoute]
-> Maybe Text
-> Maybe [ExpectedRoute]
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe [Route]
-> NetworkFirewallInternetTrafficNotInspectedViolation
NetworkFirewallInternetTrafficNotInspectedViolation'
    { $sel:actualInternetGatewayRoutes:NetworkFirewallInternetTrafficNotInspectedViolation' :: Maybe [Route]
actualInternetGatewayRoutes =
        Maybe [Route]
forall a. Maybe a
Prelude.Nothing,
      $sel:routeTableId:NetworkFirewallInternetTrafficNotInspectedViolation' :: Maybe Text
routeTableId =
        Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:vpcId:NetworkFirewallInternetTrafficNotInspectedViolation' :: Maybe Text
vpcId =
        Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:violatingRoutes:NetworkFirewallInternetTrafficNotInspectedViolation' :: Maybe [Route]
violatingRoutes =
        Maybe [Route]
forall a. Maybe a
Prelude.Nothing,
      $sel:subnetId:NetworkFirewallInternetTrafficNotInspectedViolation' :: Maybe Text
subnetId =
        Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:expectedFirewallSubnetRoutes:NetworkFirewallInternetTrafficNotInspectedViolation' :: Maybe [ExpectedRoute]
expectedFirewallSubnetRoutes =
        Maybe [ExpectedRoute]
forall a. Maybe a
Prelude.Nothing,
      $sel:subnetAvailabilityZone:NetworkFirewallInternetTrafficNotInspectedViolation' :: Maybe Text
subnetAvailabilityZone =
        Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:expectedInternetGatewayRoutes:NetworkFirewallInternetTrafficNotInspectedViolation' :: Maybe [ExpectedRoute]
expectedInternetGatewayRoutes =
        Maybe [ExpectedRoute]
forall a. Maybe a
Prelude.Nothing,
      $sel:currentInternetGatewayRouteTable:NetworkFirewallInternetTrafficNotInspectedViolation' :: Maybe Text
currentInternetGatewayRouteTable =
        Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:firewallSubnetId:NetworkFirewallInternetTrafficNotInspectedViolation' :: Maybe Text
firewallSubnetId =
        Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:currentFirewallSubnetRouteTable:NetworkFirewallInternetTrafficNotInspectedViolation' :: Maybe Text
currentFirewallSubnetRouteTable =
        Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:expectedFirewallEndpoint:NetworkFirewallInternetTrafficNotInspectedViolation' :: Maybe Text
expectedFirewallEndpoint =
        Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:isRouteTableUsedInDifferentAZ:NetworkFirewallInternetTrafficNotInspectedViolation' :: Maybe Bool
isRouteTableUsedInDifferentAZ =
        Maybe Bool
forall a. Maybe a
Prelude.Nothing,
      $sel:internetGatewayId:NetworkFirewallInternetTrafficNotInspectedViolation' :: Maybe Text
internetGatewayId =
        Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:actualFirewallSubnetRoutes:NetworkFirewallInternetTrafficNotInspectedViolation' :: Maybe [Route]
actualFirewallSubnetRoutes =
        Maybe [Route]
forall a. Maybe a
Prelude.Nothing
    }

-- | The actual internet gateway routes.
networkFirewallInternetTrafficNotInspectedViolation_actualInternetGatewayRoutes :: Lens.Lens' NetworkFirewallInternetTrafficNotInspectedViolation (Prelude.Maybe [Route])
networkFirewallInternetTrafficNotInspectedViolation_actualInternetGatewayRoutes :: (Maybe [Route] -> f (Maybe [Route]))
-> NetworkFirewallInternetTrafficNotInspectedViolation
-> f NetworkFirewallInternetTrafficNotInspectedViolation
networkFirewallInternetTrafficNotInspectedViolation_actualInternetGatewayRoutes = (NetworkFirewallInternetTrafficNotInspectedViolation
 -> Maybe [Route])
-> (NetworkFirewallInternetTrafficNotInspectedViolation
    -> Maybe [Route]
    -> NetworkFirewallInternetTrafficNotInspectedViolation)
-> Lens
     NetworkFirewallInternetTrafficNotInspectedViolation
     NetworkFirewallInternetTrafficNotInspectedViolation
     (Maybe [Route])
     (Maybe [Route])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\NetworkFirewallInternetTrafficNotInspectedViolation' {Maybe [Route]
actualInternetGatewayRoutes :: Maybe [Route]
$sel:actualInternetGatewayRoutes:NetworkFirewallInternetTrafficNotInspectedViolation' :: NetworkFirewallInternetTrafficNotInspectedViolation
-> Maybe [Route]
actualInternetGatewayRoutes} -> Maybe [Route]
actualInternetGatewayRoutes) (\s :: NetworkFirewallInternetTrafficNotInspectedViolation
s@NetworkFirewallInternetTrafficNotInspectedViolation' {} Maybe [Route]
a -> NetworkFirewallInternetTrafficNotInspectedViolation
s {$sel:actualInternetGatewayRoutes:NetworkFirewallInternetTrafficNotInspectedViolation' :: Maybe [Route]
actualInternetGatewayRoutes = Maybe [Route]
a} :: NetworkFirewallInternetTrafficNotInspectedViolation) ((Maybe [Route] -> f (Maybe [Route]))
 -> NetworkFirewallInternetTrafficNotInspectedViolation
 -> f NetworkFirewallInternetTrafficNotInspectedViolation)
-> ((Maybe [Route] -> f (Maybe [Route]))
    -> Maybe [Route] -> f (Maybe [Route]))
-> (Maybe [Route] -> f (Maybe [Route]))
-> NetworkFirewallInternetTrafficNotInspectedViolation
-> f NetworkFirewallInternetTrafficNotInspectedViolation
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

-- | Information about the route table ID.
networkFirewallInternetTrafficNotInspectedViolation_routeTableId :: Lens.Lens' NetworkFirewallInternetTrafficNotInspectedViolation (Prelude.Maybe Prelude.Text)
networkFirewallInternetTrafficNotInspectedViolation_routeTableId :: (Maybe Text -> f (Maybe Text))
-> NetworkFirewallInternetTrafficNotInspectedViolation
-> f NetworkFirewallInternetTrafficNotInspectedViolation
networkFirewallInternetTrafficNotInspectedViolation_routeTableId = (NetworkFirewallInternetTrafficNotInspectedViolation -> Maybe Text)
-> (NetworkFirewallInternetTrafficNotInspectedViolation
    -> Maybe Text
    -> NetworkFirewallInternetTrafficNotInspectedViolation)
-> Lens
     NetworkFirewallInternetTrafficNotInspectedViolation
     NetworkFirewallInternetTrafficNotInspectedViolation
     (Maybe Text)
     (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\NetworkFirewallInternetTrafficNotInspectedViolation' {Maybe Text
routeTableId :: Maybe Text
$sel:routeTableId:NetworkFirewallInternetTrafficNotInspectedViolation' :: NetworkFirewallInternetTrafficNotInspectedViolation -> Maybe Text
routeTableId} -> Maybe Text
routeTableId) (\s :: NetworkFirewallInternetTrafficNotInspectedViolation
s@NetworkFirewallInternetTrafficNotInspectedViolation' {} Maybe Text
a -> NetworkFirewallInternetTrafficNotInspectedViolation
s {$sel:routeTableId:NetworkFirewallInternetTrafficNotInspectedViolation' :: Maybe Text
routeTableId = Maybe Text
a} :: NetworkFirewallInternetTrafficNotInspectedViolation)

-- | Information about the VPC ID.
networkFirewallInternetTrafficNotInspectedViolation_vpcId :: Lens.Lens' NetworkFirewallInternetTrafficNotInspectedViolation (Prelude.Maybe Prelude.Text)
networkFirewallInternetTrafficNotInspectedViolation_vpcId :: (Maybe Text -> f (Maybe Text))
-> NetworkFirewallInternetTrafficNotInspectedViolation
-> f NetworkFirewallInternetTrafficNotInspectedViolation
networkFirewallInternetTrafficNotInspectedViolation_vpcId = (NetworkFirewallInternetTrafficNotInspectedViolation -> Maybe Text)
-> (NetworkFirewallInternetTrafficNotInspectedViolation
    -> Maybe Text
    -> NetworkFirewallInternetTrafficNotInspectedViolation)
-> Lens
     NetworkFirewallInternetTrafficNotInspectedViolation
     NetworkFirewallInternetTrafficNotInspectedViolation
     (Maybe Text)
     (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\NetworkFirewallInternetTrafficNotInspectedViolation' {Maybe Text
vpcId :: Maybe Text
$sel:vpcId:NetworkFirewallInternetTrafficNotInspectedViolation' :: NetworkFirewallInternetTrafficNotInspectedViolation -> Maybe Text
vpcId} -> Maybe Text
vpcId) (\s :: NetworkFirewallInternetTrafficNotInspectedViolation
s@NetworkFirewallInternetTrafficNotInspectedViolation' {} Maybe Text
a -> NetworkFirewallInternetTrafficNotInspectedViolation
s {$sel:vpcId:NetworkFirewallInternetTrafficNotInspectedViolation' :: Maybe Text
vpcId = Maybe Text
a} :: NetworkFirewallInternetTrafficNotInspectedViolation)

-- | The route or routes that are in violation.
networkFirewallInternetTrafficNotInspectedViolation_violatingRoutes :: Lens.Lens' NetworkFirewallInternetTrafficNotInspectedViolation (Prelude.Maybe [Route])
networkFirewallInternetTrafficNotInspectedViolation_violatingRoutes :: (Maybe [Route] -> f (Maybe [Route]))
-> NetworkFirewallInternetTrafficNotInspectedViolation
-> f NetworkFirewallInternetTrafficNotInspectedViolation
networkFirewallInternetTrafficNotInspectedViolation_violatingRoutes = (NetworkFirewallInternetTrafficNotInspectedViolation
 -> Maybe [Route])
-> (NetworkFirewallInternetTrafficNotInspectedViolation
    -> Maybe [Route]
    -> NetworkFirewallInternetTrafficNotInspectedViolation)
-> Lens
     NetworkFirewallInternetTrafficNotInspectedViolation
     NetworkFirewallInternetTrafficNotInspectedViolation
     (Maybe [Route])
     (Maybe [Route])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\NetworkFirewallInternetTrafficNotInspectedViolation' {Maybe [Route]
violatingRoutes :: Maybe [Route]
$sel:violatingRoutes:NetworkFirewallInternetTrafficNotInspectedViolation' :: NetworkFirewallInternetTrafficNotInspectedViolation
-> Maybe [Route]
violatingRoutes} -> Maybe [Route]
violatingRoutes) (\s :: NetworkFirewallInternetTrafficNotInspectedViolation
s@NetworkFirewallInternetTrafficNotInspectedViolation' {} Maybe [Route]
a -> NetworkFirewallInternetTrafficNotInspectedViolation
s {$sel:violatingRoutes:NetworkFirewallInternetTrafficNotInspectedViolation' :: Maybe [Route]
violatingRoutes = Maybe [Route]
a} :: NetworkFirewallInternetTrafficNotInspectedViolation) ((Maybe [Route] -> f (Maybe [Route]))
 -> NetworkFirewallInternetTrafficNotInspectedViolation
 -> f NetworkFirewallInternetTrafficNotInspectedViolation)
-> ((Maybe [Route] -> f (Maybe [Route]))
    -> Maybe [Route] -> f (Maybe [Route]))
-> (Maybe [Route] -> f (Maybe [Route]))
-> NetworkFirewallInternetTrafficNotInspectedViolation
-> f NetworkFirewallInternetTrafficNotInspectedViolation
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

-- | The subnet ID.
networkFirewallInternetTrafficNotInspectedViolation_subnetId :: Lens.Lens' NetworkFirewallInternetTrafficNotInspectedViolation (Prelude.Maybe Prelude.Text)
networkFirewallInternetTrafficNotInspectedViolation_subnetId :: (Maybe Text -> f (Maybe Text))
-> NetworkFirewallInternetTrafficNotInspectedViolation
-> f NetworkFirewallInternetTrafficNotInspectedViolation
networkFirewallInternetTrafficNotInspectedViolation_subnetId = (NetworkFirewallInternetTrafficNotInspectedViolation -> Maybe Text)
-> (NetworkFirewallInternetTrafficNotInspectedViolation
    -> Maybe Text
    -> NetworkFirewallInternetTrafficNotInspectedViolation)
-> Lens
     NetworkFirewallInternetTrafficNotInspectedViolation
     NetworkFirewallInternetTrafficNotInspectedViolation
     (Maybe Text)
     (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\NetworkFirewallInternetTrafficNotInspectedViolation' {Maybe Text
subnetId :: Maybe Text
$sel:subnetId:NetworkFirewallInternetTrafficNotInspectedViolation' :: NetworkFirewallInternetTrafficNotInspectedViolation -> Maybe Text
subnetId} -> Maybe Text
subnetId) (\s :: NetworkFirewallInternetTrafficNotInspectedViolation
s@NetworkFirewallInternetTrafficNotInspectedViolation' {} Maybe Text
a -> NetworkFirewallInternetTrafficNotInspectedViolation
s {$sel:subnetId:NetworkFirewallInternetTrafficNotInspectedViolation' :: Maybe Text
subnetId = Maybe Text
a} :: NetworkFirewallInternetTrafficNotInspectedViolation)

-- | The firewall subnet routes that are expected.
networkFirewallInternetTrafficNotInspectedViolation_expectedFirewallSubnetRoutes :: Lens.Lens' NetworkFirewallInternetTrafficNotInspectedViolation (Prelude.Maybe [ExpectedRoute])
networkFirewallInternetTrafficNotInspectedViolation_expectedFirewallSubnetRoutes :: (Maybe [ExpectedRoute] -> f (Maybe [ExpectedRoute]))
-> NetworkFirewallInternetTrafficNotInspectedViolation
-> f NetworkFirewallInternetTrafficNotInspectedViolation
networkFirewallInternetTrafficNotInspectedViolation_expectedFirewallSubnetRoutes = (NetworkFirewallInternetTrafficNotInspectedViolation
 -> Maybe [ExpectedRoute])
-> (NetworkFirewallInternetTrafficNotInspectedViolation
    -> Maybe [ExpectedRoute]
    -> NetworkFirewallInternetTrafficNotInspectedViolation)
-> Lens
     NetworkFirewallInternetTrafficNotInspectedViolation
     NetworkFirewallInternetTrafficNotInspectedViolation
     (Maybe [ExpectedRoute])
     (Maybe [ExpectedRoute])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\NetworkFirewallInternetTrafficNotInspectedViolation' {Maybe [ExpectedRoute]
expectedFirewallSubnetRoutes :: Maybe [ExpectedRoute]
$sel:expectedFirewallSubnetRoutes:NetworkFirewallInternetTrafficNotInspectedViolation' :: NetworkFirewallInternetTrafficNotInspectedViolation
-> Maybe [ExpectedRoute]
expectedFirewallSubnetRoutes} -> Maybe [ExpectedRoute]
expectedFirewallSubnetRoutes) (\s :: NetworkFirewallInternetTrafficNotInspectedViolation
s@NetworkFirewallInternetTrafficNotInspectedViolation' {} Maybe [ExpectedRoute]
a -> NetworkFirewallInternetTrafficNotInspectedViolation
s {$sel:expectedFirewallSubnetRoutes:NetworkFirewallInternetTrafficNotInspectedViolation' :: Maybe [ExpectedRoute]
expectedFirewallSubnetRoutes = Maybe [ExpectedRoute]
a} :: NetworkFirewallInternetTrafficNotInspectedViolation) ((Maybe [ExpectedRoute] -> f (Maybe [ExpectedRoute]))
 -> NetworkFirewallInternetTrafficNotInspectedViolation
 -> f NetworkFirewallInternetTrafficNotInspectedViolation)
-> ((Maybe [ExpectedRoute] -> f (Maybe [ExpectedRoute]))
    -> Maybe [ExpectedRoute] -> f (Maybe [ExpectedRoute]))
-> (Maybe [ExpectedRoute] -> f (Maybe [ExpectedRoute]))
-> NetworkFirewallInternetTrafficNotInspectedViolation
-> f NetworkFirewallInternetTrafficNotInspectedViolation
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

-- | The subnet Availability Zone.
networkFirewallInternetTrafficNotInspectedViolation_subnetAvailabilityZone :: Lens.Lens' NetworkFirewallInternetTrafficNotInspectedViolation (Prelude.Maybe Prelude.Text)
networkFirewallInternetTrafficNotInspectedViolation_subnetAvailabilityZone :: (Maybe Text -> f (Maybe Text))
-> NetworkFirewallInternetTrafficNotInspectedViolation
-> f NetworkFirewallInternetTrafficNotInspectedViolation
networkFirewallInternetTrafficNotInspectedViolation_subnetAvailabilityZone = (NetworkFirewallInternetTrafficNotInspectedViolation -> Maybe Text)
-> (NetworkFirewallInternetTrafficNotInspectedViolation
    -> Maybe Text
    -> NetworkFirewallInternetTrafficNotInspectedViolation)
-> Lens
     NetworkFirewallInternetTrafficNotInspectedViolation
     NetworkFirewallInternetTrafficNotInspectedViolation
     (Maybe Text)
     (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\NetworkFirewallInternetTrafficNotInspectedViolation' {Maybe Text
subnetAvailabilityZone :: Maybe Text
$sel:subnetAvailabilityZone:NetworkFirewallInternetTrafficNotInspectedViolation' :: NetworkFirewallInternetTrafficNotInspectedViolation -> Maybe Text
subnetAvailabilityZone} -> Maybe Text
subnetAvailabilityZone) (\s :: NetworkFirewallInternetTrafficNotInspectedViolation
s@NetworkFirewallInternetTrafficNotInspectedViolation' {} Maybe Text
a -> NetworkFirewallInternetTrafficNotInspectedViolation
s {$sel:subnetAvailabilityZone:NetworkFirewallInternetTrafficNotInspectedViolation' :: Maybe Text
subnetAvailabilityZone = Maybe Text
a} :: NetworkFirewallInternetTrafficNotInspectedViolation)

-- | The internet gateway routes that are expected.
networkFirewallInternetTrafficNotInspectedViolation_expectedInternetGatewayRoutes :: Lens.Lens' NetworkFirewallInternetTrafficNotInspectedViolation (Prelude.Maybe [ExpectedRoute])
networkFirewallInternetTrafficNotInspectedViolation_expectedInternetGatewayRoutes :: (Maybe [ExpectedRoute] -> f (Maybe [ExpectedRoute]))
-> NetworkFirewallInternetTrafficNotInspectedViolation
-> f NetworkFirewallInternetTrafficNotInspectedViolation
networkFirewallInternetTrafficNotInspectedViolation_expectedInternetGatewayRoutes = (NetworkFirewallInternetTrafficNotInspectedViolation
 -> Maybe [ExpectedRoute])
-> (NetworkFirewallInternetTrafficNotInspectedViolation
    -> Maybe [ExpectedRoute]
    -> NetworkFirewallInternetTrafficNotInspectedViolation)
-> Lens
     NetworkFirewallInternetTrafficNotInspectedViolation
     NetworkFirewallInternetTrafficNotInspectedViolation
     (Maybe [ExpectedRoute])
     (Maybe [ExpectedRoute])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\NetworkFirewallInternetTrafficNotInspectedViolation' {Maybe [ExpectedRoute]
expectedInternetGatewayRoutes :: Maybe [ExpectedRoute]
$sel:expectedInternetGatewayRoutes:NetworkFirewallInternetTrafficNotInspectedViolation' :: NetworkFirewallInternetTrafficNotInspectedViolation
-> Maybe [ExpectedRoute]
expectedInternetGatewayRoutes} -> Maybe [ExpectedRoute]
expectedInternetGatewayRoutes) (\s :: NetworkFirewallInternetTrafficNotInspectedViolation
s@NetworkFirewallInternetTrafficNotInspectedViolation' {} Maybe [ExpectedRoute]
a -> NetworkFirewallInternetTrafficNotInspectedViolation
s {$sel:expectedInternetGatewayRoutes:NetworkFirewallInternetTrafficNotInspectedViolation' :: Maybe [ExpectedRoute]
expectedInternetGatewayRoutes = Maybe [ExpectedRoute]
a} :: NetworkFirewallInternetTrafficNotInspectedViolation) ((Maybe [ExpectedRoute] -> f (Maybe [ExpectedRoute]))
 -> NetworkFirewallInternetTrafficNotInspectedViolation
 -> f NetworkFirewallInternetTrafficNotInspectedViolation)
-> ((Maybe [ExpectedRoute] -> f (Maybe [ExpectedRoute]))
    -> Maybe [ExpectedRoute] -> f (Maybe [ExpectedRoute]))
-> (Maybe [ExpectedRoute] -> f (Maybe [ExpectedRoute]))
-> NetworkFirewallInternetTrafficNotInspectedViolation
-> f NetworkFirewallInternetTrafficNotInspectedViolation
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

-- | The current route table for the internet gateway.
networkFirewallInternetTrafficNotInspectedViolation_currentInternetGatewayRouteTable :: Lens.Lens' NetworkFirewallInternetTrafficNotInspectedViolation (Prelude.Maybe Prelude.Text)
networkFirewallInternetTrafficNotInspectedViolation_currentInternetGatewayRouteTable :: (Maybe Text -> f (Maybe Text))
-> NetworkFirewallInternetTrafficNotInspectedViolation
-> f NetworkFirewallInternetTrafficNotInspectedViolation
networkFirewallInternetTrafficNotInspectedViolation_currentInternetGatewayRouteTable = (NetworkFirewallInternetTrafficNotInspectedViolation -> Maybe Text)
-> (NetworkFirewallInternetTrafficNotInspectedViolation
    -> Maybe Text
    -> NetworkFirewallInternetTrafficNotInspectedViolation)
-> Lens
     NetworkFirewallInternetTrafficNotInspectedViolation
     NetworkFirewallInternetTrafficNotInspectedViolation
     (Maybe Text)
     (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\NetworkFirewallInternetTrafficNotInspectedViolation' {Maybe Text
currentInternetGatewayRouteTable :: Maybe Text
$sel:currentInternetGatewayRouteTable:NetworkFirewallInternetTrafficNotInspectedViolation' :: NetworkFirewallInternetTrafficNotInspectedViolation -> Maybe Text
currentInternetGatewayRouteTable} -> Maybe Text
currentInternetGatewayRouteTable) (\s :: NetworkFirewallInternetTrafficNotInspectedViolation
s@NetworkFirewallInternetTrafficNotInspectedViolation' {} Maybe Text
a -> NetworkFirewallInternetTrafficNotInspectedViolation
s {$sel:currentInternetGatewayRouteTable:NetworkFirewallInternetTrafficNotInspectedViolation' :: Maybe Text
currentInternetGatewayRouteTable = Maybe Text
a} :: NetworkFirewallInternetTrafficNotInspectedViolation)

-- | The firewall subnet ID.
networkFirewallInternetTrafficNotInspectedViolation_firewallSubnetId :: Lens.Lens' NetworkFirewallInternetTrafficNotInspectedViolation (Prelude.Maybe Prelude.Text)
networkFirewallInternetTrafficNotInspectedViolation_firewallSubnetId :: (Maybe Text -> f (Maybe Text))
-> NetworkFirewallInternetTrafficNotInspectedViolation
-> f NetworkFirewallInternetTrafficNotInspectedViolation
networkFirewallInternetTrafficNotInspectedViolation_firewallSubnetId = (NetworkFirewallInternetTrafficNotInspectedViolation -> Maybe Text)
-> (NetworkFirewallInternetTrafficNotInspectedViolation
    -> Maybe Text
    -> NetworkFirewallInternetTrafficNotInspectedViolation)
-> Lens
     NetworkFirewallInternetTrafficNotInspectedViolation
     NetworkFirewallInternetTrafficNotInspectedViolation
     (Maybe Text)
     (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\NetworkFirewallInternetTrafficNotInspectedViolation' {Maybe Text
firewallSubnetId :: Maybe Text
$sel:firewallSubnetId:NetworkFirewallInternetTrafficNotInspectedViolation' :: NetworkFirewallInternetTrafficNotInspectedViolation -> Maybe Text
firewallSubnetId} -> Maybe Text
firewallSubnetId) (\s :: NetworkFirewallInternetTrafficNotInspectedViolation
s@NetworkFirewallInternetTrafficNotInspectedViolation' {} Maybe Text
a -> NetworkFirewallInternetTrafficNotInspectedViolation
s {$sel:firewallSubnetId:NetworkFirewallInternetTrafficNotInspectedViolation' :: Maybe Text
firewallSubnetId = Maybe Text
a} :: NetworkFirewallInternetTrafficNotInspectedViolation)

-- | Information about the subnet route table for the current firewall.
networkFirewallInternetTrafficNotInspectedViolation_currentFirewallSubnetRouteTable :: Lens.Lens' NetworkFirewallInternetTrafficNotInspectedViolation (Prelude.Maybe Prelude.Text)
networkFirewallInternetTrafficNotInspectedViolation_currentFirewallSubnetRouteTable :: (Maybe Text -> f (Maybe Text))
-> NetworkFirewallInternetTrafficNotInspectedViolation
-> f NetworkFirewallInternetTrafficNotInspectedViolation
networkFirewallInternetTrafficNotInspectedViolation_currentFirewallSubnetRouteTable = (NetworkFirewallInternetTrafficNotInspectedViolation -> Maybe Text)
-> (NetworkFirewallInternetTrafficNotInspectedViolation
    -> Maybe Text
    -> NetworkFirewallInternetTrafficNotInspectedViolation)
-> Lens
     NetworkFirewallInternetTrafficNotInspectedViolation
     NetworkFirewallInternetTrafficNotInspectedViolation
     (Maybe Text)
     (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\NetworkFirewallInternetTrafficNotInspectedViolation' {Maybe Text
currentFirewallSubnetRouteTable :: Maybe Text
$sel:currentFirewallSubnetRouteTable:NetworkFirewallInternetTrafficNotInspectedViolation' :: NetworkFirewallInternetTrafficNotInspectedViolation -> Maybe Text
currentFirewallSubnetRouteTable} -> Maybe Text
currentFirewallSubnetRouteTable) (\s :: NetworkFirewallInternetTrafficNotInspectedViolation
s@NetworkFirewallInternetTrafficNotInspectedViolation' {} Maybe Text
a -> NetworkFirewallInternetTrafficNotInspectedViolation
s {$sel:currentFirewallSubnetRouteTable:NetworkFirewallInternetTrafficNotInspectedViolation' :: Maybe Text
currentFirewallSubnetRouteTable = Maybe Text
a} :: NetworkFirewallInternetTrafficNotInspectedViolation)

-- | The expected endpoint for the current firewall.
networkFirewallInternetTrafficNotInspectedViolation_expectedFirewallEndpoint :: Lens.Lens' NetworkFirewallInternetTrafficNotInspectedViolation (Prelude.Maybe Prelude.Text)
networkFirewallInternetTrafficNotInspectedViolation_expectedFirewallEndpoint :: (Maybe Text -> f (Maybe Text))
-> NetworkFirewallInternetTrafficNotInspectedViolation
-> f NetworkFirewallInternetTrafficNotInspectedViolation
networkFirewallInternetTrafficNotInspectedViolation_expectedFirewallEndpoint = (NetworkFirewallInternetTrafficNotInspectedViolation -> Maybe Text)
-> (NetworkFirewallInternetTrafficNotInspectedViolation
    -> Maybe Text
    -> NetworkFirewallInternetTrafficNotInspectedViolation)
-> Lens
     NetworkFirewallInternetTrafficNotInspectedViolation
     NetworkFirewallInternetTrafficNotInspectedViolation
     (Maybe Text)
     (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\NetworkFirewallInternetTrafficNotInspectedViolation' {Maybe Text
expectedFirewallEndpoint :: Maybe Text
$sel:expectedFirewallEndpoint:NetworkFirewallInternetTrafficNotInspectedViolation' :: NetworkFirewallInternetTrafficNotInspectedViolation -> Maybe Text
expectedFirewallEndpoint} -> Maybe Text
expectedFirewallEndpoint) (\s :: NetworkFirewallInternetTrafficNotInspectedViolation
s@NetworkFirewallInternetTrafficNotInspectedViolation' {} Maybe Text
a -> NetworkFirewallInternetTrafficNotInspectedViolation
s {$sel:expectedFirewallEndpoint:NetworkFirewallInternetTrafficNotInspectedViolation' :: Maybe Text
expectedFirewallEndpoint = Maybe Text
a} :: NetworkFirewallInternetTrafficNotInspectedViolation)

-- | Information about whether the route table is used in another
-- Availability Zone.
networkFirewallInternetTrafficNotInspectedViolation_isRouteTableUsedInDifferentAZ :: Lens.Lens' NetworkFirewallInternetTrafficNotInspectedViolation (Prelude.Maybe Prelude.Bool)
networkFirewallInternetTrafficNotInspectedViolation_isRouteTableUsedInDifferentAZ :: (Maybe Bool -> f (Maybe Bool))
-> NetworkFirewallInternetTrafficNotInspectedViolation
-> f NetworkFirewallInternetTrafficNotInspectedViolation
networkFirewallInternetTrafficNotInspectedViolation_isRouteTableUsedInDifferentAZ = (NetworkFirewallInternetTrafficNotInspectedViolation -> Maybe Bool)
-> (NetworkFirewallInternetTrafficNotInspectedViolation
    -> Maybe Bool
    -> NetworkFirewallInternetTrafficNotInspectedViolation)
-> Lens
     NetworkFirewallInternetTrafficNotInspectedViolation
     NetworkFirewallInternetTrafficNotInspectedViolation
     (Maybe Bool)
     (Maybe Bool)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\NetworkFirewallInternetTrafficNotInspectedViolation' {Maybe Bool
isRouteTableUsedInDifferentAZ :: Maybe Bool
$sel:isRouteTableUsedInDifferentAZ:NetworkFirewallInternetTrafficNotInspectedViolation' :: NetworkFirewallInternetTrafficNotInspectedViolation -> Maybe Bool
isRouteTableUsedInDifferentAZ} -> Maybe Bool
isRouteTableUsedInDifferentAZ) (\s :: NetworkFirewallInternetTrafficNotInspectedViolation
s@NetworkFirewallInternetTrafficNotInspectedViolation' {} Maybe Bool
a -> NetworkFirewallInternetTrafficNotInspectedViolation
s {$sel:isRouteTableUsedInDifferentAZ:NetworkFirewallInternetTrafficNotInspectedViolation' :: Maybe Bool
isRouteTableUsedInDifferentAZ = Maybe Bool
a} :: NetworkFirewallInternetTrafficNotInspectedViolation)

-- | The internet gateway ID.
networkFirewallInternetTrafficNotInspectedViolation_internetGatewayId :: Lens.Lens' NetworkFirewallInternetTrafficNotInspectedViolation (Prelude.Maybe Prelude.Text)
networkFirewallInternetTrafficNotInspectedViolation_internetGatewayId :: (Maybe Text -> f (Maybe Text))
-> NetworkFirewallInternetTrafficNotInspectedViolation
-> f NetworkFirewallInternetTrafficNotInspectedViolation
networkFirewallInternetTrafficNotInspectedViolation_internetGatewayId = (NetworkFirewallInternetTrafficNotInspectedViolation -> Maybe Text)
-> (NetworkFirewallInternetTrafficNotInspectedViolation
    -> Maybe Text
    -> NetworkFirewallInternetTrafficNotInspectedViolation)
-> Lens
     NetworkFirewallInternetTrafficNotInspectedViolation
     NetworkFirewallInternetTrafficNotInspectedViolation
     (Maybe Text)
     (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\NetworkFirewallInternetTrafficNotInspectedViolation' {Maybe Text
internetGatewayId :: Maybe Text
$sel:internetGatewayId:NetworkFirewallInternetTrafficNotInspectedViolation' :: NetworkFirewallInternetTrafficNotInspectedViolation -> Maybe Text
internetGatewayId} -> Maybe Text
internetGatewayId) (\s :: NetworkFirewallInternetTrafficNotInspectedViolation
s@NetworkFirewallInternetTrafficNotInspectedViolation' {} Maybe Text
a -> NetworkFirewallInternetTrafficNotInspectedViolation
s {$sel:internetGatewayId:NetworkFirewallInternetTrafficNotInspectedViolation' :: Maybe Text
internetGatewayId = Maybe Text
a} :: NetworkFirewallInternetTrafficNotInspectedViolation)

-- | The actual firewall subnet routes.
networkFirewallInternetTrafficNotInspectedViolation_actualFirewallSubnetRoutes :: Lens.Lens' NetworkFirewallInternetTrafficNotInspectedViolation (Prelude.Maybe [Route])
networkFirewallInternetTrafficNotInspectedViolation_actualFirewallSubnetRoutes :: (Maybe [Route] -> f (Maybe [Route]))
-> NetworkFirewallInternetTrafficNotInspectedViolation
-> f NetworkFirewallInternetTrafficNotInspectedViolation
networkFirewallInternetTrafficNotInspectedViolation_actualFirewallSubnetRoutes = (NetworkFirewallInternetTrafficNotInspectedViolation
 -> Maybe [Route])
-> (NetworkFirewallInternetTrafficNotInspectedViolation
    -> Maybe [Route]
    -> NetworkFirewallInternetTrafficNotInspectedViolation)
-> Lens
     NetworkFirewallInternetTrafficNotInspectedViolation
     NetworkFirewallInternetTrafficNotInspectedViolation
     (Maybe [Route])
     (Maybe [Route])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\NetworkFirewallInternetTrafficNotInspectedViolation' {Maybe [Route]
actualFirewallSubnetRoutes :: Maybe [Route]
$sel:actualFirewallSubnetRoutes:NetworkFirewallInternetTrafficNotInspectedViolation' :: NetworkFirewallInternetTrafficNotInspectedViolation
-> Maybe [Route]
actualFirewallSubnetRoutes} -> Maybe [Route]
actualFirewallSubnetRoutes) (\s :: NetworkFirewallInternetTrafficNotInspectedViolation
s@NetworkFirewallInternetTrafficNotInspectedViolation' {} Maybe [Route]
a -> NetworkFirewallInternetTrafficNotInspectedViolation
s {$sel:actualFirewallSubnetRoutes:NetworkFirewallInternetTrafficNotInspectedViolation' :: Maybe [Route]
actualFirewallSubnetRoutes = Maybe [Route]
a} :: NetworkFirewallInternetTrafficNotInspectedViolation) ((Maybe [Route] -> f (Maybe [Route]))
 -> NetworkFirewallInternetTrafficNotInspectedViolation
 -> f NetworkFirewallInternetTrafficNotInspectedViolation)
-> ((Maybe [Route] -> f (Maybe [Route]))
    -> Maybe [Route] -> f (Maybe [Route]))
-> (Maybe [Route] -> f (Maybe [Route]))
-> NetworkFirewallInternetTrafficNotInspectedViolation
-> f NetworkFirewallInternetTrafficNotInspectedViolation
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
    NetworkFirewallInternetTrafficNotInspectedViolation
  where
  parseJSON :: Value -> Parser NetworkFirewallInternetTrafficNotInspectedViolation
parseJSON =
    String
-> (Object
    -> Parser NetworkFirewallInternetTrafficNotInspectedViolation)
-> Value
-> Parser NetworkFirewallInternetTrafficNotInspectedViolation
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Core.withObject
      String
"NetworkFirewallInternetTrafficNotInspectedViolation"
      ( \Object
x ->
          Maybe [Route]
-> Maybe Text
-> Maybe Text
-> Maybe [Route]
-> Maybe Text
-> Maybe [ExpectedRoute]
-> Maybe Text
-> Maybe [ExpectedRoute]
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Maybe [Route]
-> NetworkFirewallInternetTrafficNotInspectedViolation
NetworkFirewallInternetTrafficNotInspectedViolation'
            (Maybe [Route]
 -> Maybe Text
 -> Maybe Text
 -> Maybe [Route]
 -> Maybe Text
 -> Maybe [ExpectedRoute]
 -> Maybe Text
 -> Maybe [ExpectedRoute]
 -> Maybe Text
 -> Maybe Text
 -> Maybe Text
 -> Maybe Text
 -> Maybe Bool
 -> Maybe Text
 -> Maybe [Route]
 -> NetworkFirewallInternetTrafficNotInspectedViolation)
-> Parser (Maybe [Route])
-> Parser
     (Maybe Text
      -> Maybe Text
      -> Maybe [Route]
      -> Maybe Text
      -> Maybe [ExpectedRoute]
      -> Maybe Text
      -> Maybe [ExpectedRoute]
      -> Maybe Text
      -> Maybe Text
      -> Maybe Text
      -> Maybe Text
      -> Maybe Bool
      -> Maybe Text
      -> Maybe [Route]
      -> NetworkFirewallInternetTrafficNotInspectedViolation)
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 [Route]
   -> Maybe Text
   -> Maybe [ExpectedRoute]
   -> Maybe Text
   -> Maybe [ExpectedRoute]
   -> Maybe Text
   -> Maybe Text
   -> Maybe Text
   -> Maybe Text
   -> Maybe Bool
   -> Maybe Text
   -> Maybe [Route]
   -> NetworkFirewallInternetTrafficNotInspectedViolation)
-> Parser (Maybe Text)
-> Parser
     (Maybe Text
      -> Maybe [Route]
      -> Maybe Text
      -> Maybe [ExpectedRoute]
      -> Maybe Text
      -> Maybe [ExpectedRoute]
      -> Maybe Text
      -> Maybe Text
      -> Maybe Text
      -> Maybe Text
      -> Maybe Bool
      -> Maybe Text
      -> Maybe [Route]
      -> NetworkFirewallInternetTrafficNotInspectedViolation)
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 [Route]
   -> Maybe Text
   -> Maybe [ExpectedRoute]
   -> Maybe Text
   -> Maybe [ExpectedRoute]
   -> Maybe Text
   -> Maybe Text
   -> Maybe Text
   -> Maybe Text
   -> Maybe Bool
   -> Maybe Text
   -> Maybe [Route]
   -> NetworkFirewallInternetTrafficNotInspectedViolation)
-> Parser (Maybe Text)
-> Parser
     (Maybe [Route]
      -> Maybe Text
      -> Maybe [ExpectedRoute]
      -> Maybe Text
      -> Maybe [ExpectedRoute]
      -> Maybe Text
      -> Maybe Text
      -> Maybe Text
      -> Maybe Text
      -> Maybe Bool
      -> Maybe Text
      -> Maybe [Route]
      -> NetworkFirewallInternetTrafficNotInspectedViolation)
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 [Route]
   -> Maybe Text
   -> Maybe [ExpectedRoute]
   -> Maybe Text
   -> Maybe [ExpectedRoute]
   -> Maybe Text
   -> Maybe Text
   -> Maybe Text
   -> Maybe Text
   -> Maybe Bool
   -> Maybe Text
   -> Maybe [Route]
   -> NetworkFirewallInternetTrafficNotInspectedViolation)
-> Parser (Maybe [Route])
-> Parser
     (Maybe Text
      -> Maybe [ExpectedRoute]
      -> Maybe Text
      -> Maybe [ExpectedRoute]
      -> Maybe Text
      -> Maybe Text
      -> Maybe Text
      -> Maybe Text
      -> Maybe Bool
      -> Maybe Text
      -> Maybe [Route]
      -> NetworkFirewallInternetTrafficNotInspectedViolation)
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
"ViolatingRoutes"
                              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 [ExpectedRoute]
   -> Maybe Text
   -> Maybe [ExpectedRoute]
   -> Maybe Text
   -> Maybe Text
   -> Maybe Text
   -> Maybe Text
   -> Maybe Bool
   -> Maybe Text
   -> Maybe [Route]
   -> NetworkFirewallInternetTrafficNotInspectedViolation)
-> Parser (Maybe Text)
-> Parser
     (Maybe [ExpectedRoute]
      -> Maybe Text
      -> Maybe [ExpectedRoute]
      -> Maybe Text
      -> Maybe Text
      -> Maybe Text
      -> Maybe Text
      -> Maybe Bool
      -> Maybe Text
      -> Maybe [Route]
      -> NetworkFirewallInternetTrafficNotInspectedViolation)
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
"SubnetId")
              Parser
  (Maybe [ExpectedRoute]
   -> Maybe Text
   -> Maybe [ExpectedRoute]
   -> Maybe Text
   -> Maybe Text
   -> Maybe Text
   -> Maybe Text
   -> Maybe Bool
   -> Maybe Text
   -> Maybe [Route]
   -> NetworkFirewallInternetTrafficNotInspectedViolation)
-> Parser (Maybe [ExpectedRoute])
-> Parser
     (Maybe Text
      -> Maybe [ExpectedRoute]
      -> Maybe Text
      -> Maybe Text
      -> Maybe Text
      -> Maybe Text
      -> Maybe Bool
      -> Maybe Text
      -> Maybe [Route]
      -> NetworkFirewallInternetTrafficNotInspectedViolation)
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 Text
   -> Maybe [ExpectedRoute]
   -> Maybe Text
   -> Maybe Text
   -> Maybe Text
   -> Maybe Text
   -> Maybe Bool
   -> Maybe Text
   -> Maybe [Route]
   -> NetworkFirewallInternetTrafficNotInspectedViolation)
-> Parser (Maybe Text)
-> Parser
     (Maybe [ExpectedRoute]
      -> Maybe Text
      -> Maybe Text
      -> Maybe Text
      -> Maybe Text
      -> Maybe Bool
      -> Maybe Text
      -> Maybe [Route]
      -> NetworkFirewallInternetTrafficNotInspectedViolation)
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
"SubnetAvailabilityZone")
              Parser
  (Maybe [ExpectedRoute]
   -> Maybe Text
   -> Maybe Text
   -> Maybe Text
   -> Maybe Text
   -> Maybe Bool
   -> Maybe Text
   -> Maybe [Route]
   -> NetworkFirewallInternetTrafficNotInspectedViolation)
-> Parser (Maybe [ExpectedRoute])
-> Parser
     (Maybe Text
      -> Maybe Text
      -> Maybe Text
      -> Maybe Text
      -> Maybe Bool
      -> Maybe Text
      -> Maybe [Route]
      -> NetworkFirewallInternetTrafficNotInspectedViolation)
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 Text
   -> Maybe Text
   -> Maybe Text
   -> Maybe Bool
   -> Maybe Text
   -> Maybe [Route]
   -> NetworkFirewallInternetTrafficNotInspectedViolation)
-> Parser (Maybe Text)
-> Parser
     (Maybe Text
      -> Maybe Text
      -> Maybe Text
      -> Maybe Bool
      -> Maybe Text
      -> Maybe [Route]
      -> NetworkFirewallInternetTrafficNotInspectedViolation)
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 Text
   -> Maybe Text
   -> Maybe Text
   -> Maybe Bool
   -> Maybe Text
   -> Maybe [Route]
   -> NetworkFirewallInternetTrafficNotInspectedViolation)
-> Parser (Maybe Text)
-> Parser
     (Maybe Text
      -> Maybe Text
      -> Maybe Bool
      -> Maybe Text
      -> Maybe [Route]
      -> NetworkFirewallInternetTrafficNotInspectedViolation)
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
"FirewallSubnetId")
              Parser
  (Maybe Text
   -> Maybe Text
   -> Maybe Bool
   -> Maybe Text
   -> Maybe [Route]
   -> NetworkFirewallInternetTrafficNotInspectedViolation)
-> Parser (Maybe Text)
-> Parser
     (Maybe Text
      -> Maybe Bool
      -> Maybe Text
      -> Maybe [Route]
      -> NetworkFirewallInternetTrafficNotInspectedViolation)
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 [Route]
   -> NetworkFirewallInternetTrafficNotInspectedViolation)
-> Parser (Maybe Text)
-> Parser
     (Maybe Bool
      -> Maybe Text
      -> Maybe [Route]
      -> NetworkFirewallInternetTrafficNotInspectedViolation)
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 [Route]
   -> NetworkFirewallInternetTrafficNotInspectedViolation)
-> Parser (Maybe Bool)
-> Parser
     (Maybe Text
      -> Maybe [Route]
      -> NetworkFirewallInternetTrafficNotInspectedViolation)
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 [Route]
   -> NetworkFirewallInternetTrafficNotInspectedViolation)
-> Parser (Maybe Text)
-> Parser
     (Maybe [Route]
      -> NetworkFirewallInternetTrafficNotInspectedViolation)
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]
   -> NetworkFirewallInternetTrafficNotInspectedViolation)
-> Parser (Maybe [Route])
-> Parser NetworkFirewallInternetTrafficNotInspectedViolation
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
    NetworkFirewallInternetTrafficNotInspectedViolation

instance
  Prelude.NFData
    NetworkFirewallInternetTrafficNotInspectedViolation