def list(connection):
volumes = get_watched_volumes(connection)<EOL>if not volumes:<EOL><INDENT>logger.info('<STR_LIT>')<EOL>return<EOL><DEDENT>logger.info(<EOL>'<STR_LIT>'<EOL>'<STR_LIT>'<EOL>'<STR_LIT>'<EOL>'<STR_LIT>')<EOL>logger.info(<EOL>'<STR_LIT>'<EOL>'<STR_LIT>'<EOL>'<STR_LIT>'<EOL>'<STR_LIT>'.format(<EOL>volume='<STR_LIT>',<EOL>volume_name='<STR_LIT>',<EOL>interval='<STR_LIT>',<EOL>retention='<STR_LIT>'))<EOL>logger.info(<EOL>'<STR_LIT>'<EOL>'<STR_LIT>'<EOL>'<STR_LIT>'<EOL>'<STR_LIT>')<EOL>for volume in volumes:<EOL><INDENT>if '<STR_LIT>' not in volume.tags:<EOL><INDENT>interval = '<STR_LIT>'<EOL><DEDENT>elif volume.tags['<STR_LIT>'] not in VALID_INTERVALS:<EOL><INDENT>interval = '<STR_LIT>'<EOL><DEDENT>else:<EOL><INDENT>interval = volume.tags['<STR_LIT>']<EOL><DEDENT>if '<STR_LIT>' not in volume.tags:<EOL><INDENT>retention = <NUM_LIT:0><EOL><DEDENT>else:<EOL><INDENT>retention = volume.tags['<STR_LIT>']<EOL><DEDENT>try:<EOL><INDENT>volume_name = volume.tags['<STR_LIT:Name>']<EOL><DEDENT>except KeyError:<EOL><INDENT>volume_name = '<STR_LIT>'<EOL><DEDENT>logger.info(<EOL>'<STR_LIT>'<EOL>'<STR_LIT>'<EOL>'<STR_LIT>'<EOL>'<STR_LIT>'.format(<EOL>volume_id=volume.id,<EOL>volume_name=volume_name,<EOL>interval=interval,<EOL>retention=retention))<EOL><DEDENT>logger.info(<EOL>'<STR_LIT>'<EOL>'<STR_LIT>'<EOL>'<STR_LIT>'<EOL>'<STR_LIT>')<EOL>
List watched EBS volumes

    :type connection: boto.ec2.connection.EC2Connection
    :param connection: EC2 connection object
    :returns: None