🎥 Make videos programmatically with React
docs updates
Jonny Burgerd520732b9507
diff --git a/packages/docs/docs/lambda/getfunctioninfo.md b/packages/docs/docs/lambda/getfunctioninfo.mdindex ce13bb52f9..d7c2e94d3f 100644--- a/packages/docs/docs/lambda/getfunctioninfo.md+++ b/packages/docs/docs/lambda/getfunctioninfo.md@@ -45,7 +45,8 @@ The name of the function.## Return value-A promise resolving to an object with the following properties:+If the function does not exist, an error is thrown by the AWS SDK.+If the function exists, promise resolving to an object with the following properties is returned:### `memorySizeInMb`diff --git a/packages/docs/docs/lambda/getfunctions.md b/packages/docs/docs/lambda/getfunctions.mdindex 9b67ab2835..38a9208ce5 100644--- a/packages/docs/docs/lambda/getfunctions.md+++ b/packages/docs/docs/lambda/getfunctions.md@@ -14,7 +14,9 @@ The parameter `compatibleOnly` determines whether only functions that are compatThe Lambda function is versioned and the version of the function must match the version of the `@remotion/lambda` package. So if you upgrade Remotion, you should deploy a new function or otherwise you might get an empty array from this function.:::-To get information about only a single function, use [`getFunctionInfo()`](/docs/lambda/getfunctioninfo)+To get information about only a single function, use [`getFunctionInfo()`](/docs/lambda/getfunctioninfo).++If you are sure that a function exists, you can also guess the name of it using [`speculateFunctionName()`](/docs/lambda/speculatefunctionname) and save an API call to Lambda.## Examplediff --git a/packages/docs/docs/lambda/speculateFunctionName.md b/packages/docs/docs/lambda/speculateFunctionName.mdindex 1dd601f5d0..37ee81fa27 100644--- a/packages/docs/docs/lambda/speculateFunctionName.md+++ b/packages/docs/docs/lambda/speculateFunctionName.md@@ -6,8 +6,14 @@ slug: /lambda/speculatefunctionnamecrumb: "Lambda API"---+_available from v3.3.67_+Speculate the name of the Lambda function that will be created by [deployFunction()](/docs/lambda/deployfunction) or its CLI equivalent, [`npx remotion lambda functions deploy`](/docs/lambda/cli/functions). This could be useful in cases when the configuration of the Lambda function is known in advance, and the name of the function is needed.+If you are not sure whether a function exists, use [`getFunctionInfo()`](/docs/lambda/getfunctioninfo) and catch the error that gets thrown if it does not exist.++If you want to get a list of deployed functions, use [`getFunctions()`](/docs/lambda/getfunctions) instead.+## Function name patternThe function name depends on the following parameters: