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
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

To post a comment you must log in.
Revision history for this message
Andrew Wilkins (axwalk) wrote :

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
=== 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://iam.amazonaws.com",
  }

+var CNNorth = Region{
+ "cn-north-1",
+ "https://ec2.cn-north-1.amazonaws.com.cn",
+ "https://s3.cn-north-1.amazonaws.com.cn",
+ "",
+ true,
+ true,
+ "https://sdb.cn-north-1.amazonaws.com.cn",
+ "https://sns.cn-north-1.amazonaws.com.cn",
+ "https://sqs.cn-north-1.amazonaws.com.cn",
+ "https://iam.amazonaws.com.cn",
+}
+
  var Regions = map[string]Region{
   APNortheast.Name: APNortheast,
   APSoutheast.Name: APSoutheast,
@@ -142,6 +155,7 @@
   USWest.Name: USWest,
   USWest2.Name: USWest2,
   SAEast.Name: SAEast,
+ CNNorth.Name: CNNorth,
  }

  type Auth struct {

Revision history for this message
Ian Booth (wallyworld) wrote :

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'aws/aws.go'
--- aws/aws.go 2014-02-12 13:42:33 +0000
+++ aws/aws.go 2014-07-08 15:46:03 +0000
@@ -133,6 +133,19 @@
133 "https://iam.amazonaws.com",133 "https://iam.amazonaws.com",
134}134}
135135
136var CNNorth = Region{
137 "cn-north-1",
138 "https://ec2.cn-north-1.amazonaws.com.cn",
139 "https://s3.cn-north-1.amazonaws.com.cn",
140 "",
141 true,
142 true,
143 "https://sdb.cn-north-1.amazonaws.com.cn",
144 "https://sns.cn-north-1.amazonaws.com.cn",
145 "https://sqs.cn-north-1.amazonaws.com.cn",
146 "https://iam.amazonaws.com.cn",
147}
148
136var Regions = map[string]Region{149var Regions = map[string]Region{
137 APNortheast.Name: APNortheast,150 APNortheast.Name: APNortheast,
138 APSoutheast.Name: APSoutheast,151 APSoutheast.Name: APSoutheast,
@@ -142,6 +155,7 @@
142 USWest.Name: USWest,155 USWest.Name: USWest,
143 USWest2.Name: USWest2,156 USWest2.Name: USWest2,
144 SAEast.Name: SAEast,157 SAEast.Name: SAEast,
158 CNNorth.Name: CNNorth,
145}159}
146160
147type Auth struct {161type Auth struct {

Subscribers

People subscribed via source and target branches