🎥 Make videos programmatically with React
fine tune docs
Jonny Burger4acc6aaf5d32
diff --git a/packages/docs/docs/lambda/getawsclient.md b/packages/docs/docs/lambda/getawsclient.mdindex c07d3589cc..8f100b5960 100644--- a/packages/docs/docs/lambda/getawsclient.md+++ b/packages/docs/docs/lambda/getawsclient.md@@ -45,7 +45,7 @@ An object with two mandatory parameters:### `region`-One of the [supported regions](/docs/lambda/region-selection) of Remotion Lambda, for which the client should be instantiated+One of the [supported regions](/docs/lambda/region-selection) of Remotion Lambda, for which the client should be instantiated.### `service`@@ -74,5 +74,5 @@ The full SDK JavaScript module for the service you specified.- For `lambda`: The [`@aws-sdk/client-lambda`](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/index.html#aws-sdkclient-lambda) package:::note-You don't need to create a new client from the SDK and instead reuse the `client` that is also returned and being used by Remotion, in order to save memory.+You don't need to create a new client from the SDK and should instead reuse the `client` that is also returned and being used by Remotion, in order to save memory.:::diff --git a/packages/docs/docs/lambda/getrenderprogress.md b/packages/docs/docs/lambda/getrenderprogress.mdindex 16285ffaf1..e3f2447d00 100644--- a/packages/docs/docs/lambda/getrenderprogress.md+++ b/packages/docs/docs/lambda/getrenderprogress.md@@ -90,7 +90,7 @@ Which bucket the render and other artifacts get saved.### `outKey`-`null` if the video is not yet rendered, a `string` containi ng the S3 key where the final artifact is stored.+`null` if the video is not yet rendered, a `string` containing the S3 key where the final artifact is stored.### `timeToFinish`diff --git a/packages/docs/docs/lambda/presignurl.md b/packages/docs/docs/lambda/presignurl.mdindex 6bc4cb1101..64bc326c1c 100644--- a/packages/docs/docs/lambda/presignurl.md+++ b/packages/docs/docs/lambda/presignurl.md@@ -3,7 +3,7 @@ id: presignurltitle: presignUrl()----Returns a presigned url for public access of an object stored in Remotion's S3 bucket.+Takes a private S3 object and turns it into a public URL by signing with your AWS credentials.## Example@@ -16,8 +16,8 @@ const url = await presignUrl({region: "us-east-1",bucketName: "remotionlambda-c7fsl3d",objectKey: "assets/sample.png",- checkIfObjectExists: true,expiresInSeconds: 900,+ checkIfObjectExists: true,});console.log(url); // `null` if object doesn't exist@@ -39,14 +39,19 @@ The bucket where the asset exists. The bucket must have been created by RemotionThey key that uniquely identifies the object stored in the bucket.+### `expiresInSeconds`++The number of seconds before the presigned URL expires.+Must be an integer and `>=1` and `<=604800` (maximum of 7 days as enforced by AWS)+### `checkIfObjectExists`-Whether the function should check if the object exists in the bucket before generating the presigned url. Default false.+Whether the function should check if the object exists in the bucket before generating the presigned url. Default `false`.-### `expiresInSeconds`+If the object does not exist and `checkIfObjectExists` is:-The number of seconds before the presigned URL expires.-Must be an integer and `>=1` and `<=604800` (maximum of 7 days)+- `true`, then `null` is returned+- `false`, then an exception is thrown## See also