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