Skip to content

🎥 Make videos programmatically with React

functionName

Jonny Burger60267d350f69
diff --git a/packages/docs/docs/deletefunction.md b/packages/docs/docs/deletefunction.md
index 208ce92ec1..3b40db6baa 100644
--- a/packages/docs/docs/deletefunction.md
+++ b/packages/docs/docs/deletefunction.md
@@ -23,7 +23,7 @@ const functions = await getFunctions({
for (const fn of functions) {
await deleteFunction({
region: 'us-east-1',
- functionName: fn.name
+ functionName: fn.functionName
});
}
```
diff --git a/packages/docs/docs/lambda-changelog.md b/packages/docs/docs/lambda-changelog.md
index 5e06a3f0b1..1ad32cb8e2 100644
--- a/packages/docs/docs/lambda-changelog.md
+++ b/packages/docs/docs/lambda-changelog.md
@@ -16,6 +16,8 @@ Keep track of changes to the APIs of Remotion Lambda here.
## Unreleased
+- Node.JS API is now fully documented
+- Lambda function `name` was renamed to `functionName`
- Fix `remotion lambda policies validate` wrongly indicating that the `iam:GetUser` permission was not given
- `getDeployedLambdas()` was renamed to `getFunctions()`
- `getFunctionVersion()` was removed, use `getFunctionInfo()`
diff --git a/packages/docs/docs/lambda-setup.md b/packages/docs/docs/lambda-setup.md
index 1cbf0cb1b7..8c6ca5eeb5 100644
--- a/packages/docs/docs/lambda-setup.md
+++ b/packages/docs/docs/lambda-setup.md
@@ -228,7 +228,7 @@ const functions = await getFunctions({
compatibleOnly: true
})
-const functionName = functions[0].name
+const functionName = functions[0].functionName
```
We can now trigger a render using the [`renderVideoOnLambda()`](/docs/lambda/rendervideoonlambda) function.
@@ -244,7 +244,7 @@ const functions = await getFunctions({
compatibleOnly: true
})
-const functionName = functions[0].name
+const functionName = functions[0].functionName
// ---cut---
const {renderId, bucketName} = await renderVideoOnLambda({
@@ -272,7 +272,7 @@ const functions = await getFunctions({
compatibleOnly: true
})
-const functionName = functions[0].name
+const functionName = functions[0].functionName
const {renderId, bucketName} = await renderVideoOnLambda({
region: 'us-east-1',