'Return a list of objects for each domain defined in the
current account.
:rtype: list of :class:`boto.cloudsearch2.domain.Domain`'

def list_domains(self, domain_names=None):

    domain_data = self.layer1.describe_domains(domain_names)
    domain_data = domain_data['DescribeDomainsResponse']['DescribeDomainsResult']['DomainStatusList']
    return [Domain(self.layer1, data) for data in domain_data]
