I'm trying to update an item attribute in a DynamoDb table with AppSync. Once successful i want to use the previous value of that attribute as the key in my next call (I'm using pipeline resolvers).
To achieve this with DynamoDB you just set UPDATED_OLD as the return value.
I cannot find any documentation for specifying the return value of a DynamoDB resolver for AppSync. Ive tried the following.
I'm trying to update an item attribute in a DynamoDb table with AppSync. Once successful i want to use the previous value of that attribute as the key in my next call (I'm using pipeline resolvers).
To achieve this with DynamoDB you just set UPDATED_OLD as the return value.
I cannot find any documentation for specifying the return value of a DynamoDB resolver for AppSync. Ive tried the following.
But its not valid syntax.
"message": "Unsupported element '$[returnValues]'."