Skip to content

LambdaClient.put_function_scaling_config

rboto-lambda==0.4.0 · Service index · Types

Model summary (excerpt): Sets the scaling configuration for a Lambda Managed Instances function. The scaling configuration defines the minimum and maximum number of execution environments that can be provisioned for the function, allowing you to control scaling behavior and resource allocation.

Install and imports

python -m pip install "rboto[lambda]==0.4.0"
from rboto import LambdaClient
from rboto_lambda.types import (
    FunctionScalingConfig,
    PutFunctionScalingConfigOutput,
)

Signature

async def put_function_scaling_config(
    *,
    function_name: str,
    qualifier: str,
    function_scaling_config: FunctionScalingConfig | None = None,
) -> PutFunctionScalingConfigOutput: ...

Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.

Arguments

Argument Required Model notes (excerpt)
function_name Yes The name or ARN of the Lambda function.
qualifier Yes Specify a version or alias to set the scaling configuration for a published version of the function.
function_scaling_config No The scaling configuration to apply to the function, including minimum and maximum execution environment limits.

Output

PutFunctionScalingConfigOutput.

Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.

Field Type Presence References
function_state StateOutput | None Always present StateOutput

| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.

FunctionScalingConfig, PutFunctionScalingConfigOutput

Follow these links for nested inputs and outputs; recursive types link back to the same type page.

Pagination and streaming

No generated paginator for this operation.

No output stream.

Errors

Import from rboto_lambda.exceptions:

InvalidParameterValueError, ResourceConflictError, ResourceNotFoundError, ServiceError, TooManyRequestsError.

Other service failures use the service base error; credential, transport and timeout failures use shared errors.

Service guide · Pinned model