I am having some trouble getting all items from a DynamoDB table. I am following the example from the AWS GitHub repo. Here is the code I have
import {APIGatewayProxyEventV2, APIGatewayProxyResultV2} from 'aws-lambda';
import {DynamoDB} from 'aws-sdk'
const dynamoClient = new DynamoDB.DocumentClient();
export async function main(
event: APIGatewayProxyEventV2,
): Promise<APIGatewayProxyResultV2> {
console.log('event