From 443daf1ed0a56eee548f348738074c6023b2318e Mon Sep 17 00:00:00 2001 From: Stefan Reitshamer Date: Wed, 12 Dec 2012 10:55:38 -0500 Subject: [PATCH] added Sydney region --- s3/S3Region.h | 1 + s3/S3Region.m | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/s3/S3Region.h b/s3/S3Region.h index ed2a58d..91fb092 100644 --- a/s3/S3Region.h +++ b/s3/S3Region.h @@ -25,6 +25,7 @@ + (S3Region *)usWestOregon; + (S3Region *)euIreland; + (S3Region *)asiaPacificSingapore; ++ (S3Region *)asiaPacificSydney; + (S3Region *)asiaPacificTokyo; + (S3Region *)southAmericaSaoPaulo; diff --git a/s3/S3Region.m b/s3/S3Region.m index 90d2c04..5aa2121 100644 --- a/s3/S3Region.m +++ b/s3/S3Region.m @@ -27,6 +27,7 @@ [ret addObject:[S3Region usWestOregon]]; [ret addObject:[S3Region euIreland]]; [ret addObject:[S3Region asiaPacificSingapore]]; + [ret addObject:[S3Region asiaPacificSydney]]; [ret addObject:[S3Region asiaPacificTokyo]]; [ret addObject:[S3Region southAmericaSaoPaulo]]; return ret; @@ -84,6 +85,15 @@ dollarsPerGBMonthStandard:.125 dollarsPerGBMonthRRS:.093] autorelease]; } ++ (S3Region *)asiaPacificSydney { + return [[[S3Region alloc] initWithBucketNameSuffix:@"-ap-southeast-2" + legacyBucketNameSuffix:@"ap-southeast-2" + locationConstraint:@"ap-southeast-2" + endpoint:@"s3-ap-southeast-2.amazonaws.com" + displayName:@"Asia Pacific (Sydney)" + dollarsPerGBMonthStandard:.105 + dollarsPerGBMonthRRS:.084] autorelease]; +} + (S3Region *)asiaPacificTokyo { return [[[S3Region alloc] initWithBucketNameSuffix:@"-ap-northeast-1" legacyBucketNameSuffix:@"ap-northeast-1"