If you like to achieve that w/o writing specific scripts, for 1 time semi-manual (1 clicked for auto pagination deletion) and if you have permission to manage that from the was console.
you can use this Chrome Extension: https://chromewebstore.google.com/detail/dynamodb-auto-delete/oiicbadbamlhijkjildbhamionnbdaia?authuser=0&hl=en&pli=1