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
1=== modified file 'aws/aws.go'
2--- aws/aws.go 2014-02-12 13:42:33 +0000
3+++ aws/aws.go 2014-07-08 15:46:03 +0000
4@@ -133,6 +133,19 @@
5 "https://iam.amazonaws.com",
6 }
7
8+var CNNorth = Region{
9+ "cn-north-1",
10+ "https://ec2.cn-north-1.amazonaws.com.cn",
11+ "https://s3.cn-north-1.amazonaws.com.cn",
12+ "",
13+ true,
14+ true,
15+ "https://sdb.cn-north-1.amazonaws.com.cn",
16+ "https://sns.cn-north-1.amazonaws.com.cn",
17+ "https://sqs.cn-north-1.amazonaws.com.cn",
18+ "https://iam.amazonaws.com.cn",
19+}
20+
21 var Regions = map[string]Region{
22 APNortheast.Name: APNortheast,
23 APSoutheast.Name: APSoutheast,
24@@ -142,6 +155,7 @@
25 USWest.Name: USWest,
26 USWest2.Name: USWest2,
27 SAEast.Name: SAEast,
28+ CNNorth.Name: CNNorth,
29 }
30
31 type Auth struct {

Subscribers

People subscribed via source and target branches