Copyright | (c) 2013-2021 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 |
Returns details about the reserved concurrency configuration for a function. To set a concurrency limit for a function, use PutFunctionConcurrency.
Synopsis
- data GetFunctionConcurrency = GetFunctionConcurrency' {
- functionName :: Text
- newGetFunctionConcurrency :: Text -> GetFunctionConcurrency
- getFunctionConcurrency_functionName :: Lens' GetFunctionConcurrency Text
- data GetFunctionConcurrencyResponse = GetFunctionConcurrencyResponse' {}
- newGetFunctionConcurrencyResponse :: Int -> GetFunctionConcurrencyResponse
- getFunctionConcurrencyResponse_reservedConcurrentExecutions :: Lens' GetFunctionConcurrencyResponse (Maybe Natural)
- getFunctionConcurrencyResponse_httpStatus :: Lens' GetFunctionConcurrencyResponse Int
Creating a Request
data GetFunctionConcurrency Source #
See: newGetFunctionConcurrency
smart constructor.
GetFunctionConcurrency' | |
|
Instances
newGetFunctionConcurrency Source #
Create a value of GetFunctionConcurrency
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:functionName:GetFunctionConcurrency'
, getFunctionConcurrency_functionName
- The name of the Lambda function.
Name formats
- Function name -
my-function
. - Function ARN -
arn:aws:lambda:us-west-2:123456789012:function:my-function
. - Partial ARN -
123456789012:function:my-function
.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
Request Lenses
getFunctionConcurrency_functionName :: Lens' GetFunctionConcurrency Text Source #
The name of the Lambda function.
Name formats
- Function name -
my-function
. - Function ARN -
arn:aws:lambda:us-west-2:123456789012:function:my-function
. - Partial ARN -
123456789012:function:my-function
.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
Destructuring the Response
data GetFunctionConcurrencyResponse Source #
See: newGetFunctionConcurrencyResponse
smart constructor.
GetFunctionConcurrencyResponse' | |
|
Instances
Eq GetFunctionConcurrencyResponse Source # | |
Read GetFunctionConcurrencyResponse Source # | |
Show GetFunctionConcurrencyResponse Source # | |
Defined in Amazonka.Lambda.GetFunctionConcurrency | |
Generic GetFunctionConcurrencyResponse Source # | |
NFData GetFunctionConcurrencyResponse Source # | |
Defined in Amazonka.Lambda.GetFunctionConcurrency rnf :: GetFunctionConcurrencyResponse -> () # | |
type Rep GetFunctionConcurrencyResponse Source # | |
Defined in Amazonka.Lambda.GetFunctionConcurrency type Rep GetFunctionConcurrencyResponse = D1 ('MetaData "GetFunctionConcurrencyResponse" "Amazonka.Lambda.GetFunctionConcurrency" "libZSservicesZSamazonka-lambdaZSamazonka-lambda" 'False) (C1 ('MetaCons "GetFunctionConcurrencyResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "reservedConcurrentExecutions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newGetFunctionConcurrencyResponse Source #
Create a value of GetFunctionConcurrencyResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:reservedConcurrentExecutions:GetFunctionConcurrencyResponse'
, getFunctionConcurrencyResponse_reservedConcurrentExecutions
- The number of simultaneous executions that are reserved for the
function.
$sel:httpStatus:GetFunctionConcurrencyResponse'
, getFunctionConcurrencyResponse_httpStatus
- The response's http status code.
Response Lenses
getFunctionConcurrencyResponse_reservedConcurrentExecutions :: Lens' GetFunctionConcurrencyResponse (Maybe Natural) Source #
The number of simultaneous executions that are reserved for the function.
getFunctionConcurrencyResponse_httpStatus :: Lens' GetFunctionConcurrencyResponse Int Source #
The response's http status code.