{-# 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.MQ.Types.LdapServerMetadataOutput where
import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
data LdapServerMetadataOutput = LdapServerMetadataOutput'
{
LdapServerMetadataOutput -> Maybe Text
userRoleName :: Prelude.Maybe Prelude.Text,
LdapServerMetadataOutput -> Maybe Bool
userSearchSubtree :: Prelude.Maybe Prelude.Bool,
LdapServerMetadataOutput -> Maybe Bool
roleSearchSubtree :: Prelude.Maybe Prelude.Bool,
LdapServerMetadataOutput -> Maybe Text
roleName :: Prelude.Maybe Prelude.Text,
LdapServerMetadataOutput -> [Text]
hosts :: [Prelude.Text],
LdapServerMetadataOutput -> Text
userSearchMatching :: Prelude.Text,
LdapServerMetadataOutput -> Text
userBase :: Prelude.Text,
LdapServerMetadataOutput -> Text
roleSearchMatching :: Prelude.Text,
LdapServerMetadataOutput -> Text
serviceAccountUsername :: Prelude.Text,
LdapServerMetadataOutput -> Text
roleBase :: Prelude.Text
}
deriving (LdapServerMetadataOutput -> LdapServerMetadataOutput -> Bool
(LdapServerMetadataOutput -> LdapServerMetadataOutput -> Bool)
-> (LdapServerMetadataOutput -> LdapServerMetadataOutput -> Bool)
-> Eq LdapServerMetadataOutput
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: LdapServerMetadataOutput -> LdapServerMetadataOutput -> Bool
$c/= :: LdapServerMetadataOutput -> LdapServerMetadataOutput -> Bool
== :: LdapServerMetadataOutput -> LdapServerMetadataOutput -> Bool
$c== :: LdapServerMetadataOutput -> LdapServerMetadataOutput -> Bool
Prelude.Eq, ReadPrec [LdapServerMetadataOutput]
ReadPrec LdapServerMetadataOutput
Int -> ReadS LdapServerMetadataOutput
ReadS [LdapServerMetadataOutput]
(Int -> ReadS LdapServerMetadataOutput)
-> ReadS [LdapServerMetadataOutput]
-> ReadPrec LdapServerMetadataOutput
-> ReadPrec [LdapServerMetadataOutput]
-> Read LdapServerMetadataOutput
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [LdapServerMetadataOutput]
$creadListPrec :: ReadPrec [LdapServerMetadataOutput]
readPrec :: ReadPrec LdapServerMetadataOutput
$creadPrec :: ReadPrec LdapServerMetadataOutput
readList :: ReadS [LdapServerMetadataOutput]
$creadList :: ReadS [LdapServerMetadataOutput]
readsPrec :: Int -> ReadS LdapServerMetadataOutput
$creadsPrec :: Int -> ReadS LdapServerMetadataOutput
Prelude.Read, Int -> LdapServerMetadataOutput -> ShowS
[LdapServerMetadataOutput] -> ShowS
LdapServerMetadataOutput -> String
(Int -> LdapServerMetadataOutput -> ShowS)
-> (LdapServerMetadataOutput -> String)
-> ([LdapServerMetadataOutput] -> ShowS)
-> Show LdapServerMetadataOutput
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [LdapServerMetadataOutput] -> ShowS
$cshowList :: [LdapServerMetadataOutput] -> ShowS
show :: LdapServerMetadataOutput -> String
$cshow :: LdapServerMetadataOutput -> String
showsPrec :: Int -> LdapServerMetadataOutput -> ShowS
$cshowsPrec :: Int -> LdapServerMetadataOutput -> ShowS
Prelude.Show, (forall x.
LdapServerMetadataOutput -> Rep LdapServerMetadataOutput x)
-> (forall x.
Rep LdapServerMetadataOutput x -> LdapServerMetadataOutput)
-> Generic LdapServerMetadataOutput
forall x.
Rep LdapServerMetadataOutput x -> LdapServerMetadataOutput
forall x.
LdapServerMetadataOutput -> Rep LdapServerMetadataOutput x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep LdapServerMetadataOutput x -> LdapServerMetadataOutput
$cfrom :: forall x.
LdapServerMetadataOutput -> Rep LdapServerMetadataOutput x
Prelude.Generic)
newLdapServerMetadataOutput ::
Prelude.Text ->
Prelude.Text ->
Prelude.Text ->
Prelude.Text ->
Prelude.Text ->
LdapServerMetadataOutput
newLdapServerMetadataOutput :: Text -> Text -> Text -> Text -> Text -> LdapServerMetadataOutput
newLdapServerMetadataOutput
Text
pUserSearchMatching_
Text
pUserBase_
Text
pRoleSearchMatching_
Text
pServiceAccountUsername_
Text
pRoleBase_ =
LdapServerMetadataOutput' :: Maybe Text
-> Maybe Bool
-> Maybe Bool
-> Maybe Text
-> [Text]
-> Text
-> Text
-> Text
-> Text
-> Text
-> LdapServerMetadataOutput
LdapServerMetadataOutput'
{ $sel:userRoleName:LdapServerMetadataOutput' :: Maybe Text
userRoleName =
Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:userSearchSubtree:LdapServerMetadataOutput' :: Maybe Bool
userSearchSubtree = Maybe Bool
forall a. Maybe a
Prelude.Nothing,
$sel:roleSearchSubtree:LdapServerMetadataOutput' :: Maybe Bool
roleSearchSubtree = Maybe Bool
forall a. Maybe a
Prelude.Nothing,
$sel:roleName:LdapServerMetadataOutput' :: Maybe Text
roleName = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:hosts:LdapServerMetadataOutput' :: [Text]
hosts = [Text]
forall a. Monoid a => a
Prelude.mempty,
$sel:userSearchMatching:LdapServerMetadataOutput' :: Text
userSearchMatching = Text
pUserSearchMatching_,
$sel:userBase:LdapServerMetadataOutput' :: Text
userBase = Text
pUserBase_,
$sel:roleSearchMatching:LdapServerMetadataOutput' :: Text
roleSearchMatching = Text
pRoleSearchMatching_,
$sel:serviceAccountUsername:LdapServerMetadataOutput' :: Text
serviceAccountUsername = Text
pServiceAccountUsername_,
$sel:roleBase:LdapServerMetadataOutput' :: Text
roleBase = Text
pRoleBase_
}
ldapServerMetadataOutput_userRoleName :: Lens.Lens' LdapServerMetadataOutput (Prelude.Maybe Prelude.Text)
ldapServerMetadataOutput_userRoleName :: (Maybe Text -> f (Maybe Text))
-> LdapServerMetadataOutput -> f LdapServerMetadataOutput
ldapServerMetadataOutput_userRoleName = (LdapServerMetadataOutput -> Maybe Text)
-> (LdapServerMetadataOutput
-> Maybe Text -> LdapServerMetadataOutput)
-> Lens
LdapServerMetadataOutput
LdapServerMetadataOutput
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\LdapServerMetadataOutput' {Maybe Text
userRoleName :: Maybe Text
$sel:userRoleName:LdapServerMetadataOutput' :: LdapServerMetadataOutput -> Maybe Text
userRoleName} -> Maybe Text
userRoleName) (\s :: LdapServerMetadataOutput
s@LdapServerMetadataOutput' {} Maybe Text
a -> LdapServerMetadataOutput
s {$sel:userRoleName:LdapServerMetadataOutput' :: Maybe Text
userRoleName = Maybe Text
a} :: LdapServerMetadataOutput)
ldapServerMetadataOutput_userSearchSubtree :: Lens.Lens' LdapServerMetadataOutput (Prelude.Maybe Prelude.Bool)
ldapServerMetadataOutput_userSearchSubtree :: (Maybe Bool -> f (Maybe Bool))
-> LdapServerMetadataOutput -> f LdapServerMetadataOutput
ldapServerMetadataOutput_userSearchSubtree = (LdapServerMetadataOutput -> Maybe Bool)
-> (LdapServerMetadataOutput
-> Maybe Bool -> LdapServerMetadataOutput)
-> Lens
LdapServerMetadataOutput
LdapServerMetadataOutput
(Maybe Bool)
(Maybe Bool)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\LdapServerMetadataOutput' {Maybe Bool
userSearchSubtree :: Maybe Bool
$sel:userSearchSubtree:LdapServerMetadataOutput' :: LdapServerMetadataOutput -> Maybe Bool
userSearchSubtree} -> Maybe Bool
userSearchSubtree) (\s :: LdapServerMetadataOutput
s@LdapServerMetadataOutput' {} Maybe Bool
a -> LdapServerMetadataOutput
s {$sel:userSearchSubtree:LdapServerMetadataOutput' :: Maybe Bool
userSearchSubtree = Maybe Bool
a} :: LdapServerMetadataOutput)
ldapServerMetadataOutput_roleSearchSubtree :: Lens.Lens' LdapServerMetadataOutput (Prelude.Maybe Prelude.Bool)
ldapServerMetadataOutput_roleSearchSubtree :: (Maybe Bool -> f (Maybe Bool))
-> LdapServerMetadataOutput -> f LdapServerMetadataOutput
ldapServerMetadataOutput_roleSearchSubtree = (LdapServerMetadataOutput -> Maybe Bool)
-> (LdapServerMetadataOutput
-> Maybe Bool -> LdapServerMetadataOutput)
-> Lens
LdapServerMetadataOutput
LdapServerMetadataOutput
(Maybe Bool)
(Maybe Bool)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\LdapServerMetadataOutput' {Maybe Bool
roleSearchSubtree :: Maybe Bool
$sel:roleSearchSubtree:LdapServerMetadataOutput' :: LdapServerMetadataOutput -> Maybe Bool
roleSearchSubtree} -> Maybe Bool
roleSearchSubtree) (\s :: LdapServerMetadataOutput
s@LdapServerMetadataOutput' {} Maybe Bool
a -> LdapServerMetadataOutput
s {$sel:roleSearchSubtree:LdapServerMetadataOutput' :: Maybe Bool
roleSearchSubtree = Maybe Bool
a} :: LdapServerMetadataOutput)
ldapServerMetadataOutput_roleName :: Lens.Lens' LdapServerMetadataOutput (Prelude.Maybe Prelude.Text)
ldapServerMetadataOutput_roleName :: (Maybe Text -> f (Maybe Text))
-> LdapServerMetadataOutput -> f LdapServerMetadataOutput
ldapServerMetadataOutput_roleName = (LdapServerMetadataOutput -> Maybe Text)
-> (LdapServerMetadataOutput
-> Maybe Text -> LdapServerMetadataOutput)
-> Lens
LdapServerMetadataOutput
LdapServerMetadataOutput
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\LdapServerMetadataOutput' {Maybe Text
roleName :: Maybe Text
$sel:roleName:LdapServerMetadataOutput' :: LdapServerMetadataOutput -> Maybe Text
roleName} -> Maybe Text
roleName) (\s :: LdapServerMetadataOutput
s@LdapServerMetadataOutput' {} Maybe Text
a -> LdapServerMetadataOutput
s {$sel:roleName:LdapServerMetadataOutput' :: Maybe Text
roleName = Maybe Text
a} :: LdapServerMetadataOutput)
ldapServerMetadataOutput_hosts :: Lens.Lens' LdapServerMetadataOutput [Prelude.Text]
ldapServerMetadataOutput_hosts :: ([Text] -> f [Text])
-> LdapServerMetadataOutput -> f LdapServerMetadataOutput
ldapServerMetadataOutput_hosts = (LdapServerMetadataOutput -> [Text])
-> (LdapServerMetadataOutput -> [Text] -> LdapServerMetadataOutput)
-> Lens
LdapServerMetadataOutput LdapServerMetadataOutput [Text] [Text]
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\LdapServerMetadataOutput' {[Text]
hosts :: [Text]
$sel:hosts:LdapServerMetadataOutput' :: LdapServerMetadataOutput -> [Text]
hosts} -> [Text]
hosts) (\s :: LdapServerMetadataOutput
s@LdapServerMetadataOutput' {} [Text]
a -> LdapServerMetadataOutput
s {$sel:hosts:LdapServerMetadataOutput' :: [Text]
hosts = [Text]
a} :: LdapServerMetadataOutput) (([Text] -> f [Text])
-> LdapServerMetadataOutput -> f LdapServerMetadataOutput)
-> (([Text] -> f [Text]) -> [Text] -> f [Text])
-> ([Text] -> f [Text])
-> LdapServerMetadataOutput
-> f LdapServerMetadataOutput
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. ([Text] -> f [Text]) -> [Text] -> f [Text]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
ldapServerMetadataOutput_userSearchMatching :: Lens.Lens' LdapServerMetadataOutput Prelude.Text
ldapServerMetadataOutput_userSearchMatching :: (Text -> f Text)
-> LdapServerMetadataOutput -> f LdapServerMetadataOutput
ldapServerMetadataOutput_userSearchMatching = (LdapServerMetadataOutput -> Text)
-> (LdapServerMetadataOutput -> Text -> LdapServerMetadataOutput)
-> Lens LdapServerMetadataOutput LdapServerMetadataOutput Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\LdapServerMetadataOutput' {Text
userSearchMatching :: Text
$sel:userSearchMatching:LdapServerMetadataOutput' :: LdapServerMetadataOutput -> Text
userSearchMatching} -> Text
userSearchMatching) (\s :: LdapServerMetadataOutput
s@LdapServerMetadataOutput' {} Text
a -> LdapServerMetadataOutput
s {$sel:userSearchMatching:LdapServerMetadataOutput' :: Text
userSearchMatching = Text
a} :: LdapServerMetadataOutput)
ldapServerMetadataOutput_userBase :: Lens.Lens' LdapServerMetadataOutput Prelude.Text
ldapServerMetadataOutput_userBase :: (Text -> f Text)
-> LdapServerMetadataOutput -> f LdapServerMetadataOutput
ldapServerMetadataOutput_userBase = (LdapServerMetadataOutput -> Text)
-> (LdapServerMetadataOutput -> Text -> LdapServerMetadataOutput)
-> Lens LdapServerMetadataOutput LdapServerMetadataOutput Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\LdapServerMetadataOutput' {Text
userBase :: Text
$sel:userBase:LdapServerMetadataOutput' :: LdapServerMetadataOutput -> Text
userBase} -> Text
userBase) (\s :: LdapServerMetadataOutput
s@LdapServerMetadataOutput' {} Text
a -> LdapServerMetadataOutput
s {$sel:userBase:LdapServerMetadataOutput' :: Text
userBase = Text
a} :: LdapServerMetadataOutput)
ldapServerMetadataOutput_roleSearchMatching :: Lens.Lens' LdapServerMetadataOutput Prelude.Text
ldapServerMetadataOutput_roleSearchMatching :: (Text -> f Text)
-> LdapServerMetadataOutput -> f LdapServerMetadataOutput
ldapServerMetadataOutput_roleSearchMatching = (LdapServerMetadataOutput -> Text)
-> (LdapServerMetadataOutput -> Text -> LdapServerMetadataOutput)
-> Lens LdapServerMetadataOutput LdapServerMetadataOutput Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\LdapServerMetadataOutput' {Text
roleSearchMatching :: Text
$sel:roleSearchMatching:LdapServerMetadataOutput' :: LdapServerMetadataOutput -> Text
roleSearchMatching} -> Text
roleSearchMatching) (\s :: LdapServerMetadataOutput
s@LdapServerMetadataOutput' {} Text
a -> LdapServerMetadataOutput
s {$sel:roleSearchMatching:LdapServerMetadataOutput' :: Text
roleSearchMatching = Text
a} :: LdapServerMetadataOutput)
ldapServerMetadataOutput_serviceAccountUsername :: Lens.Lens' LdapServerMetadataOutput Prelude.Text
ldapServerMetadataOutput_serviceAccountUsername :: (Text -> f Text)
-> LdapServerMetadataOutput -> f LdapServerMetadataOutput
ldapServerMetadataOutput_serviceAccountUsername = (LdapServerMetadataOutput -> Text)
-> (LdapServerMetadataOutput -> Text -> LdapServerMetadataOutput)
-> Lens LdapServerMetadataOutput LdapServerMetadataOutput Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\LdapServerMetadataOutput' {Text
serviceAccountUsername :: Text
$sel:serviceAccountUsername:LdapServerMetadataOutput' :: LdapServerMetadataOutput -> Text
serviceAccountUsername} -> Text
serviceAccountUsername) (\s :: LdapServerMetadataOutput
s@LdapServerMetadataOutput' {} Text
a -> LdapServerMetadataOutput
s {$sel:serviceAccountUsername:LdapServerMetadataOutput' :: Text
serviceAccountUsername = Text
a} :: LdapServerMetadataOutput)
ldapServerMetadataOutput_roleBase :: Lens.Lens' LdapServerMetadataOutput Prelude.Text
ldapServerMetadataOutput_roleBase :: (Text -> f Text)
-> LdapServerMetadataOutput -> f LdapServerMetadataOutput
ldapServerMetadataOutput_roleBase = (LdapServerMetadataOutput -> Text)
-> (LdapServerMetadataOutput -> Text -> LdapServerMetadataOutput)
-> Lens LdapServerMetadataOutput LdapServerMetadataOutput Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\LdapServerMetadataOutput' {Text
roleBase :: Text
$sel:roleBase:LdapServerMetadataOutput' :: LdapServerMetadataOutput -> Text
roleBase} -> Text
roleBase) (\s :: LdapServerMetadataOutput
s@LdapServerMetadataOutput' {} Text
a -> LdapServerMetadataOutput
s {$sel:roleBase:LdapServerMetadataOutput' :: Text
roleBase = Text
a} :: LdapServerMetadataOutput)
instance Core.FromJSON LdapServerMetadataOutput where
parseJSON :: Value -> Parser LdapServerMetadataOutput
parseJSON =
String
-> (Object -> Parser LdapServerMetadataOutput)
-> Value
-> Parser LdapServerMetadataOutput
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Core.withObject
String
"LdapServerMetadataOutput"
( \Object
x ->
Maybe Text
-> Maybe Bool
-> Maybe Bool
-> Maybe Text
-> [Text]
-> Text
-> Text
-> Text
-> Text
-> Text
-> LdapServerMetadataOutput
LdapServerMetadataOutput'
(Maybe Text
-> Maybe Bool
-> Maybe Bool
-> Maybe Text
-> [Text]
-> Text
-> Text
-> Text
-> Text
-> Text
-> LdapServerMetadataOutput)
-> Parser (Maybe Text)
-> Parser
(Maybe Bool
-> Maybe Bool
-> Maybe Text
-> [Text]
-> Text
-> Text
-> Text
-> Text
-> Text
-> LdapServerMetadataOutput)
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
"userRoleName")
Parser
(Maybe Bool
-> Maybe Bool
-> Maybe Text
-> [Text]
-> Text
-> Text
-> Text
-> Text
-> Text
-> LdapServerMetadataOutput)
-> Parser (Maybe Bool)
-> Parser
(Maybe Bool
-> Maybe Text
-> [Text]
-> Text
-> Text
-> Text
-> Text
-> Text
-> LdapServerMetadataOutput)
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
"userSearchSubtree")
Parser
(Maybe Bool
-> Maybe Text
-> [Text]
-> Text
-> Text
-> Text
-> Text
-> Text
-> LdapServerMetadataOutput)
-> Parser (Maybe Bool)
-> Parser
(Maybe Text
-> [Text]
-> Text
-> Text
-> Text
-> Text
-> Text
-> LdapServerMetadataOutput)
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
"roleSearchSubtree")
Parser
(Maybe Text
-> [Text]
-> Text
-> Text
-> Text
-> Text
-> Text
-> LdapServerMetadataOutput)
-> Parser (Maybe Text)
-> Parser
([Text]
-> Text
-> Text
-> Text
-> Text
-> Text
-> LdapServerMetadataOutput)
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
"roleName")
Parser
([Text]
-> Text
-> Text
-> Text
-> Text
-> Text
-> LdapServerMetadataOutput)
-> Parser [Text]
-> Parser
(Text -> Text -> Text -> Text -> Text -> LdapServerMetadataOutput)
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
"hosts" Parser (Maybe [Text]) -> [Text] -> Parser [Text]
forall a. Parser (Maybe a) -> a -> Parser a
Core..!= [Text]
forall a. Monoid a => a
Prelude.mempty)
Parser
(Text -> Text -> Text -> Text -> Text -> LdapServerMetadataOutput)
-> Parser Text
-> Parser
(Text -> Text -> Text -> Text -> LdapServerMetadataOutput)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser Text
forall a. FromJSON a => Object -> Text -> Parser a
Core..: Text
"userSearchMatching")
Parser (Text -> Text -> Text -> Text -> LdapServerMetadataOutput)
-> Parser Text
-> Parser (Text -> Text -> Text -> LdapServerMetadataOutput)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser Text
forall a. FromJSON a => Object -> Text -> Parser a
Core..: Text
"userBase")
Parser (Text -> Text -> Text -> LdapServerMetadataOutput)
-> Parser Text -> Parser (Text -> Text -> LdapServerMetadataOutput)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser Text
forall a. FromJSON a => Object -> Text -> Parser a
Core..: Text
"roleSearchMatching")
Parser (Text -> Text -> LdapServerMetadataOutput)
-> Parser Text -> Parser (Text -> LdapServerMetadataOutput)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser Text
forall a. FromJSON a => Object -> Text -> Parser a
Core..: Text
"serviceAccountUsername")
Parser (Text -> LdapServerMetadataOutput)
-> Parser Text -> Parser LdapServerMetadataOutput
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser Text
forall a. FromJSON a => Object -> Text -> Parser a
Core..: Text
"roleBase")
)
instance Prelude.Hashable LdapServerMetadataOutput
instance Prelude.NFData LdapServerMetadataOutput