{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}

-- Derived from AWS service descriptions, licensed under Apache 2.0.

-- |
-- Module      : Amazonka.SMS.Types.AppLaunchStatus
-- Copyright   : (c) 2013-2021 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
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.Prelude as Prelude

newtype AppLaunchStatus = AppLaunchStatus'
  { AppLaunchStatus -> Text
fromAppLaunchStatus ::
      Core.Text
  }
  deriving stock
    ( Int -> AppLaunchStatus -> ShowS
[AppLaunchStatus] -> ShowS
AppLaunchStatus -> String
(Int -> AppLaunchStatus -> ShowS)
-> (AppLaunchStatus -> String)
-> ([AppLaunchStatus] -> ShowS)
-> Show AppLaunchStatus
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]
(Int -> ReadS AppLaunchStatus)
-> ReadS [AppLaunchStatus]
-> ReadPrec AppLaunchStatus
-> ReadPrec [AppLaunchStatus]
-> Read 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
(AppLaunchStatus -> AppLaunchStatus -> Bool)
-> (AppLaunchStatus -> AppLaunchStatus -> Bool)
-> Eq AppLaunchStatus
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
Eq AppLaunchStatus
-> (AppLaunchStatus -> AppLaunchStatus -> Ordering)
-> (AppLaunchStatus -> AppLaunchStatus -> Bool)
-> (AppLaunchStatus -> AppLaunchStatus -> Bool)
-> (AppLaunchStatus -> AppLaunchStatus -> Bool)
-> (AppLaunchStatus -> AppLaunchStatus -> Bool)
-> (AppLaunchStatus -> AppLaunchStatus -> AppLaunchStatus)
-> (AppLaunchStatus -> AppLaunchStatus -> AppLaunchStatus)
-> Ord 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
$cp1Ord :: Eq AppLaunchStatus
Prelude.Ord,
      (forall x. AppLaunchStatus -> Rep AppLaunchStatus x)
-> (forall x. Rep AppLaunchStatus x -> AppLaunchStatus)
-> Generic AppLaunchStatus
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
    ( Int -> AppLaunchStatus -> Int
AppLaunchStatus -> Int
(Int -> AppLaunchStatus -> Int)
-> (AppLaunchStatus -> Int) -> Hashable AppLaunchStatus
forall 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 -> ()
(AppLaunchStatus -> ()) -> NFData AppLaunchStatus
forall a. (a -> ()) -> NFData a
rnf :: AppLaunchStatus -> ()
$crnf :: AppLaunchStatus -> ()
Prelude.NFData,
      Text -> Either String AppLaunchStatus
(Text -> Either String AppLaunchStatus) -> FromText AppLaunchStatus
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String AppLaunchStatus
$cfromText :: Text -> Either String AppLaunchStatus
Core.FromText,
      AppLaunchStatus -> Text
(AppLaunchStatus -> Text) -> ToText AppLaunchStatus
forall a. (a -> Text) -> ToText a
toText :: AppLaunchStatus -> Text
$ctoText :: AppLaunchStatus -> Text
Core.ToText,
      AppLaunchStatus -> ByteString
(AppLaunchStatus -> ByteString) -> ToByteString AppLaunchStatus
forall a. (a -> ByteString) -> ToByteString a
toBS :: AppLaunchStatus -> ByteString
$ctoBS :: AppLaunchStatus -> ByteString
Core.ToByteString,
      AppLaunchStatus -> ByteStringBuilder
(AppLaunchStatus -> ByteStringBuilder) -> ToLog AppLaunchStatus
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: AppLaunchStatus -> ByteStringBuilder
$cbuild :: AppLaunchStatus -> ByteStringBuilder
Core.ToLog,
      HeaderName -> AppLaunchStatus -> [Header]
(HeaderName -> AppLaunchStatus -> [Header])
-> ToHeader AppLaunchStatus
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> AppLaunchStatus -> [Header]
$ctoHeader :: HeaderName -> AppLaunchStatus -> [Header]
Core.ToHeader,
      AppLaunchStatus -> QueryString
(AppLaunchStatus -> QueryString) -> ToQuery AppLaunchStatus
forall a. (a -> QueryString) -> ToQuery a
toQuery :: AppLaunchStatus -> QueryString
$ctoQuery :: AppLaunchStatus -> QueryString
Core.ToQuery,
      Value -> Parser [AppLaunchStatus]
Value -> Parser AppLaunchStatus
(Value -> Parser AppLaunchStatus)
-> (Value -> Parser [AppLaunchStatus]) -> FromJSON 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
Core.FromJSON,
      FromJSONKeyFunction [AppLaunchStatus]
FromJSONKeyFunction AppLaunchStatus
FromJSONKeyFunction AppLaunchStatus
-> FromJSONKeyFunction [AppLaunchStatus]
-> FromJSONKey AppLaunchStatus
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [AppLaunchStatus]
$cfromJSONKeyList :: FromJSONKeyFunction [AppLaunchStatus]
fromJSONKey :: FromJSONKeyFunction AppLaunchStatus
$cfromJSONKey :: FromJSONKeyFunction AppLaunchStatus
Core.FromJSONKey,
      [AppLaunchStatus] -> Encoding
[AppLaunchStatus] -> Value
AppLaunchStatus -> Encoding
AppLaunchStatus -> Value
(AppLaunchStatus -> Value)
-> (AppLaunchStatus -> Encoding)
-> ([AppLaunchStatus] -> Value)
-> ([AppLaunchStatus] -> Encoding)
-> ToJSON AppLaunchStatus
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
Core.ToJSON,
      ToJSONKeyFunction [AppLaunchStatus]
ToJSONKeyFunction AppLaunchStatus
ToJSONKeyFunction AppLaunchStatus
-> ToJSONKeyFunction [AppLaunchStatus] -> ToJSONKey AppLaunchStatus
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [AppLaunchStatus]
$ctoJSONKeyList :: ToJSONKeyFunction [AppLaunchStatus]
toJSONKey :: ToJSONKeyFunction AppLaunchStatus
$ctoJSONKey :: ToJSONKeyFunction AppLaunchStatus
Core.ToJSONKey,
      [Node] -> Either String AppLaunchStatus
([Node] -> Either String AppLaunchStatus)
-> FromXML AppLaunchStatus
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String AppLaunchStatus
$cparseXML :: [Node] -> Either String AppLaunchStatus
Core.FromXML,
      AppLaunchStatus -> XML
(AppLaunchStatus -> XML) -> ToXML AppLaunchStatus
forall a. (a -> XML) -> ToXML a
toXML :: AppLaunchStatus -> XML
$ctoXML :: AppLaunchStatus -> XML
Core.ToXML
    )

pattern AppLaunchStatus_CONFIGURATION_INVALID :: AppLaunchStatus
pattern $bAppLaunchStatus_CONFIGURATION_INVALID :: AppLaunchStatus
$mAppLaunchStatus_CONFIGURATION_INVALID :: forall r. AppLaunchStatus -> (Void# -> r) -> (Void# -> 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 -> (Void# -> r) -> (Void# -> 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 -> (Void# -> r) -> (Void# -> 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 -> (Void# -> r) -> (Void# -> 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 -> (Void# -> r) -> (Void# -> r) -> r
AppLaunchStatus_LAUNCHED = AppLaunchStatus' "LAUNCHED"

pattern AppLaunchStatus_LAUNCH_FAILED :: AppLaunchStatus
pattern $bAppLaunchStatus_LAUNCH_FAILED :: AppLaunchStatus
$mAppLaunchStatus_LAUNCH_FAILED :: forall r. AppLaunchStatus -> (Void# -> r) -> (Void# -> 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 -> (Void# -> r) -> (Void# -> 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 -> (Void# -> r) -> (Void# -> r) -> r
AppLaunchStatus_LAUNCH_PENDING = AppLaunchStatus' "LAUNCH_PENDING"

pattern AppLaunchStatus_PARTIALLY_LAUNCHED :: AppLaunchStatus
pattern $bAppLaunchStatus_PARTIALLY_LAUNCHED :: AppLaunchStatus
$mAppLaunchStatus_PARTIALLY_LAUNCHED :: forall r. AppLaunchStatus -> (Void# -> r) -> (Void# -> 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 -> (Void# -> r) -> (Void# -> 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 -> (Void# -> r) -> (Void# -> r) -> r
AppLaunchStatus_READY_FOR_LAUNCH = AppLaunchStatus' "READY_FOR_LAUNCH"

pattern AppLaunchStatus_TERMINATED :: AppLaunchStatus
pattern $bAppLaunchStatus_TERMINATED :: AppLaunchStatus
$mAppLaunchStatus_TERMINATED :: forall r. AppLaunchStatus -> (Void# -> r) -> (Void# -> r) -> r
AppLaunchStatus_TERMINATED = AppLaunchStatus' "TERMINATED"

pattern AppLaunchStatus_TERMINATE_FAILED :: AppLaunchStatus
pattern $bAppLaunchStatus_TERMINATE_FAILED :: AppLaunchStatus
$mAppLaunchStatus_TERMINATE_FAILED :: forall r. AppLaunchStatus -> (Void# -> r) -> (Void# -> 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 -> (Void# -> r) -> (Void# -> 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 -> (Void# -> r) -> (Void# -> 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'
  #-}