Anuj
Anuj

Reputation: 1200

EU region not available when connecting SES using boto

I am trying to connect to EU region for SES using boto. But it is not showing the EU region in the region list.

boto.ses.regions()
[RegionInfo:us-east-1]

Upvotes: 3

Views: 646

Answers (1)

admirableadmin
admirableadmin

Reputation: 2759

SES in EU region is very new, so it takes a bit till boto is adjusted. In the meantime, you could create the connection yourself:

import boto.ses
from boto.regioninfo import RegionInfo
region = RegionInfo(None, "eu-west-1", "email.eu-west-1.amazonaws.com")
conn = boto.ses.SESConnection(region=region,aws_access_key_id='<key_id>', aws_secret_access_key='<secret_key>')

Upvotes: 4

Related Questions