{-# 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.LastUpdateStatusReasonCode
( LastUpdateStatusReasonCode
( ..,
LastUpdateStatusReasonCode_EniLimitExceeded,
LastUpdateStatusReasonCode_ImageAccessDenied,
LastUpdateStatusReasonCode_ImageDeleted,
LastUpdateStatusReasonCode_InsufficientRolePermissions,
LastUpdateStatusReasonCode_InternalError,
LastUpdateStatusReasonCode_InvalidConfiguration,
LastUpdateStatusReasonCode_InvalidImage,
LastUpdateStatusReasonCode_InvalidSecurityGroup,
LastUpdateStatusReasonCode_InvalidSubnet,
LastUpdateStatusReasonCode_SubnetOutOfIPAddresses
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Prelude as Prelude
newtype LastUpdateStatusReasonCode = LastUpdateStatusReasonCode'
{ LastUpdateStatusReasonCode -> Text
fromLastUpdateStatusReasonCode ::
Core.Text
}
deriving stock
( Int -> LastUpdateStatusReasonCode -> ShowS
[LastUpdateStatusReasonCode] -> ShowS
LastUpdateStatusReasonCode -> String
(Int -> LastUpdateStatusReasonCode -> ShowS)
-> (LastUpdateStatusReasonCode -> String)
-> ([LastUpdateStatusReasonCode] -> ShowS)
-> Show LastUpdateStatusReasonCode
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [LastUpdateStatusReasonCode] -> ShowS
$cshowList :: [LastUpdateStatusReasonCode] -> ShowS
show :: LastUpdateStatusReasonCode -> String
$cshow :: LastUpdateStatusReasonCode -> String
showsPrec :: Int -> LastUpdateStatusReasonCode -> ShowS
$cshowsPrec :: Int -> LastUpdateStatusReasonCode -> ShowS
Prelude.Show,
ReadPrec [LastUpdateStatusReasonCode]
ReadPrec LastUpdateStatusReasonCode
Int -> ReadS LastUpdateStatusReasonCode
ReadS [LastUpdateStatusReasonCode]
(Int -> ReadS LastUpdateStatusReasonCode)
-> ReadS [LastUpdateStatusReasonCode]
-> ReadPrec LastUpdateStatusReasonCode
-> ReadPrec [LastUpdateStatusReasonCode]
-> Read LastUpdateStatusReasonCode
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [LastUpdateStatusReasonCode]
$creadListPrec :: ReadPrec [LastUpdateStatusReasonCode]
readPrec :: ReadPrec LastUpdateStatusReasonCode
$creadPrec :: ReadPrec LastUpdateStatusReasonCode
readList :: ReadS [LastUpdateStatusReasonCode]
$creadList :: ReadS [LastUpdateStatusReasonCode]
readsPrec :: Int -> ReadS LastUpdateStatusReasonCode
$creadsPrec :: Int -> ReadS LastUpdateStatusReasonCode
Prelude.Read,
LastUpdateStatusReasonCode -> LastUpdateStatusReasonCode -> Bool
(LastUpdateStatusReasonCode -> LastUpdateStatusReasonCode -> Bool)
-> (LastUpdateStatusReasonCode
-> LastUpdateStatusReasonCode -> Bool)
-> Eq LastUpdateStatusReasonCode
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: LastUpdateStatusReasonCode -> LastUpdateStatusReasonCode -> Bool
$c/= :: LastUpdateStatusReasonCode -> LastUpdateStatusReasonCode -> Bool
== :: LastUpdateStatusReasonCode -> LastUpdateStatusReasonCode -> Bool
$c== :: LastUpdateStatusReasonCode -> LastUpdateStatusReasonCode -> Bool
Prelude.Eq,
Eq LastUpdateStatusReasonCode
Eq LastUpdateStatusReasonCode
-> (LastUpdateStatusReasonCode
-> LastUpdateStatusReasonCode -> Ordering)
-> (LastUpdateStatusReasonCode
-> LastUpdateStatusReasonCode -> Bool)
-> (LastUpdateStatusReasonCode
-> LastUpdateStatusReasonCode -> Bool)
-> (LastUpdateStatusReasonCode
-> LastUpdateStatusReasonCode -> Bool)
-> (LastUpdateStatusReasonCode
-> LastUpdateStatusReasonCode -> Bool)
-> (LastUpdateStatusReasonCode
-> LastUpdateStatusReasonCode -> LastUpdateStatusReasonCode)
-> (LastUpdateStatusReasonCode
-> LastUpdateStatusReasonCode -> LastUpdateStatusReasonCode)
-> Ord LastUpdateStatusReasonCode
LastUpdateStatusReasonCode -> LastUpdateStatusReasonCode -> Bool
LastUpdateStatusReasonCode
-> LastUpdateStatusReasonCode -> Ordering
LastUpdateStatusReasonCode
-> LastUpdateStatusReasonCode -> LastUpdateStatusReasonCode
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 :: LastUpdateStatusReasonCode
-> LastUpdateStatusReasonCode -> LastUpdateStatusReasonCode
$cmin :: LastUpdateStatusReasonCode
-> LastUpdateStatusReasonCode -> LastUpdateStatusReasonCode
max :: LastUpdateStatusReasonCode
-> LastUpdateStatusReasonCode -> LastUpdateStatusReasonCode
$cmax :: LastUpdateStatusReasonCode
-> LastUpdateStatusReasonCode -> LastUpdateStatusReasonCode
>= :: LastUpdateStatusReasonCode -> LastUpdateStatusReasonCode -> Bool
$c>= :: LastUpdateStatusReasonCode -> LastUpdateStatusReasonCode -> Bool
> :: LastUpdateStatusReasonCode -> LastUpdateStatusReasonCode -> Bool
$c> :: LastUpdateStatusReasonCode -> LastUpdateStatusReasonCode -> Bool
<= :: LastUpdateStatusReasonCode -> LastUpdateStatusReasonCode -> Bool
$c<= :: LastUpdateStatusReasonCode -> LastUpdateStatusReasonCode -> Bool
< :: LastUpdateStatusReasonCode -> LastUpdateStatusReasonCode -> Bool
$c< :: LastUpdateStatusReasonCode -> LastUpdateStatusReasonCode -> Bool
compare :: LastUpdateStatusReasonCode
-> LastUpdateStatusReasonCode -> Ordering
$ccompare :: LastUpdateStatusReasonCode
-> LastUpdateStatusReasonCode -> Ordering
$cp1Ord :: Eq LastUpdateStatusReasonCode
Prelude.Ord,
(forall x.
LastUpdateStatusReasonCode -> Rep LastUpdateStatusReasonCode x)
-> (forall x.
Rep LastUpdateStatusReasonCode x -> LastUpdateStatusReasonCode)
-> Generic LastUpdateStatusReasonCode
forall x.
Rep LastUpdateStatusReasonCode x -> LastUpdateStatusReasonCode
forall x.
LastUpdateStatusReasonCode -> Rep LastUpdateStatusReasonCode x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep LastUpdateStatusReasonCode x -> LastUpdateStatusReasonCode
$cfrom :: forall x.
LastUpdateStatusReasonCode -> Rep LastUpdateStatusReasonCode x
Prelude.Generic
)
deriving newtype
( Int -> LastUpdateStatusReasonCode -> Int
LastUpdateStatusReasonCode -> Int
(Int -> LastUpdateStatusReasonCode -> Int)
-> (LastUpdateStatusReasonCode -> Int)
-> Hashable LastUpdateStatusReasonCode
forall a. (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: LastUpdateStatusReasonCode -> Int
$chash :: LastUpdateStatusReasonCode -> Int
hashWithSalt :: Int -> LastUpdateStatusReasonCode -> Int
$chashWithSalt :: Int -> LastUpdateStatusReasonCode -> Int
Prelude.Hashable,
LastUpdateStatusReasonCode -> ()
(LastUpdateStatusReasonCode -> ())
-> NFData LastUpdateStatusReasonCode
forall a. (a -> ()) -> NFData a
rnf :: LastUpdateStatusReasonCode -> ()
$crnf :: LastUpdateStatusReasonCode -> ()
Prelude.NFData,
Text -> Either String LastUpdateStatusReasonCode
(Text -> Either String LastUpdateStatusReasonCode)
-> FromText LastUpdateStatusReasonCode
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String LastUpdateStatusReasonCode
$cfromText :: Text -> Either String LastUpdateStatusReasonCode
Core.FromText,
LastUpdateStatusReasonCode -> Text
(LastUpdateStatusReasonCode -> Text)
-> ToText LastUpdateStatusReasonCode
forall a. (a -> Text) -> ToText a
toText :: LastUpdateStatusReasonCode -> Text
$ctoText :: LastUpdateStatusReasonCode -> Text
Core.ToText,
LastUpdateStatusReasonCode -> ByteString
(LastUpdateStatusReasonCode -> ByteString)
-> ToByteString LastUpdateStatusReasonCode
forall a. (a -> ByteString) -> ToByteString a
toBS :: LastUpdateStatusReasonCode -> ByteString
$ctoBS :: LastUpdateStatusReasonCode -> ByteString
Core.ToByteString,
LastUpdateStatusReasonCode -> ByteStringBuilder
(LastUpdateStatusReasonCode -> ByteStringBuilder)
-> ToLog LastUpdateStatusReasonCode
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: LastUpdateStatusReasonCode -> ByteStringBuilder
$cbuild :: LastUpdateStatusReasonCode -> ByteStringBuilder
Core.ToLog,
HeaderName -> LastUpdateStatusReasonCode -> [Header]
(HeaderName -> LastUpdateStatusReasonCode -> [Header])
-> ToHeader LastUpdateStatusReasonCode
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> LastUpdateStatusReasonCode -> [Header]
$ctoHeader :: HeaderName -> LastUpdateStatusReasonCode -> [Header]
Core.ToHeader,
LastUpdateStatusReasonCode -> QueryString
(LastUpdateStatusReasonCode -> QueryString)
-> ToQuery LastUpdateStatusReasonCode
forall a. (a -> QueryString) -> ToQuery a
toQuery :: LastUpdateStatusReasonCode -> QueryString
$ctoQuery :: LastUpdateStatusReasonCode -> QueryString
Core.ToQuery,
Value -> Parser [LastUpdateStatusReasonCode]
Value -> Parser LastUpdateStatusReasonCode
(Value -> Parser LastUpdateStatusReasonCode)
-> (Value -> Parser [LastUpdateStatusReasonCode])
-> FromJSON LastUpdateStatusReasonCode
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [LastUpdateStatusReasonCode]
$cparseJSONList :: Value -> Parser [LastUpdateStatusReasonCode]
parseJSON :: Value -> Parser LastUpdateStatusReasonCode
$cparseJSON :: Value -> Parser LastUpdateStatusReasonCode
Core.FromJSON,
FromJSONKeyFunction [LastUpdateStatusReasonCode]
FromJSONKeyFunction LastUpdateStatusReasonCode
FromJSONKeyFunction LastUpdateStatusReasonCode
-> FromJSONKeyFunction [LastUpdateStatusReasonCode]
-> FromJSONKey LastUpdateStatusReasonCode
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [LastUpdateStatusReasonCode]
$cfromJSONKeyList :: FromJSONKeyFunction [LastUpdateStatusReasonCode]
fromJSONKey :: FromJSONKeyFunction LastUpdateStatusReasonCode
$cfromJSONKey :: FromJSONKeyFunction LastUpdateStatusReasonCode
Core.FromJSONKey,
[LastUpdateStatusReasonCode] -> Encoding
[LastUpdateStatusReasonCode] -> Value
LastUpdateStatusReasonCode -> Encoding
LastUpdateStatusReasonCode -> Value
(LastUpdateStatusReasonCode -> Value)
-> (LastUpdateStatusReasonCode -> Encoding)
-> ([LastUpdateStatusReasonCode] -> Value)
-> ([LastUpdateStatusReasonCode] -> Encoding)
-> ToJSON LastUpdateStatusReasonCode
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [LastUpdateStatusReasonCode] -> Encoding
$ctoEncodingList :: [LastUpdateStatusReasonCode] -> Encoding
toJSONList :: [LastUpdateStatusReasonCode] -> Value
$ctoJSONList :: [LastUpdateStatusReasonCode] -> Value
toEncoding :: LastUpdateStatusReasonCode -> Encoding
$ctoEncoding :: LastUpdateStatusReasonCode -> Encoding
toJSON :: LastUpdateStatusReasonCode -> Value
$ctoJSON :: LastUpdateStatusReasonCode -> Value
Core.ToJSON,
ToJSONKeyFunction [LastUpdateStatusReasonCode]
ToJSONKeyFunction LastUpdateStatusReasonCode
ToJSONKeyFunction LastUpdateStatusReasonCode
-> ToJSONKeyFunction [LastUpdateStatusReasonCode]
-> ToJSONKey LastUpdateStatusReasonCode
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [LastUpdateStatusReasonCode]
$ctoJSONKeyList :: ToJSONKeyFunction [LastUpdateStatusReasonCode]
toJSONKey :: ToJSONKeyFunction LastUpdateStatusReasonCode
$ctoJSONKey :: ToJSONKeyFunction LastUpdateStatusReasonCode
Core.ToJSONKey,
[Node] -> Either String LastUpdateStatusReasonCode
([Node] -> Either String LastUpdateStatusReasonCode)
-> FromXML LastUpdateStatusReasonCode
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String LastUpdateStatusReasonCode
$cparseXML :: [Node] -> Either String LastUpdateStatusReasonCode
Core.FromXML,
LastUpdateStatusReasonCode -> XML
(LastUpdateStatusReasonCode -> XML)
-> ToXML LastUpdateStatusReasonCode
forall a. (a -> XML) -> ToXML a
toXML :: LastUpdateStatusReasonCode -> XML
$ctoXML :: LastUpdateStatusReasonCode -> XML
Core.ToXML
)
pattern LastUpdateStatusReasonCode_EniLimitExceeded :: LastUpdateStatusReasonCode
pattern $bLastUpdateStatusReasonCode_EniLimitExceeded :: LastUpdateStatusReasonCode
$mLastUpdateStatusReasonCode_EniLimitExceeded :: forall r.
LastUpdateStatusReasonCode -> (Void# -> r) -> (Void# -> r) -> r
LastUpdateStatusReasonCode_EniLimitExceeded = LastUpdateStatusReasonCode' "EniLimitExceeded"
pattern LastUpdateStatusReasonCode_ImageAccessDenied :: LastUpdateStatusReasonCode
pattern $bLastUpdateStatusReasonCode_ImageAccessDenied :: LastUpdateStatusReasonCode
$mLastUpdateStatusReasonCode_ImageAccessDenied :: forall r.
LastUpdateStatusReasonCode -> (Void# -> r) -> (Void# -> r) -> r
LastUpdateStatusReasonCode_ImageAccessDenied = LastUpdateStatusReasonCode' "ImageAccessDenied"
pattern LastUpdateStatusReasonCode_ImageDeleted :: LastUpdateStatusReasonCode
pattern $bLastUpdateStatusReasonCode_ImageDeleted :: LastUpdateStatusReasonCode
$mLastUpdateStatusReasonCode_ImageDeleted :: forall r.
LastUpdateStatusReasonCode -> (Void# -> r) -> (Void# -> r) -> r
LastUpdateStatusReasonCode_ImageDeleted = LastUpdateStatusReasonCode' "ImageDeleted"
pattern LastUpdateStatusReasonCode_InsufficientRolePermissions :: LastUpdateStatusReasonCode
pattern $bLastUpdateStatusReasonCode_InsufficientRolePermissions :: LastUpdateStatusReasonCode
$mLastUpdateStatusReasonCode_InsufficientRolePermissions :: forall r.
LastUpdateStatusReasonCode -> (Void# -> r) -> (Void# -> r) -> r
LastUpdateStatusReasonCode_InsufficientRolePermissions = LastUpdateStatusReasonCode' "InsufficientRolePermissions"
pattern LastUpdateStatusReasonCode_InternalError :: LastUpdateStatusReasonCode
pattern $bLastUpdateStatusReasonCode_InternalError :: LastUpdateStatusReasonCode
$mLastUpdateStatusReasonCode_InternalError :: forall r.
LastUpdateStatusReasonCode -> (Void# -> r) -> (Void# -> r) -> r
LastUpdateStatusReasonCode_InternalError = LastUpdateStatusReasonCode' "InternalError"
pattern LastUpdateStatusReasonCode_InvalidConfiguration :: LastUpdateStatusReasonCode
pattern $bLastUpdateStatusReasonCode_InvalidConfiguration :: LastUpdateStatusReasonCode
$mLastUpdateStatusReasonCode_InvalidConfiguration :: forall r.
LastUpdateStatusReasonCode -> (Void# -> r) -> (Void# -> r) -> r
LastUpdateStatusReasonCode_InvalidConfiguration = LastUpdateStatusReasonCode' "InvalidConfiguration"
pattern LastUpdateStatusReasonCode_InvalidImage :: LastUpdateStatusReasonCode
pattern $bLastUpdateStatusReasonCode_InvalidImage :: LastUpdateStatusReasonCode
$mLastUpdateStatusReasonCode_InvalidImage :: forall r.
LastUpdateStatusReasonCode -> (Void# -> r) -> (Void# -> r) -> r
LastUpdateStatusReasonCode_InvalidImage = LastUpdateStatusReasonCode' "InvalidImage"
pattern LastUpdateStatusReasonCode_InvalidSecurityGroup :: LastUpdateStatusReasonCode
pattern $bLastUpdateStatusReasonCode_InvalidSecurityGroup :: LastUpdateStatusReasonCode
$mLastUpdateStatusReasonCode_InvalidSecurityGroup :: forall r.
LastUpdateStatusReasonCode -> (Void# -> r) -> (Void# -> r) -> r
LastUpdateStatusReasonCode_InvalidSecurityGroup = LastUpdateStatusReasonCode' "InvalidSecurityGroup"
pattern LastUpdateStatusReasonCode_InvalidSubnet :: LastUpdateStatusReasonCode
pattern $bLastUpdateStatusReasonCode_InvalidSubnet :: LastUpdateStatusReasonCode
$mLastUpdateStatusReasonCode_InvalidSubnet :: forall r.
LastUpdateStatusReasonCode -> (Void# -> r) -> (Void# -> r) -> r
LastUpdateStatusReasonCode_InvalidSubnet = LastUpdateStatusReasonCode' "InvalidSubnet"
pattern LastUpdateStatusReasonCode_SubnetOutOfIPAddresses :: LastUpdateStatusReasonCode
pattern $bLastUpdateStatusReasonCode_SubnetOutOfIPAddresses :: LastUpdateStatusReasonCode
$mLastUpdateStatusReasonCode_SubnetOutOfIPAddresses :: forall r.
LastUpdateStatusReasonCode -> (Void# -> r) -> (Void# -> r) -> r
LastUpdateStatusReasonCode_SubnetOutOfIPAddresses = LastUpdateStatusReasonCode' "SubnetOutOfIPAddresses"
{-# COMPLETE
LastUpdateStatusReasonCode_EniLimitExceeded,
LastUpdateStatusReasonCode_ImageAccessDenied,
LastUpdateStatusReasonCode_ImageDeleted,
LastUpdateStatusReasonCode_InsufficientRolePermissions,
LastUpdateStatusReasonCode_InternalError,
LastUpdateStatusReasonCode_InvalidConfiguration,
LastUpdateStatusReasonCode_InvalidImage,
LastUpdateStatusReasonCode_InvalidSecurityGroup,
LastUpdateStatusReasonCode_InvalidSubnet,
LastUpdateStatusReasonCode_SubnetOutOfIPAddresses,
LastUpdateStatusReasonCode'
#-}