If you are using the AWS SDK V2, import the AWS
DynamoDB class and create a
AWS SDK V3
If you are using the AWS SDK V3, import the AWS V3
DynamoDBClient class and the OneTable
Dynamo helper. Then create a
DynamoDBClient instance and Dynamo wrapper instance. Note: you will need Node v14 or later for this to work.
Note: you can use the Table.setClient API to defer setting the client or replace the client at any time.