DynamoDB - with Serverless
Given this Lambda function snippet, what will be the output if the item with id '123' exists in the DynamoDB table?
const AWS = require('aws-sdk');
const docClient = new AWS.DynamoDB.DocumentClient();
exports.handler = async (event) => {
const params = {
TableName: 'Users',
Key: { id: '123' }
};
const data = await docClient.get(params).promise();
return data.Item;
};