Skip to content

get_runtime_management_config

Operation

get_runtime_management_config

get_runtime_management_config(request: GetRuntimeManagementConfigInput | GetRuntimeManagementConfigInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[GetRuntimeManagementConfigInputDict]) -> GetRuntimeManagementConfigOutput

Retrieves the runtime management configuration for a function's version. If the runtime update mode is Manual, this includes the ARN of the runtime version and the runtime update mode. If the runtime update mode is Auto or Function update, this includes the runtime update mode and null is returned for the ARN. For more information, see Runtime updates.

Parameters:

Name Type Description Default
request GetRuntimeManagementConfigInput | GetRuntimeManagementConfigInputDict | 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[GetRuntimeManagementConfigInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
GetRuntimeManagementConfigOutput

An instance of GetRuntimeManagementConfigOutput.

get_runtime_management_config async

get_runtime_management_config(request: GetRuntimeManagementConfigInput | GetRuntimeManagementConfigInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[GetRuntimeManagementConfigInputDict]) -> GetRuntimeManagementConfigOutput

Retrieves the runtime management configuration for a function's version. If the runtime update mode is Manual, this includes the ARN of the runtime version and the runtime update mode. If the runtime update mode is Auto or Function update, this includes the runtime update mode and null is returned for the ARN. For more information, see Runtime updates.

Parameters:

Name Type Description Default
request GetRuntimeManagementConfigInput | GetRuntimeManagementConfigInputDict | 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[GetRuntimeManagementConfigInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
GetRuntimeManagementConfigOutput

An instance of GetRuntimeManagementConfigOutput.

Input

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

GetRuntimeManagementConfigInputDict

Bases: TypedDict

Dictionary form of GetRuntimeManagementConfigInput.

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: str | None

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.

GetRuntimeManagementConfigInput dataclass

Bases: _SerdeShape

Dataclass for GetRuntimeManagementConfigInput 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 = ...

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.

Output

GetRuntimeManagementConfigOutput dataclass

Bases: _SerdeShape

Dataclass for GetRuntimeManagementConfigOutput structure.

Attributes

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

The Amazon Resource Name (ARN) of your function.

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.

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

The ARN of the runtime the function is configured to use. If the runtime update mode is Manual, the ARN is returned, otherwise null is returned.

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

The current runtime update mode of the function.