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