'Returns ID of instance by instance name'

def get_file_system_id(self, name):

    info = first_or_default(iterate_all('FileSystems', self.connection.describe_file_systems, CreationToken=name))
    return ((info and info['FileSystemId']) or None)
