Skip to content

Commit

Permalink
Merge pull request boto#3654 from kyleknap/eu-west-2
Browse files Browse the repository at this point in the history
Add support for eu-west-2
  • Loading branch information
kyleknap authored Dec 14, 2016
2 parents 2fd130b + 82aa77a commit 40c68db
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 1 deletion.
4 changes: 3 additions & 1 deletion boto/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,9 @@
'.us-east-2',
'-us-east-2',
'-ca-central',
'.ca-central'
'.ca-central',
'.eu-west-2',
'-eu-west-2',
]


Expand Down
31 changes: 31 additions & 0 deletions boto/endpoints.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"cn-north-1": "autoscaling.cn-north-1.amazonaws.com.cn",
"eu-central-1": "autoscaling.eu-central-1.amazonaws.com",
"eu-west-1": "autoscaling.eu-west-1.amazonaws.com",
"eu-west-2": "autoscaling.eu-west-2.amazonaws.com",
"sa-east-1": "autoscaling.sa-east-1.amazonaws.com",
"us-east-1": "autoscaling.us-east-1.amazonaws.com",
"us-east-2": "autoscaling.us-east-2.amazonaws.com",
Expand Down Expand Up @@ -38,6 +39,7 @@
"cn-north-1": "cloudformation.cn-north-1.amazonaws.com.cn",
"eu-central-1": "cloudformation.eu-central-1.amazonaws.com",
"eu-west-1": "cloudformation.eu-west-1.amazonaws.com",
"eu-west-2": "cloudformation.eu-west-2.amazonaws.com",
"sa-east-1": "cloudformation.sa-east-1.amazonaws.com",
"us-east-1": "cloudformation.us-east-1.amazonaws.com",
"us-east-2": "cloudformation.us-east-2.amazonaws.com",
Expand All @@ -54,6 +56,7 @@
"ca-central-1": "cloudfront.amazonaws.com",
"eu-central-1": "cloudfront.amazonaws.com",
"eu-west-1": "cloudfront.amazonaws.com",
"eu-west-2": "cloudfront.amazonaws.com",
"sa-east-1": "cloudfront.amazonaws.com",
"us-east-1": "cloudfront.amazonaws.com",
"us-east-2": "cloudfront.amazonaws.com",
Expand Down Expand Up @@ -107,6 +110,7 @@
"cn-north-1": "cloudtrail.cn-north-1.amazonaws.com.cn",
"eu-central-1": "cloudtrail.eu-central-1.amazonaws.com",
"eu-west-1": "cloudtrail.eu-west-1.amazonaws.com",
"eu-west-2": "cloudtrail.eu-west-2.amazonaws.com",
"sa-east-1": "cloudtrail.sa-east-1.amazonaws.com",
"us-east-1": "cloudtrail.us-east-1.amazonaws.com",
"us-east-2": "cloudtrail.us-east-2.amazonaws.com",
Expand All @@ -124,6 +128,7 @@
"cn-north-1": "monitoring.cn-north-1.amazonaws.com.cn",
"eu-central-1": "monitoring.eu-central-1.amazonaws.com",
"eu-west-1": "monitoring.eu-west-1.amazonaws.com",
"eu-west-2": "monitoring.eu-west-2.amazonaws.com",
"sa-east-1": "monitoring.sa-east-1.amazonaws.com",
"us-east-1": "monitoring.us-east-1.amazonaws.com",
"us-east-2": "monitoring.us-east-2.amazonaws.com",
Expand All @@ -140,6 +145,7 @@
"ca-central-1": "codedeploy.ca-central-1.amazonaws.com",
"eu-central-1": "codedeploy.eu-central-1.amazonaws.com",
"eu-west-1": "codedeploy.eu-west-1.amazonaws.com",
"eu-west-2": "codedeploy.eu-west-2.amazonaws.com",
"sa-east-1": "codedeploy.sa-east-1.amazonaws.com",
"us-east-1": "codedeploy.us-east-1.amazonaws.com",
"us-east-2": "codedeploy.us-east-2.amazonaws.com",
Expand Down Expand Up @@ -172,6 +178,7 @@
"cn-north-1": "config.cn-north-1.amazonaws.com.cn",
"eu-central-1": "config.eu-central-1.amazonaws.com",
"eu-west-1": "config.eu-west-1.amazonaws.com",
"eu-west-2": "config.eu-west-2.amazonaws.com",
"sa-east-1": "config.sa-east-1.amazonaws.com",
"us-east-1": "config.us-east-1.amazonaws.com",
"us-east-2": "config.us-east-2.amazonaws.com",
Expand All @@ -196,6 +203,7 @@
"cn-north-1": "directconnect.cn-north-1.amazonaws.com.cn",
"eu-central-1": "directconnect.eu-central-1.amazonaws.com",
"eu-west-1": "directconnect.eu-west-1.amazonaws.com",
"eu-west-2": "directconnect.eu-west-2.amazonaws.com",
"sa-east-1": "directconnect.sa-east-1.amazonaws.com",
"us-east-1": "directconnect.us-east-1.amazonaws.com",
"us-east-2": "directconnect.us-east-2.amazonaws.com",
Expand All @@ -213,6 +221,7 @@
"cn-north-1": "dynamodb.cn-north-1.amazonaws.com.cn",
"eu-central-1": "dynamodb.eu-central-1.amazonaws.com",
"eu-west-1": "dynamodb.eu-west-1.amazonaws.com",
"eu-west-2": "dynamodb.eu-west-2.amazonaws.com",
"sa-east-1": "dynamodb.sa-east-1.amazonaws.com",
"us-east-1": "dynamodb.us-east-1.amazonaws.com",
"us-east-2": "dynamodb.us-east-2.amazonaws.com",
Expand All @@ -230,6 +239,7 @@
"cn-north-1": "ec2.cn-north-1.amazonaws.com.cn",
"eu-central-1": "ec2.eu-central-1.amazonaws.com",
"eu-west-1": "ec2.eu-west-1.amazonaws.com",
"eu-west-2": "ec2.eu-west-2.amazonaws.com",
"sa-east-1": "ec2.sa-east-1.amazonaws.com",
"us-east-1": "ec2.us-east-1.amazonaws.com",
"us-east-2": "ec2.us-east-2.amazonaws.com",
Expand All @@ -244,6 +254,7 @@
"ca-central-1": "ecs.ca-central-1.amazonaws.com",
"eu-central-1": "ecs.eu-central-1.amazonaws.com",
"eu-west-1": "ecs.eu-west-1.amazonaws.com",
"eu-west-2": "ecs.eu-west-2.amazonaws.com",
"us-east-1": "ecs.us-east-1.amazonaws.com",
"us-east-2": "ecs.us-east-2.amazonaws.com",
"us-west-1": "ecs.us-west-1.amazonaws.com",
Expand All @@ -259,6 +270,7 @@
"cn-north-1": "elasticache.cn-north-1.amazonaws.com.cn",
"eu-central-1": "elasticache.eu-central-1.amazonaws.com",
"eu-west-1": "elasticache.eu-west-1.amazonaws.com",
"eu-west-2": "elasticache.eu-west-2.amazonaws.com",
"sa-east-1": "elasticache.sa-east-1.amazonaws.com",
"us-east-1": "elasticache.us-east-1.amazonaws.com",
"us-east-2": "elasticache.us-east-2.amazonaws.com",
Expand All @@ -276,6 +288,7 @@
"cn-north-1": "elasticbeanstalk.cn-north-1.amazonaws.com.cn",
"eu-central-1": "elasticbeanstalk.eu-central-1.amazonaws.com",
"eu-west-1": "elasticbeanstalk.eu-west-1.amazonaws.com",
"eu-west-2": "elasticbeanstalk.eu-west-2.amazonaws.com",
"sa-east-1": "elasticbeanstalk.sa-east-1.amazonaws.com",
"us-east-1": "elasticbeanstalk.us-east-1.amazonaws.com",
"us-east-2": "elasticbeanstalk.us-east-2.amazonaws.com",
Expand All @@ -292,6 +305,7 @@
"cn-north-1": "elasticloadbalancing.cn-north-1.amazonaws.com.cn",
"eu-central-1": "elasticloadbalancing.eu-central-1.amazonaws.com",
"eu-west-1": "elasticloadbalancing.eu-west-1.amazonaws.com",
"eu-west-2": "elasticloadbalancing.eu-west-2.amazonaws.com",
"sa-east-1": "elasticloadbalancing.sa-east-1.amazonaws.com",
"us-east-1": "elasticloadbalancing.us-east-1.amazonaws.com",
"us-east-2": "elasticloadbalancing.us-east-2.amazonaws.com",
Expand All @@ -309,6 +323,7 @@
"cn-north-1": "elasticmapreduce.cn-north-1.amazonaws.com.cn",
"eu-central-1": "elasticmapreduce.eu-central-1.amazonaws.com",
"eu-west-1": "eu-west-1.elasticmapreduce.amazonaws.com",
"eu-west-2": "eu-west-2.elasticmapreduce.amazonaws.com",
"sa-east-1": "sa-east-1.elasticmapreduce.amazonaws.com",
"us-east-1": "elasticmapreduce.us-east-1.amazonaws.com",
"us-east-2": "us-east-2.elasticmapreduce.amazonaws.com",
Expand All @@ -335,6 +350,7 @@
"cn-north-1": "glacier.cn-north-1.amazonaws.com.cn",
"eu-central-1": "glacier.eu-central-1.amazonaws.com",
"eu-west-1": "glacier.eu-west-1.amazonaws.com",
"eu-west-2": "glacier.eu-west-2.amazonaws.com",
"us-east-1": "glacier.us-east-1.amazonaws.com",
"us-east-2": "glacier.us-east-2.amazonaws.com",
"us-gov-west-1": "glacier.us-gov-west-1.amazonaws.com",
Expand All @@ -351,6 +367,7 @@
"cn-north-1": "iam.cn-north-1.amazonaws.com.cn",
"eu-central-1": "iam.amazonaws.com",
"eu-west-1": "iam.amazonaws.com",
"eu-west-2": "iam.amazonaws.com",
"sa-east-1": "iam.amazonaws.com",
"us-east-1": "iam.amazonaws.com",
"us-east-2": "iam.amazonaws.com",
Expand All @@ -367,6 +384,7 @@
"ca-central-1": "importexport.amazonaws.com",
"eu-central-1": "importexport.amazonaws.com",
"eu-west-1": "importexport.amazonaws.com",
"eu-west-2": "importexport.amazonaws.com",
"sa-east-1": "importexport.amazonaws.com",
"us-east-1": "importexport.amazonaws.com",
"us-east-2": "importexport.amazonaws.com",
Expand All @@ -383,6 +401,7 @@
"cn-north-1": "kinesis.cn-north-1.amazonaws.com.cn",
"eu-central-1": "kinesis.eu-central-1.amazonaws.com",
"eu-west-1": "kinesis.eu-west-1.amazonaws.com",
"eu-west-2": "kinesis.eu-west-2.amazonaws.com",
"sa-east-1": "kinesis.sa-east-1.amazonaws.com",
"us-east-1": "kinesis.us-east-1.amazonaws.com",
"us-east-2": "kinesis.us-east-2.amazonaws.com",
Expand All @@ -398,6 +417,7 @@
"ca-central-1": "kms.ca-central-1.amazonaws.com",
"eu-central-1": "kms.eu-central-1.amazonaws.com",
"eu-west-1": "kms.eu-west-1.amazonaws.com",
"eu-west-2": "kms.eu-west-2.amazonaws.com",
"sa-east-1": "kms.sa-east-1.amazonaws.com",
"us-east-1": "kms.us-east-1.amazonaws.com",
"us-east-2": "kms.us-east-2.amazonaws.com",
Expand All @@ -415,6 +435,7 @@
"cn-north-1": "logs.cn-north-1.amazonaws.com.cn",
"eu-central-1": "logs.eu-central-1.amazonaws.com",
"eu-west-1": "logs.eu-west-1.amazonaws.com",
"eu-west-2": "logs.eu-west-2.amazonaws.com",
"sa-east-1": "logs.sa-east-1.amazonaws.com",
"us-east-1": "logs.us-east-1.amazonaws.com",
"us-east-2": "logs.us-east-2.amazonaws.com",
Expand All @@ -434,6 +455,7 @@
"ap-southeast-2": "opsworks.ap-southeast-2.amazonaws.com",
"eu-central-1": "opsworks.eu-central-1.amazonaws.com",
"eu-west-1": "opsworks.eu-west-1.amazonaws.com",
"eu-west-2": "opsworks.eu-west-2.amazonaws.com",
"sa-east-1": "opsworks.sa-east-1.amazonaws.com",
"us-east-1": "opsworks.us-east-1.amazonaws.com",
"us-east-2": "opsworks.us-east-2.amazonaws.com",
Expand All @@ -450,6 +472,7 @@
"cn-north-1": "rds.cn-north-1.amazonaws.com.cn",
"eu-central-1": "rds.eu-central-1.amazonaws.com",
"eu-west-1": "rds.eu-west-1.amazonaws.com",
"eu-west-2": "rds.eu-west-2.amazonaws.com",
"sa-east-1": "rds.sa-east-1.amazonaws.com",
"us-east-1": "rds.amazonaws.com",
"us-east-2": "rds.us-east-2.amazonaws.com",
Expand All @@ -467,6 +490,7 @@
"cn-north-1": "redshift.cn-north-1.amazonaws.com.cn",
"eu-central-1": "redshift.eu-central-1.amazonaws.com",
"eu-west-1": "redshift.eu-west-1.amazonaws.com",
"eu-west-2": "redshift.eu-west-2.amazonaws.com",
"sa-east-1": "redshift.sa-east-1.amazonaws.com",
"us-east-1": "redshift.us-east-1.amazonaws.com",
"us-east-2": "redshift.us-east-2.amazonaws.com",
Expand All @@ -483,6 +507,7 @@
"ca-central-1": "route53.amazonaws.com",
"eu-central-1": "route53.amazonaws.com",
"eu-west-1": "route53.amazonaws.com",
"eu-west-2": "route53.amazonaws.com",
"sa-east-1": "route53.amazonaws.com",
"us-east-1": "route53.amazonaws.com",
"us-east-2": "route53.amazonaws.com",
Expand All @@ -502,6 +527,7 @@
"cn-north-1": "s3.cn-north-1.amazonaws.com.cn",
"eu-central-1": "s3.eu-central-1.amazonaws.com",
"eu-west-1": "s3-eu-west-1.amazonaws.com",
"eu-west-2": "s3.eu-west-2.amazonaws.com",
"sa-east-1": "s3-sa-east-1.amazonaws.com",
"us-east-1": "s3.amazonaws.com",
"us-east-2": "s3.us-east-2.amazonaws.com",
Expand Down Expand Up @@ -534,6 +560,7 @@
"cn-north-1": "sns.cn-north-1.amazonaws.com.cn",
"eu-central-1": "sns.eu-central-1.amazonaws.com",
"eu-west-1": "sns.eu-west-1.amazonaws.com",
"eu-west-2": "sns.eu-west-2.amazonaws.com",
"sa-east-1": "sns.sa-east-1.amazonaws.com",
"us-east-1": "sns.us-east-1.amazonaws.com",
"us-east-2": "sns.us-east-2.amazonaws.com",
Expand All @@ -551,6 +578,7 @@
"cn-north-1": "cn-north-1.queue.amazonaws.com.cn",
"eu-central-1": "eu-central-1.queue.amazonaws.com",
"eu-west-1": "eu-west-1.queue.amazonaws.com",
"eu-west-2": "eu-west-2.queue.amazonaws.com",
"sa-east-1": "sa-east-1.queue.amazonaws.com",
"us-east-1": "queue.amazonaws.com",
"us-east-2": "us-east-2.queue.amazonaws.com",
Expand All @@ -567,6 +595,7 @@
"cn-north-1": "storagegateway.cn-north-1.amazonaws.com.cn",
"eu-central-1": "storagegateway.eu-central-1.amazonaws.com",
"eu-west-1": "storagegateway.eu-west-1.amazonaws.com",
"eu-west-2": "storagegateway.eu-west-2.amazonaws.com",
"sa-east-1": "storagegateway.sa-east-1.amazonaws.com",
"us-east-1": "storagegateway.us-east-1.amazonaws.com",
"us-east-2": "storagegateway.us-east-2.amazonaws.com",
Expand All @@ -583,6 +612,7 @@
"cn-north-1": "sts.cn-north-1.amazonaws.com.cn",
"eu-central-1": "sts.amazonaws.com",
"eu-west-1": "sts.amazonaws.com",
"eu-west-2": "sts.amazonaws.com",
"sa-east-1": "sts.amazonaws.com",
"us-east-1": "sts.amazonaws.com",
"us-east-2": "sts.amazonaws.com",
Expand All @@ -603,6 +633,7 @@
"cn-north-1": "swf.cn-north-1.amazonaws.com.cn",
"eu-central-1": "swf.eu-central-1.amazonaws.com",
"eu-west-1": "swf.eu-west-1.amazonaws.com",
"eu-west-2": "swf.eu-west-2.amazonaws.com",
"sa-east-1": "swf.sa-east-1.amazonaws.com",
"us-east-1": "swf.us-east-1.amazonaws.com",
"us-east-2": "swf.us-east-2.amazonaws.com",
Expand Down
1 change: 1 addition & 0 deletions scripts/rebuild-endpoints.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,7 @@ def main():
if args.overwrite:
with open(EXISTING_ENDPOINTS_FILE, 'w') as f:
f.write(json_data)
f.write('\n')
else:
print(json_data)

Expand Down
1 change: 1 addition & 0 deletions tests/unit/auth/test_sigv4.py
Original file line number Diff line number Diff line change
Expand Up @@ -560,6 +560,7 @@ def test_sigv4_non_optional(self):
'.ap-northeast-2', '-ap-northeast-2',
'.ap-south-1', '-ap-south-1',
'.us-east-2', '-us-east-2',
'.eu-west-2', '-eu-west-2',
]

# Create a connection for a sample region in each of these groups
Expand Down

0 comments on commit 40c68db

Please sign in to comment.