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