code: def get_bucket_file_list(self):
          
          logger.debug("Retrieving bucket object list")
  
          paginator = self.s3_client.get_paginator('list_objects')
          options = {
              'Bucket': self.aws_bucket_name
          }
          if self.aws_bucket_prefix:
              logger.debug("Adding prefix {} to bucket list as a filter".format(self.aws_bucket_prefix))
              options['Prefix'] = self.aws_bucket_prefix
          page_iterator = paginator.paginate(**options)
  
          obj_dict = {}
          for page in page_iterator:
              obj_dict.update(get_bucket_page(page))
  
          return obj_dict
docs: Little utility method that handles pagination and returns
          all objects in given bucket.