Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "version": "2017-02-28",
- "operation": "PutItem",
- "key": {
- "id": $util.dynamodb.toDynamoDBJson($util.autoId()),
- },
- "attributeValues": $util.dynamodb.toMapValuesJson($context.arguments.input),
- "condition": {
- "expression": "attribute_not_exists(#id)",
- "expressionNames": {
- "#id": "id",
- },
- },
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement