process!

in lib/aws/session_store/dynamo_db/garbage_collection.rb [74:83]


    def process!(config, sub_batch)
      return if sub_batch.empty?
      opts = {}
      opts[:request_items] = {config.table_name => sub_batch}
      begin
        response = config.dynamo_db_client.batch_write_item(opts)
        opts[:request_items] = response[:unprocessed_items]
      end until opts[:request_items].empty?
    end