{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}

-- Derived from AWS service descriptions, licensed under Apache 2.0.

-- |
-- Module      : Amazonka.MediaLive.Types.InputLossActionForMsSmoothOut
-- Copyright   : (c) 2013-2023 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
module Amazonka.MediaLive.Types.InputLossActionForMsSmoothOut
  ( InputLossActionForMsSmoothOut
      ( ..,
        InputLossActionForMsSmoothOut_EMIT_OUTPUT,
        InputLossActionForMsSmoothOut_PAUSE_OUTPUT
      ),
  )
where

import qualified Amazonka.Core as Core
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude

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

pattern InputLossActionForMsSmoothOut_EMIT_OUTPUT :: InputLossActionForMsSmoothOut
pattern $bInputLossActionForMsSmoothOut_EMIT_OUTPUT :: InputLossActionForMsSmoothOut
$mInputLossActionForMsSmoothOut_EMIT_OUTPUT :: forall {r}.
InputLossActionForMsSmoothOut -> ((# #) -> r) -> ((# #) -> r) -> r
InputLossActionForMsSmoothOut_EMIT_OUTPUT = InputLossActionForMsSmoothOut' "EMIT_OUTPUT"

pattern InputLossActionForMsSmoothOut_PAUSE_OUTPUT :: InputLossActionForMsSmoothOut
pattern $bInputLossActionForMsSmoothOut_PAUSE_OUTPUT :: InputLossActionForMsSmoothOut
$mInputLossActionForMsSmoothOut_PAUSE_OUTPUT :: forall {r}.
InputLossActionForMsSmoothOut -> ((# #) -> r) -> ((# #) -> r) -> r
InputLossActionForMsSmoothOut_PAUSE_OUTPUT = InputLossActionForMsSmoothOut' "PAUSE_OUTPUT"

{-# COMPLETE
  InputLossActionForMsSmoothOut_EMIT_OUTPUT,
  InputLossActionForMsSmoothOut_PAUSE_OUTPUT,
  InputLossActionForMsSmoothOut'
  #-}