Prerequisites
Before proceeding, ensure the following prerequisites are met:- Install MindsDB locally via Docker or use MindsDB Cloud.
- To connect Amazon DynamoDB to MindsDB, install the required dependencies following this instruction.
- Install or ensure access to Amazon DynamoDB.
Implementation
This handler is implemented usingboto3
, the AWS SDK for Python.
The required arguments to establish a connection are as follows:
aws_access_key_id
is the AWS access key.aws_secret_access_key
is the AWS secret access key.region_name
is the AWS region.
Usage
In order to make use of this handler and connect to the DynamoDB database in MindsDB, the following syntax can be used:Queries to DynamoDB can be issued in PartiQL using this handler.