Skip to content

Commit 6709bb6

Browse files
authored
Add support for aws partitions us-iso-west-1 (aws#2007)
1 parent fc7c279 commit 6709bb6

File tree

309 files changed

+625
-312
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

309 files changed

+625
-312
lines changed

aws-cpp-sdk-AWSMigrationHub/source/MigrationHubEndpoint.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ namespace MigrationHubEndpoint
2020
static const int CN_NORTHWEST_1_HASH = Aws::Utils::HashingUtils::HashString("cn-northwest-1");
2121
static const int US_ISO_EAST_1_HASH = Aws::Utils::HashingUtils::HashString("us-iso-east-1");
2222
static const int US_ISOB_EAST_1_HASH = Aws::Utils::HashingUtils::HashString("us-isob-east-1");
23+
static const int US_ISO_WEST_1_HASH = Aws::Utils::HashingUtils::HashString("us-iso-west-1");
2324

2425

2526
Aws::String ForRegion(const Aws::String& regionName, bool useDualStack)
@@ -42,7 +43,7 @@ namespace MigrationHubEndpoint
4243
{
4344
ss << ".amazonaws.com.cn";
4445
}
45-
else if (hash == US_ISO_EAST_1_HASH)
46+
else if (hash == US_ISO_EAST_1_HASH || hash == US_ISO_WEST_1_HASH)
4647
{
4748
ss << ".c2s.ic.gov";
4849
}

aws-cpp-sdk-accessanalyzer/source/AccessAnalyzerEndpoint.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ namespace AccessAnalyzerEndpoint
2020
static const int CN_NORTHWEST_1_HASH = Aws::Utils::HashingUtils::HashString("cn-northwest-1");
2121
static const int US_ISO_EAST_1_HASH = Aws::Utils::HashingUtils::HashString("us-iso-east-1");
2222
static const int US_ISOB_EAST_1_HASH = Aws::Utils::HashingUtils::HashString("us-isob-east-1");
23+
static const int US_ISO_WEST_1_HASH = Aws::Utils::HashingUtils::HashString("us-iso-west-1");
2324

2425

2526
Aws::String ForRegion(const Aws::String& regionName, bool useDualStack)
@@ -42,7 +43,7 @@ namespace AccessAnalyzerEndpoint
4243
{
4344
ss << ".amazonaws.com.cn";
4445
}
45-
else if (hash == US_ISO_EAST_1_HASH)
46+
else if (hash == US_ISO_EAST_1_HASH || hash == US_ISO_WEST_1_HASH)
4647
{
4748
ss << ".c2s.ic.gov";
4849
}

aws-cpp-sdk-account/source/AccountEndpoint.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ namespace AccountEndpoint
2020
static const int CN_NORTHWEST_1_HASH = Aws::Utils::HashingUtils::HashString("cn-northwest-1");
2121
static const int US_ISO_EAST_1_HASH = Aws::Utils::HashingUtils::HashString("us-iso-east-1");
2222
static const int US_ISOB_EAST_1_HASH = Aws::Utils::HashingUtils::HashString("us-isob-east-1");
23+
static const int US_ISO_WEST_1_HASH = Aws::Utils::HashingUtils::HashString("us-iso-west-1");
2324

2425

2526
Aws::String ForRegion(const Aws::String& regionName, bool useDualStack)
@@ -42,7 +43,7 @@ namespace AccountEndpoint
4243
{
4344
ss << ".amazonaws.com.cn";
4445
}
45-
else if (hash == US_ISO_EAST_1_HASH)
46+
else if (hash == US_ISO_EAST_1_HASH || hash == US_ISO_WEST_1_HASH)
4647
{
4748
ss << ".c2s.ic.gov";
4849
}

aws-cpp-sdk-acm-pca/source/ACMPCAEndpoint.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ namespace ACMPCAEndpoint
2020
static const int CN_NORTHWEST_1_HASH = Aws::Utils::HashingUtils::HashString("cn-northwest-1");
2121
static const int US_ISO_EAST_1_HASH = Aws::Utils::HashingUtils::HashString("us-iso-east-1");
2222
static const int US_ISOB_EAST_1_HASH = Aws::Utils::HashingUtils::HashString("us-isob-east-1");
23+
static const int US_ISO_WEST_1_HASH = Aws::Utils::HashingUtils::HashString("us-iso-west-1");
2324

2425

2526
Aws::String ForRegion(const Aws::String& regionName, bool useDualStack)
@@ -42,7 +43,7 @@ namespace ACMPCAEndpoint
4243
{
4344
ss << ".amazonaws.com.cn";
4445
}
45-
else if (hash == US_ISO_EAST_1_HASH)
46+
else if (hash == US_ISO_EAST_1_HASH || hash == US_ISO_WEST_1_HASH)
4647
{
4748
ss << ".c2s.ic.gov";
4849
}

aws-cpp-sdk-acm/source/ACMEndpoint.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ namespace ACMEndpoint
2020
static const int CN_NORTHWEST_1_HASH = Aws::Utils::HashingUtils::HashString("cn-northwest-1");
2121
static const int US_ISO_EAST_1_HASH = Aws::Utils::HashingUtils::HashString("us-iso-east-1");
2222
static const int US_ISOB_EAST_1_HASH = Aws::Utils::HashingUtils::HashString("us-isob-east-1");
23+
static const int US_ISO_WEST_1_HASH = Aws::Utils::HashingUtils::HashString("us-iso-west-1");
2324

2425

2526
Aws::String ForRegion(const Aws::String& regionName, bool useDualStack)
@@ -42,7 +43,7 @@ namespace ACMEndpoint
4243
{
4344
ss << ".amazonaws.com.cn";
4445
}
45-
else if (hash == US_ISO_EAST_1_HASH)
46+
else if (hash == US_ISO_EAST_1_HASH || hash == US_ISO_WEST_1_HASH)
4647
{
4748
ss << ".c2s.ic.gov";
4849
}

aws-cpp-sdk-alexaforbusiness/source/AlexaForBusinessEndpoint.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ namespace AlexaForBusinessEndpoint
2020
static const int CN_NORTHWEST_1_HASH = Aws::Utils::HashingUtils::HashString("cn-northwest-1");
2121
static const int US_ISO_EAST_1_HASH = Aws::Utils::HashingUtils::HashString("us-iso-east-1");
2222
static const int US_ISOB_EAST_1_HASH = Aws::Utils::HashingUtils::HashString("us-isob-east-1");
23+
static const int US_ISO_WEST_1_HASH = Aws::Utils::HashingUtils::HashString("us-iso-west-1");
2324

2425

2526
Aws::String ForRegion(const Aws::String& regionName, bool useDualStack)
@@ -42,7 +43,7 @@ namespace AlexaForBusinessEndpoint
4243
{
4344
ss << ".amazonaws.com.cn";
4445
}
45-
else if (hash == US_ISO_EAST_1_HASH)
46+
else if (hash == US_ISO_EAST_1_HASH || hash == US_ISO_WEST_1_HASH)
4647
{
4748
ss << ".c2s.ic.gov";
4849
}

aws-cpp-sdk-amp/source/PrometheusServiceEndpoint.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ namespace PrometheusServiceEndpoint
2020
static const int CN_NORTHWEST_1_HASH = Aws::Utils::HashingUtils::HashString("cn-northwest-1");
2121
static const int US_ISO_EAST_1_HASH = Aws::Utils::HashingUtils::HashString("us-iso-east-1");
2222
static const int US_ISOB_EAST_1_HASH = Aws::Utils::HashingUtils::HashString("us-isob-east-1");
23+
static const int US_ISO_WEST_1_HASH = Aws::Utils::HashingUtils::HashString("us-iso-west-1");
2324

2425

2526
Aws::String ForRegion(const Aws::String& regionName, bool useDualStack)
@@ -42,7 +43,7 @@ namespace PrometheusServiceEndpoint
4243
{
4344
ss << ".amazonaws.com.cn";
4445
}
45-
else if (hash == US_ISO_EAST_1_HASH)
46+
else if (hash == US_ISO_EAST_1_HASH || hash == US_ISO_WEST_1_HASH)
4647
{
4748
ss << ".c2s.ic.gov";
4849
}

aws-cpp-sdk-amplify/source/AmplifyEndpoint.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ namespace AmplifyEndpoint
2020
static const int CN_NORTHWEST_1_HASH = Aws::Utils::HashingUtils::HashString("cn-northwest-1");
2121
static const int US_ISO_EAST_1_HASH = Aws::Utils::HashingUtils::HashString("us-iso-east-1");
2222
static const int US_ISOB_EAST_1_HASH = Aws::Utils::HashingUtils::HashString("us-isob-east-1");
23+
static const int US_ISO_WEST_1_HASH = Aws::Utils::HashingUtils::HashString("us-iso-west-1");
2324

2425

2526
Aws::String ForRegion(const Aws::String& regionName, bool useDualStack)
@@ -42,7 +43,7 @@ namespace AmplifyEndpoint
4243
{
4344
ss << ".amazonaws.com.cn";
4445
}
45-
else if (hash == US_ISO_EAST_1_HASH)
46+
else if (hash == US_ISO_EAST_1_HASH || hash == US_ISO_WEST_1_HASH)
4647
{
4748
ss << ".c2s.ic.gov";
4849
}

aws-cpp-sdk-amplifybackend/source/AmplifyBackendEndpoint.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ namespace AmplifyBackendEndpoint
2020
static const int CN_NORTHWEST_1_HASH = Aws::Utils::HashingUtils::HashString("cn-northwest-1");
2121
static const int US_ISO_EAST_1_HASH = Aws::Utils::HashingUtils::HashString("us-iso-east-1");
2222
static const int US_ISOB_EAST_1_HASH = Aws::Utils::HashingUtils::HashString("us-isob-east-1");
23+
static const int US_ISO_WEST_1_HASH = Aws::Utils::HashingUtils::HashString("us-iso-west-1");
2324

2425

2526
Aws::String ForRegion(const Aws::String& regionName, bool useDualStack)
@@ -42,7 +43,7 @@ namespace AmplifyBackendEndpoint
4243
{
4344
ss << ".amazonaws.com.cn";
4445
}
45-
else if (hash == US_ISO_EAST_1_HASH)
46+
else if (hash == US_ISO_EAST_1_HASH || hash == US_ISO_WEST_1_HASH)
4647
{
4748
ss << ".c2s.ic.gov";
4849
}

aws-cpp-sdk-amplifyuibuilder/source/AmplifyUIBuilderEndpoint.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ namespace AmplifyUIBuilderEndpoint
2020
static const int CN_NORTHWEST_1_HASH = Aws::Utils::HashingUtils::HashString("cn-northwest-1");
2121
static const int US_ISO_EAST_1_HASH = Aws::Utils::HashingUtils::HashString("us-iso-east-1");
2222
static const int US_ISOB_EAST_1_HASH = Aws::Utils::HashingUtils::HashString("us-isob-east-1");
23+
static const int US_ISO_WEST_1_HASH = Aws::Utils::HashingUtils::HashString("us-iso-west-1");
2324

2425

2526
Aws::String ForRegion(const Aws::String& regionName, bool useDualStack)
@@ -42,7 +43,7 @@ namespace AmplifyUIBuilderEndpoint
4243
{
4344
ss << ".amazonaws.com.cn";
4445
}
45-
else if (hash == US_ISO_EAST_1_HASH)
46+
else if (hash == US_ISO_EAST_1_HASH || hash == US_ISO_WEST_1_HASH)
4647
{
4748
ss << ".c2s.ic.gov";
4849
}

aws-cpp-sdk-apigateway/source/APIGatewayEndpoint.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ namespace APIGatewayEndpoint
2020
static const int CN_NORTHWEST_1_HASH = Aws::Utils::HashingUtils::HashString("cn-northwest-1");
2121
static const int US_ISO_EAST_1_HASH = Aws::Utils::HashingUtils::HashString("us-iso-east-1");
2222
static const int US_ISOB_EAST_1_HASH = Aws::Utils::HashingUtils::HashString("us-isob-east-1");
23+
static const int US_ISO_WEST_1_HASH = Aws::Utils::HashingUtils::HashString("us-iso-west-1");
2324

2425

2526
Aws::String ForRegion(const Aws::String& regionName, bool useDualStack)
@@ -42,7 +43,7 @@ namespace APIGatewayEndpoint
4243
{
4344
ss << ".amazonaws.com.cn";
4445
}
45-
else if (hash == US_ISO_EAST_1_HASH)
46+
else if (hash == US_ISO_EAST_1_HASH || hash == US_ISO_WEST_1_HASH)
4647
{
4748
ss << ".c2s.ic.gov";
4849
}

aws-cpp-sdk-apigatewaymanagementapi/source/ApiGatewayManagementApiEndpoint.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ namespace ApiGatewayManagementApiEndpoint
2020
static const int CN_NORTHWEST_1_HASH = Aws::Utils::HashingUtils::HashString("cn-northwest-1");
2121
static const int US_ISO_EAST_1_HASH = Aws::Utils::HashingUtils::HashString("us-iso-east-1");
2222
static const int US_ISOB_EAST_1_HASH = Aws::Utils::HashingUtils::HashString("us-isob-east-1");
23+
static const int US_ISO_WEST_1_HASH = Aws::Utils::HashingUtils::HashString("us-iso-west-1");
2324

2425

2526
Aws::String ForRegion(const Aws::String& regionName, bool useDualStack)
@@ -42,7 +43,7 @@ namespace ApiGatewayManagementApiEndpoint
4243
{
4344
ss << ".amazonaws.com.cn";
4445
}
45-
else if (hash == US_ISO_EAST_1_HASH)
46+
else if (hash == US_ISO_EAST_1_HASH || hash == US_ISO_WEST_1_HASH)
4647
{
4748
ss << ".c2s.ic.gov";
4849
}

aws-cpp-sdk-apigatewayv2/source/ApiGatewayV2Endpoint.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ namespace ApiGatewayV2Endpoint
2020
static const int CN_NORTHWEST_1_HASH = Aws::Utils::HashingUtils::HashString("cn-northwest-1");
2121
static const int US_ISO_EAST_1_HASH = Aws::Utils::HashingUtils::HashString("us-iso-east-1");
2222
static const int US_ISOB_EAST_1_HASH = Aws::Utils::HashingUtils::HashString("us-isob-east-1");
23+
static const int US_ISO_WEST_1_HASH = Aws::Utils::HashingUtils::HashString("us-iso-west-1");
2324

2425

2526
Aws::String ForRegion(const Aws::String& regionName, bool useDualStack)
@@ -42,7 +43,7 @@ namespace ApiGatewayV2Endpoint
4243
{
4344
ss << ".amazonaws.com.cn";
4445
}
45-
else if (hash == US_ISO_EAST_1_HASH)
46+
else if (hash == US_ISO_EAST_1_HASH || hash == US_ISO_WEST_1_HASH)
4647
{
4748
ss << ".c2s.ic.gov";
4849
}

aws-cpp-sdk-appconfig/source/AppConfigEndpoint.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ namespace AppConfigEndpoint
2020
static const int CN_NORTHWEST_1_HASH = Aws::Utils::HashingUtils::HashString("cn-northwest-1");
2121
static const int US_ISO_EAST_1_HASH = Aws::Utils::HashingUtils::HashString("us-iso-east-1");
2222
static const int US_ISOB_EAST_1_HASH = Aws::Utils::HashingUtils::HashString("us-isob-east-1");
23+
static const int US_ISO_WEST_1_HASH = Aws::Utils::HashingUtils::HashString("us-iso-west-1");
2324

2425

2526
Aws::String ForRegion(const Aws::String& regionName, bool useDualStack)
@@ -42,7 +43,7 @@ namespace AppConfigEndpoint
4243
{
4344
ss << ".amazonaws.com.cn";
4445
}
45-
else if (hash == US_ISO_EAST_1_HASH)
46+
else if (hash == US_ISO_EAST_1_HASH || hash == US_ISO_WEST_1_HASH)
4647
{
4748
ss << ".c2s.ic.gov";
4849
}

aws-cpp-sdk-appconfigdata/source/AppConfigDataEndpoint.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ namespace AppConfigDataEndpoint
2020
static const int CN_NORTHWEST_1_HASH = Aws::Utils::HashingUtils::HashString("cn-northwest-1");
2121
static const int US_ISO_EAST_1_HASH = Aws::Utils::HashingUtils::HashString("us-iso-east-1");
2222
static const int US_ISOB_EAST_1_HASH = Aws::Utils::HashingUtils::HashString("us-isob-east-1");
23+
static const int US_ISO_WEST_1_HASH = Aws::Utils::HashingUtils::HashString("us-iso-west-1");
2324

2425

2526
Aws::String ForRegion(const Aws::String& regionName, bool useDualStack)
@@ -42,7 +43,7 @@ namespace AppConfigDataEndpoint
4243
{
4344
ss << ".amazonaws.com.cn";
4445
}
45-
else if (hash == US_ISO_EAST_1_HASH)
46+
else if (hash == US_ISO_EAST_1_HASH || hash == US_ISO_WEST_1_HASH)
4647
{
4748
ss << ".c2s.ic.gov";
4849
}

aws-cpp-sdk-appflow/source/AppflowEndpoint.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ namespace AppflowEndpoint
2020
static const int CN_NORTHWEST_1_HASH = Aws::Utils::HashingUtils::HashString("cn-northwest-1");
2121
static const int US_ISO_EAST_1_HASH = Aws::Utils::HashingUtils::HashString("us-iso-east-1");
2222
static const int US_ISOB_EAST_1_HASH = Aws::Utils::HashingUtils::HashString("us-isob-east-1");
23+
static const int US_ISO_WEST_1_HASH = Aws::Utils::HashingUtils::HashString("us-iso-west-1");
2324

2425

2526
Aws::String ForRegion(const Aws::String& regionName, bool useDualStack)
@@ -42,7 +43,7 @@ namespace AppflowEndpoint
4243
{
4344
ss << ".amazonaws.com.cn";
4445
}
45-
else if (hash == US_ISO_EAST_1_HASH)
46+
else if (hash == US_ISO_EAST_1_HASH || hash == US_ISO_WEST_1_HASH)
4647
{
4748
ss << ".c2s.ic.gov";
4849
}

aws-cpp-sdk-appintegrations/source/AppIntegrationsServiceEndpoint.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ namespace AppIntegrationsServiceEndpoint
2020
static const int CN_NORTHWEST_1_HASH = Aws::Utils::HashingUtils::HashString("cn-northwest-1");
2121
static const int US_ISO_EAST_1_HASH = Aws::Utils::HashingUtils::HashString("us-iso-east-1");
2222
static const int US_ISOB_EAST_1_HASH = Aws::Utils::HashingUtils::HashString("us-isob-east-1");
23+
static const int US_ISO_WEST_1_HASH = Aws::Utils::HashingUtils::HashString("us-iso-west-1");
2324

2425

2526
Aws::String ForRegion(const Aws::String& regionName, bool useDualStack)
@@ -42,7 +43,7 @@ namespace AppIntegrationsServiceEndpoint
4243
{
4344
ss << ".amazonaws.com.cn";
4445
}
45-
else if (hash == US_ISO_EAST_1_HASH)
46+
else if (hash == US_ISO_EAST_1_HASH || hash == US_ISO_WEST_1_HASH)
4647
{
4748
ss << ".c2s.ic.gov";
4849
}

aws-cpp-sdk-application-autoscaling/source/ApplicationAutoScalingEndpoint.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ namespace ApplicationAutoScalingEndpoint
2020
static const int CN_NORTHWEST_1_HASH = Aws::Utils::HashingUtils::HashString("cn-northwest-1");
2121
static const int US_ISO_EAST_1_HASH = Aws::Utils::HashingUtils::HashString("us-iso-east-1");
2222
static const int US_ISOB_EAST_1_HASH = Aws::Utils::HashingUtils::HashString("us-isob-east-1");
23+
static const int US_ISO_WEST_1_HASH = Aws::Utils::HashingUtils::HashString("us-iso-west-1");
2324

2425

2526
Aws::String ForRegion(const Aws::String& regionName, bool useDualStack)
@@ -42,7 +43,7 @@ namespace ApplicationAutoScalingEndpoint
4243
{
4344
ss << ".amazonaws.com.cn";
4445
}
45-
else if (hash == US_ISO_EAST_1_HASH)
46+
else if (hash == US_ISO_EAST_1_HASH || hash == US_ISO_WEST_1_HASH)
4647
{
4748
ss << ".c2s.ic.gov";
4849
}

aws-cpp-sdk-application-insights/source/ApplicationInsightsEndpoint.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ namespace ApplicationInsightsEndpoint
2020
static const int CN_NORTHWEST_1_HASH = Aws::Utils::HashingUtils::HashString("cn-northwest-1");
2121
static const int US_ISO_EAST_1_HASH = Aws::Utils::HashingUtils::HashString("us-iso-east-1");
2222
static const int US_ISOB_EAST_1_HASH = Aws::Utils::HashingUtils::HashString("us-isob-east-1");
23+
static const int US_ISO_WEST_1_HASH = Aws::Utils::HashingUtils::HashString("us-iso-west-1");
2324

2425

2526
Aws::String ForRegion(const Aws::String& regionName, bool useDualStack)
@@ -42,7 +43,7 @@ namespace ApplicationInsightsEndpoint
4243
{
4344
ss << ".amazonaws.com.cn";
4445
}
45-
else if (hash == US_ISO_EAST_1_HASH)
46+
else if (hash == US_ISO_EAST_1_HASH || hash == US_ISO_WEST_1_HASH)
4647
{
4748
ss << ".c2s.ic.gov";
4849
}

aws-cpp-sdk-applicationcostprofiler/source/ApplicationCostProfilerEndpoint.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ namespace ApplicationCostProfilerEndpoint
2020
static const int CN_NORTHWEST_1_HASH = Aws::Utils::HashingUtils::HashString("cn-northwest-1");
2121
static const int US_ISO_EAST_1_HASH = Aws::Utils::HashingUtils::HashString("us-iso-east-1");
2222
static const int US_ISOB_EAST_1_HASH = Aws::Utils::HashingUtils::HashString("us-isob-east-1");
23+
static const int US_ISO_WEST_1_HASH = Aws::Utils::HashingUtils::HashString("us-iso-west-1");
2324

2425

2526
Aws::String ForRegion(const Aws::String& regionName, bool useDualStack)
@@ -42,7 +43,7 @@ namespace ApplicationCostProfilerEndpoint
4243
{
4344
ss << ".amazonaws.com.cn";
4445
}
45-
else if (hash == US_ISO_EAST_1_HASH)
46+
else if (hash == US_ISO_EAST_1_HASH || hash == US_ISO_WEST_1_HASH)
4647
{
4748
ss << ".c2s.ic.gov";
4849
}

aws-cpp-sdk-appmesh/source/AppMeshEndpoint.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ namespace AppMeshEndpoint
2020
static const int CN_NORTHWEST_1_HASH = Aws::Utils::HashingUtils::HashString("cn-northwest-1");
2121
static const int US_ISO_EAST_1_HASH = Aws::Utils::HashingUtils::HashString("us-iso-east-1");
2222
static const int US_ISOB_EAST_1_HASH = Aws::Utils::HashingUtils::HashString("us-isob-east-1");
23+
static const int US_ISO_WEST_1_HASH = Aws::Utils::HashingUtils::HashString("us-iso-west-1");
2324

2425

2526
Aws::String ForRegion(const Aws::String& regionName, bool useDualStack)
@@ -42,7 +43,7 @@ namespace AppMeshEndpoint
4243
{
4344
ss << ".amazonaws.com.cn";
4445
}
45-
else if (hash == US_ISO_EAST_1_HASH)
46+
else if (hash == US_ISO_EAST_1_HASH || hash == US_ISO_WEST_1_HASH)
4647
{
4748
ss << ".c2s.ic.gov";
4849
}

aws-cpp-sdk-apprunner/source/AppRunnerEndpoint.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ namespace AppRunnerEndpoint
2020
static const int CN_NORTHWEST_1_HASH = Aws::Utils::HashingUtils::HashString("cn-northwest-1");
2121
static const int US_ISO_EAST_1_HASH = Aws::Utils::HashingUtils::HashString("us-iso-east-1");
2222
static const int US_ISOB_EAST_1_HASH = Aws::Utils::HashingUtils::HashString("us-isob-east-1");
23+
static const int US_ISO_WEST_1_HASH = Aws::Utils::HashingUtils::HashString("us-iso-west-1");
2324

2425

2526
Aws::String ForRegion(const Aws::String& regionName, bool useDualStack)
@@ -42,7 +43,7 @@ namespace AppRunnerEndpoint
4243
{
4344
ss << ".amazonaws.com.cn";
4445
}
45-
else if (hash == US_ISO_EAST_1_HASH)
46+
else if (hash == US_ISO_EAST_1_HASH || hash == US_ISO_WEST_1_HASH)
4647
{
4748
ss << ".c2s.ic.gov";
4849
}

aws-cpp-sdk-appstream/source/AppStreamEndpoint.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ namespace AppStreamEndpoint
2020
static const int CN_NORTHWEST_1_HASH = Aws::Utils::HashingUtils::HashString("cn-northwest-1");
2121
static const int US_ISO_EAST_1_HASH = Aws::Utils::HashingUtils::HashString("us-iso-east-1");
2222
static const int US_ISOB_EAST_1_HASH = Aws::Utils::HashingUtils::HashString("us-isob-east-1");
23+
static const int US_ISO_WEST_1_HASH = Aws::Utils::HashingUtils::HashString("us-iso-west-1");
2324

2425

2526
Aws::String ForRegion(const Aws::String& regionName, bool useDualStack)
@@ -42,7 +43,7 @@ namespace AppStreamEndpoint
4243
{
4344
ss << ".amazonaws.com.cn";
4445
}
45-
else if (hash == US_ISO_EAST_1_HASH)
46+
else if (hash == US_ISO_EAST_1_HASH || hash == US_ISO_WEST_1_HASH)
4647
{
4748
ss << ".c2s.ic.gov";
4849
}

0 commit comments

Comments
 (0)