{-# 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.DirectoryService.Types.RegionDescription
-- Copyright   : (c) 2013-2023 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
module Amazonka.DirectoryService.Types.RegionDescription where

import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import qualified Amazonka.Data as Data
import Amazonka.DirectoryService.Types.DirectoryStage
import Amazonka.DirectoryService.Types.DirectoryVpcSettings
import Amazonka.DirectoryService.Types.RegionType
import qualified Amazonka.Prelude as Prelude

-- | The replicated Region information for a directory.
--
-- /See:/ 'newRegionDescription' smart constructor.
data RegionDescription = RegionDescription'
  { -- | The desired number of domain controllers in the specified Region for the
    -- specified directory.
    RegionDescription -> Maybe Natural
desiredNumberOfDomainControllers :: Prelude.Maybe Prelude.Natural,
    -- | The identifier of the directory.
    RegionDescription -> Maybe Text
directoryId :: Prelude.Maybe Prelude.Text,
    -- | The date and time that the Region description was last updated.
    RegionDescription -> Maybe POSIX
lastUpdatedDateTime :: Prelude.Maybe Data.POSIX,
    -- | Specifies when the Region replication began.
    RegionDescription -> Maybe POSIX
launchTime :: Prelude.Maybe Data.POSIX,
    -- | The name of the Region. For example, @us-east-1@.
    RegionDescription -> Maybe Text
regionName :: Prelude.Maybe Prelude.Text,
    -- | Specifies whether the Region is the primary Region or an additional
    -- Region.
    RegionDescription -> Maybe RegionType
regionType :: Prelude.Maybe RegionType,
    -- | The status of the replication process for the specified Region.
    RegionDescription -> Maybe DirectoryStage
status :: Prelude.Maybe DirectoryStage,
    -- | The date and time that the Region status was last updated.
    RegionDescription -> Maybe POSIX
statusLastUpdatedDateTime :: Prelude.Maybe Data.POSIX,
    RegionDescription -> Maybe DirectoryVpcSettings
vpcSettings :: Prelude.Maybe DirectoryVpcSettings
  }
  deriving (RegionDescription -> RegionDescription -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: RegionDescription -> RegionDescription -> Bool
$c/= :: RegionDescription -> RegionDescription -> Bool
== :: RegionDescription -> RegionDescription -> Bool
$c== :: RegionDescription -> RegionDescription -> Bool
Prelude.Eq, ReadPrec [RegionDescription]
ReadPrec RegionDescription
Int -> ReadS RegionDescription
ReadS [RegionDescription]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [RegionDescription]
$creadListPrec :: ReadPrec [RegionDescription]
readPrec :: ReadPrec RegionDescription
$creadPrec :: ReadPrec RegionDescription
readList :: ReadS [RegionDescription]
$creadList :: ReadS [RegionDescription]
readsPrec :: Int -> ReadS RegionDescription
$creadsPrec :: Int -> ReadS RegionDescription
Prelude.Read, Int -> RegionDescription -> ShowS
[RegionDescription] -> ShowS
RegionDescription -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [RegionDescription] -> ShowS
$cshowList :: [RegionDescription] -> ShowS
show :: RegionDescription -> String
$cshow :: RegionDescription -> String
showsPrec :: Int -> RegionDescription -> ShowS
$cshowsPrec :: Int -> RegionDescription -> ShowS
Prelude.Show, forall x. Rep RegionDescription x -> RegionDescription
forall x. RegionDescription -> Rep RegionDescription x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep RegionDescription x -> RegionDescription
$cfrom :: forall x. RegionDescription -> Rep RegionDescription x
Prelude.Generic)

-- |
-- Create a value of 'RegionDescription' 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:
--
-- 'desiredNumberOfDomainControllers', 'regionDescription_desiredNumberOfDomainControllers' - The desired number of domain controllers in the specified Region for the
-- specified directory.
--
-- 'directoryId', 'regionDescription_directoryId' - The identifier of the directory.
--
-- 'lastUpdatedDateTime', 'regionDescription_lastUpdatedDateTime' - The date and time that the Region description was last updated.
--
-- 'launchTime', 'regionDescription_launchTime' - Specifies when the Region replication began.
--
-- 'regionName', 'regionDescription_regionName' - The name of the Region. For example, @us-east-1@.
--
-- 'regionType', 'regionDescription_regionType' - Specifies whether the Region is the primary Region or an additional
-- Region.
--
-- 'status', 'regionDescription_status' - The status of the replication process for the specified Region.
--
-- 'statusLastUpdatedDateTime', 'regionDescription_statusLastUpdatedDateTime' - The date and time that the Region status was last updated.
--
-- 'vpcSettings', 'regionDescription_vpcSettings' - Undocumented member.
newRegionDescription ::
  RegionDescription
newRegionDescription :: RegionDescription
newRegionDescription =
  RegionDescription'
    { $sel:desiredNumberOfDomainControllers:RegionDescription' :: Maybe Natural
desiredNumberOfDomainControllers =
        forall a. Maybe a
Prelude.Nothing,
      $sel:directoryId:RegionDescription' :: Maybe Text
directoryId = forall a. Maybe a
Prelude.Nothing,
      $sel:lastUpdatedDateTime:RegionDescription' :: Maybe POSIX
lastUpdatedDateTime = forall a. Maybe a
Prelude.Nothing,
      $sel:launchTime:RegionDescription' :: Maybe POSIX
launchTime = forall a. Maybe a
Prelude.Nothing,
      $sel:regionName:RegionDescription' :: Maybe Text
regionName = forall a. Maybe a
Prelude.Nothing,
      $sel:regionType:RegionDescription' :: Maybe RegionType
regionType = forall a. Maybe a
Prelude.Nothing,
      $sel:status:RegionDescription' :: Maybe DirectoryStage
status = forall a. Maybe a
Prelude.Nothing,
      $sel:statusLastUpdatedDateTime:RegionDescription' :: Maybe POSIX
statusLastUpdatedDateTime = forall a. Maybe a
Prelude.Nothing,
      $sel:vpcSettings:RegionDescription' :: Maybe DirectoryVpcSettings
vpcSettings = forall a. Maybe a
Prelude.Nothing
    }

-- | The desired number of domain controllers in the specified Region for the
-- specified directory.
regionDescription_desiredNumberOfDomainControllers :: Lens.Lens' RegionDescription (Prelude.Maybe Prelude.Natural)
regionDescription_desiredNumberOfDomainControllers :: Lens' RegionDescription (Maybe Natural)
regionDescription_desiredNumberOfDomainControllers = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RegionDescription' {Maybe Natural
desiredNumberOfDomainControllers :: Maybe Natural
$sel:desiredNumberOfDomainControllers:RegionDescription' :: RegionDescription -> Maybe Natural
desiredNumberOfDomainControllers} -> Maybe Natural
desiredNumberOfDomainControllers) (\s :: RegionDescription
s@RegionDescription' {} Maybe Natural
a -> RegionDescription
s {$sel:desiredNumberOfDomainControllers:RegionDescription' :: Maybe Natural
desiredNumberOfDomainControllers = Maybe Natural
a} :: RegionDescription)

-- | The identifier of the directory.
regionDescription_directoryId :: Lens.Lens' RegionDescription (Prelude.Maybe Prelude.Text)
regionDescription_directoryId :: Lens' RegionDescription (Maybe Text)
regionDescription_directoryId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RegionDescription' {Maybe Text
directoryId :: Maybe Text
$sel:directoryId:RegionDescription' :: RegionDescription -> Maybe Text
directoryId} -> Maybe Text
directoryId) (\s :: RegionDescription
s@RegionDescription' {} Maybe Text
a -> RegionDescription
s {$sel:directoryId:RegionDescription' :: Maybe Text
directoryId = Maybe Text
a} :: RegionDescription)

-- | The date and time that the Region description was last updated.
regionDescription_lastUpdatedDateTime :: Lens.Lens' RegionDescription (Prelude.Maybe Prelude.UTCTime)
regionDescription_lastUpdatedDateTime :: Lens' RegionDescription (Maybe UTCTime)
regionDescription_lastUpdatedDateTime = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RegionDescription' {Maybe POSIX
lastUpdatedDateTime :: Maybe POSIX
$sel:lastUpdatedDateTime:RegionDescription' :: RegionDescription -> Maybe POSIX
lastUpdatedDateTime} -> Maybe POSIX
lastUpdatedDateTime) (\s :: RegionDescription
s@RegionDescription' {} Maybe POSIX
a -> RegionDescription
s {$sel:lastUpdatedDateTime:RegionDescription' :: Maybe POSIX
lastUpdatedDateTime = Maybe POSIX
a} :: RegionDescription) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. 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 forall (a :: Format). Iso' (Time a) UTCTime
Data._Time

-- | Specifies when the Region replication began.
regionDescription_launchTime :: Lens.Lens' RegionDescription (Prelude.Maybe Prelude.UTCTime)
regionDescription_launchTime :: Lens' RegionDescription (Maybe UTCTime)
regionDescription_launchTime = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RegionDescription' {Maybe POSIX
launchTime :: Maybe POSIX
$sel:launchTime:RegionDescription' :: RegionDescription -> Maybe POSIX
launchTime} -> Maybe POSIX
launchTime) (\s :: RegionDescription
s@RegionDescription' {} Maybe POSIX
a -> RegionDescription
s {$sel:launchTime:RegionDescription' :: Maybe POSIX
launchTime = Maybe POSIX
a} :: RegionDescription) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. 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 forall (a :: Format). Iso' (Time a) UTCTime
Data._Time

-- | The name of the Region. For example, @us-east-1@.
regionDescription_regionName :: Lens.Lens' RegionDescription (Prelude.Maybe Prelude.Text)
regionDescription_regionName :: Lens' RegionDescription (Maybe Text)
regionDescription_regionName = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RegionDescription' {Maybe Text
regionName :: Maybe Text
$sel:regionName:RegionDescription' :: RegionDescription -> Maybe Text
regionName} -> Maybe Text
regionName) (\s :: RegionDescription
s@RegionDescription' {} Maybe Text
a -> RegionDescription
s {$sel:regionName:RegionDescription' :: Maybe Text
regionName = Maybe Text
a} :: RegionDescription)

-- | Specifies whether the Region is the primary Region or an additional
-- Region.
regionDescription_regionType :: Lens.Lens' RegionDescription (Prelude.Maybe RegionType)
regionDescription_regionType :: Lens' RegionDescription (Maybe RegionType)
regionDescription_regionType = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RegionDescription' {Maybe RegionType
regionType :: Maybe RegionType
$sel:regionType:RegionDescription' :: RegionDescription -> Maybe RegionType
regionType} -> Maybe RegionType
regionType) (\s :: RegionDescription
s@RegionDescription' {} Maybe RegionType
a -> RegionDescription
s {$sel:regionType:RegionDescription' :: Maybe RegionType
regionType = Maybe RegionType
a} :: RegionDescription)

-- | The status of the replication process for the specified Region.
regionDescription_status :: Lens.Lens' RegionDescription (Prelude.Maybe DirectoryStage)
regionDescription_status :: Lens' RegionDescription (Maybe DirectoryStage)
regionDescription_status = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RegionDescription' {Maybe DirectoryStage
status :: Maybe DirectoryStage
$sel:status:RegionDescription' :: RegionDescription -> Maybe DirectoryStage
status} -> Maybe DirectoryStage
status) (\s :: RegionDescription
s@RegionDescription' {} Maybe DirectoryStage
a -> RegionDescription
s {$sel:status:RegionDescription' :: Maybe DirectoryStage
status = Maybe DirectoryStage
a} :: RegionDescription)

-- | The date and time that the Region status was last updated.
regionDescription_statusLastUpdatedDateTime :: Lens.Lens' RegionDescription (Prelude.Maybe Prelude.UTCTime)
regionDescription_statusLastUpdatedDateTime :: Lens' RegionDescription (Maybe UTCTime)
regionDescription_statusLastUpdatedDateTime = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RegionDescription' {Maybe POSIX
statusLastUpdatedDateTime :: Maybe POSIX
$sel:statusLastUpdatedDateTime:RegionDescription' :: RegionDescription -> Maybe POSIX
statusLastUpdatedDateTime} -> Maybe POSIX
statusLastUpdatedDateTime) (\s :: RegionDescription
s@RegionDescription' {} Maybe POSIX
a -> RegionDescription
s {$sel:statusLastUpdatedDateTime:RegionDescription' :: Maybe POSIX
statusLastUpdatedDateTime = Maybe POSIX
a} :: RegionDescription) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. 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 forall (a :: Format). Iso' (Time a) UTCTime
Data._Time

-- | Undocumented member.
regionDescription_vpcSettings :: Lens.Lens' RegionDescription (Prelude.Maybe DirectoryVpcSettings)
regionDescription_vpcSettings :: Lens' RegionDescription (Maybe DirectoryVpcSettings)
regionDescription_vpcSettings = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\RegionDescription' {Maybe DirectoryVpcSettings
vpcSettings :: Maybe DirectoryVpcSettings
$sel:vpcSettings:RegionDescription' :: RegionDescription -> Maybe DirectoryVpcSettings
vpcSettings} -> Maybe DirectoryVpcSettings
vpcSettings) (\s :: RegionDescription
s@RegionDescription' {} Maybe DirectoryVpcSettings
a -> RegionDescription
s {$sel:vpcSettings:RegionDescription' :: Maybe DirectoryVpcSettings
vpcSettings = Maybe DirectoryVpcSettings
a} :: RegionDescription)

instance Data.FromJSON RegionDescription where
  parseJSON :: Value -> Parser RegionDescription
parseJSON =
    forall a. String -> (Object -> Parser a) -> Value -> Parser a
Data.withObject
      String
"RegionDescription"
      ( \Object
x ->
          Maybe Natural
-> Maybe Text
-> Maybe POSIX
-> Maybe POSIX
-> Maybe Text
-> Maybe RegionType
-> Maybe DirectoryStage
-> Maybe POSIX
-> Maybe DirectoryVpcSettings
-> RegionDescription
RegionDescription'
            forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"DesiredNumberOfDomainControllers")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"DirectoryId")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"LastUpdatedDateTime")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"LaunchTime")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"RegionName")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"RegionType")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"Status")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"StatusLastUpdatedDateTime")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"VpcSettings")
      )

instance Prelude.Hashable RegionDescription where
  hashWithSalt :: Int -> RegionDescription -> Int
hashWithSalt Int
_salt RegionDescription' {Maybe Natural
Maybe Text
Maybe POSIX
Maybe DirectoryStage
Maybe DirectoryVpcSettings
Maybe RegionType
vpcSettings :: Maybe DirectoryVpcSettings
statusLastUpdatedDateTime :: Maybe POSIX
status :: Maybe DirectoryStage
regionType :: Maybe RegionType
regionName :: Maybe Text
launchTime :: Maybe POSIX
lastUpdatedDateTime :: Maybe POSIX
directoryId :: Maybe Text
desiredNumberOfDomainControllers :: Maybe Natural
$sel:vpcSettings:RegionDescription' :: RegionDescription -> Maybe DirectoryVpcSettings
$sel:statusLastUpdatedDateTime:RegionDescription' :: RegionDescription -> Maybe POSIX
$sel:status:RegionDescription' :: RegionDescription -> Maybe DirectoryStage
$sel:regionType:RegionDescription' :: RegionDescription -> Maybe RegionType
$sel:regionName:RegionDescription' :: RegionDescription -> Maybe Text
$sel:launchTime:RegionDescription' :: RegionDescription -> Maybe POSIX
$sel:lastUpdatedDateTime:RegionDescription' :: RegionDescription -> Maybe POSIX
$sel:directoryId:RegionDescription' :: RegionDescription -> Maybe Text
$sel:desiredNumberOfDomainControllers:RegionDescription' :: RegionDescription -> Maybe Natural
..} =
    Int
_salt
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Natural
desiredNumberOfDomainControllers
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
directoryId
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe POSIX
lastUpdatedDateTime
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe POSIX
launchTime
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
regionName
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe RegionType
regionType
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe DirectoryStage
status
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe POSIX
statusLastUpdatedDateTime
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe DirectoryVpcSettings
vpcSettings

instance Prelude.NFData RegionDescription where
  rnf :: RegionDescription -> ()
rnf RegionDescription' {Maybe Natural
Maybe Text
Maybe POSIX
Maybe DirectoryStage
Maybe DirectoryVpcSettings
Maybe RegionType
vpcSettings :: Maybe DirectoryVpcSettings
statusLastUpdatedDateTime :: Maybe POSIX
status :: Maybe DirectoryStage
regionType :: Maybe RegionType
regionName :: Maybe Text
launchTime :: Maybe POSIX
lastUpdatedDateTime :: Maybe POSIX
directoryId :: Maybe Text
desiredNumberOfDomainControllers :: Maybe Natural
$sel:vpcSettings:RegionDescription' :: RegionDescription -> Maybe DirectoryVpcSettings
$sel:statusLastUpdatedDateTime:RegionDescription' :: RegionDescription -> Maybe POSIX
$sel:status:RegionDescription' :: RegionDescription -> Maybe DirectoryStage
$sel:regionType:RegionDescription' :: RegionDescription -> Maybe RegionType
$sel:regionName:RegionDescription' :: RegionDescription -> Maybe Text
$sel:launchTime:RegionDescription' :: RegionDescription -> Maybe POSIX
$sel:lastUpdatedDateTime:RegionDescription' :: RegionDescription -> Maybe POSIX
$sel:directoryId:RegionDescription' :: RegionDescription -> Maybe Text
$sel:desiredNumberOfDomainControllers:RegionDescription' :: RegionDescription -> Maybe Natural
..} =
    forall a. NFData a => a -> ()
Prelude.rnf Maybe Natural
desiredNumberOfDomainControllers
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
directoryId
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe POSIX
lastUpdatedDateTime
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe POSIX
launchTime
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
regionName
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe RegionType
regionType
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe DirectoryStage
status
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe POSIX
statusLastUpdatedDateTime
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe DirectoryVpcSettings
vpcSettings