{-# 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.Prelude as Prelude
newtype IdentityProvider = IdentityProvider'
{ IdentityProvider -> Text
fromIdentityProvider ::
Core.Text
}
deriving stock
( Int -> IdentityProvider -> ShowS
[IdentityProvider] -> ShowS
IdentityProvider -> String
(Int -> IdentityProvider -> ShowS)
-> (IdentityProvider -> String)
-> ([IdentityProvider] -> ShowS)
-> Show IdentityProvider
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]
(Int -> ReadS IdentityProvider)
-> ReadS [IdentityProvider]
-> ReadPrec IdentityProvider
-> ReadPrec [IdentityProvider]
-> Read 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
(IdentityProvider -> IdentityProvider -> Bool)
-> (IdentityProvider -> IdentityProvider -> Bool)
-> Eq IdentityProvider
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
Eq IdentityProvider
-> (IdentityProvider -> IdentityProvider -> Ordering)
-> (IdentityProvider -> IdentityProvider -> Bool)
-> (IdentityProvider -> IdentityProvider -> Bool)
-> (IdentityProvider -> IdentityProvider -> Bool)
-> (IdentityProvider -> IdentityProvider -> Bool)
-> (IdentityProvider -> IdentityProvider -> IdentityProvider)
-> (IdentityProvider -> IdentityProvider -> IdentityProvider)
-> Ord 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
$cp1Ord :: Eq IdentityProvider
Prelude.Ord,
(forall x. IdentityProvider -> Rep IdentityProvider x)
-> (forall x. Rep IdentityProvider x -> IdentityProvider)
-> Generic IdentityProvider
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
( Int -> IdentityProvider -> Int
IdentityProvider -> Int
(Int -> IdentityProvider -> Int)
-> (IdentityProvider -> Int) -> Hashable IdentityProvider
forall 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 -> ()
(IdentityProvider -> ()) -> NFData IdentityProvider
forall a. (a -> ()) -> NFData a
rnf :: IdentityProvider -> ()
$crnf :: IdentityProvider -> ()
Prelude.NFData,
Text -> Either String IdentityProvider
(Text -> Either String IdentityProvider)
-> FromText IdentityProvider
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String IdentityProvider
$cfromText :: Text -> Either String IdentityProvider
Core.FromText,
IdentityProvider -> Text
(IdentityProvider -> Text) -> ToText IdentityProvider
forall a. (a -> Text) -> ToText a
toText :: IdentityProvider -> Text
$ctoText :: IdentityProvider -> Text
Core.ToText,
IdentityProvider -> ByteString
(IdentityProvider -> ByteString) -> ToByteString IdentityProvider
forall a. (a -> ByteString) -> ToByteString a
toBS :: IdentityProvider -> ByteString
$ctoBS :: IdentityProvider -> ByteString
Core.ToByteString,
IdentityProvider -> ByteStringBuilder
(IdentityProvider -> ByteStringBuilder) -> ToLog IdentityProvider
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: IdentityProvider -> ByteStringBuilder
$cbuild :: IdentityProvider -> ByteStringBuilder
Core.ToLog,
HeaderName -> IdentityProvider -> [Header]
(HeaderName -> IdentityProvider -> [Header])
-> ToHeader IdentityProvider
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> IdentityProvider -> [Header]
$ctoHeader :: HeaderName -> IdentityProvider -> [Header]
Core.ToHeader,
IdentityProvider -> QueryString
(IdentityProvider -> QueryString) -> ToQuery IdentityProvider
forall a. (a -> QueryString) -> ToQuery a
toQuery :: IdentityProvider -> QueryString
$ctoQuery :: IdentityProvider -> QueryString
Core.ToQuery,
Value -> Parser [IdentityProvider]
Value -> Parser IdentityProvider
(Value -> Parser IdentityProvider)
-> (Value -> Parser [IdentityProvider])
-> FromJSON 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
Core.FromJSON,
FromJSONKeyFunction [IdentityProvider]
FromJSONKeyFunction IdentityProvider
FromJSONKeyFunction IdentityProvider
-> FromJSONKeyFunction [IdentityProvider]
-> FromJSONKey IdentityProvider
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [IdentityProvider]
$cfromJSONKeyList :: FromJSONKeyFunction [IdentityProvider]
fromJSONKey :: FromJSONKeyFunction IdentityProvider
$cfromJSONKey :: FromJSONKeyFunction IdentityProvider
Core.FromJSONKey,
[IdentityProvider] -> Encoding
[IdentityProvider] -> Value
IdentityProvider -> Encoding
IdentityProvider -> Value
(IdentityProvider -> Value)
-> (IdentityProvider -> Encoding)
-> ([IdentityProvider] -> Value)
-> ([IdentityProvider] -> Encoding)
-> ToJSON IdentityProvider
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
Core.ToJSON,
ToJSONKeyFunction [IdentityProvider]
ToJSONKeyFunction IdentityProvider
ToJSONKeyFunction IdentityProvider
-> ToJSONKeyFunction [IdentityProvider]
-> ToJSONKey IdentityProvider
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [IdentityProvider]
$ctoJSONKeyList :: ToJSONKeyFunction [IdentityProvider]
toJSONKey :: ToJSONKeyFunction IdentityProvider
$ctoJSONKey :: ToJSONKeyFunction IdentityProvider
Core.ToJSONKey,
[Node] -> Either String IdentityProvider
([Node] -> Either String IdentityProvider)
-> FromXML IdentityProvider
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String IdentityProvider
$cparseXML :: [Node] -> Either String IdentityProvider
Core.FromXML,
IdentityProvider -> XML
(IdentityProvider -> XML) -> ToXML IdentityProvider
forall a. (a -> XML) -> ToXML a
toXML :: IdentityProvider -> XML
$ctoXML :: IdentityProvider -> XML
Core.ToXML
)
pattern IdentityProvider_AWS_Marketplace :: IdentityProvider
pattern $bIdentityProvider_AWS_Marketplace :: IdentityProvider
$mIdentityProvider_AWS_Marketplace :: forall r. IdentityProvider -> (Void# -> r) -> (Void# -> r) -> r
IdentityProvider_AWS_Marketplace = IdentityProvider' "AWS_Marketplace"
pattern IdentityProvider_Bitbucket :: IdentityProvider
pattern $bIdentityProvider_Bitbucket :: IdentityProvider
$mIdentityProvider_Bitbucket :: forall r. IdentityProvider -> (Void# -> r) -> (Void# -> r) -> r
IdentityProvider_Bitbucket = IdentityProvider' "Bitbucket"
pattern IdentityProvider_GitHub :: IdentityProvider
pattern $bIdentityProvider_GitHub :: IdentityProvider
$mIdentityProvider_GitHub :: forall r. IdentityProvider -> (Void# -> r) -> (Void# -> r) -> r
IdentityProvider_GitHub = IdentityProvider' "GitHub"
{-# COMPLETE
IdentityProvider_AWS_Marketplace,
IdentityProvider_Bitbucket,
IdentityProvider_GitHub,
IdentityProvider'
#-}