code: def all_record_sets(self):
          
          is_truncated = True
          start_record_name = None
          start_record_type = None
          kwargs = self.get_base_kwargs()
          while is_truncated:
              if start_record_name is not None:
                  kwargs.update({
                      'StartRecordName': start_record_name,
                      'StartRecordType': start_record_type
                  })
              result = self.get_record_sets(**kwargs)
              for record_set in result.get('ResourceRecordSets', []):
                  yield record_set
  
              is_truncated = result.get('IsTruncated', False)
  
              start_record_name = result.get('NextRecordName', None)
              start_record_type = result.get('NextRecordType', None)
docs: Generator to loop through current record set.
  
          Call next page if it exists.