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

pattern InputLossActionForHlsOut_EMIT_OUTPUT :: InputLossActionForHlsOut
pattern $bInputLossActionForHlsOut_EMIT_OUTPUT :: InputLossActionForHlsOut
$mInputLossActionForHlsOut_EMIT_OUTPUT :: forall {r}.
InputLossActionForHlsOut -> ((# #) -> r) -> ((# #) -> r) -> r
InputLossActionForHlsOut_EMIT_OUTPUT = InputLossActionForHlsOut' "EMIT_OUTPUT"

pattern InputLossActionForHlsOut_PAUSE_OUTPUT :: InputLossActionForHlsOut
pattern $bInputLossActionForHlsOut_PAUSE_OUTPUT :: InputLossActionForHlsOut
$mInputLossActionForHlsOut_PAUSE_OUTPUT :: forall {r}.
InputLossActionForHlsOut -> ((# #) -> r) -> ((# #) -> r) -> r
InputLossActionForHlsOut_PAUSE_OUTPUT = InputLossActionForHlsOut' "PAUSE_OUTPUT"

{-# COMPLETE
  InputLossActionForHlsOut_EMIT_OUTPUT,
  InputLossActionForHlsOut_PAUSE_OUTPUT,
  InputLossActionForHlsOut'
  #-}