Using Simple Savant with another region...

Feb 25, 2010 at 7:46 AM

Hi,

Is it possible to use Simple Savant with a different region of SimpleDB

I can't find anywhere to configure a service endpoint?

Coordinator
Feb 25, 2010 at 12:06 PM

Savant is built on the AWS SDK which allows advanced configuration options for connecting to SimpleDB. The Savant configuration object covers only Savant-specific things. Here's how you would configure a diffferent endpoint:

var savantConfig = new SavantConfig();
var simpleDbConfig = new AmazonSimpleDBConfig
{
	ServiceURL = "https://sdb.us-west-1.amazonaws.com"
};
var simpleDb = new AmazonSimpleDBClient(awsAccessKeyId, awsSecretAccessKey, simpleDbConfig);
SimpleSavant savant = new SimpleSavant(simpleDb, savantConfig);