{-# 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.Edition
( Edition
( ..,
Edition_ENTERPRISE,
Edition_STANDARD
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Prelude as Prelude
newtype Edition = Edition' {Edition -> Text
fromEdition :: Core.Text}
deriving stock
( Int -> Edition -> ShowS
[Edition] -> ShowS
Edition -> String
(Int -> Edition -> ShowS)
-> (Edition -> String) -> ([Edition] -> ShowS) -> Show Edition
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [Edition] -> ShowS
$cshowList :: [Edition] -> ShowS
show :: Edition -> String
$cshow :: Edition -> String
showsPrec :: Int -> Edition -> ShowS
$cshowsPrec :: Int -> Edition -> ShowS
Prelude.Show,
ReadPrec [Edition]
ReadPrec Edition
Int -> ReadS Edition
ReadS [Edition]
(Int -> ReadS Edition)
-> ReadS [Edition]
-> ReadPrec Edition
-> ReadPrec [Edition]
-> Read Edition
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [Edition]
$creadListPrec :: ReadPrec [Edition]
readPrec :: ReadPrec Edition
$creadPrec :: ReadPrec Edition
readList :: ReadS [Edition]
$creadList :: ReadS [Edition]
readsPrec :: Int -> ReadS Edition
$creadsPrec :: Int -> ReadS Edition
Prelude.Read,
Edition -> Edition -> Bool
(Edition -> Edition -> Bool)
-> (Edition -> Edition -> Bool) -> Eq Edition
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: Edition -> Edition -> Bool
$c/= :: Edition -> Edition -> Bool
== :: Edition -> Edition -> Bool
$c== :: Edition -> Edition -> Bool
Prelude.Eq,
Eq Edition
Eq Edition
-> (Edition -> Edition -> Ordering)
-> (Edition -> Edition -> Bool)
-> (Edition -> Edition -> Bool)
-> (Edition -> Edition -> Bool)
-> (Edition -> Edition -> Bool)
-> (Edition -> Edition -> Edition)
-> (Edition -> Edition -> Edition)
-> Ord Edition
Edition -> Edition -> Bool
Edition -> Edition -> Ordering
Edition -> Edition -> Edition
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 :: Edition -> Edition -> Edition
$cmin :: Edition -> Edition -> Edition
max :: Edition -> Edition -> Edition
$cmax :: Edition -> Edition -> Edition
>= :: Edition -> Edition -> Bool
$c>= :: Edition -> Edition -> Bool
> :: Edition -> Edition -> Bool
$c> :: Edition -> Edition -> Bool
<= :: Edition -> Edition -> Bool
$c<= :: Edition -> Edition -> Bool
< :: Edition -> Edition -> Bool
$c< :: Edition -> Edition -> Bool
compare :: Edition -> Edition -> Ordering
$ccompare :: Edition -> Edition -> Ordering
$cp1Ord :: Eq Edition
Prelude.Ord,
(forall x. Edition -> Rep Edition x)
-> (forall x. Rep Edition x -> Edition) -> Generic Edition
forall x. Rep Edition x -> Edition
forall x. Edition -> Rep Edition x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep Edition x -> Edition
$cfrom :: forall x. Edition -> Rep Edition x
Prelude.Generic
)
deriving newtype
( Int -> Edition -> Int
Edition -> Int
(Int -> Edition -> Int) -> (Edition -> Int) -> Hashable Edition
forall a. (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: Edition -> Int
$chash :: Edition -> Int
hashWithSalt :: Int -> Edition -> Int
$chashWithSalt :: Int -> Edition -> Int
Prelude.Hashable,
Edition -> ()
(Edition -> ()) -> NFData Edition
forall a. (a -> ()) -> NFData a
rnf :: Edition -> ()
$crnf :: Edition -> ()
Prelude.NFData,
Text -> Either String Edition
(Text -> Either String Edition) -> FromText Edition
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String Edition
$cfromText :: Text -> Either String Edition
Core.FromText,
Edition -> Text
(Edition -> Text) -> ToText Edition
forall a. (a -> Text) -> ToText a
toText :: Edition -> Text
$ctoText :: Edition -> Text
Core.ToText,
Edition -> ByteString
(Edition -> ByteString) -> ToByteString Edition
forall a. (a -> ByteString) -> ToByteString a
toBS :: Edition -> ByteString
$ctoBS :: Edition -> ByteString
Core.ToByteString,
Edition -> ByteStringBuilder
(Edition -> ByteStringBuilder) -> ToLog Edition
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: Edition -> ByteStringBuilder
$cbuild :: Edition -> ByteStringBuilder
Core.ToLog,
HeaderName -> Edition -> [Header]
(HeaderName -> Edition -> [Header]) -> ToHeader Edition
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> Edition -> [Header]
$ctoHeader :: HeaderName -> Edition -> [Header]
Core.ToHeader,
Edition -> QueryString
(Edition -> QueryString) -> ToQuery Edition
forall a. (a -> QueryString) -> ToQuery a
toQuery :: Edition -> QueryString
$ctoQuery :: Edition -> QueryString
Core.ToQuery,
Value -> Parser [Edition]
Value -> Parser Edition
(Value -> Parser Edition)
-> (Value -> Parser [Edition]) -> FromJSON Edition
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [Edition]
$cparseJSONList :: Value -> Parser [Edition]
parseJSON :: Value -> Parser Edition
$cparseJSON :: Value -> Parser Edition
Core.FromJSON,
FromJSONKeyFunction [Edition]
FromJSONKeyFunction Edition
FromJSONKeyFunction Edition
-> FromJSONKeyFunction [Edition] -> FromJSONKey Edition
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [Edition]
$cfromJSONKeyList :: FromJSONKeyFunction [Edition]
fromJSONKey :: FromJSONKeyFunction Edition
$cfromJSONKey :: FromJSONKeyFunction Edition
Core.FromJSONKey,
[Edition] -> Encoding
[Edition] -> Value
Edition -> Encoding
Edition -> Value
(Edition -> Value)
-> (Edition -> Encoding)
-> ([Edition] -> Value)
-> ([Edition] -> Encoding)
-> ToJSON Edition
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [Edition] -> Encoding
$ctoEncodingList :: [Edition] -> Encoding
toJSONList :: [Edition] -> Value
$ctoJSONList :: [Edition] -> Value
toEncoding :: Edition -> Encoding
$ctoEncoding :: Edition -> Encoding
toJSON :: Edition -> Value
$ctoJSON :: Edition -> Value
Core.ToJSON,
ToJSONKeyFunction [Edition]
ToJSONKeyFunction Edition
ToJSONKeyFunction Edition
-> ToJSONKeyFunction [Edition] -> ToJSONKey Edition
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [Edition]
$ctoJSONKeyList :: ToJSONKeyFunction [Edition]
toJSONKey :: ToJSONKeyFunction Edition
$ctoJSONKey :: ToJSONKeyFunction Edition
Core.ToJSONKey,
[Node] -> Either String Edition
([Node] -> Either String Edition) -> FromXML Edition
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String Edition
$cparseXML :: [Node] -> Either String Edition
Core.FromXML,
Edition -> XML
(Edition -> XML) -> ToXML Edition
forall a. (a -> XML) -> ToXML a
toXML :: Edition -> XML
$ctoXML :: Edition -> XML
Core.ToXML
)
pattern Edition_ENTERPRISE :: Edition
pattern $bEdition_ENTERPRISE :: Edition
$mEdition_ENTERPRISE :: forall r. Edition -> (Void# -> r) -> (Void# -> r) -> r
Edition_ENTERPRISE = Edition' "ENTERPRISE"
pattern Edition_STANDARD :: Edition
pattern $bEdition_STANDARD :: Edition
$mEdition_STANDARD :: forall r. Edition -> (Void# -> r) -> (Void# -> r) -> r
Edition_STANDARD = Edition' "STANDARD"
{-# COMPLETE
Edition_ENTERPRISE,
Edition_STANDARD,
Edition'
#-}