DynamoDB - with Serverless
An API Gateway integration request to DynamoDB uses this template:
What is the error in this template?
{
"TableName": "Users",
"Key": {
"UserId": { "S": "$input.params('userId')" }
},
"UpdateExpression": "set Age = :age",
"ExpressionAttributeValues": {
":age": { "N": "$input.params('age')" }
}
}What is the error in this template?
