Jump to Content

This API Documentation is now deprecated

We are excited to announce our new API Documentation.

Class GetRuntimeManagementConfigCommandProtected

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.

Example

Use a bare-bones client and the command you need to make an API call.

import { LambdaClient, GetRuntimeManagementConfigCommand } from "@aws-sdk/client-lambda"; // ES Modules import
// const { LambdaClient, GetRuntimeManagementConfigCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
const client = new LambdaClient(config);
const input = { // GetRuntimeManagementConfigRequest
FunctionName: "STRING_VALUE", // required
Qualifier: "STRING_VALUE",
};
const command = new GetRuntimeManagementConfigCommand(input);
const response = await client.send(command);
// { // GetRuntimeManagementConfigResponse
// UpdateRuntimeOn: "Auto" || "Manual" || "FunctionUpdate",
// RuntimeVersionArn: "STRING_VALUE",
// FunctionArn: "STRING_VALUE",
// };

Param

GetRuntimeManagementConfigCommandInput

Returns

GetRuntimeManagementConfigCommandOutput

See

Throws

InvalidParameterValueException (client fault)

One of the parameters in the request is not valid.

Throws

ResourceNotFoundException (client fault)

The resource specified in the request does not exist.

Throws

ServiceException (server fault)

The Lambda service encountered an internal error.

Throws

TooManyRequestsException (client fault)

The request throughput limit was exceeded. For more information, see Lambda quotas.

Throws

LambdaServiceException

Base exception class for all service exceptions from Lambda service.

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

Methods