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.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!