Copyright | (c) 2013-2018 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) |
Safe Haskell | None |
Language | Haskell2010 |
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' .
- putFunctionConcurrency :: Text -> Natural -> PutFunctionConcurrency
- data PutFunctionConcurrency
- pfcFunctionName :: Lens' PutFunctionConcurrency Text
- pfcReservedConcurrentExecutions :: Lens' PutFunctionConcurrency Natural
- concurrency :: Concurrency
- data Concurrency
- cReservedConcurrentExecutions :: Lens' Concurrency (Maybe Natural)
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.
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.
Response Lenses
cReservedConcurrentExecutions :: Lens' Concurrency (Maybe Natural) Source #
The number of concurrent executions reserved for this function. For more information, see 'concurrent-executions' .