{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
module Amazonka.SMS.Types.AppLaunchStatus
( AppLaunchStatus
( ..,
AppLaunchStatus_CONFIGURATION_INVALID,
AppLaunchStatus_CONFIGURATION_IN_PROGRESS,
AppLaunchStatus_DELTA_LAUNCH_FAILED,
AppLaunchStatus_DELTA_LAUNCH_IN_PROGRESS,
AppLaunchStatus_LAUNCHED,
AppLaunchStatus_LAUNCH_FAILED,
AppLaunchStatus_LAUNCH_IN_PROGRESS,
AppLaunchStatus_LAUNCH_PENDING,
AppLaunchStatus_PARTIALLY_LAUNCHED,
AppLaunchStatus_READY_FOR_CONFIGURATION,
AppLaunchStatus_READY_FOR_LAUNCH,
AppLaunchStatus_TERMINATED,
AppLaunchStatus_TERMINATE_FAILED,
AppLaunchStatus_TERMINATE_IN_PROGRESS,
AppLaunchStatus_VALIDATION_IN_PROGRESS
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude
newtype AppLaunchStatus = AppLaunchStatus'
{ AppLaunchStatus -> Text
fromAppLaunchStatus ::
Data.Text
}
deriving stock
( Int -> AppLaunchStatus -> ShowS
[AppLaunchStatus] -> ShowS
AppLaunchStatus -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [AppLaunchStatus] -> ShowS
$cshowList :: [AppLaunchStatus] -> ShowS
show :: AppLaunchStatus -> String
$cshow :: AppLaunchStatus -> String
showsPrec :: Int -> AppLaunchStatus -> ShowS
$cshowsPrec :: Int -> AppLaunchStatus -> ShowS
Prelude.Show,
ReadPrec [AppLaunchStatus]
ReadPrec AppLaunchStatus
Int -> ReadS AppLaunchStatus
ReadS [AppLaunchStatus]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [AppLaunchStatus]
$creadListPrec :: ReadPrec [AppLaunchStatus]
readPrec :: ReadPrec AppLaunchStatus
$creadPrec :: ReadPrec AppLaunchStatus
readList :: ReadS [AppLaunchStatus]
$creadList :: ReadS [AppLaunchStatus]
readsPrec :: Int -> ReadS AppLaunchStatus
$creadsPrec :: Int -> ReadS AppLaunchStatus
Prelude.Read,
AppLaunchStatus -> AppLaunchStatus -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: AppLaunchStatus -> AppLaunchStatus -> Bool
$c/= :: AppLaunchStatus -> AppLaunchStatus -> Bool
== :: AppLaunchStatus -> AppLaunchStatus -> Bool
$c== :: AppLaunchStatus -> AppLaunchStatus -> Bool
Prelude.Eq,
Eq AppLaunchStatus
AppLaunchStatus -> AppLaunchStatus -> Bool
AppLaunchStatus -> AppLaunchStatus -> Ordering
AppLaunchStatus -> AppLaunchStatus -> AppLaunchStatus
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 :: AppLaunchStatus -> AppLaunchStatus -> AppLaunchStatus
$cmin :: AppLaunchStatus -> AppLaunchStatus -> AppLaunchStatus
max :: AppLaunchStatus -> AppLaunchStatus -> AppLaunchStatus
$cmax :: AppLaunchStatus -> AppLaunchStatus -> AppLaunchStatus
>= :: AppLaunchStatus -> AppLaunchStatus -> Bool
$c>= :: AppLaunchStatus -> AppLaunchStatus -> Bool
> :: AppLaunchStatus -> AppLaunchStatus -> Bool
$c> :: AppLaunchStatus -> AppLaunchStatus -> Bool
<= :: AppLaunchStatus -> AppLaunchStatus -> Bool
$c<= :: AppLaunchStatus -> AppLaunchStatus -> Bool
< :: AppLaunchStatus -> AppLaunchStatus -> Bool
$c< :: AppLaunchStatus -> AppLaunchStatus -> Bool
compare :: AppLaunchStatus -> AppLaunchStatus -> Ordering
$ccompare :: AppLaunchStatus -> AppLaunchStatus -> Ordering
Prelude.Ord,
forall x. Rep AppLaunchStatus x -> AppLaunchStatus
forall x. AppLaunchStatus -> Rep AppLaunchStatus x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep AppLaunchStatus x -> AppLaunchStatus
$cfrom :: forall x. AppLaunchStatus -> Rep AppLaunchStatus x
Prelude.Generic
)
deriving newtype
( Eq AppLaunchStatus
Int -> AppLaunchStatus -> Int
AppLaunchStatus -> Int
forall a. Eq a -> (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: AppLaunchStatus -> Int
$chash :: AppLaunchStatus -> Int
hashWithSalt :: Int -> AppLaunchStatus -> Int
$chashWithSalt :: Int -> AppLaunchStatus -> Int
Prelude.Hashable,
AppLaunchStatus -> ()
forall a. (a -> ()) -> NFData a
rnf :: AppLaunchStatus -> ()
$crnf :: AppLaunchStatus -> ()
Prelude.NFData,
Text -> Either String AppLaunchStatus
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String AppLaunchStatus
$cfromText :: Text -> Either String AppLaunchStatus
Data.FromText,
AppLaunchStatus -> Text
forall a. (a -> Text) -> ToText a
toText :: AppLaunchStatus -> Text
$ctoText :: AppLaunchStatus -> Text
Data.ToText,
AppLaunchStatus -> ByteString
forall a. (a -> ByteString) -> ToByteString a
toBS :: AppLaunchStatus -> ByteString
$ctoBS :: AppLaunchStatus -> ByteString
Data.ToByteString,
AppLaunchStatus -> ByteStringBuilder
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: AppLaunchStatus -> ByteStringBuilder
$cbuild :: AppLaunchStatus -> ByteStringBuilder
Data.ToLog,
HeaderName -> AppLaunchStatus -> [Header]
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> AppLaunchStatus -> [Header]
$ctoHeader :: HeaderName -> AppLaunchStatus -> [Header]
Data.ToHeader,
AppLaunchStatus -> QueryString
forall a. (a -> QueryString) -> ToQuery a
toQuery :: AppLaunchStatus -> QueryString
$ctoQuery :: AppLaunchStatus -> QueryString
Data.ToQuery,
Value -> Parser [AppLaunchStatus]
Value -> Parser AppLaunchStatus
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [AppLaunchStatus]
$cparseJSONList :: Value -> Parser [AppLaunchStatus]
parseJSON :: Value -> Parser AppLaunchStatus
$cparseJSON :: Value -> Parser AppLaunchStatus
Data.FromJSON,
FromJSONKeyFunction [AppLaunchStatus]
FromJSONKeyFunction AppLaunchStatus
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [AppLaunchStatus]
$cfromJSONKeyList :: FromJSONKeyFunction [AppLaunchStatus]
fromJSONKey :: FromJSONKeyFunction AppLaunchStatus
$cfromJSONKey :: FromJSONKeyFunction AppLaunchStatus
Data.FromJSONKey,
[AppLaunchStatus] -> Encoding
[AppLaunchStatus] -> Value
AppLaunchStatus -> Encoding
AppLaunchStatus -> Value
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [AppLaunchStatus] -> Encoding
$ctoEncodingList :: [AppLaunchStatus] -> Encoding
toJSONList :: [AppLaunchStatus] -> Value
$ctoJSONList :: [AppLaunchStatus] -> Value
toEncoding :: AppLaunchStatus -> Encoding
$ctoEncoding :: AppLaunchStatus -> Encoding
toJSON :: AppLaunchStatus -> Value
$ctoJSON :: AppLaunchStatus -> Value
Data.ToJSON,
ToJSONKeyFunction [AppLaunchStatus]
ToJSONKeyFunction AppLaunchStatus
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [AppLaunchStatus]
$ctoJSONKeyList :: ToJSONKeyFunction [AppLaunchStatus]
toJSONKey :: ToJSONKeyFunction AppLaunchStatus
$ctoJSONKey :: ToJSONKeyFunction AppLaunchStatus
Data.ToJSONKey,
[Node] -> Either String AppLaunchStatus
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String AppLaunchStatus
$cparseXML :: [Node] -> Either String AppLaunchStatus
Data.FromXML,
AppLaunchStatus -> XML
forall a. (a -> XML) -> ToXML a
toXML :: AppLaunchStatus -> XML
$ctoXML :: AppLaunchStatus -> XML
Data.ToXML
)
pattern AppLaunchStatus_CONFIGURATION_INVALID :: AppLaunchStatus
pattern $bAppLaunchStatus_CONFIGURATION_INVALID :: AppLaunchStatus
$mAppLaunchStatus_CONFIGURATION_INVALID :: forall {r}. AppLaunchStatus -> ((# #) -> r) -> ((# #) -> r) -> r
AppLaunchStatus_CONFIGURATION_INVALID = AppLaunchStatus' "CONFIGURATION_INVALID"
pattern AppLaunchStatus_CONFIGURATION_IN_PROGRESS :: AppLaunchStatus
pattern $bAppLaunchStatus_CONFIGURATION_IN_PROGRESS :: AppLaunchStatus
$mAppLaunchStatus_CONFIGURATION_IN_PROGRESS :: forall {r}. AppLaunchStatus -> ((# #) -> r) -> ((# #) -> r) -> r
AppLaunchStatus_CONFIGURATION_IN_PROGRESS = AppLaunchStatus' "CONFIGURATION_IN_PROGRESS"
pattern AppLaunchStatus_DELTA_LAUNCH_FAILED :: AppLaunchStatus
pattern $bAppLaunchStatus_DELTA_LAUNCH_FAILED :: AppLaunchStatus
$mAppLaunchStatus_DELTA_LAUNCH_FAILED :: forall {r}. AppLaunchStatus -> ((# #) -> r) -> ((# #) -> r) -> r
AppLaunchStatus_DELTA_LAUNCH_FAILED = AppLaunchStatus' "DELTA_LAUNCH_FAILED"
pattern AppLaunchStatus_DELTA_LAUNCH_IN_PROGRESS :: AppLaunchStatus
pattern $bAppLaunchStatus_DELTA_LAUNCH_IN_PROGRESS :: AppLaunchStatus
$mAppLaunchStatus_DELTA_LAUNCH_IN_PROGRESS :: forall {r}. AppLaunchStatus -> ((# #) -> r) -> ((# #) -> r) -> r
AppLaunchStatus_DELTA_LAUNCH_IN_PROGRESS = AppLaunchStatus' "DELTA_LAUNCH_IN_PROGRESS"
pattern AppLaunchStatus_LAUNCHED :: AppLaunchStatus
pattern $bAppLaunchStatus_LAUNCHED :: AppLaunchStatus
$mAppLaunchStatus_LAUNCHED :: forall {r}. AppLaunchStatus -> ((# #) -> r) -> ((# #) -> r) -> r
AppLaunchStatus_LAUNCHED = AppLaunchStatus' "LAUNCHED"
pattern AppLaunchStatus_LAUNCH_FAILED :: AppLaunchStatus
pattern $bAppLaunchStatus_LAUNCH_FAILED :: AppLaunchStatus
$mAppLaunchStatus_LAUNCH_FAILED :: forall {r}. AppLaunchStatus -> ((# #) -> r) -> ((# #) -> r) -> r
AppLaunchStatus_LAUNCH_FAILED = AppLaunchStatus' "LAUNCH_FAILED"
pattern AppLaunchStatus_LAUNCH_IN_PROGRESS :: AppLaunchStatus
pattern $bAppLaunchStatus_LAUNCH_IN_PROGRESS :: AppLaunchStatus
$mAppLaunchStatus_LAUNCH_IN_PROGRESS :: forall {r}. AppLaunchStatus -> ((# #) -> r) -> ((# #) -> r) -> r
AppLaunchStatus_LAUNCH_IN_PROGRESS = AppLaunchStatus' "LAUNCH_IN_PROGRESS"
pattern AppLaunchStatus_LAUNCH_PENDING :: AppLaunchStatus
pattern $bAppLaunchStatus_LAUNCH_PENDING :: AppLaunchStatus
$mAppLaunchStatus_LAUNCH_PENDING :: forall {r}. AppLaunchStatus -> ((# #) -> r) -> ((# #) -> r) -> r
AppLaunchStatus_LAUNCH_PENDING = AppLaunchStatus' "LAUNCH_PENDING"
pattern AppLaunchStatus_PARTIALLY_LAUNCHED :: AppLaunchStatus
pattern $bAppLaunchStatus_PARTIALLY_LAUNCHED :: AppLaunchStatus
$mAppLaunchStatus_PARTIALLY_LAUNCHED :: forall {r}. AppLaunchStatus -> ((# #) -> r) -> ((# #) -> r) -> r
AppLaunchStatus_PARTIALLY_LAUNCHED = AppLaunchStatus' "PARTIALLY_LAUNCHED"
pattern AppLaunchStatus_READY_FOR_CONFIGURATION :: AppLaunchStatus
pattern $bAppLaunchStatus_READY_FOR_CONFIGURATION :: AppLaunchStatus
$mAppLaunchStatus_READY_FOR_CONFIGURATION :: forall {r}. AppLaunchStatus -> ((# #) -> r) -> ((# #) -> r) -> r
AppLaunchStatus_READY_FOR_CONFIGURATION = AppLaunchStatus' "READY_FOR_CONFIGURATION"
pattern AppLaunchStatus_READY_FOR_LAUNCH :: AppLaunchStatus
pattern $bAppLaunchStatus_READY_FOR_LAUNCH :: AppLaunchStatus
$mAppLaunchStatus_READY_FOR_LAUNCH :: forall {r}. AppLaunchStatus -> ((# #) -> r) -> ((# #) -> r) -> r
AppLaunchStatus_READY_FOR_LAUNCH = AppLaunchStatus' "READY_FOR_LAUNCH"
pattern AppLaunchStatus_TERMINATED :: AppLaunchStatus
pattern $bAppLaunchStatus_TERMINATED :: AppLaunchStatus
$mAppLaunchStatus_TERMINATED :: forall {r}. AppLaunchStatus -> ((# #) -> r) -> ((# #) -> r) -> r
AppLaunchStatus_TERMINATED = AppLaunchStatus' "TERMINATED"
pattern AppLaunchStatus_TERMINATE_FAILED :: AppLaunchStatus
pattern $bAppLaunchStatus_TERMINATE_FAILED :: AppLaunchStatus
$mAppLaunchStatus_TERMINATE_FAILED :: forall {r}. AppLaunchStatus -> ((# #) -> r) -> ((# #) -> r) -> r
AppLaunchStatus_TERMINATE_FAILED = AppLaunchStatus' "TERMINATE_FAILED"
pattern AppLaunchStatus_TERMINATE_IN_PROGRESS :: AppLaunchStatus
pattern $bAppLaunchStatus_TERMINATE_IN_PROGRESS :: AppLaunchStatus
$mAppLaunchStatus_TERMINATE_IN_PROGRESS :: forall {r}. AppLaunchStatus -> ((# #) -> r) -> ((# #) -> r) -> r
AppLaunchStatus_TERMINATE_IN_PROGRESS = AppLaunchStatus' "TERMINATE_IN_PROGRESS"
pattern AppLaunchStatus_VALIDATION_IN_PROGRESS :: AppLaunchStatus
pattern $bAppLaunchStatus_VALIDATION_IN_PROGRESS :: AppLaunchStatus
$mAppLaunchStatus_VALIDATION_IN_PROGRESS :: forall {r}. AppLaunchStatus -> ((# #) -> r) -> ((# #) -> r) -> r
AppLaunchStatus_VALIDATION_IN_PROGRESS = AppLaunchStatus' "VALIDATION_IN_PROGRESS"
{-# COMPLETE
AppLaunchStatus_CONFIGURATION_INVALID,
AppLaunchStatus_CONFIGURATION_IN_PROGRESS,
AppLaunchStatus_DELTA_LAUNCH_FAILED,
AppLaunchStatus_DELTA_LAUNCH_IN_PROGRESS,
AppLaunchStatus_LAUNCHED,
AppLaunchStatus_LAUNCH_FAILED,
AppLaunchStatus_LAUNCH_IN_PROGRESS,
AppLaunchStatus_LAUNCH_PENDING,
AppLaunchStatus_PARTIALLY_LAUNCHED,
AppLaunchStatus_READY_FOR_CONFIGURATION,
AppLaunchStatus_READY_FOR_LAUNCH,
AppLaunchStatus_TERMINATED,
AppLaunchStatus_TERMINATE_FAILED,
AppLaunchStatus_TERMINATE_IN_PROGRESS,
AppLaunchStatus_VALIDATION_IN_PROGRESS,
AppLaunchStatus'
#-}