Skip to content

get_provisioned_concurrency_config

Operation

get_provisioned_concurrency_config

get_provisioned_concurrency_config(request: GetProvisionedConcurrencyConfigInput | GetProvisionedConcurrencyConfigInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[GetProvisionedConcurrencyConfigInputDict]) -> GetProvisionedConcurrencyConfigOutput

Retrieves the provisioned concurrency configuration for a function's alias or version.

Parameters:

Name Type Description Default
request GetProvisionedConcurrencyConfigInput | GetProvisionedConcurrencyConfigInputDict | None

The input as a model or dictionary. Pass this or keyword arguments, not both.

None
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
**kwargs Unpack[GetProvisionedConcurrencyConfigInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
GetProvisionedConcurrencyConfigOutput

An instance of GetProvisionedConcurrencyConfigOutput.

get_provisioned_concurrency_config async

get_provisioned_concurrency_config(request: GetProvisionedConcurrencyConfigInput | GetProvisionedConcurrencyConfigInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[GetProvisionedConcurrencyConfigInputDict]) -> GetProvisionedConcurrencyConfigOutput

Retrieves the provisioned concurrency configuration for a function's alias or version.

Parameters:

Name Type Description Default
request GetProvisionedConcurrencyConfigInput | GetProvisionedConcurrencyConfigInputDict | None

The input as a model or dictionary. Pass this or keyword arguments, not both.

None
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
**kwargs Unpack[GetProvisionedConcurrencyConfigInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
GetProvisionedConcurrencyConfigOutput

An instance of GetProvisionedConcurrencyConfigOutput.

Input

Pass the input as keyword arguments, a positional dictionary, or a positional model object. Pass plugins separately as a keyword argument.

GetProvisionedConcurrencyConfigInputDict

Bases: TypedDict

Dictionary form of GetProvisionedConcurrencyConfigInput.

Attributes

function_name instance-attribute
function_name: Required[str]

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.

qualifier instance-attribute
qualifier: Required[str]

The version number or alias name.

GetProvisionedConcurrencyConfigInput dataclass

Bases: _SerdeShape

Dataclass for GetProvisionedConcurrencyConfigInput structure.

Attributes

function_name class-attribute instance-attribute
function_name: str | 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.

qualifier class-attribute instance-attribute
qualifier: str | None = ...

The version number or alias name.

Output

GetProvisionedConcurrencyConfigOutput dataclass

Bases: _SerdeShape

Dataclass for GetProvisionedConcurrencyConfigOutput structure.

Attributes

allocated_provisioned_concurrent_executions class-attribute instance-attribute
allocated_provisioned_concurrent_executions: int | None = ...

The amount of provisioned concurrency allocated. When a weighted alias is used during linear and canary deployments, this value fluctuates depending on the amount of concurrency that is provisioned for the function versions.

available_provisioned_concurrent_executions class-attribute instance-attribute
available_provisioned_concurrent_executions: int | None = ...

The amount of provisioned concurrency available.

last_modified class-attribute instance-attribute
last_modified: str | None = ...

The date and time that a user last updated the configuration, in ISO 8601 format.

requested_provisioned_concurrent_executions class-attribute instance-attribute
requested_provisioned_concurrent_executions: int | None = ...

The amount of provisioned concurrency requested.

response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = ...

Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.

status class-attribute instance-attribute
status: str | None = ...

The status of the allocation process.

status_reason class-attribute instance-attribute
status_reason: str | None = ...

For failed allocations, the reason that provisioned concurrency could not be allocated.