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