We value your privacy
This site uses cookies to improve your browsing experience, analyze site traffic, and show personalized content.
Paired with Xs3e…LZsg$44.8MAmazon xStock19.4K Holders| No holders yet. | ||||||||||
import { DynamoDBClient } from "@aws-sdk/client-dynamodb"; import { PutCommand, DynamoDBDocumentClient } from "@aws-sdk/lib-dynamodb"; const client = new DynamoDBClient({}); const docClient = DynamoDBDocumentClient.from(client); export const main = async () => { const command = new PutCommand({ TableName: "HappyAnimals", Item: { CommonName: "Shiba Inu", }, }); const response = await docClient.send(command); console.log(response); return response; };