Skip to content

Commit 84c1016

Browse files
committed
China region should have a default domain of amazonaws.com.cn instead of
amazonaws.com
1 parent 4a5b1db commit 84c1016

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aws-android-sdk-core/src/main/java/com/amazonaws/regions/RegionDefaults.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ public static List<Region> getRegions() {
319319
updateRegion(region, "sqs", "sqs.us-west-2.amazonaws.com", false, true);
320320
updateRegion(region, "sts", "sts.amazonaws.com", false, true);
321321

322-
region = new Region("cn-north-1", "");
322+
region = new Region("cn-north-1", "amazonaws.com.cn");
323323
ret.add(region);
324324
updateRegion(region, "autoscaling", "autoscaling.cn-north-1.amazonaws.com.cn", false, true);
325325
updateRegion(region, "dynamodb", "dynamodb.cn-north-1.amazonaws.com.cn", false, true);

0 commit comments

Comments
 (0)