 It seems that --elasticsearch-version is not use.
article_path = '{}/{}/employee/{}?pretty'.format(self.es_url, TEST_INDEX, id)
        resp = requests.put(
            article_path,
            data=json.dumps(document),
            headers=COMMON_HEADERS)
        
        time.sleep(1)
        return resp
    @classmethod
    def _delete_document(self, id):
        article_path = '{}/{}/employee/{}?pretty'.format(self.es_url, TEST_INDEX, id)
        resp = requests.delete(article_path, headers=COMMON_HEADERS)
        
        time.sleep(1)
        return resp
    @classmethod
    def _create_domain(cls):
        es_client = aws_stack.connect_to_service('es')
        es_client.create_elasticsearch_domain(DomainName=TEST_DOMAIN_NAME)
        assert_in(TEST_DOMAIN_NAME,
            [d['DomainName'] for d in es_client.list_domain_names()['DomainNames']])