Home

AWS SDK 3 use in linqpad


Can't connect to AWS

any ideas?

void Main()
{
var awsKey = Util.GetPassword("awsKey");
var awsSecret = Util.GetPassword("awsSecret");
var config = new AmazonDynamoDBConfig { ServiceURL = "http://localhost:8000" };
AWSCredentials credentials = new BasicAWSCredentials(awsKey, awsSecret);
AmazonDynamoDBClient client = new AmazonDynamoDBClient(credentials, config);
{
var tables = client.ListTables();
foreach (string tableName in tables.TableNames) { tableName.Dump();}
}
}

Comments

Sign In or Register to comment.