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