Skip to content

🎥 Make videos programmatically with React

Update aws-clients.ts

Jonny Burger4fe6e8638b7f
diff --git a/packages/lambda/src/shared/__mocks__/aws-clients.ts b/packages/lambda/src/shared/__mocks__/aws-clients.ts
index 96a62b86c6..a1eb4ae593 100644
--- a/packages/lambda/src/shared/__mocks__/aws-clients.ts
+++ b/packages/lambda/src/shared/__mocks__/aws-clients.ts
@@ -1,4 +1,7 @@
-import type {InvokeCommand, LambdaClient} from '@aws-sdk/client-lambda';
+import type {
+ InvokeWithResponseStreamCommandInput,
+ LambdaClient,
+} from '@aws-sdk/client-lambda';
import type {getLambdaClient as original} from '../../shared/aws-clients';
export const getLambdaClient: typeof original = () => {
@@ -11,7 +14,7 @@ export const getLambdaClient: typeof original = () => {
middlewareStack: undefined,
send: async (params: {
FunctionName: undefined;
- Payload: InvokeCommand;
+ Payload: InvokeWithResponseStreamCommandInput;
InvocationType: 'Event';
}) => {
// @ts-expect-error