Protected
Retrieve a list containing every function.
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 importconst 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// },// },// ],// };
ListFunctionsCommandInput
ListFunctionsCommandOutput
input
response
config
InvalidZipFileException (client fault)
RequestTooLargeException (client fault)
TooManyRequestsException (client fault)
AccessDeniedException (client fault)
ProductUnavailableException (client fault)
ResourceAlreadyExistsException (client fault)
ResourceNotFoundException (client fault)
ResourceUnderChangeException (client fault)
ServiceException (server fault)
FunctionsServiceException
Base exception class for all service exceptions from Functions service.
Readonly
Static
Retrieve a list containing every function.
Example
Use a bare-bones client and the command you need to make an API call.
Param
ListFunctionsCommandInput
Returns
ListFunctionsCommandOutput
See
input
shape.response
shape.config
shape.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.