Need to remove a list item from a DynamoDb database in a react app using its index.
Going by the example in https://docs.aws.amazon.com/amazondynamodb/latest/develope