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