{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
module Amazonka.Grafana.Types.SamlConfigurationStatus
( SamlConfigurationStatus
( ..,
SamlConfigurationStatus_CONFIGURED,
SamlConfigurationStatus_NOT_CONFIGURED
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Prelude as Prelude
newtype SamlConfigurationStatus = SamlConfigurationStatus'
{ SamlConfigurationStatus -> Text
fromSamlConfigurationStatus ::
Core.Text
}
deriving stock
( Int -> SamlConfigurationStatus -> ShowS
[SamlConfigurationStatus] -> ShowS
SamlConfigurationStatus -> String
(Int -> SamlConfigurationStatus -> ShowS)
-> (SamlConfigurationStatus -> String)
-> ([SamlConfigurationStatus] -> ShowS)
-> Show SamlConfigurationStatus
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [SamlConfigurationStatus] -> ShowS
$cshowList :: [SamlConfigurationStatus] -> ShowS
show :: SamlConfigurationStatus -> String
$cshow :: SamlConfigurationStatus -> String
showsPrec :: Int -> SamlConfigurationStatus -> ShowS
$cshowsPrec :: Int -> SamlConfigurationStatus -> ShowS
Prelude.Show,
ReadPrec [SamlConfigurationStatus]
ReadPrec SamlConfigurationStatus
Int -> ReadS SamlConfigurationStatus
ReadS [SamlConfigurationStatus]
(Int -> ReadS SamlConfigurationStatus)
-> ReadS [SamlConfigurationStatus]
-> ReadPrec SamlConfigurationStatus
-> ReadPrec [SamlConfigurationStatus]
-> Read SamlConfigurationStatus
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [SamlConfigurationStatus]
$creadListPrec :: ReadPrec [SamlConfigurationStatus]
readPrec :: ReadPrec SamlConfigurationStatus
$creadPrec :: ReadPrec SamlConfigurationStatus
readList :: ReadS [SamlConfigurationStatus]
$creadList :: ReadS [SamlConfigurationStatus]
readsPrec :: Int -> ReadS SamlConfigurationStatus
$creadsPrec :: Int -> ReadS SamlConfigurationStatus
Prelude.Read,
SamlConfigurationStatus -> SamlConfigurationStatus -> Bool
(SamlConfigurationStatus -> SamlConfigurationStatus -> Bool)
-> (SamlConfigurationStatus -> SamlConfigurationStatus -> Bool)
-> Eq SamlConfigurationStatus
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: SamlConfigurationStatus -> SamlConfigurationStatus -> Bool
$c/= :: SamlConfigurationStatus -> SamlConfigurationStatus -> Bool
== :: SamlConfigurationStatus -> SamlConfigurationStatus -> Bool
$c== :: SamlConfigurationStatus -> SamlConfigurationStatus -> Bool
Prelude.Eq,
Eq SamlConfigurationStatus
Eq SamlConfigurationStatus
-> (SamlConfigurationStatus -> SamlConfigurationStatus -> Ordering)
-> (SamlConfigurationStatus -> SamlConfigurationStatus -> Bool)
-> (SamlConfigurationStatus -> SamlConfigurationStatus -> Bool)
-> (SamlConfigurationStatus -> SamlConfigurationStatus -> Bool)
-> (SamlConfigurationStatus -> SamlConfigurationStatus -> Bool)
-> (SamlConfigurationStatus
-> SamlConfigurationStatus -> SamlConfigurationStatus)
-> (SamlConfigurationStatus
-> SamlConfigurationStatus -> SamlConfigurationStatus)
-> Ord SamlConfigurationStatus
SamlConfigurationStatus -> SamlConfigurationStatus -> Bool
SamlConfigurationStatus -> SamlConfigurationStatus -> Ordering
SamlConfigurationStatus
-> SamlConfigurationStatus -> SamlConfigurationStatus
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 :: SamlConfigurationStatus
-> SamlConfigurationStatus -> SamlConfigurationStatus
$cmin :: SamlConfigurationStatus
-> SamlConfigurationStatus -> SamlConfigurationStatus
max :: SamlConfigurationStatus
-> SamlConfigurationStatus -> SamlConfigurationStatus
$cmax :: SamlConfigurationStatus
-> SamlConfigurationStatus -> SamlConfigurationStatus
>= :: SamlConfigurationStatus -> SamlConfigurationStatus -> Bool
$c>= :: SamlConfigurationStatus -> SamlConfigurationStatus -> Bool
> :: SamlConfigurationStatus -> SamlConfigurationStatus -> Bool
$c> :: SamlConfigurationStatus -> SamlConfigurationStatus -> Bool
<= :: SamlConfigurationStatus -> SamlConfigurationStatus -> Bool
$c<= :: SamlConfigurationStatus -> SamlConfigurationStatus -> Bool
< :: SamlConfigurationStatus -> SamlConfigurationStatus -> Bool
$c< :: SamlConfigurationStatus -> SamlConfigurationStatus -> Bool
compare :: SamlConfigurationStatus -> SamlConfigurationStatus -> Ordering
$ccompare :: SamlConfigurationStatus -> SamlConfigurationStatus -> Ordering
$cp1Ord :: Eq SamlConfigurationStatus
Prelude.Ord,
(forall x.
SamlConfigurationStatus -> Rep SamlConfigurationStatus x)
-> (forall x.
Rep SamlConfigurationStatus x -> SamlConfigurationStatus)
-> Generic SamlConfigurationStatus
forall x. Rep SamlConfigurationStatus x -> SamlConfigurationStatus
forall x. SamlConfigurationStatus -> Rep SamlConfigurationStatus x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep SamlConfigurationStatus x -> SamlConfigurationStatus
$cfrom :: forall x. SamlConfigurationStatus -> Rep SamlConfigurationStatus x
Prelude.Generic
)
deriving newtype
( Int -> SamlConfigurationStatus -> Int
SamlConfigurationStatus -> Int
(Int -> SamlConfigurationStatus -> Int)
-> (SamlConfigurationStatus -> Int)
-> Hashable SamlConfigurationStatus
forall a. (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: SamlConfigurationStatus -> Int
$chash :: SamlConfigurationStatus -> Int
hashWithSalt :: Int -> SamlConfigurationStatus -> Int
$chashWithSalt :: Int -> SamlConfigurationStatus -> Int
Prelude.Hashable,
SamlConfigurationStatus -> ()
(SamlConfigurationStatus -> ()) -> NFData SamlConfigurationStatus
forall a. (a -> ()) -> NFData a
rnf :: SamlConfigurationStatus -> ()
$crnf :: SamlConfigurationStatus -> ()
Prelude.NFData,
Text -> Either String SamlConfigurationStatus
(Text -> Either String SamlConfigurationStatus)
-> FromText SamlConfigurationStatus
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String SamlConfigurationStatus
$cfromText :: Text -> Either String SamlConfigurationStatus
Core.FromText,
SamlConfigurationStatus -> Text
(SamlConfigurationStatus -> Text) -> ToText SamlConfigurationStatus
forall a. (a -> Text) -> ToText a
toText :: SamlConfigurationStatus -> Text
$ctoText :: SamlConfigurationStatus -> Text
Core.ToText,
SamlConfigurationStatus -> ByteString
(SamlConfigurationStatus -> ByteString)
-> ToByteString SamlConfigurationStatus
forall a. (a -> ByteString) -> ToByteString a
toBS :: SamlConfigurationStatus -> ByteString
$ctoBS :: SamlConfigurationStatus -> ByteString
Core.ToByteString,
SamlConfigurationStatus -> ByteStringBuilder
(SamlConfigurationStatus -> ByteStringBuilder)
-> ToLog SamlConfigurationStatus
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: SamlConfigurationStatus -> ByteStringBuilder
$cbuild :: SamlConfigurationStatus -> ByteStringBuilder
Core.ToLog,
HeaderName -> SamlConfigurationStatus -> [Header]
(HeaderName -> SamlConfigurationStatus -> [Header])
-> ToHeader SamlConfigurationStatus
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> SamlConfigurationStatus -> [Header]
$ctoHeader :: HeaderName -> SamlConfigurationStatus -> [Header]
Core.ToHeader,
SamlConfigurationStatus -> QueryString
(SamlConfigurationStatus -> QueryString)
-> ToQuery SamlConfigurationStatus
forall a. (a -> QueryString) -> ToQuery a
toQuery :: SamlConfigurationStatus -> QueryString
$ctoQuery :: SamlConfigurationStatus -> QueryString
Core.ToQuery,
Value -> Parser [SamlConfigurationStatus]
Value -> Parser SamlConfigurationStatus
(Value -> Parser SamlConfigurationStatus)
-> (Value -> Parser [SamlConfigurationStatus])
-> FromJSON SamlConfigurationStatus
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [SamlConfigurationStatus]
$cparseJSONList :: Value -> Parser [SamlConfigurationStatus]
parseJSON :: Value -> Parser SamlConfigurationStatus
$cparseJSON :: Value -> Parser SamlConfigurationStatus
Core.FromJSON,
FromJSONKeyFunction [SamlConfigurationStatus]
FromJSONKeyFunction SamlConfigurationStatus
FromJSONKeyFunction SamlConfigurationStatus
-> FromJSONKeyFunction [SamlConfigurationStatus]
-> FromJSONKey SamlConfigurationStatus
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [SamlConfigurationStatus]
$cfromJSONKeyList :: FromJSONKeyFunction [SamlConfigurationStatus]
fromJSONKey :: FromJSONKeyFunction SamlConfigurationStatus
$cfromJSONKey :: FromJSONKeyFunction SamlConfigurationStatus
Core.FromJSONKey,
[SamlConfigurationStatus] -> Encoding
[SamlConfigurationStatus] -> Value
SamlConfigurationStatus -> Encoding
SamlConfigurationStatus -> Value
(SamlConfigurationStatus -> Value)
-> (SamlConfigurationStatus -> Encoding)
-> ([SamlConfigurationStatus] -> Value)
-> ([SamlConfigurationStatus] -> Encoding)
-> ToJSON SamlConfigurationStatus
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [SamlConfigurationStatus] -> Encoding
$ctoEncodingList :: [SamlConfigurationStatus] -> Encoding
toJSONList :: [SamlConfigurationStatus] -> Value
$ctoJSONList :: [SamlConfigurationStatus] -> Value
toEncoding :: SamlConfigurationStatus -> Encoding
$ctoEncoding :: SamlConfigurationStatus -> Encoding
toJSON :: SamlConfigurationStatus -> Value
$ctoJSON :: SamlConfigurationStatus -> Value
Core.ToJSON,
ToJSONKeyFunction [SamlConfigurationStatus]
ToJSONKeyFunction SamlConfigurationStatus
ToJSONKeyFunction SamlConfigurationStatus
-> ToJSONKeyFunction [SamlConfigurationStatus]
-> ToJSONKey SamlConfigurationStatus
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [SamlConfigurationStatus]
$ctoJSONKeyList :: ToJSONKeyFunction [SamlConfigurationStatus]
toJSONKey :: ToJSONKeyFunction SamlConfigurationStatus
$ctoJSONKey :: ToJSONKeyFunction SamlConfigurationStatus
Core.ToJSONKey,
[Node] -> Either String SamlConfigurationStatus
([Node] -> Either String SamlConfigurationStatus)
-> FromXML SamlConfigurationStatus
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String SamlConfigurationStatus
$cparseXML :: [Node] -> Either String SamlConfigurationStatus
Core.FromXML,
SamlConfigurationStatus -> XML
(SamlConfigurationStatus -> XML) -> ToXML SamlConfigurationStatus
forall a. (a -> XML) -> ToXML a
toXML :: SamlConfigurationStatus -> XML
$ctoXML :: SamlConfigurationStatus -> XML
Core.ToXML
)
pattern SamlConfigurationStatus_CONFIGURED :: SamlConfigurationStatus
pattern $bSamlConfigurationStatus_CONFIGURED :: SamlConfigurationStatus
$mSamlConfigurationStatus_CONFIGURED :: forall r.
SamlConfigurationStatus -> (Void# -> r) -> (Void# -> r) -> r
SamlConfigurationStatus_CONFIGURED = SamlConfigurationStatus' "CONFIGURED"
pattern SamlConfigurationStatus_NOT_CONFIGURED :: SamlConfigurationStatus
pattern $bSamlConfigurationStatus_NOT_CONFIGURED :: SamlConfigurationStatus
$mSamlConfigurationStatus_NOT_CONFIGURED :: forall r.
SamlConfigurationStatus -> (Void# -> r) -> (Void# -> r) -> r
SamlConfigurationStatus_NOT_CONFIGURED = SamlConfigurationStatus' "NOT_CONFIGURED"
{-# COMPLETE
SamlConfigurationStatus_CONFIGURED,
SamlConfigurationStatus_NOT_CONFIGURED,
SamlConfigurationStatus'
#-}