-
Notifications
You must be signed in to change notification settings - Fork 45
Open
Description
Hey all,
I tried using this library because I am looking for something better than the AWS Library.
I used to following code:
var ddb = require('dynamodb');
module App.Infrastructure.Storage.DynamoDB
{
export class DynamoDBRepository
{
public db;
constructor()
{
this.db = ddb.ddb({
accessKeyId: 'KEYID',
secretAccessKey: 'ACCESSKEY',
endpoint: 'dynamodb.us-east-2.amazonaws.com'
});
}
}
}However I got the following error after using this part on a request:
{
"code": "EAI_AGAIN",
"errno": "EAI_AGAIN",
"syscall": "getaddrinfo",
"hostname": "dynamodb.us-east-2.amazonaws.com",
"host": "dynamodb.us-east-2.amazonaws.com",
"port": 80
}Can somebody explain me what this means? I can't find anything online and have no idea what to do. I am afraid this lib is out of date?
Thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels