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