{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}

-- Derived from AWS service descriptions, licensed under Apache 2.0.

-- |
-- Module      : Amazonka.DeviceFarm.Types.TestGridSessionArtifactType
-- Copyright   : (c) 2013-2023 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
module Amazonka.DeviceFarm.Types.TestGridSessionArtifactType
  ( TestGridSessionArtifactType
      ( ..,
        TestGridSessionArtifactType_SELENIUM_LOG,
        TestGridSessionArtifactType_UNKNOWN,
        TestGridSessionArtifactType_VIDEO
      ),
  )
where

import qualified Amazonka.Core as Core
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude

newtype TestGridSessionArtifactType = TestGridSessionArtifactType'
  { TestGridSessionArtifactType -> Text
fromTestGridSessionArtifactType ::
      Data.Text
  }
  deriving stock
    ( Int -> TestGridSessionArtifactType -> ShowS
[TestGridSessionArtifactType] -> ShowS
TestGridSessionArtifactType -> String
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]
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
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
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
Prelude.Ord,
      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
    ( Eq TestGridSessionArtifactType
Int -> TestGridSessionArtifactType -> Int
TestGridSessionArtifactType -> Int
forall a. Eq 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 -> ()
forall a. (a -> ()) -> NFData a
rnf :: TestGridSessionArtifactType -> ()
$crnf :: TestGridSessionArtifactType -> ()
Prelude.NFData,
      Text -> Either String TestGridSessionArtifactType
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String TestGridSessionArtifactType
$cfromText :: Text -> Either String TestGridSessionArtifactType
Data.FromText,
      TestGridSessionArtifactType -> Text
forall a. (a -> Text) -> ToText a
toText :: TestGridSessionArtifactType -> Text
$ctoText :: TestGridSessionArtifactType -> Text
Data.ToText,
      TestGridSessionArtifactType -> ByteString
forall a. (a -> ByteString) -> ToByteString a
toBS :: TestGridSessionArtifactType -> ByteString
$ctoBS :: TestGridSessionArtifactType -> ByteString
Data.ToByteString,
      TestGridSessionArtifactType -> ByteStringBuilder
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: TestGridSessionArtifactType -> ByteStringBuilder
$cbuild :: TestGridSessionArtifactType -> ByteStringBuilder
Data.ToLog,
      HeaderName -> TestGridSessionArtifactType -> [Header]
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> TestGridSessionArtifactType -> [Header]
$ctoHeader :: HeaderName -> TestGridSessionArtifactType -> [Header]
Data.ToHeader,
      TestGridSessionArtifactType -> QueryString
forall a. (a -> QueryString) -> ToQuery a
toQuery :: TestGridSessionArtifactType -> QueryString
$ctoQuery :: TestGridSessionArtifactType -> QueryString
Data.ToQuery,
      Value -> Parser [TestGridSessionArtifactType]
Value -> Parser 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
Data.FromJSON,
      FromJSONKeyFunction [TestGridSessionArtifactType]
FromJSONKeyFunction TestGridSessionArtifactType
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [TestGridSessionArtifactType]
$cfromJSONKeyList :: FromJSONKeyFunction [TestGridSessionArtifactType]
fromJSONKey :: FromJSONKeyFunction TestGridSessionArtifactType
$cfromJSONKey :: FromJSONKeyFunction TestGridSessionArtifactType
Data.FromJSONKey,
      [TestGridSessionArtifactType] -> Encoding
[TestGridSessionArtifactType] -> Value
TestGridSessionArtifactType -> Encoding
TestGridSessionArtifactType -> Value
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
Data.ToJSON,
      ToJSONKeyFunction [TestGridSessionArtifactType]
ToJSONKeyFunction TestGridSessionArtifactType
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [TestGridSessionArtifactType]
$ctoJSONKeyList :: ToJSONKeyFunction [TestGridSessionArtifactType]
toJSONKey :: ToJSONKeyFunction TestGridSessionArtifactType
$ctoJSONKey :: ToJSONKeyFunction TestGridSessionArtifactType
Data.ToJSONKey,
      [Node] -> Either String TestGridSessionArtifactType
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String TestGridSessionArtifactType
$cparseXML :: [Node] -> Either String TestGridSessionArtifactType
Data.FromXML,
      TestGridSessionArtifactType -> XML
forall a. (a -> XML) -> ToXML a
toXML :: TestGridSessionArtifactType -> XML
$ctoXML :: TestGridSessionArtifactType -> XML
Data.ToXML
    )

pattern TestGridSessionArtifactType_SELENIUM_LOG :: TestGridSessionArtifactType
pattern $bTestGridSessionArtifactType_SELENIUM_LOG :: TestGridSessionArtifactType
$mTestGridSessionArtifactType_SELENIUM_LOG :: forall {r}.
TestGridSessionArtifactType -> ((# #) -> r) -> ((# #) -> r) -> r
TestGridSessionArtifactType_SELENIUM_LOG = TestGridSessionArtifactType' "SELENIUM_LOG"

pattern TestGridSessionArtifactType_UNKNOWN :: TestGridSessionArtifactType
pattern $bTestGridSessionArtifactType_UNKNOWN :: TestGridSessionArtifactType
$mTestGridSessionArtifactType_UNKNOWN :: forall {r}.
TestGridSessionArtifactType -> ((# #) -> r) -> ((# #) -> r) -> r
TestGridSessionArtifactType_UNKNOWN = TestGridSessionArtifactType' "UNKNOWN"

pattern TestGridSessionArtifactType_VIDEO :: TestGridSessionArtifactType
pattern $bTestGridSessionArtifactType_VIDEO :: TestGridSessionArtifactType
$mTestGridSessionArtifactType_VIDEO :: forall {r}.
TestGridSessionArtifactType -> ((# #) -> r) -> ((# #) -> r) -> r
TestGridSessionArtifactType_VIDEO = TestGridSessionArtifactType' "VIDEO"

{-# COMPLETE
  TestGridSessionArtifactType_SELENIUM_LOG,
  TestGridSessionArtifactType_UNKNOWN,
  TestGridSessionArtifactType_VIDEO,
  TestGridSessionArtifactType'
  #-}