Hi@akhtar,
If you required to delete all the items, you may consider dropping and re-creating the DynamoDB table. This is the fastest & simplest method if all the items are to be deleted from the table, without spending time in scanning and deleting each item. You can use the below command from your AWS CLI.
$ aws dynamodb delete-table --table-name test_data