def get_bucket_file_list(self):
logger.debug("<STR_LIT>")<EOL>paginator = self.s3_client.get_paginator('<STR_LIT>')<EOL>options = {<EOL>'<STR_LIT>': self.aws_bucket_name<EOL>}<EOL>if self.aws_bucket_prefix:<EOL><INDENT>logger.debug("<STR_LIT>".format(self.aws_bucket_prefix))<EOL>options['<STR_LIT>'] = self.aws_bucket_prefix<EOL><DEDENT>page_iterator = paginator.paginate(**options)<EOL>obj_dict = {}<EOL>for page in page_iterator:<EOL><INDENT>obj_dict.update(get_bucket_page(page))<EOL><DEDENT>return obj_dict<EOL>
Little utility method that handles pagination and returns
all objects in given bucket.