class_docstr: Create a new index on an OpenSearch cluster with a given index name.
  
  .. seealso::
      For more information on how to use this operator, take a look at the guide:
      :ref:`howto/operator:OpenSearchCreateIndexOperator`
  
  :param index_name: The name of the index to be created.
  :param index_body: A dictionary that defines index settings
  :param opensearch_conn_id: opensearch connection to use
docstr: Gets an instance of an OpenSearchHook.
docstr_tok: ["Gets","an","instance","of","an","OpenSearchHook","."]
code: def hook(self) -> OpenSearchHook:
      """Gets an instance of an OpenSearchHook."""
      return OpenSearchHook(
          open_search_conn_id=self.opensearch_conn_id, log_query=False
      )
  
imports: from __future__ import annotations
  from functools import cached_property
  from typing import TYPE_CHECKING, Any, Sequence
  from opensearchpy.exceptions import OpenSearchException
  from airflow.exceptions import AirflowException
  from airflow.models import BaseOperator
  from airflow.providers.opensearch.hooks.opensearch import OpenSearchHook
label_desc: Use image node_id 2 for calling the OpenSearchCreateIndexOperator obj's underlying member method code with example usage: obj.hook() and returns: OpenSearchHook