I am interested in receiving all the data located in my DynamoDB table and most efficiently clear the table afterwards.
I have seen how to delete an item and retrieve it concurrently in concurrency - DynamoDB - how to retrieve and delete (pop) an item?. I have also seen batch deletion in database - What is the recommended way to delete a large number of items from DynamoDB?.
Ideally I would like to concurrently clear the table and retrieve the data. Is there a better way to do this?