title: Delete items from DynamoDB by type
body: <p>I have a DynamoDB table with a <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/TTL.html" rel="nofollow noreferrer">TTL</a> set on one of the attributes. However when I started ingesting data into the table I accidentally was entering the attribute as a string instead of an integer. This is ignored by the TTL and my records were never being deleted.</p>
  
  <p>After a while I noticed my error and updated the code and the table ceased growing in size as records were being removed as designed. However I still have a few hundred thousand records in the table with the string TTL.</p>
  
  <p>What is the best way for me to delete these records?</p>