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