{-# 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.Nimble.Types.LaunchProfileInitializationActiveDirectory where
import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import Amazonka.Nimble.Types.ActiveDirectoryComputerAttribute
import qualified Amazonka.Prelude as Prelude
data LaunchProfileInitializationActiveDirectory = LaunchProfileInitializationActiveDirectory'
{
LaunchProfileInitializationActiveDirectory -> Maybe Text
directoryId :: Prelude.Maybe Prelude.Text,
LaunchProfileInitializationActiveDirectory -> Maybe Text
studioComponentId :: Prelude.Maybe Prelude.Text,
LaunchProfileInitializationActiveDirectory -> Maybe Text
studioComponentName :: Prelude.Maybe Prelude.Text,
LaunchProfileInitializationActiveDirectory -> Maybe [Text]
dnsIpAddresses :: Prelude.Maybe [Prelude.Text],
LaunchProfileInitializationActiveDirectory
-> Maybe [ActiveDirectoryComputerAttribute]
computerAttributes :: Prelude.Maybe [ActiveDirectoryComputerAttribute],
LaunchProfileInitializationActiveDirectory -> Maybe Text
organizationalUnitDistinguishedName :: Prelude.Maybe Prelude.Text,
LaunchProfileInitializationActiveDirectory -> Maybe Text
directoryName :: Prelude.Maybe Prelude.Text
}
deriving (LaunchProfileInitializationActiveDirectory
-> LaunchProfileInitializationActiveDirectory -> Bool
(LaunchProfileInitializationActiveDirectory
-> LaunchProfileInitializationActiveDirectory -> Bool)
-> (LaunchProfileInitializationActiveDirectory
-> LaunchProfileInitializationActiveDirectory -> Bool)
-> Eq LaunchProfileInitializationActiveDirectory
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: LaunchProfileInitializationActiveDirectory
-> LaunchProfileInitializationActiveDirectory -> Bool
$c/= :: LaunchProfileInitializationActiveDirectory
-> LaunchProfileInitializationActiveDirectory -> Bool
== :: LaunchProfileInitializationActiveDirectory
-> LaunchProfileInitializationActiveDirectory -> Bool
$c== :: LaunchProfileInitializationActiveDirectory
-> LaunchProfileInitializationActiveDirectory -> Bool
Prelude.Eq, ReadPrec [LaunchProfileInitializationActiveDirectory]
ReadPrec LaunchProfileInitializationActiveDirectory
Int -> ReadS LaunchProfileInitializationActiveDirectory
ReadS [LaunchProfileInitializationActiveDirectory]
(Int -> ReadS LaunchProfileInitializationActiveDirectory)
-> ReadS [LaunchProfileInitializationActiveDirectory]
-> ReadPrec LaunchProfileInitializationActiveDirectory
-> ReadPrec [LaunchProfileInitializationActiveDirectory]
-> Read LaunchProfileInitializationActiveDirectory
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [LaunchProfileInitializationActiveDirectory]
$creadListPrec :: ReadPrec [LaunchProfileInitializationActiveDirectory]
readPrec :: ReadPrec LaunchProfileInitializationActiveDirectory
$creadPrec :: ReadPrec LaunchProfileInitializationActiveDirectory
readList :: ReadS [LaunchProfileInitializationActiveDirectory]
$creadList :: ReadS [LaunchProfileInitializationActiveDirectory]
readsPrec :: Int -> ReadS LaunchProfileInitializationActiveDirectory
$creadsPrec :: Int -> ReadS LaunchProfileInitializationActiveDirectory
Prelude.Read, Int -> LaunchProfileInitializationActiveDirectory -> ShowS
[LaunchProfileInitializationActiveDirectory] -> ShowS
LaunchProfileInitializationActiveDirectory -> String
(Int -> LaunchProfileInitializationActiveDirectory -> ShowS)
-> (LaunchProfileInitializationActiveDirectory -> String)
-> ([LaunchProfileInitializationActiveDirectory] -> ShowS)
-> Show LaunchProfileInitializationActiveDirectory
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [LaunchProfileInitializationActiveDirectory] -> ShowS
$cshowList :: [LaunchProfileInitializationActiveDirectory] -> ShowS
show :: LaunchProfileInitializationActiveDirectory -> String
$cshow :: LaunchProfileInitializationActiveDirectory -> String
showsPrec :: Int -> LaunchProfileInitializationActiveDirectory -> ShowS
$cshowsPrec :: Int -> LaunchProfileInitializationActiveDirectory -> ShowS
Prelude.Show, (forall x.
LaunchProfileInitializationActiveDirectory
-> Rep LaunchProfileInitializationActiveDirectory x)
-> (forall x.
Rep LaunchProfileInitializationActiveDirectory x
-> LaunchProfileInitializationActiveDirectory)
-> Generic LaunchProfileInitializationActiveDirectory
forall x.
Rep LaunchProfileInitializationActiveDirectory x
-> LaunchProfileInitializationActiveDirectory
forall x.
LaunchProfileInitializationActiveDirectory
-> Rep LaunchProfileInitializationActiveDirectory x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep LaunchProfileInitializationActiveDirectory x
-> LaunchProfileInitializationActiveDirectory
$cfrom :: forall x.
LaunchProfileInitializationActiveDirectory
-> Rep LaunchProfileInitializationActiveDirectory x
Prelude.Generic)
newLaunchProfileInitializationActiveDirectory ::
LaunchProfileInitializationActiveDirectory
newLaunchProfileInitializationActiveDirectory :: LaunchProfileInitializationActiveDirectory
newLaunchProfileInitializationActiveDirectory =
LaunchProfileInitializationActiveDirectory' :: Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Maybe [ActiveDirectoryComputerAttribute]
-> Maybe Text
-> Maybe Text
-> LaunchProfileInitializationActiveDirectory
LaunchProfileInitializationActiveDirectory'
{ $sel:directoryId:LaunchProfileInitializationActiveDirectory' :: Maybe Text
directoryId =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:studioComponentId:LaunchProfileInitializationActiveDirectory' :: Maybe Text
studioComponentId =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:studioComponentName:LaunchProfileInitializationActiveDirectory' :: Maybe Text
studioComponentName =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:dnsIpAddresses:LaunchProfileInitializationActiveDirectory' :: Maybe [Text]
dnsIpAddresses =
Maybe [Text]
forall a. Maybe a
Prelude.Nothing,
$sel:computerAttributes:LaunchProfileInitializationActiveDirectory' :: Maybe [ActiveDirectoryComputerAttribute]
computerAttributes =
Maybe [ActiveDirectoryComputerAttribute]
forall a. Maybe a
Prelude.Nothing,
$sel:organizationalUnitDistinguishedName:LaunchProfileInitializationActiveDirectory' :: Maybe Text
organizationalUnitDistinguishedName =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:directoryName:LaunchProfileInitializationActiveDirectory' :: Maybe Text
directoryName = Maybe Text
forall a. Maybe a
Prelude.Nothing
}
launchProfileInitializationActiveDirectory_directoryId :: Lens.Lens' LaunchProfileInitializationActiveDirectory (Prelude.Maybe Prelude.Text)
launchProfileInitializationActiveDirectory_directoryId :: (Maybe Text -> f (Maybe Text))
-> LaunchProfileInitializationActiveDirectory
-> f LaunchProfileInitializationActiveDirectory
launchProfileInitializationActiveDirectory_directoryId = (LaunchProfileInitializationActiveDirectory -> Maybe Text)
-> (LaunchProfileInitializationActiveDirectory
-> Maybe Text -> LaunchProfileInitializationActiveDirectory)
-> Lens
LaunchProfileInitializationActiveDirectory
LaunchProfileInitializationActiveDirectory
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\LaunchProfileInitializationActiveDirectory' {Maybe Text
directoryId :: Maybe Text
$sel:directoryId:LaunchProfileInitializationActiveDirectory' :: LaunchProfileInitializationActiveDirectory -> Maybe Text
directoryId} -> Maybe Text
directoryId) (\s :: LaunchProfileInitializationActiveDirectory
s@LaunchProfileInitializationActiveDirectory' {} Maybe Text
a -> LaunchProfileInitializationActiveDirectory
s {$sel:directoryId:LaunchProfileInitializationActiveDirectory' :: Maybe Text
directoryId = Maybe Text
a} :: LaunchProfileInitializationActiveDirectory)
launchProfileInitializationActiveDirectory_studioComponentId :: Lens.Lens' LaunchProfileInitializationActiveDirectory (Prelude.Maybe Prelude.Text)
launchProfileInitializationActiveDirectory_studioComponentId :: (Maybe Text -> f (Maybe Text))
-> LaunchProfileInitializationActiveDirectory
-> f LaunchProfileInitializationActiveDirectory
launchProfileInitializationActiveDirectory_studioComponentId = (LaunchProfileInitializationActiveDirectory -> Maybe Text)
-> (LaunchProfileInitializationActiveDirectory
-> Maybe Text -> LaunchProfileInitializationActiveDirectory)
-> Lens
LaunchProfileInitializationActiveDirectory
LaunchProfileInitializationActiveDirectory
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\LaunchProfileInitializationActiveDirectory' {Maybe Text
studioComponentId :: Maybe Text
$sel:studioComponentId:LaunchProfileInitializationActiveDirectory' :: LaunchProfileInitializationActiveDirectory -> Maybe Text
studioComponentId} -> Maybe Text
studioComponentId) (\s :: LaunchProfileInitializationActiveDirectory
s@LaunchProfileInitializationActiveDirectory' {} Maybe Text
a -> LaunchProfileInitializationActiveDirectory
s {$sel:studioComponentId:LaunchProfileInitializationActiveDirectory' :: Maybe Text
studioComponentId = Maybe Text
a} :: LaunchProfileInitializationActiveDirectory)
launchProfileInitializationActiveDirectory_studioComponentName :: Lens.Lens' LaunchProfileInitializationActiveDirectory (Prelude.Maybe Prelude.Text)
launchProfileInitializationActiveDirectory_studioComponentName :: (Maybe Text -> f (Maybe Text))
-> LaunchProfileInitializationActiveDirectory
-> f LaunchProfileInitializationActiveDirectory
launchProfileInitializationActiveDirectory_studioComponentName = (LaunchProfileInitializationActiveDirectory -> Maybe Text)
-> (LaunchProfileInitializationActiveDirectory
-> Maybe Text -> LaunchProfileInitializationActiveDirectory)
-> Lens
LaunchProfileInitializationActiveDirectory
LaunchProfileInitializationActiveDirectory
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\LaunchProfileInitializationActiveDirectory' {Maybe Text
studioComponentName :: Maybe Text
$sel:studioComponentName:LaunchProfileInitializationActiveDirectory' :: LaunchProfileInitializationActiveDirectory -> Maybe Text
studioComponentName} -> Maybe Text
studioComponentName) (\s :: LaunchProfileInitializationActiveDirectory
s@LaunchProfileInitializationActiveDirectory' {} Maybe Text
a -> LaunchProfileInitializationActiveDirectory
s {$sel:studioComponentName:LaunchProfileInitializationActiveDirectory' :: Maybe Text
studioComponentName = Maybe Text
a} :: LaunchProfileInitializationActiveDirectory)
launchProfileInitializationActiveDirectory_dnsIpAddresses :: Lens.Lens' LaunchProfileInitializationActiveDirectory (Prelude.Maybe [Prelude.Text])
launchProfileInitializationActiveDirectory_dnsIpAddresses :: (Maybe [Text] -> f (Maybe [Text]))
-> LaunchProfileInitializationActiveDirectory
-> f LaunchProfileInitializationActiveDirectory
launchProfileInitializationActiveDirectory_dnsIpAddresses = (LaunchProfileInitializationActiveDirectory -> Maybe [Text])
-> (LaunchProfileInitializationActiveDirectory
-> Maybe [Text] -> LaunchProfileInitializationActiveDirectory)
-> Lens
LaunchProfileInitializationActiveDirectory
LaunchProfileInitializationActiveDirectory
(Maybe [Text])
(Maybe [Text])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\LaunchProfileInitializationActiveDirectory' {Maybe [Text]
dnsIpAddresses :: Maybe [Text]
$sel:dnsIpAddresses:LaunchProfileInitializationActiveDirectory' :: LaunchProfileInitializationActiveDirectory -> Maybe [Text]
dnsIpAddresses} -> Maybe [Text]
dnsIpAddresses) (\s :: LaunchProfileInitializationActiveDirectory
s@LaunchProfileInitializationActiveDirectory' {} Maybe [Text]
a -> LaunchProfileInitializationActiveDirectory
s {$sel:dnsIpAddresses:LaunchProfileInitializationActiveDirectory' :: Maybe [Text]
dnsIpAddresses = Maybe [Text]
a} :: LaunchProfileInitializationActiveDirectory) ((Maybe [Text] -> f (Maybe [Text]))
-> LaunchProfileInitializationActiveDirectory
-> f LaunchProfileInitializationActiveDirectory)
-> ((Maybe [Text] -> f (Maybe [Text]))
-> Maybe [Text] -> f (Maybe [Text]))
-> (Maybe [Text] -> f (Maybe [Text]))
-> LaunchProfileInitializationActiveDirectory
-> f LaunchProfileInitializationActiveDirectory
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
launchProfileInitializationActiveDirectory_computerAttributes :: Lens.Lens' LaunchProfileInitializationActiveDirectory (Prelude.Maybe [ActiveDirectoryComputerAttribute])
launchProfileInitializationActiveDirectory_computerAttributes :: (Maybe [ActiveDirectoryComputerAttribute]
-> f (Maybe [ActiveDirectoryComputerAttribute]))
-> LaunchProfileInitializationActiveDirectory
-> f LaunchProfileInitializationActiveDirectory
launchProfileInitializationActiveDirectory_computerAttributes = (LaunchProfileInitializationActiveDirectory
-> Maybe [ActiveDirectoryComputerAttribute])
-> (LaunchProfileInitializationActiveDirectory
-> Maybe [ActiveDirectoryComputerAttribute]
-> LaunchProfileInitializationActiveDirectory)
-> Lens
LaunchProfileInitializationActiveDirectory
LaunchProfileInitializationActiveDirectory
(Maybe [ActiveDirectoryComputerAttribute])
(Maybe [ActiveDirectoryComputerAttribute])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\LaunchProfileInitializationActiveDirectory' {Maybe [ActiveDirectoryComputerAttribute]
computerAttributes :: Maybe [ActiveDirectoryComputerAttribute]
$sel:computerAttributes:LaunchProfileInitializationActiveDirectory' :: LaunchProfileInitializationActiveDirectory
-> Maybe [ActiveDirectoryComputerAttribute]
computerAttributes} -> Maybe [ActiveDirectoryComputerAttribute]
computerAttributes) (\s :: LaunchProfileInitializationActiveDirectory
s@LaunchProfileInitializationActiveDirectory' {} Maybe [ActiveDirectoryComputerAttribute]
a -> LaunchProfileInitializationActiveDirectory
s {$sel:computerAttributes:LaunchProfileInitializationActiveDirectory' :: Maybe [ActiveDirectoryComputerAttribute]
computerAttributes = Maybe [ActiveDirectoryComputerAttribute]
a} :: LaunchProfileInitializationActiveDirectory) ((Maybe [ActiveDirectoryComputerAttribute]
-> f (Maybe [ActiveDirectoryComputerAttribute]))
-> LaunchProfileInitializationActiveDirectory
-> f LaunchProfileInitializationActiveDirectory)
-> ((Maybe [ActiveDirectoryComputerAttribute]
-> f (Maybe [ActiveDirectoryComputerAttribute]))
-> Maybe [ActiveDirectoryComputerAttribute]
-> f (Maybe [ActiveDirectoryComputerAttribute]))
-> (Maybe [ActiveDirectoryComputerAttribute]
-> f (Maybe [ActiveDirectoryComputerAttribute]))
-> LaunchProfileInitializationActiveDirectory
-> f LaunchProfileInitializationActiveDirectory
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
[ActiveDirectoryComputerAttribute]
[ActiveDirectoryComputerAttribute]
[ActiveDirectoryComputerAttribute]
[ActiveDirectoryComputerAttribute]
-> Iso
(Maybe [ActiveDirectoryComputerAttribute])
(Maybe [ActiveDirectoryComputerAttribute])
(Maybe [ActiveDirectoryComputerAttribute])
(Maybe [ActiveDirectoryComputerAttribute])
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
[ActiveDirectoryComputerAttribute]
[ActiveDirectoryComputerAttribute]
[ActiveDirectoryComputerAttribute]
[ActiveDirectoryComputerAttribute]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
launchProfileInitializationActiveDirectory_organizationalUnitDistinguishedName :: Lens.Lens' LaunchProfileInitializationActiveDirectory (Prelude.Maybe Prelude.Text)
launchProfileInitializationActiveDirectory_organizationalUnitDistinguishedName :: (Maybe Text -> f (Maybe Text))
-> LaunchProfileInitializationActiveDirectory
-> f LaunchProfileInitializationActiveDirectory
launchProfileInitializationActiveDirectory_organizationalUnitDistinguishedName = (LaunchProfileInitializationActiveDirectory -> Maybe Text)
-> (LaunchProfileInitializationActiveDirectory
-> Maybe Text -> LaunchProfileInitializationActiveDirectory)
-> Lens
LaunchProfileInitializationActiveDirectory
LaunchProfileInitializationActiveDirectory
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\LaunchProfileInitializationActiveDirectory' {Maybe Text
organizationalUnitDistinguishedName :: Maybe Text
$sel:organizationalUnitDistinguishedName:LaunchProfileInitializationActiveDirectory' :: LaunchProfileInitializationActiveDirectory -> Maybe Text
organizationalUnitDistinguishedName} -> Maybe Text
organizationalUnitDistinguishedName) (\s :: LaunchProfileInitializationActiveDirectory
s@LaunchProfileInitializationActiveDirectory' {} Maybe Text
a -> LaunchProfileInitializationActiveDirectory
s {$sel:organizationalUnitDistinguishedName:LaunchProfileInitializationActiveDirectory' :: Maybe Text
organizationalUnitDistinguishedName = Maybe Text
a} :: LaunchProfileInitializationActiveDirectory)
launchProfileInitializationActiveDirectory_directoryName :: Lens.Lens' LaunchProfileInitializationActiveDirectory (Prelude.Maybe Prelude.Text)
launchProfileInitializationActiveDirectory_directoryName :: (Maybe Text -> f (Maybe Text))
-> LaunchProfileInitializationActiveDirectory
-> f LaunchProfileInitializationActiveDirectory
launchProfileInitializationActiveDirectory_directoryName = (LaunchProfileInitializationActiveDirectory -> Maybe Text)
-> (LaunchProfileInitializationActiveDirectory
-> Maybe Text -> LaunchProfileInitializationActiveDirectory)
-> Lens
LaunchProfileInitializationActiveDirectory
LaunchProfileInitializationActiveDirectory
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\LaunchProfileInitializationActiveDirectory' {Maybe Text
directoryName :: Maybe Text
$sel:directoryName:LaunchProfileInitializationActiveDirectory' :: LaunchProfileInitializationActiveDirectory -> Maybe Text
directoryName} -> Maybe Text
directoryName) (\s :: LaunchProfileInitializationActiveDirectory
s@LaunchProfileInitializationActiveDirectory' {} Maybe Text
a -> LaunchProfileInitializationActiveDirectory
s {$sel:directoryName:LaunchProfileInitializationActiveDirectory' :: Maybe Text
directoryName = Maybe Text
a} :: LaunchProfileInitializationActiveDirectory)
instance
Core.FromJSON
LaunchProfileInitializationActiveDirectory
where
parseJSON :: Value -> Parser LaunchProfileInitializationActiveDirectory
parseJSON =
String
-> (Object -> Parser LaunchProfileInitializationActiveDirectory)
-> Value
-> Parser LaunchProfileInitializationActiveDirectory
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Core.withObject
String
"LaunchProfileInitializationActiveDirectory"
( \Object
x ->
Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Maybe [ActiveDirectoryComputerAttribute]
-> Maybe Text
-> Maybe Text
-> LaunchProfileInitializationActiveDirectory
LaunchProfileInitializationActiveDirectory'
(Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Maybe [ActiveDirectoryComputerAttribute]
-> Maybe Text
-> Maybe Text
-> LaunchProfileInitializationActiveDirectory)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Maybe [ActiveDirectoryComputerAttribute]
-> Maybe Text
-> Maybe Text
-> LaunchProfileInitializationActiveDirectory)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"directoryId")
Parser
(Maybe Text
-> Maybe Text
-> Maybe [Text]
-> Maybe [ActiveDirectoryComputerAttribute]
-> Maybe Text
-> Maybe Text
-> LaunchProfileInitializationActiveDirectory)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe [Text]
-> Maybe [ActiveDirectoryComputerAttribute]
-> Maybe Text
-> Maybe Text
-> LaunchProfileInitializationActiveDirectory)
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
"studioComponentId")
Parser
(Maybe Text
-> Maybe [Text]
-> Maybe [ActiveDirectoryComputerAttribute]
-> Maybe Text
-> Maybe Text
-> LaunchProfileInitializationActiveDirectory)
-> Parser (Maybe Text)
-> Parser
(Maybe [Text]
-> Maybe [ActiveDirectoryComputerAttribute]
-> Maybe Text
-> Maybe Text
-> LaunchProfileInitializationActiveDirectory)
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
"studioComponentName")
Parser
(Maybe [Text]
-> Maybe [ActiveDirectoryComputerAttribute]
-> Maybe Text
-> Maybe Text
-> LaunchProfileInitializationActiveDirectory)
-> Parser (Maybe [Text])
-> Parser
(Maybe [ActiveDirectoryComputerAttribute]
-> Maybe Text
-> Maybe Text
-> LaunchProfileInitializationActiveDirectory)
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
"dnsIpAddresses" 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 [ActiveDirectoryComputerAttribute]
-> Maybe Text
-> Maybe Text
-> LaunchProfileInitializationActiveDirectory)
-> Parser (Maybe [ActiveDirectoryComputerAttribute])
-> Parser
(Maybe Text
-> Maybe Text -> LaunchProfileInitializationActiveDirectory)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x Object
-> Text
-> Parser (Maybe (Maybe [ActiveDirectoryComputerAttribute]))
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"computerAttributes"
Parser (Maybe (Maybe [ActiveDirectoryComputerAttribute]))
-> Maybe [ActiveDirectoryComputerAttribute]
-> Parser (Maybe [ActiveDirectoryComputerAttribute])
forall a. Parser (Maybe a) -> a -> Parser a
Core..!= Maybe [ActiveDirectoryComputerAttribute]
forall a. Monoid a => a
Prelude.mempty
)
Parser
(Maybe Text
-> Maybe Text -> LaunchProfileInitializationActiveDirectory)
-> Parser (Maybe Text)
-> Parser
(Maybe Text -> LaunchProfileInitializationActiveDirectory)
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
"organizationalUnitDistinguishedName")
Parser (Maybe Text -> LaunchProfileInitializationActiveDirectory)
-> Parser (Maybe Text)
-> Parser LaunchProfileInitializationActiveDirectory
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
"directoryName")
)
instance
Prelude.Hashable
LaunchProfileInitializationActiveDirectory
instance
Prelude.NFData
LaunchProfileInitializationActiveDirectory