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