code: def describe(DomainName,
               region=None, key=None, keyid=None, profile=None):
      '''
      Given a domain name describe its properties.
  
      Returns a dictionary of interesting properties.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt myminion boto_elasticsearch_domain.describe mydomain
  
      '''
  
      conn = _get_conn(region=region, key=key, keyid=keyid, profile=profile)
      try:
          domain = conn.describe_elasticsearch_domain_config(DomainName=DomainName)
          if domain and 'DomainConfig' in domain:
              domain = domain['DomainConfig']
              keys = ('ElasticsearchClusterConfig', 'EBSOptions', 'AccessPolicies',
                      'SnapshotOptions', 'AdvancedOptions')
              return {'domain': dict([(k, domain.get(k, {}).get('Options')) for k in keys if k in domain])}
          else:
              return {'domain': None}
      except ClientError as e:
          return {'error': __utils__['boto3.get_error'](e)f describe(DomainName,
               region=None, key=None, keyid=None, profile=None):
      '''
      Given a domain name describe its properties.
  
      Returns a dictionary of interesting properties.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt myminion boto_elasticsearch_domain.describe mydomain
  
      '''
  
      conn = _get_conn(region=region, key=key, keyid=keyid, profile=profile)
      try:
          domain = conn.describe_elasticsearch_domain_config(DomainName=DomainName)
          if domain and 'DomainConfig' in domain:
              domain = domain['DomainConfig']
              keys = ('ElasticsearchClusterConfig', 'EBSOptions', 'AccessPolicies',
                      'SnapshotOptions', 'AdvancedOptions')
              return {'domain': dict([(k, domain.get(k, {}).get('Options')) for k in keys if k in domain])}
          else:
              return {'domain': None}
      except ClientError as e:
          return {'error': __utils__['boto3.get_error'](e)}
docs: Given a domain name describe its properties.
  
      Returns a dictionary of interesting properties.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt myminion boto_elasticsearch_domain.describe mydomain