{-# 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-2021 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>
-- 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.Prelude as Prelude

-- | Input Loss Action For Hls Out
newtype InputLossActionForHlsOut = InputLossActionForHlsOut'
  { InputLossActionForHlsOut -> Text
fromInputLossActionForHlsOut ::
      Core.Text
  }
  deriving stock
    ( Int -> InputLossActionForHlsOut -> ShowS
[InputLossActionForHlsOut] -> ShowS
InputLossActionForHlsOut -> String
(Int -> InputLossActionForHlsOut -> ShowS)
-> (InputLossActionForHlsOut -> String)
-> ([InputLossActionForHlsOut] -> ShowS)
-> Show InputLossActionForHlsOut
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]
(Int -> ReadS InputLossActionForHlsOut)
-> ReadS [InputLossActionForHlsOut]
-> ReadPrec InputLossActionForHlsOut
-> ReadPrec [InputLossActionForHlsOut]
-> Read 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
(InputLossActionForHlsOut -> InputLossActionForHlsOut -> Bool)
-> (InputLossActionForHlsOut -> InputLossActionForHlsOut -> Bool)
-> Eq InputLossActionForHlsOut
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
Eq InputLossActionForHlsOut
-> (InputLossActionForHlsOut
    -> InputLossActionForHlsOut -> Ordering)
-> (InputLossActionForHlsOut -> InputLossActionForHlsOut -> Bool)
-> (InputLossActionForHlsOut -> InputLossActionForHlsOut -> Bool)
-> (InputLossActionForHlsOut -> InputLossActionForHlsOut -> Bool)
-> (InputLossActionForHlsOut -> InputLossActionForHlsOut -> Bool)
-> (InputLossActionForHlsOut
    -> InputLossActionForHlsOut -> InputLossActionForHlsOut)
-> (InputLossActionForHlsOut
    -> InputLossActionForHlsOut -> InputLossActionForHlsOut)
-> Ord 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
$cp1Ord :: Eq InputLossActionForHlsOut
Prelude.Ord,
      (forall x.
 InputLossActionForHlsOut -> Rep InputLossActionForHlsOut x)
-> (forall x.
    Rep InputLossActionForHlsOut x -> InputLossActionForHlsOut)
-> Generic InputLossActionForHlsOut
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
    ( Int -> InputLossActionForHlsOut -> Int
InputLossActionForHlsOut -> Int
(Int -> InputLossActionForHlsOut -> Int)
-> (InputLossActionForHlsOut -> Int)
-> Hashable InputLossActionForHlsOut
forall 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 -> ()
(InputLossActionForHlsOut -> ()) -> NFData InputLossActionForHlsOut
forall a. (a -> ()) -> NFData a
rnf :: InputLossActionForHlsOut -> ()
$crnf :: InputLossActionForHlsOut -> ()
Prelude.NFData,
      Text -> Either String InputLossActionForHlsOut
(Text -> Either String InputLossActionForHlsOut)
-> FromText InputLossActionForHlsOut
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String InputLossActionForHlsOut
$cfromText :: Text -> Either String InputLossActionForHlsOut
Core.FromText,
      InputLossActionForHlsOut -> Text
(InputLossActionForHlsOut -> Text)
-> ToText InputLossActionForHlsOut
forall a. (a -> Text) -> ToText a
toText :: InputLossActionForHlsOut -> Text
$ctoText :: InputLossActionForHlsOut -> Text
Core.ToText,
      InputLossActionForHlsOut -> ByteString
(InputLossActionForHlsOut -> ByteString)
-> ToByteString InputLossActionForHlsOut
forall a. (a -> ByteString) -> ToByteString a
toBS :: InputLossActionForHlsOut -> ByteString
$ctoBS :: InputLossActionForHlsOut -> ByteString
Core.ToByteString,
      InputLossActionForHlsOut -> ByteStringBuilder
(InputLossActionForHlsOut -> ByteStringBuilder)
-> ToLog InputLossActionForHlsOut
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: InputLossActionForHlsOut -> ByteStringBuilder
$cbuild :: InputLossActionForHlsOut -> ByteStringBuilder
Core.ToLog,
      HeaderName -> InputLossActionForHlsOut -> [Header]
(HeaderName -> InputLossActionForHlsOut -> [Header])
-> ToHeader InputLossActionForHlsOut
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> InputLossActionForHlsOut -> [Header]
$ctoHeader :: HeaderName -> InputLossActionForHlsOut -> [Header]
Core.ToHeader,
      InputLossActionForHlsOut -> QueryString
(InputLossActionForHlsOut -> QueryString)
-> ToQuery InputLossActionForHlsOut
forall a. (a -> QueryString) -> ToQuery a
toQuery :: InputLossActionForHlsOut -> QueryString
$ctoQuery :: InputLossActionForHlsOut -> QueryString
Core.ToQuery,
      Value -> Parser [InputLossActionForHlsOut]
Value -> Parser InputLossActionForHlsOut
(Value -> Parser InputLossActionForHlsOut)
-> (Value -> Parser [InputLossActionForHlsOut])
-> FromJSON 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
Core.FromJSON,
      FromJSONKeyFunction [InputLossActionForHlsOut]
FromJSONKeyFunction InputLossActionForHlsOut
FromJSONKeyFunction InputLossActionForHlsOut
-> FromJSONKeyFunction [InputLossActionForHlsOut]
-> FromJSONKey InputLossActionForHlsOut
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [InputLossActionForHlsOut]
$cfromJSONKeyList :: FromJSONKeyFunction [InputLossActionForHlsOut]
fromJSONKey :: FromJSONKeyFunction InputLossActionForHlsOut
$cfromJSONKey :: FromJSONKeyFunction InputLossActionForHlsOut
Core.FromJSONKey,
      [InputLossActionForHlsOut] -> Encoding
[InputLossActionForHlsOut] -> Value
InputLossActionForHlsOut -> Encoding
InputLossActionForHlsOut -> Value
(InputLossActionForHlsOut -> Value)
-> (InputLossActionForHlsOut -> Encoding)
-> ([InputLossActionForHlsOut] -> Value)
-> ([InputLossActionForHlsOut] -> Encoding)
-> ToJSON InputLossActionForHlsOut
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
Core.ToJSON,
      ToJSONKeyFunction [InputLossActionForHlsOut]
ToJSONKeyFunction InputLossActionForHlsOut
ToJSONKeyFunction InputLossActionForHlsOut
-> ToJSONKeyFunction [InputLossActionForHlsOut]
-> ToJSONKey InputLossActionForHlsOut
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [InputLossActionForHlsOut]
$ctoJSONKeyList :: ToJSONKeyFunction [InputLossActionForHlsOut]
toJSONKey :: ToJSONKeyFunction InputLossActionForHlsOut
$ctoJSONKey :: ToJSONKeyFunction InputLossActionForHlsOut
Core.ToJSONKey,
      [Node] -> Either String InputLossActionForHlsOut
([Node] -> Either String InputLossActionForHlsOut)
-> FromXML InputLossActionForHlsOut
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String InputLossActionForHlsOut
$cparseXML :: [Node] -> Either String InputLossActionForHlsOut
Core.FromXML,
      InputLossActionForHlsOut -> XML
(InputLossActionForHlsOut -> XML) -> ToXML InputLossActionForHlsOut
forall a. (a -> XML) -> ToXML a
toXML :: InputLossActionForHlsOut -> XML
$ctoXML :: InputLossActionForHlsOut -> XML
Core.ToXML
    )

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

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

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