Skip Menu |

This queue is for tickets about the Amazon-SimpleDB CPAN distribution.

Report information
The Basics
Id: 50638
Status: new
Priority: 0/
Queue: Amazon-SimpleDB

People
Owner: Nobody in particular
Requestors: mengwong [...] pobox.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.03
Fixed in: (no value)



Subject: patch: add support for EU endpoint
this patch allows use of the Europe endpoint described at http://docs.amazonwebservices.com/AmazonSimpleDB/2009-04-15/DeveloperGuide/index.html?Endpoints.html there are two ways to override the default US endpoint. you can set an environment variable 20091019-15:14:53 mengwong@cny:~% SIMPLEDB_ENDPOINT=http://sdb.eu-west-1.amazonaws.com/ perl -MYAML -MAmazon::SimpleDB -le 'my $sdb = Amazon::SimpleDB->new({aws_access_key_id=>"xxx", aws_secret_access_key=>"yyy"}); print Dump $_->content for $sdb->domains' --- ListDomainsResponse: ListDomainsResult: DomainName: - direct-test ResponseMetadata: BoxUsage: 0.0000071759 RequestId: 228f8d2c-1748-31ef-20d6-775dd6241b22 xmlns: http://sdb.amazonaws.com/doc/2007-11-07/ or you can specify it in the new(). 20091019-15:15:28 mengwong@cny:~% perl -MYAML -MAmazon::SimpleDB -le 'my $sdb = Amazon::SimpleDB->new({endpoint=>"http://sdb.eu-west-1.amazonaws.com/", aws_access_key_id=>"xxx", aws_secret_access_key=>"yyy"}); print Dump $_->content for $sdb->domains' --- ListDomainsResponse: ListDomainsResult: DomainName: - direct-test ResponseMetadata: BoxUsage: 0.0000071759 RequestId: 24763566-1db0-b7bf-9ee3-9ee0c72b7831 xmlns: http://sdb.amazonaws.com/doc/2007-11-07/ cheers pause: freeside email: mengwong@pobox.com name: Meng Weng Wong
Subject: simpledb-support-eu.patch