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