Skip to content

Lambda  >  Operations  >  get_function_concurrency

get_function_concurrency

Operation

get_function_concurrency async

get_function_concurrency(input: GetFunctionConcurrencyInput, plugins: list[Plugin] | None = None) -> GetFunctionConcurrencyOutput

Returns details about the reserved concurrency configuration for a function. To set a concurrency limit for a function, use PutFunctionConcurrency.

Parameters:

Name Type Description Default
input GetFunctionConcurrencyInput

An instance of GetFunctionConcurrencyInput.

required
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None

Returns:

Type Description
GetFunctionConcurrencyOutput

An instance of GetFunctionConcurrencyOutput.

Input

GetFunctionConcurrencyInput dataclass

Dataclass for GetFunctionConcurrencyInput structure.

Attributes

function_name class-attribute instance-attribute
function_name: str | None = None

The name or ARN 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.

Output

GetFunctionConcurrencyOutput dataclass

Dataclass for GetFunctionConcurrencyOutput structure.

Attributes

reserved_concurrent_executions class-attribute instance-attribute
reserved_concurrent_executions: int | None = None

The number of simultaneous executions that are reserved for the function.