1- import { DynamoDB , ListTablesCommandInput , ListTablesCommandOutput } from "@aws-sdk/client-dynamodb" ;
2- import { InvokeCommandInput , InvokeCommandOutput , Lambda } from "@aws-sdk/client-lambda" ;
3- import { GetCallerIdentityCommandInput , GetCallerIdentityCommandOutput , STS } from "@aws-sdk/client-sts" ;
1+ import { ListTablesCommandInput , ListTablesCommandOutput } from "@aws-sdk/client-dynamodb" ;
2+ import { InvokeCommandInput , InvokeCommandOutput } from "@aws-sdk/client-lambda" ;
3+ import { GetCallerIdentityCommandInput , GetCallerIdentityCommandOutput } from "@aws-sdk/client-sts" ;
44
5- const ddbClient = new DynamoDB ( ) ;
65const listTablesInput : ListTablesCommandInput = { Limit : 10 } ;
7- const listTablesOutput : ListTablesCommandOutput = await ddbClient
8- . listTables ( listTablesInput ) ;
6+ const listTablesOutput : ListTablesCommandOutput = { } ;
97
10- const stsClient = new STS ( ) ;
118const getCallerIdentityInput : GetCallerIdentityCommandInput = { } ;
12- const getCallerIdentityOutput : GetCallerIdentityCommandOutput = await stsClient
13- . getCallerIdentity ( getCallerIdentityInput ) ;
9+ const getCallerIdentityOutput : GetCallerIdentityCommandOutput = { } ;
1410
15- const lambdaClient = new Lambda ( ) ;
1611const invokeInput : InvokeCommandInput = { FunctionName : "my-function" } ;
17- const invokeOutput : InvokeCommandOutput = await lambdaClient
18- . invoke ( invokeInput ) ;
12+ const invokeOutput : InvokeCommandOutput = { } ;
0 commit comments