class_docstr: This handler handles connection and execution of the Amazon Aurora statements.
class_docstr_tok: ["This","handler","handles","connection","and","execution","of","the","Amazon","Aurora","statements","."]
docstr: Initialize the handler.
  Args:
      name (str): name of particular handler instance
      connection_data (dict): parameters for connecting to the database
      **kwargs: arbitrary keyword arguments.
docstr_tok: ["Initialize","the","handler",".","Args",":","name","(","str",")",":","name","of","particular","handler","instance","connection_data","(","dict",")",":","parameters","for","connecting","to","the","database","*","*","kwargs",":","arbitrary","keyword","arguments","."]
code: def __init__(
      self, name: str, connection_data: Optional[dict], **kwargs
  ):
      """
      Initialize the handler.
      Args:
          name (str): name of particular handler instance
          connection_data (dict): parameters for connecting to the database
          **kwargs: arbitrary keyword arguments.
      """
      super().__init__(name)
  
      self.dialect = "aurora"
      self.connection_data = connection_data
      self.kwargs = kwargs
  
      database_engine = ""
      if "db_engine" not in self.connection_data:
          database_engine = self.get_database_engine()
  
      if (
          self.connection_data["db_engine"] == "mysql"
          or database_engine == "aurora"
      ):
          self.db = MySQLHandler(
              name=name + "mysql", connection_data=self.connection_data
          )
      elif (
          self.connection_data["db_engine"] == "postgresql"
          or database_engine == "aurora-postgresql"
      ):
          self.db = PostgresHandler(
              name=name + "postgresql",
              connection_data={
                  key: self.connection_data[key]
                  for key in self.connection_data
                  if key != "db_engine"
              },
          )
      else:
          raise Exception(
              "The database engine should be either MySQL or PostgreSQL!"
          )
  
imports: from typing import Optional
  from collections import OrderedDict
  import boto3
  from mindsdb_sql.parser.ast.base import ASTNode
  from mindsdb.utilities import log
  from mindsdb.integrations.libs.base import DatabaseHandler
  from mindsdb.integrations.libs.response import HandlerStatusResponse
  from mindsdb.integrations.libs.const import HANDLER_CONNECTION_ARG_TYPE
  from mindsdb.integrations.handlers.mysql_handler.mysql_handler import MySQLHandler
  from mindsdb.integrations.handlers.postgres_handler.postgres_handler import PostgresHandler
label_desc: Use image node_id 1 to create a new AuroraHandler object from inherited base classes: DatabaseHandler with example: obj = AuroraHandler(name, connection_data)