Skip to content

LambdaClient.put_runtime_management_config

rboto-lambda==0.4.0 · Service index · Types

Model summary (excerpt): Sets the runtime management configuration for a function's version. For more information, see Runtime updates .

Install and imports

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

Signature

async def put_runtime_management_config(
    *,
    function_name: str,
    update_runtime_on: UpdateRuntimeOn,
    qualifier: str | None = None,
    runtime_version_arn: str | None = None,
) -> PutRuntimeManagementConfigOutput: ...

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. 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.
update_runtime_on Yes Specify the runtime update mode. Auto (default) - Automatically update to the most recent and secure runtime version using a Two-phase runtime version rollout . This is the best choice for most customers to ensure they always benefit from runtime updates. Function update - Lambda updates the runtime of your function to the most recent and secure runtime version when you update your function....
qualifier No Specify a version of the function. This can be $LATEST or a published version number. If no value is specified, the configuration for the $LATEST version is returned.
runtime_version_arn No The ARN of the runtime version you want the function to use. This is only required if you're using the Manual runtime update mode.

Output

PutRuntimeManagementConfigOutput.

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
update_runtime_on UpdateRuntimeOnOutput Always present UpdateRuntimeOnOutput
function_arn str Always present —
runtime_version_arn str | None Always present —

| 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.

PutRuntimeManagementConfigOutput, UpdateRuntimeOn

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