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