{-# 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.Data as Data
import qualified Amazonka.Prelude as Prelude
newtype EmbeddingIdentityType = EmbeddingIdentityType'
{ EmbeddingIdentityType -> Text
fromEmbeddingIdentityType ::
Data.Text
}
deriving stock
( Int -> EmbeddingIdentityType -> ShowS
[EmbeddingIdentityType] -> ShowS
EmbeddingIdentityType -> String
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]
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
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
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
Prelude.Ord,
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
( Eq EmbeddingIdentityType
Int -> EmbeddingIdentityType -> Int
EmbeddingIdentityType -> Int
forall a. Eq 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 -> ()
forall a. (a -> ()) -> NFData a
rnf :: EmbeddingIdentityType -> ()
$crnf :: EmbeddingIdentityType -> ()
Prelude.NFData,
Text -> Either String EmbeddingIdentityType
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String EmbeddingIdentityType
$cfromText :: Text -> Either String EmbeddingIdentityType
Data.FromText,
EmbeddingIdentityType -> Text
forall a. (a -> Text) -> ToText a
toText :: EmbeddingIdentityType -> Text
$ctoText :: EmbeddingIdentityType -> Text
Data.ToText,
EmbeddingIdentityType -> ByteString
forall a. (a -> ByteString) -> ToByteString a
toBS :: EmbeddingIdentityType -> ByteString
$ctoBS :: EmbeddingIdentityType -> ByteString
Data.ToByteString,
EmbeddingIdentityType -> ByteStringBuilder
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: EmbeddingIdentityType -> ByteStringBuilder
$cbuild :: EmbeddingIdentityType -> ByteStringBuilder
Data.ToLog,
HeaderName -> EmbeddingIdentityType -> [Header]
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> EmbeddingIdentityType -> [Header]
$ctoHeader :: HeaderName -> EmbeddingIdentityType -> [Header]
Data.ToHeader,
EmbeddingIdentityType -> QueryString
forall a. (a -> QueryString) -> ToQuery a
toQuery :: EmbeddingIdentityType -> QueryString
$ctoQuery :: EmbeddingIdentityType -> QueryString
Data.ToQuery,
Value -> Parser [EmbeddingIdentityType]
Value -> Parser 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
Data.FromJSON,
FromJSONKeyFunction [EmbeddingIdentityType]
FromJSONKeyFunction EmbeddingIdentityType
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [EmbeddingIdentityType]
$cfromJSONKeyList :: FromJSONKeyFunction [EmbeddingIdentityType]
fromJSONKey :: FromJSONKeyFunction EmbeddingIdentityType
$cfromJSONKey :: FromJSONKeyFunction EmbeddingIdentityType
Data.FromJSONKey,
[EmbeddingIdentityType] -> Encoding
[EmbeddingIdentityType] -> Value
EmbeddingIdentityType -> Encoding
EmbeddingIdentityType -> Value
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
Data.ToJSON,
ToJSONKeyFunction [EmbeddingIdentityType]
ToJSONKeyFunction EmbeddingIdentityType
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [EmbeddingIdentityType]
$ctoJSONKeyList :: ToJSONKeyFunction [EmbeddingIdentityType]
toJSONKey :: ToJSONKeyFunction EmbeddingIdentityType
$ctoJSONKey :: ToJSONKeyFunction EmbeddingIdentityType
Data.ToJSONKey,
[Node] -> Either String EmbeddingIdentityType
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String EmbeddingIdentityType
$cparseXML :: [Node] -> Either String EmbeddingIdentityType
Data.FromXML,
EmbeddingIdentityType -> XML
forall a. (a -> XML) -> ToXML a
toXML :: EmbeddingIdentityType -> XML
$ctoXML :: EmbeddingIdentityType -> XML
Data.ToXML
)
pattern EmbeddingIdentityType_ANONYMOUS :: EmbeddingIdentityType
pattern $bEmbeddingIdentityType_ANONYMOUS :: EmbeddingIdentityType
$mEmbeddingIdentityType_ANONYMOUS :: forall {r}.
EmbeddingIdentityType -> ((# #) -> r) -> ((# #) -> r) -> r
EmbeddingIdentityType_ANONYMOUS = EmbeddingIdentityType' "ANONYMOUS"
pattern EmbeddingIdentityType_IAM :: EmbeddingIdentityType
pattern $bEmbeddingIdentityType_IAM :: EmbeddingIdentityType
$mEmbeddingIdentityType_IAM :: forall {r}.
EmbeddingIdentityType -> ((# #) -> r) -> ((# #) -> r) -> r
EmbeddingIdentityType_IAM = EmbeddingIdentityType' "IAM"
pattern EmbeddingIdentityType_QUICKSIGHT :: EmbeddingIdentityType
pattern $bEmbeddingIdentityType_QUICKSIGHT :: EmbeddingIdentityType
$mEmbeddingIdentityType_QUICKSIGHT :: forall {r}.
EmbeddingIdentityType -> ((# #) -> r) -> ((# #) -> r) -> r
EmbeddingIdentityType_QUICKSIGHT = EmbeddingIdentityType' "QUICKSIGHT"
{-# COMPLETE
EmbeddingIdentityType_ANONYMOUS,
EmbeddingIdentityType_IAM,
EmbeddingIdentityType_QUICKSIGHT,
EmbeddingIdentityType'
#-}