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