amazonka-lambda-1.6.0: Amazon Lambda SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.Lambda.PutFunctionConcurrency

Contents

Description

Sets a limit on the number of concurrent executions available to this function. It is a subset of your account's total concurrent execution limit per region. Note that Lambda automatically reserves a buffer of 100 concurrent executions for functions without any reserved concurrency limit. This means if your account limit is 1000, you have a total of 900 available to allocate to individual functions. For more information, see 'concurrent-executions' .

Synopsis

Creating a Request

putFunctionConcurrency Source #

Creates a value of PutFunctionConcurrency with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • pfcFunctionName - The name of the function you are setting concurrent execution limits on. For more information, see 'concurrent-executions' .
  • pfcReservedConcurrentExecutions - The concurrent execution limit reserved for this function. For more information, see 'concurrent-executions' .

data PutFunctionConcurrency Source #

See: putFunctionConcurrency smart constructor.

Instances

Eq PutFunctionConcurrency Source # 
Data PutFunctionConcurrency Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PutFunctionConcurrency -> c PutFunctionConcurrency #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PutFunctionConcurrency #

toConstr :: PutFunctionConcurrency -> Constr #

dataTypeOf :: PutFunctionConcurrency -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c PutFunctionConcurrency) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PutFunctionConcurrency) #

gmapT :: (forall b. Data b => b -> b) -> PutFunctionConcurrency -> PutFunctionConcurrency #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PutFunctionConcurrency -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PutFunctionConcurrency -> r #

gmapQ :: (forall d. Data d => d -> u) -> PutFunctionConcurrency -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PutFunctionConcurrency -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PutFunctionConcurrency -> m PutFunctionConcurrency #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PutFunctionConcurrency -> m PutFunctionConcurrency #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PutFunctionConcurrency -> m PutFunctionConcurrency #

Read PutFunctionConcurrency Source # 
Show PutFunctionConcurrency Source # 
Generic PutFunctionConcurrency Source # 
Hashable PutFunctionConcurrency Source # 
ToJSON PutFunctionConcurrency Source # 
NFData PutFunctionConcurrency Source # 

Methods

rnf :: PutFunctionConcurrency -> () #

AWSRequest PutFunctionConcurrency Source # 
ToHeaders PutFunctionConcurrency Source # 
ToPath PutFunctionConcurrency Source # 
ToQuery PutFunctionConcurrency Source # 
type Rep PutFunctionConcurrency Source # 
type Rep PutFunctionConcurrency = D1 * (MetaData "PutFunctionConcurrency" "Network.AWS.Lambda.PutFunctionConcurrency" "amazonka-lambda-1.6.0-BCoVnxAqk5DEBm6Teqtlxw" False) (C1 * (MetaCons "PutFunctionConcurrency'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_pfcFunctionName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_pfcReservedConcurrentExecutions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Nat))))
type Rs PutFunctionConcurrency Source # 

Request Lenses

pfcFunctionName :: Lens' PutFunctionConcurrency Text Source #

The name of the function you are setting concurrent execution limits on. For more information, see 'concurrent-executions' .

pfcReservedConcurrentExecutions :: Lens' PutFunctionConcurrency Natural Source #

The concurrent execution limit reserved for this function. For more information, see 'concurrent-executions' .

Destructuring the Response

concurrency :: Concurrency Source #

Creates a value of Concurrency with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • cReservedConcurrentExecutions - The number of concurrent executions reserved for this function. For more information, see 'concurrent-executions' .

data Concurrency Source #

See: concurrency smart constructor.

Instances

Eq Concurrency Source # 
Data Concurrency Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Concurrency -> c Concurrency #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Concurrency #

toConstr :: Concurrency -> Constr #

dataTypeOf :: Concurrency -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Concurrency) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Concurrency) #

gmapT :: (forall b. Data b => b -> b) -> Concurrency -> Concurrency #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Concurrency -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Concurrency -> r #

gmapQ :: (forall d. Data d => d -> u) -> Concurrency -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Concurrency -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Concurrency -> m Concurrency #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Concurrency -> m Concurrency #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Concurrency -> m Concurrency #

Read Concurrency Source # 
Show Concurrency Source # 
Generic Concurrency Source # 

Associated Types

type Rep Concurrency :: * -> * #

Hashable Concurrency Source # 
FromJSON Concurrency Source # 
NFData Concurrency Source # 

Methods

rnf :: Concurrency -> () #

type Rep Concurrency Source # 
type Rep Concurrency = D1 * (MetaData "Concurrency" "Network.AWS.Lambda.Types.Product" "amazonka-lambda-1.6.0-BCoVnxAqk5DEBm6Teqtlxw" True) (C1 * (MetaCons "Concurrency'" PrefixI True) (S1 * (MetaSel (Just Symbol "_cReservedConcurrentExecutions") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * (Maybe Nat))))

Response Lenses

cReservedConcurrentExecutions :: Lens' Concurrency (Maybe Natural) Source #

The number of concurrent executions reserved for this function. For more information, see 'concurrent-executions' .