Jump to Content

Class ListFunctionsCommandProtected

Returns a list of Lambda functions, with the version-specific configuration of each. Lambda returns up to 50 functions per call.

Set FunctionVersion to ALL to include all published versions of each function in addition to the unpublished version.

The ListFunctions operation returns a subset of the FunctionConfiguration fields. To get the additional fields (State, StateReasonCode, StateReason, LastUpdateStatus, LastUpdateStatusReason, LastUpdateStatusReasonCode, RuntimeVersionConfig) for a function or version, use GetFunction.

Example

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

import { LambdaClient, ListFunctionsCommand } from "@aws-sdk/client-lambda"; // ES Modules import
// const { LambdaClient, ListFunctionsCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
const client = new LambdaClient(config);
const command = new ListFunctionsCommand(input);
const response = await client.send(command);

Param

ListFunctionsCommandInput

Returns

ListFunctionsCommandOutput

See

Throws

InvalidParameterValueException (client fault)

One of the parameters in the request is not valid.

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.

Hierarchy

Constructors

Properties

middlewareStack: MiddlewareStack<ListFunctionsCommandInput, ListFunctionsCommandOutput>

Methods