Retrieve a list containing every function.

Example

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

import { FunctionsClient, ListFunctionsCommand } from "@stedi/sdk-client-functions"; // ES Modules import
// const { FunctionsClient, ListFunctionsCommand } = require("@stedi/sdk-client-functions"); // CommonJS import
const client = new FunctionsClient(config);
const input = { // ListFunctionsInput
pageSize: Number("int"),
pageToken: "STRING_VALUE",
};
const command = new ListFunctionsCommand(input);
const response = await client.send(command);
// { // ListFunctionsOutput
// nextPageToken: "STRING_VALUE",
// items: [ // FunctionItems
// { // FunctionItem
// functionName: "STRING_VALUE", // required
// resourceDetail: { // ListResourcesDetail
// status: "AVAILABLE" || "UNDER_CHANGE" || "CHANGE_FAILED" || "ERROR" || "CREATE_FAILED", // required
// statusMessage: "STRING_VALUE",
// createdAt: new Date("TIMESTAMP"), // required
// },
// },
// ],
// };

Param

ListFunctionsCommandInput

Returns

ListFunctionsCommandOutput

See

Throws

InvalidZipFileException (client fault)

Throws

RequestTooLargeException (client fault)

Throws

TooManyRequestsException (client fault)

Throws

AccessDeniedException (client fault)

Throws

ProductUnavailableException (client fault)

Throws

ResourceAlreadyExistsException (client fault)

Throws

ResourceNotFoundException (client fault)

Throws

ResourceUnderChangeException (client fault)

Throws

ServiceException (server fault)

Throws

FunctionsServiceException

Base exception class for all service exceptions from Functions service.

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

Methods

  • Returns EndpointParameterInstructions