From 116c35dded0188e290fb352d7592d3f233e3e58b Mon Sep 17 00:00:00 2001 From: Erica Eaton <67125657+eeatonaws@users.noreply.github.com> Date: Mon, 30 Jan 2023 15:37:25 -0500 Subject: [PATCH] fix(core): add us-gov-east-1 region to list of regions (#3179) --- .../com/amazonaws/regions/RegionDefaults.java | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/aws-android-sdk-core/src/main/java/com/amazonaws/regions/RegionDefaults.java b/aws-android-sdk-core/src/main/java/com/amazonaws/regions/RegionDefaults.java index 7dba5c89dd..13a98d6d97 100644 --- a/aws-android-sdk-core/src/main/java/com/amazonaws/regions/RegionDefaults.java +++ b/aws-android-sdk-core/src/main/java/com/amazonaws/regions/RegionDefaults.java @@ -506,6 +506,23 @@ public static List getRegions() { updateRegion(region, "sqs", "sqs.us-gov-west-1.amazonaws.com", false, true); updateRegion(region, "sts", "sts.us-gov-west-1.amazonaws.com", false, true); + region = new Region("us-gov-east-1", "amazonaws.com"); + ret.add(region); + updateRegion(region, "autoscaling", "autoscaling.us-gov-east-1.amazonaws.com", false, true); + updateRegion(region, "dynamodb", "dynamodb.us-gov-east-1.amazonaws.com", false, true); + updateRegion(region, "ec2", "ec2.us-gov-east-1.amazonaws.com", false, true); + updateRegion(region, "elasticloadbalancing", + "elasticloadbalancing.us-gov-east-1.amazonaws.com", false, true); + updateRegion(region, "kinesis", "kinesis.us-gov-east-1.amazonaws.com", false, true); + updateRegion(region, "kms", "kms.us-gov-east-1.amazonaws.com", false, true); + updateRegion(region, "lambda", "lambda.us-gov-east-1.amazonaws.com", false, true); + updateRegion(region, "logs", "logs.us-gov-east-1.amazonaws.com", false, true); + updateRegion(region, "rekognition", "rekognition.us-gov-east-1.amazonaws.com", false, true); + updateRegion(region, "s3", "s3.us-gov-east-1.amazonaws.com", false, true); + updateRegion(region, "sns", "sns.us-gov-east-1.amazonaws.com", false, true); + updateRegion(region, "sqs", "sqs.us-gov-east-1.amazonaws.com", false, true); + updateRegion(region, "sts", "sts.us-gov-east-1.amazonaws.com", false, true); + region = new Region("eu-north-1", "amazonaws.com"); ret.add(region); updateRegion(region, "autoscaling", "autoscaling.eu-north-1.amazonaws.com", false, true);