{-# 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.ClientAuthenticationStatus
( ClientAuthenticationStatus
( ..,
ClientAuthenticationStatus_Disabled,
ClientAuthenticationStatus_Enabled
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Prelude as Prelude
newtype ClientAuthenticationStatus = ClientAuthenticationStatus'
{ ClientAuthenticationStatus -> Text
fromClientAuthenticationStatus ::
Core.Text
}
deriving stock
( Int -> ClientAuthenticationStatus -> ShowS
[ClientAuthenticationStatus] -> ShowS
ClientAuthenticationStatus -> String
(Int -> ClientAuthenticationStatus -> ShowS)
-> (ClientAuthenticationStatus -> String)
-> ([ClientAuthenticationStatus] -> ShowS)
-> Show ClientAuthenticationStatus
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ClientAuthenticationStatus] -> ShowS
$cshowList :: [ClientAuthenticationStatus] -> ShowS
show :: ClientAuthenticationStatus -> String
$cshow :: ClientAuthenticationStatus -> String
showsPrec :: Int -> ClientAuthenticationStatus -> ShowS
$cshowsPrec :: Int -> ClientAuthenticationStatus -> ShowS
Prelude.Show,
ReadPrec [ClientAuthenticationStatus]
ReadPrec ClientAuthenticationStatus
Int -> ReadS ClientAuthenticationStatus
ReadS [ClientAuthenticationStatus]
(Int -> ReadS ClientAuthenticationStatus)
-> ReadS [ClientAuthenticationStatus]
-> ReadPrec ClientAuthenticationStatus
-> ReadPrec [ClientAuthenticationStatus]
-> Read ClientAuthenticationStatus
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ClientAuthenticationStatus]
$creadListPrec :: ReadPrec [ClientAuthenticationStatus]
readPrec :: ReadPrec ClientAuthenticationStatus
$creadPrec :: ReadPrec ClientAuthenticationStatus
readList :: ReadS [ClientAuthenticationStatus]
$creadList :: ReadS [ClientAuthenticationStatus]
readsPrec :: Int -> ReadS ClientAuthenticationStatus
$creadsPrec :: Int -> ReadS ClientAuthenticationStatus
Prelude.Read,
ClientAuthenticationStatus -> ClientAuthenticationStatus -> Bool
(ClientAuthenticationStatus -> ClientAuthenticationStatus -> Bool)
-> (ClientAuthenticationStatus
-> ClientAuthenticationStatus -> Bool)
-> Eq ClientAuthenticationStatus
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ClientAuthenticationStatus -> ClientAuthenticationStatus -> Bool
$c/= :: ClientAuthenticationStatus -> ClientAuthenticationStatus -> Bool
== :: ClientAuthenticationStatus -> ClientAuthenticationStatus -> Bool
$c== :: ClientAuthenticationStatus -> ClientAuthenticationStatus -> Bool
Prelude.Eq,
Eq ClientAuthenticationStatus
Eq ClientAuthenticationStatus
-> (ClientAuthenticationStatus
-> ClientAuthenticationStatus -> Ordering)
-> (ClientAuthenticationStatus
-> ClientAuthenticationStatus -> Bool)
-> (ClientAuthenticationStatus
-> ClientAuthenticationStatus -> Bool)
-> (ClientAuthenticationStatus
-> ClientAuthenticationStatus -> Bool)
-> (ClientAuthenticationStatus
-> ClientAuthenticationStatus -> Bool)
-> (ClientAuthenticationStatus
-> ClientAuthenticationStatus -> ClientAuthenticationStatus)
-> (ClientAuthenticationStatus
-> ClientAuthenticationStatus -> ClientAuthenticationStatus)
-> Ord ClientAuthenticationStatus
ClientAuthenticationStatus -> ClientAuthenticationStatus -> Bool
ClientAuthenticationStatus
-> ClientAuthenticationStatus -> Ordering
ClientAuthenticationStatus
-> ClientAuthenticationStatus -> ClientAuthenticationStatus
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 :: ClientAuthenticationStatus
-> ClientAuthenticationStatus -> ClientAuthenticationStatus
$cmin :: ClientAuthenticationStatus
-> ClientAuthenticationStatus -> ClientAuthenticationStatus
max :: ClientAuthenticationStatus
-> ClientAuthenticationStatus -> ClientAuthenticationStatus
$cmax :: ClientAuthenticationStatus
-> ClientAuthenticationStatus -> ClientAuthenticationStatus
>= :: ClientAuthenticationStatus -> ClientAuthenticationStatus -> Bool
$c>= :: ClientAuthenticationStatus -> ClientAuthenticationStatus -> Bool
> :: ClientAuthenticationStatus -> ClientAuthenticationStatus -> Bool
$c> :: ClientAuthenticationStatus -> ClientAuthenticationStatus -> Bool
<= :: ClientAuthenticationStatus -> ClientAuthenticationStatus -> Bool
$c<= :: ClientAuthenticationStatus -> ClientAuthenticationStatus -> Bool
< :: ClientAuthenticationStatus -> ClientAuthenticationStatus -> Bool
$c< :: ClientAuthenticationStatus -> ClientAuthenticationStatus -> Bool
compare :: ClientAuthenticationStatus
-> ClientAuthenticationStatus -> Ordering
$ccompare :: ClientAuthenticationStatus
-> ClientAuthenticationStatus -> Ordering
$cp1Ord :: Eq ClientAuthenticationStatus
Prelude.Ord,
(forall x.
ClientAuthenticationStatus -> Rep ClientAuthenticationStatus x)
-> (forall x.
Rep ClientAuthenticationStatus x -> ClientAuthenticationStatus)
-> Generic ClientAuthenticationStatus
forall x.
Rep ClientAuthenticationStatus x -> ClientAuthenticationStatus
forall x.
ClientAuthenticationStatus -> Rep ClientAuthenticationStatus x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ClientAuthenticationStatus x -> ClientAuthenticationStatus
$cfrom :: forall x.
ClientAuthenticationStatus -> Rep ClientAuthenticationStatus x
Prelude.Generic
)
deriving newtype
( Int -> ClientAuthenticationStatus -> Int
ClientAuthenticationStatus -> Int
(Int -> ClientAuthenticationStatus -> Int)
-> (ClientAuthenticationStatus -> Int)
-> Hashable ClientAuthenticationStatus
forall a. (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: ClientAuthenticationStatus -> Int
$chash :: ClientAuthenticationStatus -> Int
hashWithSalt :: Int -> ClientAuthenticationStatus -> Int
$chashWithSalt :: Int -> ClientAuthenticationStatus -> Int
Prelude.Hashable,
ClientAuthenticationStatus -> ()
(ClientAuthenticationStatus -> ())
-> NFData ClientAuthenticationStatus
forall a. (a -> ()) -> NFData a
rnf :: ClientAuthenticationStatus -> ()
$crnf :: ClientAuthenticationStatus -> ()
Prelude.NFData,
Text -> Either String ClientAuthenticationStatus
(Text -> Either String ClientAuthenticationStatus)
-> FromText ClientAuthenticationStatus
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String ClientAuthenticationStatus
$cfromText :: Text -> Either String ClientAuthenticationStatus
Core.FromText,
ClientAuthenticationStatus -> Text
(ClientAuthenticationStatus -> Text)
-> ToText ClientAuthenticationStatus
forall a. (a -> Text) -> ToText a
toText :: ClientAuthenticationStatus -> Text
$ctoText :: ClientAuthenticationStatus -> Text
Core.ToText,
ClientAuthenticationStatus -> ByteString
(ClientAuthenticationStatus -> ByteString)
-> ToByteString ClientAuthenticationStatus
forall a. (a -> ByteString) -> ToByteString a
toBS :: ClientAuthenticationStatus -> ByteString
$ctoBS :: ClientAuthenticationStatus -> ByteString
Core.ToByteString,
ClientAuthenticationStatus -> ByteStringBuilder
(ClientAuthenticationStatus -> ByteStringBuilder)
-> ToLog ClientAuthenticationStatus
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: ClientAuthenticationStatus -> ByteStringBuilder
$cbuild :: ClientAuthenticationStatus -> ByteStringBuilder
Core.ToLog,
HeaderName -> ClientAuthenticationStatus -> [Header]
(HeaderName -> ClientAuthenticationStatus -> [Header])
-> ToHeader ClientAuthenticationStatus
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> ClientAuthenticationStatus -> [Header]
$ctoHeader :: HeaderName -> ClientAuthenticationStatus -> [Header]
Core.ToHeader,
ClientAuthenticationStatus -> QueryString
(ClientAuthenticationStatus -> QueryString)
-> ToQuery ClientAuthenticationStatus
forall a. (a -> QueryString) -> ToQuery a
toQuery :: ClientAuthenticationStatus -> QueryString
$ctoQuery :: ClientAuthenticationStatus -> QueryString
Core.ToQuery,
Value -> Parser [ClientAuthenticationStatus]
Value -> Parser ClientAuthenticationStatus
(Value -> Parser ClientAuthenticationStatus)
-> (Value -> Parser [ClientAuthenticationStatus])
-> FromJSON ClientAuthenticationStatus
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [ClientAuthenticationStatus]
$cparseJSONList :: Value -> Parser [ClientAuthenticationStatus]
parseJSON :: Value -> Parser ClientAuthenticationStatus
$cparseJSON :: Value -> Parser ClientAuthenticationStatus
Core.FromJSON,
FromJSONKeyFunction [ClientAuthenticationStatus]
FromJSONKeyFunction ClientAuthenticationStatus
FromJSONKeyFunction ClientAuthenticationStatus
-> FromJSONKeyFunction [ClientAuthenticationStatus]
-> FromJSONKey ClientAuthenticationStatus
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [ClientAuthenticationStatus]
$cfromJSONKeyList :: FromJSONKeyFunction [ClientAuthenticationStatus]
fromJSONKey :: FromJSONKeyFunction ClientAuthenticationStatus
$cfromJSONKey :: FromJSONKeyFunction ClientAuthenticationStatus
Core.FromJSONKey,
[ClientAuthenticationStatus] -> Encoding
[ClientAuthenticationStatus] -> Value
ClientAuthenticationStatus -> Encoding
ClientAuthenticationStatus -> Value
(ClientAuthenticationStatus -> Value)
-> (ClientAuthenticationStatus -> Encoding)
-> ([ClientAuthenticationStatus] -> Value)
-> ([ClientAuthenticationStatus] -> Encoding)
-> ToJSON ClientAuthenticationStatus
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [ClientAuthenticationStatus] -> Encoding
$ctoEncodingList :: [ClientAuthenticationStatus] -> Encoding
toJSONList :: [ClientAuthenticationStatus] -> Value
$ctoJSONList :: [ClientAuthenticationStatus] -> Value
toEncoding :: ClientAuthenticationStatus -> Encoding
$ctoEncoding :: ClientAuthenticationStatus -> Encoding
toJSON :: ClientAuthenticationStatus -> Value
$ctoJSON :: ClientAuthenticationStatus -> Value
Core.ToJSON,
ToJSONKeyFunction [ClientAuthenticationStatus]
ToJSONKeyFunction ClientAuthenticationStatus
ToJSONKeyFunction ClientAuthenticationStatus
-> ToJSONKeyFunction [ClientAuthenticationStatus]
-> ToJSONKey ClientAuthenticationStatus
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [ClientAuthenticationStatus]
$ctoJSONKeyList :: ToJSONKeyFunction [ClientAuthenticationStatus]
toJSONKey :: ToJSONKeyFunction ClientAuthenticationStatus
$ctoJSONKey :: ToJSONKeyFunction ClientAuthenticationStatus
Core.ToJSONKey,
[Node] -> Either String ClientAuthenticationStatus
([Node] -> Either String ClientAuthenticationStatus)
-> FromXML ClientAuthenticationStatus
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String ClientAuthenticationStatus
$cparseXML :: [Node] -> Either String ClientAuthenticationStatus
Core.FromXML,
ClientAuthenticationStatus -> XML
(ClientAuthenticationStatus -> XML)
-> ToXML ClientAuthenticationStatus
forall a. (a -> XML) -> ToXML a
toXML :: ClientAuthenticationStatus -> XML
$ctoXML :: ClientAuthenticationStatus -> XML
Core.ToXML
)
pattern ClientAuthenticationStatus_Disabled :: ClientAuthenticationStatus
pattern $bClientAuthenticationStatus_Disabled :: ClientAuthenticationStatus
$mClientAuthenticationStatus_Disabled :: forall r.
ClientAuthenticationStatus -> (Void# -> r) -> (Void# -> r) -> r
ClientAuthenticationStatus_Disabled = ClientAuthenticationStatus' "Disabled"
pattern ClientAuthenticationStatus_Enabled :: ClientAuthenticationStatus
pattern $bClientAuthenticationStatus_Enabled :: ClientAuthenticationStatus
$mClientAuthenticationStatus_Enabled :: forall r.
ClientAuthenticationStatus -> (Void# -> r) -> (Void# -> r) -> r
ClientAuthenticationStatus_Enabled = ClientAuthenticationStatus' "Enabled"
{-# COMPLETE
ClientAuthenticationStatus_Disabled,
ClientAuthenticationStatus_Enabled,
ClientAuthenticationStatus'
#-}