{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
module Amazonka.CloudFormation.Types.ResourceStatus
( ResourceStatus
( ..,
ResourceStatus_CREATE_COMPLETE,
ResourceStatus_CREATE_FAILED,
ResourceStatus_CREATE_IN_PROGRESS,
ResourceStatus_DELETE_COMPLETE,
ResourceStatus_DELETE_FAILED,
ResourceStatus_DELETE_IN_PROGRESS,
ResourceStatus_DELETE_SKIPPED,
ResourceStatus_IMPORT_COMPLETE,
ResourceStatus_IMPORT_FAILED,
ResourceStatus_IMPORT_IN_PROGRESS,
ResourceStatus_IMPORT_ROLLBACK_COMPLETE,
ResourceStatus_IMPORT_ROLLBACK_FAILED,
ResourceStatus_IMPORT_ROLLBACK_IN_PROGRESS,
ResourceStatus_ROLLBACK_COMPLETE,
ResourceStatus_ROLLBACK_FAILED,
ResourceStatus_ROLLBACK_IN_PROGRESS,
ResourceStatus_UPDATE_COMPLETE,
ResourceStatus_UPDATE_FAILED,
ResourceStatus_UPDATE_IN_PROGRESS,
ResourceStatus_UPDATE_ROLLBACK_COMPLETE,
ResourceStatus_UPDATE_ROLLBACK_FAILED,
ResourceStatus_UPDATE_ROLLBACK_IN_PROGRESS
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude
newtype ResourceStatus = ResourceStatus'
{ ResourceStatus -> Text
fromResourceStatus ::
Data.Text
}
deriving stock
( Int -> ResourceStatus -> ShowS
[ResourceStatus] -> ShowS
ResourceStatus -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ResourceStatus] -> ShowS
$cshowList :: [ResourceStatus] -> ShowS
show :: ResourceStatus -> String
$cshow :: ResourceStatus -> String
showsPrec :: Int -> ResourceStatus -> ShowS
$cshowsPrec :: Int -> ResourceStatus -> ShowS
Prelude.Show,
ReadPrec [ResourceStatus]
ReadPrec ResourceStatus
Int -> ReadS ResourceStatus
ReadS [ResourceStatus]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ResourceStatus]
$creadListPrec :: ReadPrec [ResourceStatus]
readPrec :: ReadPrec ResourceStatus
$creadPrec :: ReadPrec ResourceStatus
readList :: ReadS [ResourceStatus]
$creadList :: ReadS [ResourceStatus]
readsPrec :: Int -> ReadS ResourceStatus
$creadsPrec :: Int -> ReadS ResourceStatus
Prelude.Read,
ResourceStatus -> ResourceStatus -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ResourceStatus -> ResourceStatus -> Bool
$c/= :: ResourceStatus -> ResourceStatus -> Bool
== :: ResourceStatus -> ResourceStatus -> Bool
$c== :: ResourceStatus -> ResourceStatus -> Bool
Prelude.Eq,
Eq ResourceStatus
ResourceStatus -> ResourceStatus -> Bool
ResourceStatus -> ResourceStatus -> Ordering
ResourceStatus -> ResourceStatus -> ResourceStatus
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 :: ResourceStatus -> ResourceStatus -> ResourceStatus
$cmin :: ResourceStatus -> ResourceStatus -> ResourceStatus
max :: ResourceStatus -> ResourceStatus -> ResourceStatus
$cmax :: ResourceStatus -> ResourceStatus -> ResourceStatus
>= :: ResourceStatus -> ResourceStatus -> Bool
$c>= :: ResourceStatus -> ResourceStatus -> Bool
> :: ResourceStatus -> ResourceStatus -> Bool
$c> :: ResourceStatus -> ResourceStatus -> Bool
<= :: ResourceStatus -> ResourceStatus -> Bool
$c<= :: ResourceStatus -> ResourceStatus -> Bool
< :: ResourceStatus -> ResourceStatus -> Bool
$c< :: ResourceStatus -> ResourceStatus -> Bool
compare :: ResourceStatus -> ResourceStatus -> Ordering
$ccompare :: ResourceStatus -> ResourceStatus -> Ordering
Prelude.Ord,
forall x. Rep ResourceStatus x -> ResourceStatus
forall x. ResourceStatus -> Rep ResourceStatus x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ResourceStatus x -> ResourceStatus
$cfrom :: forall x. ResourceStatus -> Rep ResourceStatus x
Prelude.Generic
)
deriving newtype
( Eq ResourceStatus
Int -> ResourceStatus -> Int
ResourceStatus -> Int
forall a. Eq a -> (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: ResourceStatus -> Int
$chash :: ResourceStatus -> Int
hashWithSalt :: Int -> ResourceStatus -> Int
$chashWithSalt :: Int -> ResourceStatus -> Int
Prelude.Hashable,
ResourceStatus -> ()
forall a. (a -> ()) -> NFData a
rnf :: ResourceStatus -> ()
$crnf :: ResourceStatus -> ()
Prelude.NFData,
Text -> Either String ResourceStatus
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String ResourceStatus
$cfromText :: Text -> Either String ResourceStatus
Data.FromText,
ResourceStatus -> Text
forall a. (a -> Text) -> ToText a
toText :: ResourceStatus -> Text
$ctoText :: ResourceStatus -> Text
Data.ToText,
ResourceStatus -> ByteString
forall a. (a -> ByteString) -> ToByteString a
toBS :: ResourceStatus -> ByteString
$ctoBS :: ResourceStatus -> ByteString
Data.ToByteString,
ResourceStatus -> ByteStringBuilder
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: ResourceStatus -> ByteStringBuilder
$cbuild :: ResourceStatus -> ByteStringBuilder
Data.ToLog,
HeaderName -> ResourceStatus -> [Header]
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> ResourceStatus -> [Header]
$ctoHeader :: HeaderName -> ResourceStatus -> [Header]
Data.ToHeader,
ResourceStatus -> QueryString
forall a. (a -> QueryString) -> ToQuery a
toQuery :: ResourceStatus -> QueryString
$ctoQuery :: ResourceStatus -> QueryString
Data.ToQuery,
Value -> Parser [ResourceStatus]
Value -> Parser ResourceStatus
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [ResourceStatus]
$cparseJSONList :: Value -> Parser [ResourceStatus]
parseJSON :: Value -> Parser ResourceStatus
$cparseJSON :: Value -> Parser ResourceStatus
Data.FromJSON,
FromJSONKeyFunction [ResourceStatus]
FromJSONKeyFunction ResourceStatus
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [ResourceStatus]
$cfromJSONKeyList :: FromJSONKeyFunction [ResourceStatus]
fromJSONKey :: FromJSONKeyFunction ResourceStatus
$cfromJSONKey :: FromJSONKeyFunction ResourceStatus
Data.FromJSONKey,
[ResourceStatus] -> Encoding
[ResourceStatus] -> Value
ResourceStatus -> Encoding
ResourceStatus -> Value
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [ResourceStatus] -> Encoding
$ctoEncodingList :: [ResourceStatus] -> Encoding
toJSONList :: [ResourceStatus] -> Value
$ctoJSONList :: [ResourceStatus] -> Value
toEncoding :: ResourceStatus -> Encoding
$ctoEncoding :: ResourceStatus -> Encoding
toJSON :: ResourceStatus -> Value
$ctoJSON :: ResourceStatus -> Value
Data.ToJSON,
ToJSONKeyFunction [ResourceStatus]
ToJSONKeyFunction ResourceStatus
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [ResourceStatus]
$ctoJSONKeyList :: ToJSONKeyFunction [ResourceStatus]
toJSONKey :: ToJSONKeyFunction ResourceStatus
$ctoJSONKey :: ToJSONKeyFunction ResourceStatus
Data.ToJSONKey,
[Node] -> Either String ResourceStatus
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String ResourceStatus
$cparseXML :: [Node] -> Either String ResourceStatus
Data.FromXML,
ResourceStatus -> XML
forall a. (a -> XML) -> ToXML a
toXML :: ResourceStatus -> XML
$ctoXML :: ResourceStatus -> XML
Data.ToXML
)
pattern ResourceStatus_CREATE_COMPLETE :: ResourceStatus
pattern $bResourceStatus_CREATE_COMPLETE :: ResourceStatus
$mResourceStatus_CREATE_COMPLETE :: forall {r}. ResourceStatus -> ((# #) -> r) -> ((# #) -> r) -> r
ResourceStatus_CREATE_COMPLETE = ResourceStatus' "CREATE_COMPLETE"
pattern ResourceStatus_CREATE_FAILED :: ResourceStatus
pattern $bResourceStatus_CREATE_FAILED :: ResourceStatus
$mResourceStatus_CREATE_FAILED :: forall {r}. ResourceStatus -> ((# #) -> r) -> ((# #) -> r) -> r
ResourceStatus_CREATE_FAILED = ResourceStatus' "CREATE_FAILED"
pattern ResourceStatus_CREATE_IN_PROGRESS :: ResourceStatus
pattern $bResourceStatus_CREATE_IN_PROGRESS :: ResourceStatus
$mResourceStatus_CREATE_IN_PROGRESS :: forall {r}. ResourceStatus -> ((# #) -> r) -> ((# #) -> r) -> r
ResourceStatus_CREATE_IN_PROGRESS = ResourceStatus' "CREATE_IN_PROGRESS"
pattern ResourceStatus_DELETE_COMPLETE :: ResourceStatus
pattern $bResourceStatus_DELETE_COMPLETE :: ResourceStatus
$mResourceStatus_DELETE_COMPLETE :: forall {r}. ResourceStatus -> ((# #) -> r) -> ((# #) -> r) -> r
ResourceStatus_DELETE_COMPLETE = ResourceStatus' "DELETE_COMPLETE"
pattern ResourceStatus_DELETE_FAILED :: ResourceStatus
pattern $bResourceStatus_DELETE_FAILED :: ResourceStatus
$mResourceStatus_DELETE_FAILED :: forall {r}. ResourceStatus -> ((# #) -> r) -> ((# #) -> r) -> r
ResourceStatus_DELETE_FAILED = ResourceStatus' "DELETE_FAILED"
pattern ResourceStatus_DELETE_IN_PROGRESS :: ResourceStatus
pattern $bResourceStatus_DELETE_IN_PROGRESS :: ResourceStatus
$mResourceStatus_DELETE_IN_PROGRESS :: forall {r}. ResourceStatus -> ((# #) -> r) -> ((# #) -> r) -> r
ResourceStatus_DELETE_IN_PROGRESS = ResourceStatus' "DELETE_IN_PROGRESS"
pattern ResourceStatus_DELETE_SKIPPED :: ResourceStatus
pattern $bResourceStatus_DELETE_SKIPPED :: ResourceStatus
$mResourceStatus_DELETE_SKIPPED :: forall {r}. ResourceStatus -> ((# #) -> r) -> ((# #) -> r) -> r
ResourceStatus_DELETE_SKIPPED = ResourceStatus' "DELETE_SKIPPED"
pattern ResourceStatus_IMPORT_COMPLETE :: ResourceStatus
pattern $bResourceStatus_IMPORT_COMPLETE :: ResourceStatus
$mResourceStatus_IMPORT_COMPLETE :: forall {r}. ResourceStatus -> ((# #) -> r) -> ((# #) -> r) -> r
ResourceStatus_IMPORT_COMPLETE = ResourceStatus' "IMPORT_COMPLETE"
pattern ResourceStatus_IMPORT_FAILED :: ResourceStatus
pattern $bResourceStatus_IMPORT_FAILED :: ResourceStatus
$mResourceStatus_IMPORT_FAILED :: forall {r}. ResourceStatus -> ((# #) -> r) -> ((# #) -> r) -> r
ResourceStatus_IMPORT_FAILED = ResourceStatus' "IMPORT_FAILED"
pattern ResourceStatus_IMPORT_IN_PROGRESS :: ResourceStatus
pattern $bResourceStatus_IMPORT_IN_PROGRESS :: ResourceStatus
$mResourceStatus_IMPORT_IN_PROGRESS :: forall {r}. ResourceStatus -> ((# #) -> r) -> ((# #) -> r) -> r
ResourceStatus_IMPORT_IN_PROGRESS = ResourceStatus' "IMPORT_IN_PROGRESS"
pattern ResourceStatus_IMPORT_ROLLBACK_COMPLETE :: ResourceStatus
pattern $bResourceStatus_IMPORT_ROLLBACK_COMPLETE :: ResourceStatus
$mResourceStatus_IMPORT_ROLLBACK_COMPLETE :: forall {r}. ResourceStatus -> ((# #) -> r) -> ((# #) -> r) -> r
ResourceStatus_IMPORT_ROLLBACK_COMPLETE = ResourceStatus' "IMPORT_ROLLBACK_COMPLETE"
pattern ResourceStatus_IMPORT_ROLLBACK_FAILED :: ResourceStatus
pattern $bResourceStatus_IMPORT_ROLLBACK_FAILED :: ResourceStatus
$mResourceStatus_IMPORT_ROLLBACK_FAILED :: forall {r}. ResourceStatus -> ((# #) -> r) -> ((# #) -> r) -> r
ResourceStatus_IMPORT_ROLLBACK_FAILED = ResourceStatus' "IMPORT_ROLLBACK_FAILED"
pattern ResourceStatus_IMPORT_ROLLBACK_IN_PROGRESS :: ResourceStatus
pattern $bResourceStatus_IMPORT_ROLLBACK_IN_PROGRESS :: ResourceStatus
$mResourceStatus_IMPORT_ROLLBACK_IN_PROGRESS :: forall {r}. ResourceStatus -> ((# #) -> r) -> ((# #) -> r) -> r
ResourceStatus_IMPORT_ROLLBACK_IN_PROGRESS = ResourceStatus' "IMPORT_ROLLBACK_IN_PROGRESS"
pattern ResourceStatus_ROLLBACK_COMPLETE :: ResourceStatus
pattern $bResourceStatus_ROLLBACK_COMPLETE :: ResourceStatus
$mResourceStatus_ROLLBACK_COMPLETE :: forall {r}. ResourceStatus -> ((# #) -> r) -> ((# #) -> r) -> r
ResourceStatus_ROLLBACK_COMPLETE = ResourceStatus' "ROLLBACK_COMPLETE"
pattern ResourceStatus_ROLLBACK_FAILED :: ResourceStatus
pattern $bResourceStatus_ROLLBACK_FAILED :: ResourceStatus
$mResourceStatus_ROLLBACK_FAILED :: forall {r}. ResourceStatus -> ((# #) -> r) -> ((# #) -> r) -> r
ResourceStatus_ROLLBACK_FAILED = ResourceStatus' "ROLLBACK_FAILED"
pattern ResourceStatus_ROLLBACK_IN_PROGRESS :: ResourceStatus
pattern $bResourceStatus_ROLLBACK_IN_PROGRESS :: ResourceStatus
$mResourceStatus_ROLLBACK_IN_PROGRESS :: forall {r}. ResourceStatus -> ((# #) -> r) -> ((# #) -> r) -> r
ResourceStatus_ROLLBACK_IN_PROGRESS = ResourceStatus' "ROLLBACK_IN_PROGRESS"
pattern ResourceStatus_UPDATE_COMPLETE :: ResourceStatus
pattern $bResourceStatus_UPDATE_COMPLETE :: ResourceStatus
$mResourceStatus_UPDATE_COMPLETE :: forall {r}. ResourceStatus -> ((# #) -> r) -> ((# #) -> r) -> r
ResourceStatus_UPDATE_COMPLETE = ResourceStatus' "UPDATE_COMPLETE"
pattern ResourceStatus_UPDATE_FAILED :: ResourceStatus
pattern $bResourceStatus_UPDATE_FAILED :: ResourceStatus
$mResourceStatus_UPDATE_FAILED :: forall {r}. ResourceStatus -> ((# #) -> r) -> ((# #) -> r) -> r
ResourceStatus_UPDATE_FAILED = ResourceStatus' "UPDATE_FAILED"
pattern ResourceStatus_UPDATE_IN_PROGRESS :: ResourceStatus
pattern $bResourceStatus_UPDATE_IN_PROGRESS :: ResourceStatus
$mResourceStatus_UPDATE_IN_PROGRESS :: forall {r}. ResourceStatus -> ((# #) -> r) -> ((# #) -> r) -> r
ResourceStatus_UPDATE_IN_PROGRESS = ResourceStatus' "UPDATE_IN_PROGRESS"
pattern ResourceStatus_UPDATE_ROLLBACK_COMPLETE :: ResourceStatus
pattern $bResourceStatus_UPDATE_ROLLBACK_COMPLETE :: ResourceStatus
$mResourceStatus_UPDATE_ROLLBACK_COMPLETE :: forall {r}. ResourceStatus -> ((# #) -> r) -> ((# #) -> r) -> r
ResourceStatus_UPDATE_ROLLBACK_COMPLETE = ResourceStatus' "UPDATE_ROLLBACK_COMPLETE"
pattern ResourceStatus_UPDATE_ROLLBACK_FAILED :: ResourceStatus
pattern $bResourceStatus_UPDATE_ROLLBACK_FAILED :: ResourceStatus
$mResourceStatus_UPDATE_ROLLBACK_FAILED :: forall {r}. ResourceStatus -> ((# #) -> r) -> ((# #) -> r) -> r
ResourceStatus_UPDATE_ROLLBACK_FAILED = ResourceStatus' "UPDATE_ROLLBACK_FAILED"
pattern ResourceStatus_UPDATE_ROLLBACK_IN_PROGRESS :: ResourceStatus
pattern $bResourceStatus_UPDATE_ROLLBACK_IN_PROGRESS :: ResourceStatus
$mResourceStatus_UPDATE_ROLLBACK_IN_PROGRESS :: forall {r}. ResourceStatus -> ((# #) -> r) -> ((# #) -> r) -> r
ResourceStatus_UPDATE_ROLLBACK_IN_PROGRESS = ResourceStatus' "UPDATE_ROLLBACK_IN_PROGRESS"
{-# COMPLETE
ResourceStatus_CREATE_COMPLETE,
ResourceStatus_CREATE_FAILED,
ResourceStatus_CREATE_IN_PROGRESS,
ResourceStatus_DELETE_COMPLETE,
ResourceStatus_DELETE_FAILED,
ResourceStatus_DELETE_IN_PROGRESS,
ResourceStatus_DELETE_SKIPPED,
ResourceStatus_IMPORT_COMPLETE,
ResourceStatus_IMPORT_FAILED,
ResourceStatus_IMPORT_IN_PROGRESS,
ResourceStatus_IMPORT_ROLLBACK_COMPLETE,
ResourceStatus_IMPORT_ROLLBACK_FAILED,
ResourceStatus_IMPORT_ROLLBACK_IN_PROGRESS,
ResourceStatus_ROLLBACK_COMPLETE,
ResourceStatus_ROLLBACK_FAILED,
ResourceStatus_ROLLBACK_IN_PROGRESS,
ResourceStatus_UPDATE_COMPLETE,
ResourceStatus_UPDATE_FAILED,
ResourceStatus_UPDATE_IN_PROGRESS,
ResourceStatus_UPDATE_ROLLBACK_COMPLETE,
ResourceStatus_UPDATE_ROLLBACK_FAILED,
ResourceStatus_UPDATE_ROLLBACK_IN_PROGRESS,
ResourceStatus'
#-}