Merge lp:~axwalk/goamz/aws-cnnorth1-endpoint into lp:goamz
Proposed by
Andrew Wilkins
Status: | Merged |
---|---|
Approved by: | Ian Booth |
Approved revision: | 48 |
Merged at revision: | 48 |
Proposed branch: | lp:~axwalk/goamz/aws-cnnorth1-endpoint |
Merge into: | lp:goamz |
Diff against target: |
31 lines (+14/-0) 1 file modified
aws/aws.go (+14/-0) |
To merge this branch: | bzr merge lp:~axwalk/goamz/aws-cnnorth1-endpoint |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
goamz maintainers | Pending | ||
Review via email: mp+225995@code.launchpad.net |
Commit message
aws: add cn-north-1 region
Description of the change
aws: add cn-north-1 region
To post a comment you must log in.
Reviewers: mp+225995_ code.launchpad. net,
Message:
Please take a look.
Description:
aws: add cn-north-1 region
https:/ /code.launchpad .net/~axwalk/ goamz/aws- cnnorth1- endpoint/ +merge/ 225995
(do not edit description out of merge proposal)
Please review this at https:/ /codereview. appspot. com/106490043/
Affected files (+16, -0 lines):
A [revision details]
M aws/aws.go
Index: [revision details]
=== added file '[revision details]'
--- [revision details] 2012-01-01 00:00:00 +0000
+++ [revision details] 2012-01-01 00:00:00 +0000
@@ -0,0 +1,2 @@
+Old revision: <email address hidden>
+New revision: <email address hidden>
Index: aws/aws.go /iam.amazonaws. com",
=== modified file 'aws/aws.go'
--- aws/aws.go 2014-02-12 13:42:33 +0000
+++ aws/aws.go 2014-07-08 15:42:26 +0000
@@ -133,6 +133,19 @@
"https:/
}
+var CNNorth = Region{ /ec2.cn- north-1. amazonaws. com.cn", /s3.cn- north-1. amazonaws. com.cn", /sdb.cn- north-1. amazonaws. com.cn", /sns.cn- north-1. amazonaws. com.cn", /sqs.cn- north-1. amazonaws. com.cn", /iam.amazonaws. com.cn", Name: APNortheast, Name: APSoutheast,
+ "cn-north-1",
+ "https:/
+ "https:/
+ "",
+ true,
+ true,
+ "https:/
+ "https:/
+ "https:/
+ "https:/
+}
+
var Regions = map[string]Region{
APNortheast.
APSoutheast.
@@ -142,6 +155,7 @@
USWest.Name: USWest,
USWest2.Name: USWest2,
SAEast.Name: SAEast,
+ CNNorth.Name: CNNorth,
}
type Auth struct {