🎥 Make videos programmatically with React
Lambda Setup Guide: Import from `@remotion/lambda/client`
Jonny Burgercd437124fd5e
diff --git a/packages/docs/docs/lambda/setup.mdx b/packages/docs/docs/lambda/setup.mdxindex b5f469ac91..15a2637ceb 100644--- a/packages/docs/docs/lambda/setup.mdx+++ b/packages/docs/docs/lambda/setup.mdx@@ -217,7 +217,7 @@ Progress will be printed until the video finished rendering. Congrats! You rendeYou already have the function name from a previous step. But since you only need to deploy a function once, it's useful to retrieve the name of your deployed function programmatically before rendering a video in case your Node.JS program restarts. We can call [`getFunctions()`](/docs/lambda/getfunctions) with the `compatibleOnly` flag to get only functions with a matching version.```ts twoslash-import {getFunctions, renderMediaOnLambda, getRenderProgress} from '@remotion/lambda';+import {getFunctions, renderMediaOnLambda, getRenderProgress} from '@remotion/lambda/client';const functions = await getFunctions({region: 'us-east-1',@@ -230,7 +230,7 @@ const functionName = functions[0].functionName;We can now trigger a render using the [`renderMediaOnLambda()`](/docs/lambda/rendermediaonlambda) function.```ts twoslash-import {getFunctions, renderMediaOnLambda, getRenderProgress} from '@remotion/lambda';+import {getFunctions, renderMediaOnLambda, getRenderProgress} from '@remotion/lambda/client';const url = 'string';const functions = await getFunctions({