{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
module Amazonka.IVS.Types.RecordingConfigurationState
( RecordingConfigurationState
( ..,
RecordingConfigurationState_ACTIVE,
RecordingConfigurationState_CREATE_FAILED,
RecordingConfigurationState_CREATING
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Prelude as Prelude
newtype RecordingConfigurationState = RecordingConfigurationState'
{ RecordingConfigurationState -> Text
fromRecordingConfigurationState ::
Core.Text
}
deriving stock
( Int -> RecordingConfigurationState -> ShowS
[RecordingConfigurationState] -> ShowS
RecordingConfigurationState -> String
(Int -> RecordingConfigurationState -> ShowS)
-> (RecordingConfigurationState -> String)
-> ([RecordingConfigurationState] -> ShowS)
-> Show RecordingConfigurationState
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [RecordingConfigurationState] -> ShowS
$cshowList :: [RecordingConfigurationState] -> ShowS
show :: RecordingConfigurationState -> String
$cshow :: RecordingConfigurationState -> String
showsPrec :: Int -> RecordingConfigurationState -> ShowS
$cshowsPrec :: Int -> RecordingConfigurationState -> ShowS
Prelude.Show,
ReadPrec [RecordingConfigurationState]
ReadPrec RecordingConfigurationState
Int -> ReadS RecordingConfigurationState
ReadS [RecordingConfigurationState]
(Int -> ReadS RecordingConfigurationState)
-> ReadS [RecordingConfigurationState]
-> ReadPrec RecordingConfigurationState
-> ReadPrec [RecordingConfigurationState]
-> Read RecordingConfigurationState
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [RecordingConfigurationState]
$creadListPrec :: ReadPrec [RecordingConfigurationState]
readPrec :: ReadPrec RecordingConfigurationState
$creadPrec :: ReadPrec RecordingConfigurationState
readList :: ReadS [RecordingConfigurationState]
$creadList :: ReadS [RecordingConfigurationState]
readsPrec :: Int -> ReadS RecordingConfigurationState
$creadsPrec :: Int -> ReadS RecordingConfigurationState
Prelude.Read,
RecordingConfigurationState -> RecordingConfigurationState -> Bool
(RecordingConfigurationState
-> RecordingConfigurationState -> Bool)
-> (RecordingConfigurationState
-> RecordingConfigurationState -> Bool)
-> Eq RecordingConfigurationState
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: RecordingConfigurationState -> RecordingConfigurationState -> Bool
$c/= :: RecordingConfigurationState -> RecordingConfigurationState -> Bool
== :: RecordingConfigurationState -> RecordingConfigurationState -> Bool
$c== :: RecordingConfigurationState -> RecordingConfigurationState -> Bool
Prelude.Eq,
Eq RecordingConfigurationState
Eq RecordingConfigurationState
-> (RecordingConfigurationState
-> RecordingConfigurationState -> Ordering)
-> (RecordingConfigurationState
-> RecordingConfigurationState -> Bool)
-> (RecordingConfigurationState
-> RecordingConfigurationState -> Bool)
-> (RecordingConfigurationState
-> RecordingConfigurationState -> Bool)
-> (RecordingConfigurationState
-> RecordingConfigurationState -> Bool)
-> (RecordingConfigurationState
-> RecordingConfigurationState -> RecordingConfigurationState)
-> (RecordingConfigurationState
-> RecordingConfigurationState -> RecordingConfigurationState)
-> Ord RecordingConfigurationState
RecordingConfigurationState -> RecordingConfigurationState -> Bool
RecordingConfigurationState
-> RecordingConfigurationState -> Ordering
RecordingConfigurationState
-> RecordingConfigurationState -> RecordingConfigurationState
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 :: RecordingConfigurationState
-> RecordingConfigurationState -> RecordingConfigurationState
$cmin :: RecordingConfigurationState
-> RecordingConfigurationState -> RecordingConfigurationState
max :: RecordingConfigurationState
-> RecordingConfigurationState -> RecordingConfigurationState
$cmax :: RecordingConfigurationState
-> RecordingConfigurationState -> RecordingConfigurationState
>= :: RecordingConfigurationState -> RecordingConfigurationState -> Bool
$c>= :: RecordingConfigurationState -> RecordingConfigurationState -> Bool
> :: RecordingConfigurationState -> RecordingConfigurationState -> Bool
$c> :: RecordingConfigurationState -> RecordingConfigurationState -> Bool
<= :: RecordingConfigurationState -> RecordingConfigurationState -> Bool
$c<= :: RecordingConfigurationState -> RecordingConfigurationState -> Bool
< :: RecordingConfigurationState -> RecordingConfigurationState -> Bool
$c< :: RecordingConfigurationState -> RecordingConfigurationState -> Bool
compare :: RecordingConfigurationState
-> RecordingConfigurationState -> Ordering
$ccompare :: RecordingConfigurationState
-> RecordingConfigurationState -> Ordering
$cp1Ord :: Eq RecordingConfigurationState
Prelude.Ord,
(forall x.
RecordingConfigurationState -> Rep RecordingConfigurationState x)
-> (forall x.
Rep RecordingConfigurationState x -> RecordingConfigurationState)
-> Generic RecordingConfigurationState
forall x.
Rep RecordingConfigurationState x -> RecordingConfigurationState
forall x.
RecordingConfigurationState -> Rep RecordingConfigurationState x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep RecordingConfigurationState x -> RecordingConfigurationState
$cfrom :: forall x.
RecordingConfigurationState -> Rep RecordingConfigurationState x
Prelude.Generic
)
deriving newtype
( Int -> RecordingConfigurationState -> Int
RecordingConfigurationState -> Int
(Int -> RecordingConfigurationState -> Int)
-> (RecordingConfigurationState -> Int)
-> Hashable RecordingConfigurationState
forall a. (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: RecordingConfigurationState -> Int
$chash :: RecordingConfigurationState -> Int
hashWithSalt :: Int -> RecordingConfigurationState -> Int
$chashWithSalt :: Int -> RecordingConfigurationState -> Int
Prelude.Hashable,
RecordingConfigurationState -> ()
(RecordingConfigurationState -> ())
-> NFData RecordingConfigurationState
forall a. (a -> ()) -> NFData a
rnf :: RecordingConfigurationState -> ()
$crnf :: RecordingConfigurationState -> ()
Prelude.NFData,
Text -> Either String RecordingConfigurationState
(Text -> Either String RecordingConfigurationState)
-> FromText RecordingConfigurationState
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String RecordingConfigurationState
$cfromText :: Text -> Either String RecordingConfigurationState
Core.FromText,
RecordingConfigurationState -> Text
(RecordingConfigurationState -> Text)
-> ToText RecordingConfigurationState
forall a. (a -> Text) -> ToText a
toText :: RecordingConfigurationState -> Text
$ctoText :: RecordingConfigurationState -> Text
Core.ToText,
RecordingConfigurationState -> ByteString
(RecordingConfigurationState -> ByteString)
-> ToByteString RecordingConfigurationState
forall a. (a -> ByteString) -> ToByteString a
toBS :: RecordingConfigurationState -> ByteString
$ctoBS :: RecordingConfigurationState -> ByteString
Core.ToByteString,
RecordingConfigurationState -> ByteStringBuilder
(RecordingConfigurationState -> ByteStringBuilder)
-> ToLog RecordingConfigurationState
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: RecordingConfigurationState -> ByteStringBuilder
$cbuild :: RecordingConfigurationState -> ByteStringBuilder
Core.ToLog,
HeaderName -> RecordingConfigurationState -> [Header]
(HeaderName -> RecordingConfigurationState -> [Header])
-> ToHeader RecordingConfigurationState
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> RecordingConfigurationState -> [Header]
$ctoHeader :: HeaderName -> RecordingConfigurationState -> [Header]
Core.ToHeader,
RecordingConfigurationState -> QueryString
(RecordingConfigurationState -> QueryString)
-> ToQuery RecordingConfigurationState
forall a. (a -> QueryString) -> ToQuery a
toQuery :: RecordingConfigurationState -> QueryString
$ctoQuery :: RecordingConfigurationState -> QueryString
Core.ToQuery,
Value -> Parser [RecordingConfigurationState]
Value -> Parser RecordingConfigurationState
(Value -> Parser RecordingConfigurationState)
-> (Value -> Parser [RecordingConfigurationState])
-> FromJSON RecordingConfigurationState
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [RecordingConfigurationState]
$cparseJSONList :: Value -> Parser [RecordingConfigurationState]
parseJSON :: Value -> Parser RecordingConfigurationState
$cparseJSON :: Value -> Parser RecordingConfigurationState
Core.FromJSON,
FromJSONKeyFunction [RecordingConfigurationState]
FromJSONKeyFunction RecordingConfigurationState
FromJSONKeyFunction RecordingConfigurationState
-> FromJSONKeyFunction [RecordingConfigurationState]
-> FromJSONKey RecordingConfigurationState
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [RecordingConfigurationState]
$cfromJSONKeyList :: FromJSONKeyFunction [RecordingConfigurationState]
fromJSONKey :: FromJSONKeyFunction RecordingConfigurationState
$cfromJSONKey :: FromJSONKeyFunction RecordingConfigurationState
Core.FromJSONKey,
[RecordingConfigurationState] -> Encoding
[RecordingConfigurationState] -> Value
RecordingConfigurationState -> Encoding
RecordingConfigurationState -> Value
(RecordingConfigurationState -> Value)
-> (RecordingConfigurationState -> Encoding)
-> ([RecordingConfigurationState] -> Value)
-> ([RecordingConfigurationState] -> Encoding)
-> ToJSON RecordingConfigurationState
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [RecordingConfigurationState] -> Encoding
$ctoEncodingList :: [RecordingConfigurationState] -> Encoding
toJSONList :: [RecordingConfigurationState] -> Value
$ctoJSONList :: [RecordingConfigurationState] -> Value
toEncoding :: RecordingConfigurationState -> Encoding
$ctoEncoding :: RecordingConfigurationState -> Encoding
toJSON :: RecordingConfigurationState -> Value
$ctoJSON :: RecordingConfigurationState -> Value
Core.ToJSON,
ToJSONKeyFunction [RecordingConfigurationState]
ToJSONKeyFunction RecordingConfigurationState
ToJSONKeyFunction RecordingConfigurationState
-> ToJSONKeyFunction [RecordingConfigurationState]
-> ToJSONKey RecordingConfigurationState
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [RecordingConfigurationState]
$ctoJSONKeyList :: ToJSONKeyFunction [RecordingConfigurationState]
toJSONKey :: ToJSONKeyFunction RecordingConfigurationState
$ctoJSONKey :: ToJSONKeyFunction RecordingConfigurationState
Core.ToJSONKey,
[Node] -> Either String RecordingConfigurationState
([Node] -> Either String RecordingConfigurationState)
-> FromXML RecordingConfigurationState
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String RecordingConfigurationState
$cparseXML :: [Node] -> Either String RecordingConfigurationState
Core.FromXML,
RecordingConfigurationState -> XML
(RecordingConfigurationState -> XML)
-> ToXML RecordingConfigurationState
forall a. (a -> XML) -> ToXML a
toXML :: RecordingConfigurationState -> XML
$ctoXML :: RecordingConfigurationState -> XML
Core.ToXML
)
pattern RecordingConfigurationState_ACTIVE :: RecordingConfigurationState
pattern $bRecordingConfigurationState_ACTIVE :: RecordingConfigurationState
$mRecordingConfigurationState_ACTIVE :: forall r.
RecordingConfigurationState -> (Void# -> r) -> (Void# -> r) -> r
RecordingConfigurationState_ACTIVE = RecordingConfigurationState' "ACTIVE"
pattern RecordingConfigurationState_CREATE_FAILED :: RecordingConfigurationState
pattern $bRecordingConfigurationState_CREATE_FAILED :: RecordingConfigurationState
$mRecordingConfigurationState_CREATE_FAILED :: forall r.
RecordingConfigurationState -> (Void# -> r) -> (Void# -> r) -> r
RecordingConfigurationState_CREATE_FAILED = RecordingConfigurationState' "CREATE_FAILED"
pattern RecordingConfigurationState_CREATING :: RecordingConfigurationState
pattern $bRecordingConfigurationState_CREATING :: RecordingConfigurationState
$mRecordingConfigurationState_CREATING :: forall r.
RecordingConfigurationState -> (Void# -> r) -> (Void# -> r) -> r
RecordingConfigurationState_CREATING = RecordingConfigurationState' "CREATING"
{-# COMPLETE
RecordingConfigurationState_ACTIVE,
RecordingConfigurationState_CREATE_FAILED,
RecordingConfigurationState_CREATING,
RecordingConfigurationState'
#-}