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