def METHOD_NAME(self, prefix: Optional[str] = None) -> List[str]:
    if prefix is None:
        prefix = ''
    if self.prefix:
        prefix = f'{self.prefix}{prefix}'
    paginator = self.client.get_paginator('list_objects_v2')
    pages = paginator.paginate(Bucket=self.bucket, Prefix=prefix)
    try:
        return [obj['Key'] for page in pages for obj in page['Contents']]
    except KeyError:
        return []