VL
Size: a a a
VL
PE
SP
PE
PE
АК
PE
АК
PE
АК
Р
BC
module.exports.getCompaniesData = async(event, context, callback) => {
const AWS = require("aws-sdk")
const dynamodb = new AWS.DynamoDB.DocumentClient();
const params = {
TableName: 'companies',
Item:{
"id": 'sdsd',
"slug": 'dfjjkndnf'
}
};
dynamodb.put(params, function(err, data) {
if (err) {
console.error("Unable to add item. Error JSON:", JSON.stringify(err, null, 2));
} else {
console.log("Added item:", JSON.stringify(data, null, 2));
}
});
callback(null, 'test')
};
A
BC
A
BC
BC
KR
A
BC