class_docstr: This handler handles connection and execution of the DynamoDB statements.
class_docstr_tok: ["This","handler","handles","connection","and","execution","of","the","DynamoDB","statements","."]
docstr: Close any existing connections.
docstr_tok: ["Close","any","existing","connections","."]
code: def disconnect(self):
      """
      Close any existing connections.
      """
  
      if self.is_connected is False:
          return
  
      self.connection.close()
      self.is_connected = False
      return self.is_connected
  
imports: from typing import Optional
  from collections import OrderedDict
  import pandas
  import boto3
  from boto3.dynamodb.types import TypeDeserializer
  from mindsdb_sql import parse_sql
  from mindsdb.integrations.libs.base import DatabaseHandler
  from mindsdb_sql.parser.ast.base import ASTNode
  from mindsdb.utilities import log
  from mindsdb.integrations.libs.response import HandlerStatusResponse, HandlerResponse, RESPONSE_TYPE
  from mindsdb.integrations.libs.const import HANDLER_CONNECTION_ARG_TYPE
label_desc: Use image node_id 3 for calling the DyanmoDBHandler obj's underlying member method code with example usage: obj.disconnect() and returns: self