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