{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
module Amazonka.DirectoryService.Types.LDAPSStatus
( LDAPSStatus
( ..,
LDAPSStatus_Disabled,
LDAPSStatus_EnableFailed,
LDAPSStatus_Enabled,
LDAPSStatus_Enabling
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude
newtype LDAPSStatus = LDAPSStatus'
{ LDAPSStatus -> Text
fromLDAPSStatus ::
Data.Text
}
deriving stock
( Int -> LDAPSStatus -> ShowS
[LDAPSStatus] -> ShowS
LDAPSStatus -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [LDAPSStatus] -> ShowS
$cshowList :: [LDAPSStatus] -> ShowS
show :: LDAPSStatus -> String
$cshow :: LDAPSStatus -> String
showsPrec :: Int -> LDAPSStatus -> ShowS
$cshowsPrec :: Int -> LDAPSStatus -> ShowS
Prelude.Show,
ReadPrec [LDAPSStatus]
ReadPrec LDAPSStatus
Int -> ReadS LDAPSStatus
ReadS [LDAPSStatus]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [LDAPSStatus]
$creadListPrec :: ReadPrec [LDAPSStatus]
readPrec :: ReadPrec LDAPSStatus
$creadPrec :: ReadPrec LDAPSStatus
readList :: ReadS [LDAPSStatus]
$creadList :: ReadS [LDAPSStatus]
readsPrec :: Int -> ReadS LDAPSStatus
$creadsPrec :: Int -> ReadS LDAPSStatus
Prelude.Read,
LDAPSStatus -> LDAPSStatus -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: LDAPSStatus -> LDAPSStatus -> Bool
$c/= :: LDAPSStatus -> LDAPSStatus -> Bool
== :: LDAPSStatus -> LDAPSStatus -> Bool
$c== :: LDAPSStatus -> LDAPSStatus -> Bool
Prelude.Eq,
Eq LDAPSStatus
LDAPSStatus -> LDAPSStatus -> Bool
LDAPSStatus -> LDAPSStatus -> Ordering
LDAPSStatus -> LDAPSStatus -> LDAPSStatus
forall a.
Eq a
-> (a -> a -> Ordering)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> a)
-> (a -> a -> a)
-> Ord a
min :: LDAPSStatus -> LDAPSStatus -> LDAPSStatus
$cmin :: LDAPSStatus -> LDAPSStatus -> LDAPSStatus
max :: LDAPSStatus -> LDAPSStatus -> LDAPSStatus
$cmax :: LDAPSStatus -> LDAPSStatus -> LDAPSStatus
>= :: LDAPSStatus -> LDAPSStatus -> Bool
$c>= :: LDAPSStatus -> LDAPSStatus -> Bool
> :: LDAPSStatus -> LDAPSStatus -> Bool
$c> :: LDAPSStatus -> LDAPSStatus -> Bool
<= :: LDAPSStatus -> LDAPSStatus -> Bool
$c<= :: LDAPSStatus -> LDAPSStatus -> Bool
< :: LDAPSStatus -> LDAPSStatus -> Bool
$c< :: LDAPSStatus -> LDAPSStatus -> Bool
compare :: LDAPSStatus -> LDAPSStatus -> Ordering
$ccompare :: LDAPSStatus -> LDAPSStatus -> Ordering
Prelude.Ord,
forall x. Rep LDAPSStatus x -> LDAPSStatus
forall x. LDAPSStatus -> Rep LDAPSStatus x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep LDAPSStatus x -> LDAPSStatus
$cfrom :: forall x. LDAPSStatus -> Rep LDAPSStatus x
Prelude.Generic
)
deriving newtype
( Eq LDAPSStatus
Int -> LDAPSStatus -> Int
LDAPSStatus -> Int
forall a. Eq a -> (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: LDAPSStatus -> Int
$chash :: LDAPSStatus -> Int
hashWithSalt :: Int -> LDAPSStatus -> Int
$chashWithSalt :: Int -> LDAPSStatus -> Int
Prelude.Hashable,
LDAPSStatus -> ()
forall a. (a -> ()) -> NFData a
rnf :: LDAPSStatus -> ()
$crnf :: LDAPSStatus -> ()
Prelude.NFData,
Text -> Either String LDAPSStatus
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String LDAPSStatus
$cfromText :: Text -> Either String LDAPSStatus
Data.FromText,
LDAPSStatus -> Text
forall a. (a -> Text) -> ToText a
toText :: LDAPSStatus -> Text
$ctoText :: LDAPSStatus -> Text
Data.ToText,
LDAPSStatus -> ByteString
forall a. (a -> ByteString) -> ToByteString a
toBS :: LDAPSStatus -> ByteString
$ctoBS :: LDAPSStatus -> ByteString
Data.ToByteString,
LDAPSStatus -> ByteStringBuilder
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: LDAPSStatus -> ByteStringBuilder
$cbuild :: LDAPSStatus -> ByteStringBuilder
Data.ToLog,
HeaderName -> LDAPSStatus -> [Header]
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> LDAPSStatus -> [Header]
$ctoHeader :: HeaderName -> LDAPSStatus -> [Header]
Data.ToHeader,
LDAPSStatus -> QueryString
forall a. (a -> QueryString) -> ToQuery a
toQuery :: LDAPSStatus -> QueryString
$ctoQuery :: LDAPSStatus -> QueryString
Data.ToQuery,
Value -> Parser [LDAPSStatus]
Value -> Parser LDAPSStatus
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [LDAPSStatus]
$cparseJSONList :: Value -> Parser [LDAPSStatus]
parseJSON :: Value -> Parser LDAPSStatus
$cparseJSON :: Value -> Parser LDAPSStatus
Data.FromJSON,
FromJSONKeyFunction [LDAPSStatus]
FromJSONKeyFunction LDAPSStatus
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [LDAPSStatus]
$cfromJSONKeyList :: FromJSONKeyFunction [LDAPSStatus]
fromJSONKey :: FromJSONKeyFunction LDAPSStatus
$cfromJSONKey :: FromJSONKeyFunction LDAPSStatus
Data.FromJSONKey,
[LDAPSStatus] -> Encoding
[LDAPSStatus] -> Value
LDAPSStatus -> Encoding
LDAPSStatus -> Value
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [LDAPSStatus] -> Encoding
$ctoEncodingList :: [LDAPSStatus] -> Encoding
toJSONList :: [LDAPSStatus] -> Value
$ctoJSONList :: [LDAPSStatus] -> Value
toEncoding :: LDAPSStatus -> Encoding
$ctoEncoding :: LDAPSStatus -> Encoding
toJSON :: LDAPSStatus -> Value
$ctoJSON :: LDAPSStatus -> Value
Data.ToJSON,
ToJSONKeyFunction [LDAPSStatus]
ToJSONKeyFunction LDAPSStatus
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [LDAPSStatus]
$ctoJSONKeyList :: ToJSONKeyFunction [LDAPSStatus]
toJSONKey :: ToJSONKeyFunction LDAPSStatus
$ctoJSONKey :: ToJSONKeyFunction LDAPSStatus
Data.ToJSONKey,
[Node] -> Either String LDAPSStatus
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String LDAPSStatus
$cparseXML :: [Node] -> Either String LDAPSStatus
Data.FromXML,
LDAPSStatus -> XML
forall a. (a -> XML) -> ToXML a
toXML :: LDAPSStatus -> XML
$ctoXML :: LDAPSStatus -> XML
Data.ToXML
)
pattern LDAPSStatus_Disabled :: LDAPSStatus
pattern $bLDAPSStatus_Disabled :: LDAPSStatus
$mLDAPSStatus_Disabled :: forall {r}. LDAPSStatus -> ((# #) -> r) -> ((# #) -> r) -> r
LDAPSStatus_Disabled = LDAPSStatus' "Disabled"
pattern LDAPSStatus_EnableFailed :: LDAPSStatus
pattern $bLDAPSStatus_EnableFailed :: LDAPSStatus
$mLDAPSStatus_EnableFailed :: forall {r}. LDAPSStatus -> ((# #) -> r) -> ((# #) -> r) -> r
LDAPSStatus_EnableFailed = LDAPSStatus' "EnableFailed"
pattern LDAPSStatus_Enabled :: LDAPSStatus
pattern $bLDAPSStatus_Enabled :: LDAPSStatus
$mLDAPSStatus_Enabled :: forall {r}. LDAPSStatus -> ((# #) -> r) -> ((# #) -> r) -> r
LDAPSStatus_Enabled = LDAPSStatus' "Enabled"
pattern LDAPSStatus_Enabling :: LDAPSStatus
pattern $bLDAPSStatus_Enabling :: LDAPSStatus
$mLDAPSStatus_Enabling :: forall {r}. LDAPSStatus -> ((# #) -> r) -> ((# #) -> r) -> r
LDAPSStatus_Enabling = LDAPSStatus' "Enabling"
{-# COMPLETE
LDAPSStatus_Disabled,
LDAPSStatus_EnableFailed,
LDAPSStatus_Enabled,
LDAPSStatus_Enabling,
LDAPSStatus'
#-}