{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DuplicateRecordFields #-}
{-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}
module Amazonka.Lambda.Types.ProvisionedConcurrencyConfigListItem where
import qualified Amazonka.Core as Core
import Amazonka.Lambda.Types.ProvisionedConcurrencyStatusEnum
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
data ProvisionedConcurrencyConfigListItem = ProvisionedConcurrencyConfigListItem'
{
ProvisionedConcurrencyConfigListItem
-> Maybe ProvisionedConcurrencyStatusEnum
status :: Prelude.Maybe ProvisionedConcurrencyStatusEnum,
ProvisionedConcurrencyConfigListItem -> Maybe Text
functionArn :: Prelude.Maybe Prelude.Text,
ProvisionedConcurrencyConfigListItem -> Maybe Natural
requestedProvisionedConcurrentExecutions :: Prelude.Maybe Prelude.Natural,
ProvisionedConcurrencyConfigListItem -> Maybe Natural
availableProvisionedConcurrentExecutions :: Prelude.Maybe Prelude.Natural,
ProvisionedConcurrencyConfigListItem -> Maybe Text
statusReason :: Prelude.Maybe Prelude.Text,
ProvisionedConcurrencyConfigListItem -> Maybe Natural
allocatedProvisionedConcurrentExecutions :: Prelude.Maybe Prelude.Natural,
ProvisionedConcurrencyConfigListItem -> Maybe Text
lastModified :: Prelude.Maybe Prelude.Text
}
deriving (ProvisionedConcurrencyConfigListItem
-> ProvisionedConcurrencyConfigListItem -> Bool
(ProvisionedConcurrencyConfigListItem
-> ProvisionedConcurrencyConfigListItem -> Bool)
-> (ProvisionedConcurrencyConfigListItem
-> ProvisionedConcurrencyConfigListItem -> Bool)
-> Eq ProvisionedConcurrencyConfigListItem
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ProvisionedConcurrencyConfigListItem
-> ProvisionedConcurrencyConfigListItem -> Bool
$c/= :: ProvisionedConcurrencyConfigListItem
-> ProvisionedConcurrencyConfigListItem -> Bool
== :: ProvisionedConcurrencyConfigListItem
-> ProvisionedConcurrencyConfigListItem -> Bool
$c== :: ProvisionedConcurrencyConfigListItem
-> ProvisionedConcurrencyConfigListItem -> Bool
Prelude.Eq, ReadPrec [ProvisionedConcurrencyConfigListItem]
ReadPrec ProvisionedConcurrencyConfigListItem
Int -> ReadS ProvisionedConcurrencyConfigListItem
ReadS [ProvisionedConcurrencyConfigListItem]
(Int -> ReadS ProvisionedConcurrencyConfigListItem)
-> ReadS [ProvisionedConcurrencyConfigListItem]
-> ReadPrec ProvisionedConcurrencyConfigListItem
-> ReadPrec [ProvisionedConcurrencyConfigListItem]
-> Read ProvisionedConcurrencyConfigListItem
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ProvisionedConcurrencyConfigListItem]
$creadListPrec :: ReadPrec [ProvisionedConcurrencyConfigListItem]
readPrec :: ReadPrec ProvisionedConcurrencyConfigListItem
$creadPrec :: ReadPrec ProvisionedConcurrencyConfigListItem
readList :: ReadS [ProvisionedConcurrencyConfigListItem]
$creadList :: ReadS [ProvisionedConcurrencyConfigListItem]
readsPrec :: Int -> ReadS ProvisionedConcurrencyConfigListItem
$creadsPrec :: Int -> ReadS ProvisionedConcurrencyConfigListItem
Prelude.Read, Int -> ProvisionedConcurrencyConfigListItem -> ShowS
[ProvisionedConcurrencyConfigListItem] -> ShowS
ProvisionedConcurrencyConfigListItem -> String
(Int -> ProvisionedConcurrencyConfigListItem -> ShowS)
-> (ProvisionedConcurrencyConfigListItem -> String)
-> ([ProvisionedConcurrencyConfigListItem] -> ShowS)
-> Show ProvisionedConcurrencyConfigListItem
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ProvisionedConcurrencyConfigListItem] -> ShowS
$cshowList :: [ProvisionedConcurrencyConfigListItem] -> ShowS
show :: ProvisionedConcurrencyConfigListItem -> String
$cshow :: ProvisionedConcurrencyConfigListItem -> String
showsPrec :: Int -> ProvisionedConcurrencyConfigListItem -> ShowS
$cshowsPrec :: Int -> ProvisionedConcurrencyConfigListItem -> ShowS
Prelude.Show, (forall x.
ProvisionedConcurrencyConfigListItem
-> Rep ProvisionedConcurrencyConfigListItem x)
-> (forall x.
Rep ProvisionedConcurrencyConfigListItem x
-> ProvisionedConcurrencyConfigListItem)
-> Generic ProvisionedConcurrencyConfigListItem
forall x.
Rep ProvisionedConcurrencyConfigListItem x
-> ProvisionedConcurrencyConfigListItem
forall x.
ProvisionedConcurrencyConfigListItem
-> Rep ProvisionedConcurrencyConfigListItem x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ProvisionedConcurrencyConfigListItem x
-> ProvisionedConcurrencyConfigListItem
$cfrom :: forall x.
ProvisionedConcurrencyConfigListItem
-> Rep ProvisionedConcurrencyConfigListItem x
Prelude.Generic)
newProvisionedConcurrencyConfigListItem ::
ProvisionedConcurrencyConfigListItem
newProvisionedConcurrencyConfigListItem :: ProvisionedConcurrencyConfigListItem
newProvisionedConcurrencyConfigListItem =
ProvisionedConcurrencyConfigListItem' :: Maybe ProvisionedConcurrencyStatusEnum
-> Maybe Text
-> Maybe Natural
-> Maybe Natural
-> Maybe Text
-> Maybe Natural
-> Maybe Text
-> ProvisionedConcurrencyConfigListItem
ProvisionedConcurrencyConfigListItem'
{ $sel:status:ProvisionedConcurrencyConfigListItem' :: Maybe ProvisionedConcurrencyStatusEnum
status =
Maybe ProvisionedConcurrencyStatusEnum
forall a. Maybe a
Prelude.Nothing,
$sel:functionArn:ProvisionedConcurrencyConfigListItem' :: Maybe Text
functionArn = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:requestedProvisionedConcurrentExecutions:ProvisionedConcurrencyConfigListItem' :: Maybe Natural
requestedProvisionedConcurrentExecutions =
Maybe Natural
forall a. Maybe a
Prelude.Nothing,
$sel:availableProvisionedConcurrentExecutions:ProvisionedConcurrencyConfigListItem' :: Maybe Natural
availableProvisionedConcurrentExecutions =
Maybe Natural
forall a. Maybe a
Prelude.Nothing,
$sel:statusReason:ProvisionedConcurrencyConfigListItem' :: Maybe Text
statusReason = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:allocatedProvisionedConcurrentExecutions:ProvisionedConcurrencyConfigListItem' :: Maybe Natural
allocatedProvisionedConcurrentExecutions =
Maybe Natural
forall a. Maybe a
Prelude.Nothing,
$sel:lastModified:ProvisionedConcurrencyConfigListItem' :: Maybe Text
lastModified = Maybe Text
forall a. Maybe a
Prelude.Nothing
}
provisionedConcurrencyConfigListItem_status :: Lens.Lens' ProvisionedConcurrencyConfigListItem (Prelude.Maybe ProvisionedConcurrencyStatusEnum)
provisionedConcurrencyConfigListItem_status :: (Maybe ProvisionedConcurrencyStatusEnum
-> f (Maybe ProvisionedConcurrencyStatusEnum))
-> ProvisionedConcurrencyConfigListItem
-> f ProvisionedConcurrencyConfigListItem
provisionedConcurrencyConfigListItem_status = (ProvisionedConcurrencyConfigListItem
-> Maybe ProvisionedConcurrencyStatusEnum)
-> (ProvisionedConcurrencyConfigListItem
-> Maybe ProvisionedConcurrencyStatusEnum
-> ProvisionedConcurrencyConfigListItem)
-> Lens
ProvisionedConcurrencyConfigListItem
ProvisionedConcurrencyConfigListItem
(Maybe ProvisionedConcurrencyStatusEnum)
(Maybe ProvisionedConcurrencyStatusEnum)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ProvisionedConcurrencyConfigListItem' {Maybe ProvisionedConcurrencyStatusEnum
status :: Maybe ProvisionedConcurrencyStatusEnum
$sel:status:ProvisionedConcurrencyConfigListItem' :: ProvisionedConcurrencyConfigListItem
-> Maybe ProvisionedConcurrencyStatusEnum
status} -> Maybe ProvisionedConcurrencyStatusEnum
status) (\s :: ProvisionedConcurrencyConfigListItem
s@ProvisionedConcurrencyConfigListItem' {} Maybe ProvisionedConcurrencyStatusEnum
a -> ProvisionedConcurrencyConfigListItem
s {$sel:status:ProvisionedConcurrencyConfigListItem' :: Maybe ProvisionedConcurrencyStatusEnum
status = Maybe ProvisionedConcurrencyStatusEnum
a} :: ProvisionedConcurrencyConfigListItem)
provisionedConcurrencyConfigListItem_functionArn :: Lens.Lens' ProvisionedConcurrencyConfigListItem (Prelude.Maybe Prelude.Text)
provisionedConcurrencyConfigListItem_functionArn :: (Maybe Text -> f (Maybe Text))
-> ProvisionedConcurrencyConfigListItem
-> f ProvisionedConcurrencyConfigListItem
provisionedConcurrencyConfigListItem_functionArn = (ProvisionedConcurrencyConfigListItem -> Maybe Text)
-> (ProvisionedConcurrencyConfigListItem
-> Maybe Text -> ProvisionedConcurrencyConfigListItem)
-> Lens
ProvisionedConcurrencyConfigListItem
ProvisionedConcurrencyConfigListItem
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ProvisionedConcurrencyConfigListItem' {Maybe Text
functionArn :: Maybe Text
$sel:functionArn:ProvisionedConcurrencyConfigListItem' :: ProvisionedConcurrencyConfigListItem -> Maybe Text
functionArn} -> Maybe Text
functionArn) (\s :: ProvisionedConcurrencyConfigListItem
s@ProvisionedConcurrencyConfigListItem' {} Maybe Text
a -> ProvisionedConcurrencyConfigListItem
s {$sel:functionArn:ProvisionedConcurrencyConfigListItem' :: Maybe Text
functionArn = Maybe Text
a} :: ProvisionedConcurrencyConfigListItem)
provisionedConcurrencyConfigListItem_requestedProvisionedConcurrentExecutions :: Lens.Lens' ProvisionedConcurrencyConfigListItem (Prelude.Maybe Prelude.Natural)
provisionedConcurrencyConfigListItem_requestedProvisionedConcurrentExecutions :: (Maybe Natural -> f (Maybe Natural))
-> ProvisionedConcurrencyConfigListItem
-> f ProvisionedConcurrencyConfigListItem
provisionedConcurrencyConfigListItem_requestedProvisionedConcurrentExecutions = (ProvisionedConcurrencyConfigListItem -> Maybe Natural)
-> (ProvisionedConcurrencyConfigListItem
-> Maybe Natural -> ProvisionedConcurrencyConfigListItem)
-> Lens
ProvisionedConcurrencyConfigListItem
ProvisionedConcurrencyConfigListItem
(Maybe Natural)
(Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ProvisionedConcurrencyConfigListItem' {Maybe Natural
requestedProvisionedConcurrentExecutions :: Maybe Natural
$sel:requestedProvisionedConcurrentExecutions:ProvisionedConcurrencyConfigListItem' :: ProvisionedConcurrencyConfigListItem -> Maybe Natural
requestedProvisionedConcurrentExecutions} -> Maybe Natural
requestedProvisionedConcurrentExecutions) (\s :: ProvisionedConcurrencyConfigListItem
s@ProvisionedConcurrencyConfigListItem' {} Maybe Natural
a -> ProvisionedConcurrencyConfigListItem
s {$sel:requestedProvisionedConcurrentExecutions:ProvisionedConcurrencyConfigListItem' :: Maybe Natural
requestedProvisionedConcurrentExecutions = Maybe Natural
a} :: ProvisionedConcurrencyConfigListItem)
provisionedConcurrencyConfigListItem_availableProvisionedConcurrentExecutions :: Lens.Lens' ProvisionedConcurrencyConfigListItem (Prelude.Maybe Prelude.Natural)
provisionedConcurrencyConfigListItem_availableProvisionedConcurrentExecutions :: (Maybe Natural -> f (Maybe Natural))
-> ProvisionedConcurrencyConfigListItem
-> f ProvisionedConcurrencyConfigListItem
provisionedConcurrencyConfigListItem_availableProvisionedConcurrentExecutions = (ProvisionedConcurrencyConfigListItem -> Maybe Natural)
-> (ProvisionedConcurrencyConfigListItem
-> Maybe Natural -> ProvisionedConcurrencyConfigListItem)
-> Lens
ProvisionedConcurrencyConfigListItem
ProvisionedConcurrencyConfigListItem
(Maybe Natural)
(Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ProvisionedConcurrencyConfigListItem' {Maybe Natural
availableProvisionedConcurrentExecutions :: Maybe Natural
$sel:availableProvisionedConcurrentExecutions:ProvisionedConcurrencyConfigListItem' :: ProvisionedConcurrencyConfigListItem -> Maybe Natural
availableProvisionedConcurrentExecutions} -> Maybe Natural
availableProvisionedConcurrentExecutions) (\s :: ProvisionedConcurrencyConfigListItem
s@ProvisionedConcurrencyConfigListItem' {} Maybe Natural
a -> ProvisionedConcurrencyConfigListItem
s {$sel:availableProvisionedConcurrentExecutions:ProvisionedConcurrencyConfigListItem' :: Maybe Natural
availableProvisionedConcurrentExecutions = Maybe Natural
a} :: ProvisionedConcurrencyConfigListItem)
provisionedConcurrencyConfigListItem_statusReason :: Lens.Lens' ProvisionedConcurrencyConfigListItem (Prelude.Maybe Prelude.Text)
provisionedConcurrencyConfigListItem_statusReason :: (Maybe Text -> f (Maybe Text))
-> ProvisionedConcurrencyConfigListItem
-> f ProvisionedConcurrencyConfigListItem
provisionedConcurrencyConfigListItem_statusReason = (ProvisionedConcurrencyConfigListItem -> Maybe Text)
-> (ProvisionedConcurrencyConfigListItem
-> Maybe Text -> ProvisionedConcurrencyConfigListItem)
-> Lens
ProvisionedConcurrencyConfigListItem
ProvisionedConcurrencyConfigListItem
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ProvisionedConcurrencyConfigListItem' {Maybe Text
statusReason :: Maybe Text
$sel:statusReason:ProvisionedConcurrencyConfigListItem' :: ProvisionedConcurrencyConfigListItem -> Maybe Text
statusReason} -> Maybe Text
statusReason) (\s :: ProvisionedConcurrencyConfigListItem
s@ProvisionedConcurrencyConfigListItem' {} Maybe Text
a -> ProvisionedConcurrencyConfigListItem
s {$sel:statusReason:ProvisionedConcurrencyConfigListItem' :: Maybe Text
statusReason = Maybe Text
a} :: ProvisionedConcurrencyConfigListItem)
provisionedConcurrencyConfigListItem_allocatedProvisionedConcurrentExecutions :: Lens.Lens' ProvisionedConcurrencyConfigListItem (Prelude.Maybe Prelude.Natural)
provisionedConcurrencyConfigListItem_allocatedProvisionedConcurrentExecutions :: (Maybe Natural -> f (Maybe Natural))
-> ProvisionedConcurrencyConfigListItem
-> f ProvisionedConcurrencyConfigListItem
provisionedConcurrencyConfigListItem_allocatedProvisionedConcurrentExecutions = (ProvisionedConcurrencyConfigListItem -> Maybe Natural)
-> (ProvisionedConcurrencyConfigListItem
-> Maybe Natural -> ProvisionedConcurrencyConfigListItem)
-> Lens
ProvisionedConcurrencyConfigListItem
ProvisionedConcurrencyConfigListItem
(Maybe Natural)
(Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ProvisionedConcurrencyConfigListItem' {Maybe Natural
allocatedProvisionedConcurrentExecutions :: Maybe Natural
$sel:allocatedProvisionedConcurrentExecutions:ProvisionedConcurrencyConfigListItem' :: ProvisionedConcurrencyConfigListItem -> Maybe Natural
allocatedProvisionedConcurrentExecutions} -> Maybe Natural
allocatedProvisionedConcurrentExecutions) (\s :: ProvisionedConcurrencyConfigListItem
s@ProvisionedConcurrencyConfigListItem' {} Maybe Natural
a -> ProvisionedConcurrencyConfigListItem
s {$sel:allocatedProvisionedConcurrentExecutions:ProvisionedConcurrencyConfigListItem' :: Maybe Natural
allocatedProvisionedConcurrentExecutions = Maybe Natural
a} :: ProvisionedConcurrencyConfigListItem)
provisionedConcurrencyConfigListItem_lastModified :: Lens.Lens' ProvisionedConcurrencyConfigListItem (Prelude.Maybe Prelude.Text)
provisionedConcurrencyConfigListItem_lastModified :: (Maybe Text -> f (Maybe Text))
-> ProvisionedConcurrencyConfigListItem
-> f ProvisionedConcurrencyConfigListItem
provisionedConcurrencyConfigListItem_lastModified = (ProvisionedConcurrencyConfigListItem -> Maybe Text)
-> (ProvisionedConcurrencyConfigListItem
-> Maybe Text -> ProvisionedConcurrencyConfigListItem)
-> Lens
ProvisionedConcurrencyConfigListItem
ProvisionedConcurrencyConfigListItem
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ProvisionedConcurrencyConfigListItem' {Maybe Text
lastModified :: Maybe Text
$sel:lastModified:ProvisionedConcurrencyConfigListItem' :: ProvisionedConcurrencyConfigListItem -> Maybe Text
lastModified} -> Maybe Text
lastModified) (\s :: ProvisionedConcurrencyConfigListItem
s@ProvisionedConcurrencyConfigListItem' {} Maybe Text
a -> ProvisionedConcurrencyConfigListItem
s {$sel:lastModified:ProvisionedConcurrencyConfigListItem' :: Maybe Text
lastModified = Maybe Text
a} :: ProvisionedConcurrencyConfigListItem)
instance
Core.FromJSON
ProvisionedConcurrencyConfigListItem
where
parseJSON :: Value -> Parser ProvisionedConcurrencyConfigListItem
parseJSON =
String
-> (Object -> Parser ProvisionedConcurrencyConfigListItem)
-> Value
-> Parser ProvisionedConcurrencyConfigListItem
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Core.withObject
String
"ProvisionedConcurrencyConfigListItem"
( \Object
x ->
Maybe ProvisionedConcurrencyStatusEnum
-> Maybe Text
-> Maybe Natural
-> Maybe Natural
-> Maybe Text
-> Maybe Natural
-> Maybe Text
-> ProvisionedConcurrencyConfigListItem
ProvisionedConcurrencyConfigListItem'
(Maybe ProvisionedConcurrencyStatusEnum
-> Maybe Text
-> Maybe Natural
-> Maybe Natural
-> Maybe Text
-> Maybe Natural
-> Maybe Text
-> ProvisionedConcurrencyConfigListItem)
-> Parser (Maybe ProvisionedConcurrencyStatusEnum)
-> Parser
(Maybe Text
-> Maybe Natural
-> Maybe Natural
-> Maybe Text
-> Maybe Natural
-> Maybe Text
-> ProvisionedConcurrencyConfigListItem)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Parser (Maybe ProvisionedConcurrencyStatusEnum)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"Status")
Parser
(Maybe Text
-> Maybe Natural
-> Maybe Natural
-> Maybe Text
-> Maybe Natural
-> Maybe Text
-> ProvisionedConcurrencyConfigListItem)
-> Parser (Maybe Text)
-> Parser
(Maybe Natural
-> Maybe Natural
-> Maybe Text
-> Maybe Natural
-> Maybe Text
-> ProvisionedConcurrencyConfigListItem)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"FunctionArn")
Parser
(Maybe Natural
-> Maybe Natural
-> Maybe Text
-> Maybe Natural
-> Maybe Text
-> ProvisionedConcurrencyConfigListItem)
-> Parser (Maybe Natural)
-> Parser
(Maybe Natural
-> Maybe Text
-> Maybe Natural
-> Maybe Text
-> ProvisionedConcurrencyConfigListItem)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x
Object -> Text -> Parser (Maybe Natural)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"RequestedProvisionedConcurrentExecutions"
)
Parser
(Maybe Natural
-> Maybe Text
-> Maybe Natural
-> Maybe Text
-> ProvisionedConcurrencyConfigListItem)
-> Parser (Maybe Natural)
-> Parser
(Maybe Text
-> Maybe Natural
-> Maybe Text
-> ProvisionedConcurrencyConfigListItem)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x
Object -> Text -> Parser (Maybe Natural)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"AvailableProvisionedConcurrentExecutions"
)
Parser
(Maybe Text
-> Maybe Natural
-> Maybe Text
-> ProvisionedConcurrencyConfigListItem)
-> Parser (Maybe Text)
-> Parser
(Maybe Natural
-> Maybe Text -> ProvisionedConcurrencyConfigListItem)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"StatusReason")
Parser
(Maybe Natural
-> Maybe Text -> ProvisionedConcurrencyConfigListItem)
-> Parser (Maybe Natural)
-> Parser (Maybe Text -> ProvisionedConcurrencyConfigListItem)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x
Object -> Text -> Parser (Maybe Natural)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"AllocatedProvisionedConcurrentExecutions"
)
Parser (Maybe Text -> ProvisionedConcurrencyConfigListItem)
-> Parser (Maybe Text)
-> Parser ProvisionedConcurrencyConfigListItem
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"LastModified")
)
instance
Prelude.Hashable
ProvisionedConcurrencyConfigListItem
instance
Prelude.NFData
ProvisionedConcurrencyConfigListItem