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