diff --git a/clients/client-accessanalyzer/endpoints.ts b/clients/client-accessanalyzer/endpoints.ts index 825c9891f7a6d..cc26ed43c26ff 100644 --- a/clients/client-accessanalyzer/endpoints.ts +++ b/clients/client-accessanalyzer/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "access-analyzer.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,187 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "af-south-1": + regionInfo = { + hostname: "access-analyzer.af-south-1.amazonaws.com", + partition: "aws", + }; + break; + case "ap-east-1": + regionInfo = { + hostname: "access-analyzer.ap-east-1.amazonaws.com", + partition: "aws", + }; + break; + case "ap-northeast-1": + regionInfo = { + hostname: "access-analyzer.ap-northeast-1.amazonaws.com", + partition: "aws", + }; + break; + case "ap-northeast-2": + regionInfo = { + hostname: "access-analyzer.ap-northeast-2.amazonaws.com", + partition: "aws", + }; + break; + case "ap-south-1": + regionInfo = { + hostname: "access-analyzer.ap-south-1.amazonaws.com", + partition: "aws", + }; + break; + case "ap-southeast-1": + regionInfo = { + hostname: "access-analyzer.ap-southeast-1.amazonaws.com", + partition: "aws", + }; + break; + case "ap-southeast-2": + regionInfo = { + hostname: "access-analyzer.ap-southeast-2.amazonaws.com", + partition: "aws", + }; + break; + case "ca-central-1": + regionInfo = { + hostname: "access-analyzer.ca-central-1.amazonaws.com", + partition: "aws", + }; + break; + case "cn-north-1": + regionInfo = { + hostname: "access-analyzer.cn-north-1.amazonaws.com.cn", + partition: "aws-cn", + }; + break; + case "cn-northwest-1": + regionInfo = { + hostname: "access-analyzer.cn-northwest-1.amazonaws.com.cn", + partition: "aws-cn", + }; + break; + case "eu-central-1": + regionInfo = { + hostname: "access-analyzer.eu-central-1.amazonaws.com", + partition: "aws", + }; + break; + case "eu-north-1": + regionInfo = { + hostname: "access-analyzer.eu-north-1.amazonaws.com", + partition: "aws", + }; + break; + case "eu-south-1": + regionInfo = { + hostname: "access-analyzer.eu-south-1.amazonaws.com", + partition: "aws", + }; + break; + case "eu-west-1": + regionInfo = { + hostname: "access-analyzer.eu-west-1.amazonaws.com", + partition: "aws", + }; + break; + case "eu-west-2": + regionInfo = { + hostname: "access-analyzer.eu-west-2.amazonaws.com", + partition: "aws", + }; + break; + case "eu-west-3": + regionInfo = { + hostname: "access-analyzer.eu-west-3.amazonaws.com", + partition: "aws", + }; + break; + case "fips-ca-central-1": + regionInfo = { + hostname: "access-analyzer-fips.ca-central-1.amazonaws.com", + partition: "aws", + signingRegion: "ca-central-1", + }; + break; + case "fips-us-east-1": + regionInfo = { + hostname: "access-analyzer-fips.us-east-1.amazonaws.com", + partition: "aws", + signingRegion: "us-east-1", + }; + break; + case "fips-us-east-2": + regionInfo = { + hostname: "access-analyzer-fips.us-east-2.amazonaws.com", + partition: "aws", + signingRegion: "us-east-2", + }; + break; + case "fips-us-west-1": + regionInfo = { + hostname: "access-analyzer-fips.us-west-1.amazonaws.com", + partition: "aws", + signingRegion: "us-west-1", + }; + break; + case "fips-us-west-2": + regionInfo = { + hostname: "access-analyzer-fips.us-west-2.amazonaws.com", + partition: "aws", + signingRegion: "us-west-2", + }; + break; + case "me-south-1": + regionInfo = { + hostname: "access-analyzer.me-south-1.amazonaws.com", + partition: "aws", + }; + break; + case "sa-east-1": + regionInfo = { + hostname: "access-analyzer.sa-east-1.amazonaws.com", + partition: "aws", + }; + break; + case "us-east-1": + regionInfo = { + hostname: "access-analyzer.us-east-1.amazonaws.com", + partition: "aws", + }; + break; + case "us-east-2": + regionInfo = { + hostname: "access-analyzer.us-east-2.amazonaws.com", + partition: "aws", + }; + break; + case "us-gov-east-1": + regionInfo = { + hostname: "access-analyzer.us-gov-east-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-east-1", + }; + break; + case "us-gov-west-1": + regionInfo = { + hostname: "access-analyzer.us-gov-west-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-west-1", + }; + break; + case "us-west-1": + regionInfo = { + hostname: "access-analyzer.us-west-1.amazonaws.com", + partition: "aws", + }; + break; + case "us-west-2": + regionInfo = { + hostname: "access-analyzer.us-west-2.amazonaws.com", + partition: "aws", + }; + break; // Next, try to match partition endpoints. default: if (AWS_REGIONS.has(region)) { diff --git a/clients/client-acm-pca/endpoints.ts b/clients/client-acm-pca/endpoints.ts index 3011bc076a90e..e7e192b758094 100644 --- a/clients/client-acm-pca/endpoints.ts +++ b/clients/client-acm-pca/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "acm-pca.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "af-south-1": + regionInfo = { + hostname: "acm-pca.af-south-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-east-1": regionInfo = { hostname: "acm-pca.ap-east-1.amazonaws.com", @@ -91,6 +99,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-south-1": + regionInfo = { + hostname: "acm-pca.eu-south-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "acm-pca.eu-west-1.amazonaws.com", @@ -109,6 +123,55 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "fips-ca-central-1": + regionInfo = { + hostname: "acm-pca-fips.ca-central-1.amazonaws.com", + partition: "aws", + signingRegion: "ca-central-1", + }; + break; + case "fips-us-east-1": + regionInfo = { + hostname: "acm-pca-fips.us-east-1.amazonaws.com", + partition: "aws", + signingRegion: "us-east-1", + }; + break; + case "fips-us-east-2": + regionInfo = { + hostname: "acm-pca-fips.us-east-2.amazonaws.com", + partition: "aws", + signingRegion: "us-east-2", + }; + break; + case "fips-us-gov-east-1": + regionInfo = { + hostname: "acm-pca.us-gov-east-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-east-1", + }; + break; + case "fips-us-gov-west-1": + regionInfo = { + hostname: "acm-pca.us-gov-west-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-west-1", + }; + break; + case "fips-us-west-1": + regionInfo = { + hostname: "acm-pca-fips.us-west-1.amazonaws.com", + partition: "aws", + signingRegion: "us-west-1", + }; + break; + case "fips-us-west-2": + regionInfo = { + hostname: "acm-pca-fips.us-west-2.amazonaws.com", + partition: "aws", + signingRegion: "us-west-2", + }; + break; case "me-south-1": regionInfo = { hostname: "acm-pca.me-south-1.amazonaws.com", diff --git a/clients/client-acm/endpoints.ts b/clients/client-acm/endpoints.ts index f05a0e0c37759..9d218f5c135ef 100644 --- a/clients/client-acm/endpoints.ts +++ b/clients/client-acm/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "acm.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "af-south-1": + regionInfo = { + hostname: "acm.af-south-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-east-1": regionInfo = { hostname: "acm.ap-east-1.amazonaws.com", @@ -79,6 +87,25 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "ca-central-1-fips": + regionInfo = { + hostname: "acm-fips.ca-central-1.amazonaws.com", + partition: "aws", + signingRegion: "ca-central-1", + }; + break; + case "cn-north-1": + regionInfo = { + hostname: "acm.cn-north-1.amazonaws.com.cn", + partition: "aws-cn", + }; + break; + case "cn-northwest-1": + regionInfo = { + hostname: "acm.cn-northwest-1.amazonaws.com.cn", + partition: "aws-cn", + }; + break; case "eu-central-1": regionInfo = { hostname: "acm.eu-central-1.amazonaws.com", @@ -91,6 +118,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-south-1": + regionInfo = { + hostname: "acm.eu-south-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "acm.eu-west-1.amazonaws.com", @@ -127,22 +160,38 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "us-east-1-fips": + regionInfo = { + hostname: "acm-fips.us-east-1.amazonaws.com", + partition: "aws", + signingRegion: "us-east-1", + }; + break; case "us-east-2": regionInfo = { hostname: "acm.us-east-2.amazonaws.com", partition: "aws", }; break; + case "us-east-2-fips": + regionInfo = { + hostname: "acm-fips.us-east-2.amazonaws.com", + partition: "aws", + signingRegion: "us-east-2", + }; + break; case "us-gov-east-1": regionInfo = { hostname: "acm.us-gov-east-1.amazonaws.com", partition: "aws-us-gov", + signingRegion: "us-gov-east-1", }; break; case "us-gov-west-1": regionInfo = { hostname: "acm.us-gov-west-1.amazonaws.com", partition: "aws-us-gov", + signingRegion: "us-gov-west-1", }; break; case "us-west-1": @@ -151,12 +200,26 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "us-west-1-fips": + regionInfo = { + hostname: "acm-fips.us-west-1.amazonaws.com", + partition: "aws", + signingRegion: "us-west-1", + }; + break; case "us-west-2": regionInfo = { hostname: "acm.us-west-2.amazonaws.com", partition: "aws", }; break; + case "us-west-2-fips": + regionInfo = { + hostname: "acm-fips.us-west-2.amazonaws.com", + partition: "aws", + signingRegion: "us-west-2", + }; + break; // Next, try to match partition endpoints. default: if (AWS_REGIONS.has(region)) { diff --git a/clients/client-alexa-for-business/endpoints.ts b/clients/client-alexa-for-business/endpoints.ts index c632613de12c4..db80a5b134fc2 100644 --- a/clients/client-alexa-for-business/endpoints.ts +++ b/clients/client-alexa-for-business/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "a4b.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-amplify/endpoints.ts b/clients/client-amplify/endpoints.ts index c1a5c18257526..063abc88e9ff4 100644 --- a/clients/client-amplify/endpoints.ts +++ b/clients/client-amplify/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "amplify.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-amplifybackend/endpoints.ts b/clients/client-amplifybackend/endpoints.ts index 400a280d379ee..0c1709f328db1 100644 --- a/clients/client-amplifybackend/endpoints.ts +++ b/clients/client-amplifybackend/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "amplifybackend.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-api-gateway/endpoints.ts b/clients/client-api-gateway/endpoints.ts index 303cd938b8c7b..161fe11539ba4 100644 --- a/clients/client-api-gateway/endpoints.ts +++ b/clients/client-api-gateway/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "apigateway.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "af-south-1": + regionInfo = { + hostname: "apigateway.af-south-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-east-1": regionInfo = { hostname: "apigateway.ap-east-1.amazonaws.com", @@ -103,6 +111,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-south-1": + regionInfo = { + hostname: "apigateway.eu-south-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "apigateway.eu-west-1.amazonaws.com", diff --git a/clients/client-apigatewaymanagementapi/endpoints.ts b/clients/client-apigatewaymanagementapi/endpoints.ts index e3620987a1f57..f87da821408ba 100644 --- a/clients/client-apigatewaymanagementapi/endpoints.ts +++ b/clients/client-apigatewaymanagementapi/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "execute-api.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-apigatewayv2/endpoints.ts b/clients/client-apigatewayv2/endpoints.ts index 303cd938b8c7b..161fe11539ba4 100644 --- a/clients/client-apigatewayv2/endpoints.ts +++ b/clients/client-apigatewayv2/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "apigateway.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "af-south-1": + regionInfo = { + hostname: "apigateway.af-south-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-east-1": regionInfo = { hostname: "apigateway.ap-east-1.amazonaws.com", @@ -103,6 +111,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-south-1": + regionInfo = { + hostname: "apigateway.eu-south-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "apigateway.eu-west-1.amazonaws.com", diff --git a/clients/client-app-mesh/endpoints.ts b/clients/client-app-mesh/endpoints.ts index c3a395d97d48e..49be753be0f7b 100644 --- a/clients/client-app-mesh/endpoints.ts +++ b/clients/client-app-mesh/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "appmesh.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "ap-east-1": + regionInfo = { + hostname: "appmesh.ap-east-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-northeast-1": regionInfo = { hostname: "appmesh.ap-northeast-1.amazonaws.com", @@ -79,6 +87,18 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-north-1": + regionInfo = { + hostname: "appmesh.eu-north-1.amazonaws.com", + partition: "aws", + }; + break; + case "eu-south-1": + regionInfo = { + hostname: "appmesh.eu-south-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "appmesh.eu-west-1.amazonaws.com", @@ -97,6 +117,18 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "me-south-1": + regionInfo = { + hostname: "appmesh.me-south-1.amazonaws.com", + partition: "aws", + }; + break; + case "sa-east-1": + regionInfo = { + hostname: "appmesh.sa-east-1.amazonaws.com", + partition: "aws", + }; + break; case "us-east-1": regionInfo = { hostname: "appmesh.us-east-1.amazonaws.com", diff --git a/clients/client-appconfig/endpoints.ts b/clients/client-appconfig/endpoints.ts index d58225f59a39a..e6dfdd409b662 100644 --- a/clients/client-appconfig/endpoints.ts +++ b/clients/client-appconfig/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "appconfig.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-appflow/endpoints.ts b/clients/client-appflow/endpoints.ts index 085eeb2130e37..1f8be01fd7e27 100644 --- a/clients/client-appflow/endpoints.ts +++ b/clients/client-appflow/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "appflow.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,96 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "ap-northeast-1": + regionInfo = { + hostname: "appflow.ap-northeast-1.amazonaws.com", + partition: "aws", + }; + break; + case "ap-northeast-2": + regionInfo = { + hostname: "appflow.ap-northeast-2.amazonaws.com", + partition: "aws", + }; + break; + case "ap-south-1": + regionInfo = { + hostname: "appflow.ap-south-1.amazonaws.com", + partition: "aws", + }; + break; + case "ap-southeast-1": + regionInfo = { + hostname: "appflow.ap-southeast-1.amazonaws.com", + partition: "aws", + }; + break; + case "ap-southeast-2": + regionInfo = { + hostname: "appflow.ap-southeast-2.amazonaws.com", + partition: "aws", + }; + break; + case "ca-central-1": + regionInfo = { + hostname: "appflow.ca-central-1.amazonaws.com", + partition: "aws", + }; + break; + case "eu-central-1": + regionInfo = { + hostname: "appflow.eu-central-1.amazonaws.com", + partition: "aws", + }; + break; + case "eu-west-1": + regionInfo = { + hostname: "appflow.eu-west-1.amazonaws.com", + partition: "aws", + }; + break; + case "eu-west-2": + regionInfo = { + hostname: "appflow.eu-west-2.amazonaws.com", + partition: "aws", + }; + break; + case "eu-west-3": + regionInfo = { + hostname: "appflow.eu-west-3.amazonaws.com", + partition: "aws", + }; + break; + case "sa-east-1": + regionInfo = { + hostname: "appflow.sa-east-1.amazonaws.com", + partition: "aws", + }; + break; + case "us-east-1": + regionInfo = { + hostname: "appflow.us-east-1.amazonaws.com", + partition: "aws", + }; + break; + case "us-east-2": + regionInfo = { + hostname: "appflow.us-east-2.amazonaws.com", + partition: "aws", + }; + break; + case "us-west-1": + regionInfo = { + hostname: "appflow.us-west-1.amazonaws.com", + partition: "aws", + }; + break; + case "us-west-2": + regionInfo = { + hostname: "appflow.us-west-2.amazonaws.com", + partition: "aws", + }; + break; // Next, try to match partition endpoints. default: if (AWS_REGIONS.has(region)) { diff --git a/clients/client-appintegrations/endpoints.ts b/clients/client-appintegrations/endpoints.ts index 0fdbaa5c93713..150b425933d0d 100644 --- a/clients/client-appintegrations/endpoints.ts +++ b/clients/client-appintegrations/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "app-integrations.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,48 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "ap-northeast-1": + regionInfo = { + hostname: "app-integrations.ap-northeast-1.amazonaws.com", + partition: "aws", + }; + break; + case "ap-southeast-1": + regionInfo = { + hostname: "app-integrations.ap-southeast-1.amazonaws.com", + partition: "aws", + }; + break; + case "ap-southeast-2": + regionInfo = { + hostname: "app-integrations.ap-southeast-2.amazonaws.com", + partition: "aws", + }; + break; + case "eu-central-1": + regionInfo = { + hostname: "app-integrations.eu-central-1.amazonaws.com", + partition: "aws", + }; + break; + case "eu-west-2": + regionInfo = { + hostname: "app-integrations.eu-west-2.amazonaws.com", + partition: "aws", + }; + break; + case "us-east-1": + regionInfo = { + hostname: "app-integrations.us-east-1.amazonaws.com", + partition: "aws", + }; + break; + case "us-west-2": + regionInfo = { + hostname: "app-integrations.us-west-2.amazonaws.com", + partition: "aws", + }; + break; // Next, try to match partition endpoints. default: if (AWS_REGIONS.has(region)) { diff --git a/clients/client-application-auto-scaling/endpoints.ts b/clients/client-application-auto-scaling/endpoints.ts index 53df6a8657989..8f7c5f8af6c9f 100644 --- a/clients/client-application-auto-scaling/endpoints.ts +++ b/clients/client-application-auto-scaling/endpoints.ts @@ -3,12 +3,13 @@ import { RegionInfo, RegionInfoProvider } from "@aws-sdk/types"; // Partition default templates const AWS_TEMPLATE = "application-autoscaling.{region}.amazonaws.com"; const AWS_CN_TEMPLATE = "application-autoscaling.{region}.amazonaws.com.cn"; -const AWS_ISO_TEMPLATE = "autoscaling.us-iso-east-1.c2s.ic.gov"; -const AWS_ISO_B_TEMPLATE = "autoscaling.us-isob-east-1.sc2s.sgov.gov"; +const AWS_ISO_TEMPLATE = "application-autoscaling.{region}.c2s.ic.gov"; +const AWS_ISO_B_TEMPLATE = "application-autoscaling.{region}.sc2s.sgov.gov"; const AWS_US_GOV_TEMPLATE = "application-autoscaling.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "af-south-1": + regionInfo = { + hostname: "application-autoscaling.af-south-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-east-1": regionInfo = { hostname: "application-autoscaling.ap-east-1.amazonaws.com", @@ -103,6 +111,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-south-1": + regionInfo = { + hostname: "application-autoscaling.eu-south-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "application-autoscaling.eu-west-1.amazonaws.com", @@ -159,13 +173,13 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op break; case "us-iso-east-1": regionInfo = { - hostname: "autoscaling.us-iso-east-1.c2s.ic.gov", + hostname: "application-autoscaling.us-iso-east-1.c2s.ic.gov", partition: "aws-iso", }; break; case "us-isob-east-1": regionInfo = { - hostname: "autoscaling.us-isob-east-1.sc2s.sgov.gov", + hostname: "application-autoscaling.us-isob-east-1.sc2s.sgov.gov", partition: "aws-iso-b", }; break; diff --git a/clients/client-application-discovery-service/endpoints.ts b/clients/client-application-discovery-service/endpoints.ts index 7e3abf621edcb..d5e1dad50e76b 100644 --- a/clients/client-application-discovery-service/endpoints.ts +++ b/clients/client-application-discovery-service/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "discovery.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,12 +39,42 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "ap-northeast-1": + regionInfo = { + hostname: "discovery.ap-northeast-1.amazonaws.com", + partition: "aws", + }; + break; + case "ap-southeast-2": + regionInfo = { + hostname: "discovery.ap-southeast-2.amazonaws.com", + partition: "aws", + }; + break; case "eu-central-1": regionInfo = { hostname: "discovery.eu-central-1.amazonaws.com", partition: "aws", }; break; + case "eu-west-1": + regionInfo = { + hostname: "discovery.eu-west-1.amazonaws.com", + partition: "aws", + }; + break; + case "eu-west-2": + regionInfo = { + hostname: "discovery.eu-west-2.amazonaws.com", + partition: "aws", + }; + break; + case "us-east-1": + regionInfo = { + hostname: "discovery.us-east-1.amazonaws.com", + partition: "aws", + }; + break; case "us-west-2": regionInfo = { hostname: "discovery.us-west-2.amazonaws.com", diff --git a/clients/client-application-insights/endpoints.ts b/clients/client-application-insights/endpoints.ts index c86bdd545e0f3..c576adc980017 100644 --- a/clients/client-application-insights/endpoints.ts +++ b/clients/client-application-insights/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "applicationinsights.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-appstream/endpoints.ts b/clients/client-appstream/endpoints.ts index 31677226198e5..297e7ed9ce28d 100644 --- a/clients/client-appstream/endpoints.ts +++ b/clients/client-appstream/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "appstream2.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -51,6 +53,13 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op signingService: "appstream", }; break; + case "ap-south-1": + regionInfo = { + hostname: "appstream2.ap-south-1.amazonaws.com", + partition: "aws", + signingService: "appstream", + }; + break; case "ap-southeast-1": regionInfo = { hostname: "appstream2.ap-southeast-1.amazonaws.com", diff --git a/clients/client-appsync/endpoints.ts b/clients/client-appsync/endpoints.ts index 6749e50eecaad..0af34c9d95664 100644 --- a/clients/client-appsync/endpoints.ts +++ b/clients/client-appsync/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "appsync.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "ap-east-1": + regionInfo = { + hostname: "appsync.ap-east-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-northeast-1": regionInfo = { hostname: "appsync.ap-northeast-1.amazonaws.com", @@ -67,12 +75,42 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "ca-central-1": + regionInfo = { + hostname: "appsync.ca-central-1.amazonaws.com", + partition: "aws", + }; + break; + case "cn-north-1": + regionInfo = { + hostname: "appsync.cn-north-1.amazonaws.com.cn", + partition: "aws-cn", + }; + break; + case "cn-northwest-1": + regionInfo = { + hostname: "appsync.cn-northwest-1.amazonaws.com.cn", + partition: "aws-cn", + }; + break; case "eu-central-1": regionInfo = { hostname: "appsync.eu-central-1.amazonaws.com", partition: "aws", }; break; + case "eu-north-1": + regionInfo = { + hostname: "appsync.eu-north-1.amazonaws.com", + partition: "aws", + }; + break; + case "eu-south-1": + regionInfo = { + hostname: "appsync.eu-south-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "appsync.eu-west-1.amazonaws.com", @@ -85,6 +123,24 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-west-3": + regionInfo = { + hostname: "appsync.eu-west-3.amazonaws.com", + partition: "aws", + }; + break; + case "me-south-1": + regionInfo = { + hostname: "appsync.me-south-1.amazonaws.com", + partition: "aws", + }; + break; + case "sa-east-1": + regionInfo = { + hostname: "appsync.sa-east-1.amazonaws.com", + partition: "aws", + }; + break; case "us-east-1": regionInfo = { hostname: "appsync.us-east-1.amazonaws.com", @@ -97,6 +153,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "us-west-1": + regionInfo = { + hostname: "appsync.us-west-1.amazonaws.com", + partition: "aws", + }; + break; case "us-west-2": regionInfo = { hostname: "appsync.us-west-2.amazonaws.com", diff --git a/clients/client-athena/endpoints.ts b/clients/client-athena/endpoints.ts index e6ca08e81bd5a..427cabe0b85d9 100644 --- a/clients/client-athena/endpoints.ts +++ b/clients/client-athena/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "athena.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "af-south-1": + regionInfo = { + hostname: "athena.af-south-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-east-1": regionInfo = { hostname: "athena.ap-east-1.amazonaws.com", @@ -79,6 +87,18 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "cn-north-1": + regionInfo = { + hostname: "athena.cn-north-1.amazonaws.com.cn", + partition: "aws-cn", + }; + break; + case "cn-northwest-1": + regionInfo = { + hostname: "athena.cn-northwest-1.amazonaws.com.cn", + partition: "aws-cn", + }; + break; case "eu-central-1": regionInfo = { hostname: "athena.eu-central-1.amazonaws.com", @@ -91,6 +111,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-south-1": + regionInfo = { + hostname: "athena.eu-south-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "athena.eu-west-1.amazonaws.com", @@ -109,12 +135,32 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "fips-us-gov-east-1": + regionInfo = { + hostname: "athena-fips.us-gov-east-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-east-1", + }; + break; + case "fips-us-gov-west-1": + regionInfo = { + hostname: "athena-fips.us-gov-west-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-west-1", + }; + break; case "me-south-1": regionInfo = { hostname: "athena.me-south-1.amazonaws.com", partition: "aws", }; break; + case "sa-east-1": + regionInfo = { + hostname: "athena.sa-east-1.amazonaws.com", + partition: "aws", + }; + break; case "us-east-1": regionInfo = { hostname: "athena.us-east-1.amazonaws.com", diff --git a/clients/client-auditmanager/endpoints.ts b/clients/client-auditmanager/endpoints.ts index ccc366f928349..4469377841839 100644 --- a/clients/client-auditmanager/endpoints.ts +++ b/clients/client-auditmanager/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "auditmanager.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-auto-scaling-plans/endpoints.ts b/clients/client-auto-scaling-plans/endpoints.ts index 03ea4bb462616..f92ed0496cc80 100644 --- a/clients/client-auto-scaling-plans/endpoints.ts +++ b/clients/client-auto-scaling-plans/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "autoscaling-plans.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,18 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "af-south-1": + regionInfo = { + hostname: "autoscaling-plans.af-south-1.amazonaws.com", + partition: "aws", + }; + break; + case "ap-east-1": + regionInfo = { + hostname: "autoscaling-plans.ap-east-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-northeast-1": regionInfo = { hostname: "autoscaling-plans.ap-northeast-1.amazonaws.com", @@ -73,12 +87,36 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "cn-north-1": + regionInfo = { + hostname: "autoscaling-plans.cn-north-1.amazonaws.com.cn", + partition: "aws-cn", + }; + break; + case "cn-northwest-1": + regionInfo = { + hostname: "autoscaling-plans.cn-northwest-1.amazonaws.com.cn", + partition: "aws-cn", + }; + break; case "eu-central-1": regionInfo = { hostname: "autoscaling-plans.eu-central-1.amazonaws.com", partition: "aws", }; break; + case "eu-north-1": + regionInfo = { + hostname: "autoscaling-plans.eu-north-1.amazonaws.com", + partition: "aws", + }; + break; + case "eu-south-1": + regionInfo = { + hostname: "autoscaling-plans.eu-south-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "autoscaling-plans.eu-west-1.amazonaws.com", @@ -91,6 +129,24 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-west-3": + regionInfo = { + hostname: "autoscaling-plans.eu-west-3.amazonaws.com", + partition: "aws", + }; + break; + case "me-south-1": + regionInfo = { + hostname: "autoscaling-plans.me-south-1.amazonaws.com", + partition: "aws", + }; + break; + case "sa-east-1": + regionInfo = { + hostname: "autoscaling-plans.sa-east-1.amazonaws.com", + partition: "aws", + }; + break; case "us-east-1": regionInfo = { hostname: "autoscaling-plans.us-east-1.amazonaws.com", @@ -103,6 +159,18 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "us-gov-east-1": + regionInfo = { + hostname: "autoscaling-plans.us-gov-east-1.amazonaws.com", + partition: "aws-us-gov", + }; + break; + case "us-gov-west-1": + regionInfo = { + hostname: "autoscaling-plans.us-gov-west-1.amazonaws.com", + partition: "aws-us-gov", + }; + break; case "us-west-1": regionInfo = { hostname: "autoscaling-plans.us-west-1.amazonaws.com", diff --git a/clients/client-auto-scaling/endpoints.ts b/clients/client-auto-scaling/endpoints.ts index 68c609b215de8..36e34d872a84a 100644 --- a/clients/client-auto-scaling/endpoints.ts +++ b/clients/client-auto-scaling/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "autoscaling.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "af-south-1": + regionInfo = { + hostname: "autoscaling.af-south-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-east-1": regionInfo = { hostname: "autoscaling.ap-east-1.amazonaws.com", @@ -103,6 +111,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-south-1": + regionInfo = { + hostname: "autoscaling.eu-south-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "autoscaling.eu-west-1.amazonaws.com", diff --git a/clients/client-backup/endpoints.ts b/clients/client-backup/endpoints.ts index c053fd431be82..b0110b59841d3 100644 --- a/clients/client-backup/endpoints.ts +++ b/clients/client-backup/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "backup.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "af-south-1": + regionInfo = { + hostname: "backup.af-south-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-east-1": regionInfo = { hostname: "backup.ap-east-1.amazonaws.com", @@ -79,6 +87,18 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "cn-north-1": + regionInfo = { + hostname: "backup.cn-north-1.amazonaws.com.cn", + partition: "aws-cn", + }; + break; + case "cn-northwest-1": + regionInfo = { + hostname: "backup.cn-northwest-1.amazonaws.com.cn", + partition: "aws-cn", + }; + break; case "eu-central-1": regionInfo = { hostname: "backup.eu-central-1.amazonaws.com", @@ -91,6 +111,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-south-1": + regionInfo = { + hostname: "backup.eu-south-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "backup.eu-west-1.amazonaws.com", @@ -133,6 +159,18 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "us-gov-east-1": + regionInfo = { + hostname: "backup.us-gov-east-1.amazonaws.com", + partition: "aws-us-gov", + }; + break; + case "us-gov-west-1": + regionInfo = { + hostname: "backup.us-gov-west-1.amazonaws.com", + partition: "aws-us-gov", + }; + break; case "us-west-1": regionInfo = { hostname: "backup.us-west-1.amazonaws.com", diff --git a/clients/client-batch/endpoints.ts b/clients/client-batch/endpoints.ts index 90ed087eb438a..f6f8ee6c39fae 100644 --- a/clients/client-batch/endpoints.ts +++ b/clients/client-batch/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "batch.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -103,6 +105,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-south-1": + regionInfo = { + hostname: "batch.eu-south-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "batch.eu-west-1.amazonaws.com", @@ -121,6 +129,48 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "fips-us-east-1": + regionInfo = { + hostname: "fips.batch.us-east-1.amazonaws.com", + partition: "aws", + signingRegion: "us-east-1", + }; + break; + case "fips-us-east-2": + regionInfo = { + hostname: "fips.batch.us-east-2.amazonaws.com", + partition: "aws", + signingRegion: "us-east-2", + }; + break; + case "fips-us-gov-east-1": + regionInfo = { + hostname: "batch.us-gov-east-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-east-1", + }; + break; + case "fips-us-gov-west-1": + regionInfo = { + hostname: "batch.us-gov-west-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-west-1", + }; + break; + case "fips-us-west-1": + regionInfo = { + hostname: "fips.batch.us-west-1.amazonaws.com", + partition: "aws", + signingRegion: "us-west-1", + }; + break; + case "fips-us-west-2": + regionInfo = { + hostname: "fips.batch.us-west-2.amazonaws.com", + partition: "aws", + signingRegion: "us-west-2", + }; + break; case "me-south-1": regionInfo = { hostname: "batch.me-south-1.amazonaws.com", @@ -145,6 +195,18 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "us-gov-east-1": + regionInfo = { + hostname: "batch.us-gov-east-1.amazonaws.com", + partition: "aws-us-gov", + }; + break; + case "us-gov-west-1": + regionInfo = { + hostname: "batch.us-gov-west-1.amazonaws.com", + partition: "aws-us-gov", + }; + break; case "us-west-1": regionInfo = { hostname: "batch.us-west-1.amazonaws.com", diff --git a/clients/client-braket/endpoints.ts b/clients/client-braket/endpoints.ts index 586d8a61cc0ec..8b1a2fcf9f052 100644 --- a/clients/client-braket/endpoints.ts +++ b/clients/client-braket/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "braket.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-budgets/endpoints.ts b/clients/client-budgets/endpoints.ts index 0e64d77533f55..fa6091c0abfe8 100644 --- a/clients/client-budgets/endpoints.ts +++ b/clients/client-budgets/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "budgets.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,13 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "aws-cn-global": + regionInfo = { + hostname: "budgets.amazonaws.com.cn", + partition: "aws-cn", + signingRegion: "cn-northwest-1", + }; + break; case "aws-global": regionInfo = { hostname: "budgets.amazonaws.com", @@ -50,10 +59,7 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op return defaultRegionInfoProvider("aws-global"); } if (AWS_CN_REGIONS.has(region)) { - regionInfo = { - hostname: AWS_CN_TEMPLATE.replace("{region}", region), - partition: "aws-cn", - }; + return defaultRegionInfoProvider("aws-cn-global"); } if (AWS_ISO_REGIONS.has(region)) { regionInfo = { diff --git a/clients/client-chime/endpoints.ts b/clients/client-chime/endpoints.ts index 1d95c403e468b..e532cf532d99c 100644 --- a/clients/client-chime/endpoints.ts +++ b/clients/client-chime/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "chime.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -39,7 +41,7 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op // First, try to match exact region names. case "aws-global": regionInfo = { - hostname: "service.chime.aws.amazon.com", + hostname: "chime.us-east-1.amazonaws.com", partition: "aws", signingRegion: "us-east-1", }; diff --git a/clients/client-cloud9/endpoints.ts b/clients/client-cloud9/endpoints.ts index f4e3c9c3ee79a..49e85ba4a5e3b 100644 --- a/clients/client-cloud9/endpoints.ts +++ b/clients/client-cloud9/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "cloud9.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,30 +39,96 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "ap-east-1": + regionInfo = { + hostname: "cloud9.ap-east-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-northeast-1": regionInfo = { hostname: "cloud9.ap-northeast-1.amazonaws.com", partition: "aws", }; break; + case "ap-northeast-2": + regionInfo = { + hostname: "cloud9.ap-northeast-2.amazonaws.com", + partition: "aws", + }; + break; + case "ap-south-1": + regionInfo = { + hostname: "cloud9.ap-south-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-southeast-1": regionInfo = { hostname: "cloud9.ap-southeast-1.amazonaws.com", partition: "aws", }; break; + case "ap-southeast-2": + regionInfo = { + hostname: "cloud9.ap-southeast-2.amazonaws.com", + partition: "aws", + }; + break; + case "ca-central-1": + regionInfo = { + hostname: "cloud9.ca-central-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-central-1": regionInfo = { hostname: "cloud9.eu-central-1.amazonaws.com", partition: "aws", }; break; + case "eu-north-1": + regionInfo = { + hostname: "cloud9.eu-north-1.amazonaws.com", + partition: "aws", + }; + break; + case "eu-south-1": + regionInfo = { + hostname: "cloud9.eu-south-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "cloud9.eu-west-1.amazonaws.com", partition: "aws", }; break; + case "eu-west-2": + regionInfo = { + hostname: "cloud9.eu-west-2.amazonaws.com", + partition: "aws", + }; + break; + case "eu-west-3": + regionInfo = { + hostname: "cloud9.eu-west-3.amazonaws.com", + partition: "aws", + }; + break; + case "me-south-1": + regionInfo = { + hostname: "cloud9.me-south-1.amazonaws.com", + partition: "aws", + }; + break; + case "sa-east-1": + regionInfo = { + hostname: "cloud9.sa-east-1.amazonaws.com", + partition: "aws", + }; + break; case "us-east-1": regionInfo = { hostname: "cloud9.us-east-1.amazonaws.com", @@ -73,6 +141,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "us-west-1": + regionInfo = { + hostname: "cloud9.us-west-1.amazonaws.com", + partition: "aws", + }; + break; case "us-west-2": regionInfo = { hostname: "cloud9.us-west-2.amazonaws.com", diff --git a/clients/client-clouddirectory/endpoints.ts b/clients/client-clouddirectory/endpoints.ts index 2cf880df49598..e14cefc2e98d9 100644 --- a/clients/client-clouddirectory/endpoints.ts +++ b/clients/client-clouddirectory/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "clouddirectory.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-cloudformation/endpoints.ts b/clients/client-cloudformation/endpoints.ts index 69a72ecf4c878..cb8a88202394a 100644 --- a/clients/client-cloudformation/endpoints.ts +++ b/clients/client-cloudformation/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "cloudformation.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "af-south-1": + regionInfo = { + hostname: "cloudformation.af-south-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-east-1": regionInfo = { hostname: "cloudformation.ap-east-1.amazonaws.com", @@ -103,6 +111,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-south-1": + regionInfo = { + hostname: "cloudformation.eu-south-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "cloudformation.eu-west-1.amazonaws.com", @@ -139,22 +153,38 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "us-east-1-fips": + regionInfo = { + hostname: "cloudformation-fips.us-east-1.amazonaws.com", + partition: "aws", + signingRegion: "us-east-1", + }; + break; case "us-east-2": regionInfo = { hostname: "cloudformation.us-east-2.amazonaws.com", partition: "aws", }; break; + case "us-east-2-fips": + regionInfo = { + hostname: "cloudformation-fips.us-east-2.amazonaws.com", + partition: "aws", + signingRegion: "us-east-2", + }; + break; case "us-gov-east-1": regionInfo = { hostname: "cloudformation.us-gov-east-1.amazonaws.com", partition: "aws-us-gov", + signingRegion: "us-gov-east-1", }; break; case "us-gov-west-1": regionInfo = { hostname: "cloudformation.us-gov-west-1.amazonaws.com", partition: "aws-us-gov", + signingRegion: "us-gov-west-1", }; break; case "us-iso-east-1": @@ -175,12 +205,26 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "us-west-1-fips": + regionInfo = { + hostname: "cloudformation-fips.us-west-1.amazonaws.com", + partition: "aws", + signingRegion: "us-west-1", + }; + break; case "us-west-2": regionInfo = { hostname: "cloudformation.us-west-2.amazonaws.com", partition: "aws", }; break; + case "us-west-2-fips": + regionInfo = { + hostname: "cloudformation-fips.us-west-2.amazonaws.com", + partition: "aws", + signingRegion: "us-west-2", + }; + break; // Next, try to match partition endpoints. default: if (AWS_REGIONS.has(region)) { diff --git a/clients/client-cloudfront/endpoints.ts b/clients/client-cloudfront/endpoints.ts index c4d2212af67f3..3d61b4531c0e6 100644 --- a/clients/client-cloudfront/endpoints.ts +++ b/clients/client-cloudfront/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "cloudfront.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-cloudhsm-v2/endpoints.ts b/clients/client-cloudhsm-v2/endpoints.ts index 3b51b3fe814ca..0bb710b868055 100644 --- a/clients/client-cloudhsm-v2/endpoints.ts +++ b/clients/client-cloudhsm-v2/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "cloudhsmv2.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,13 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "af-south-1": + regionInfo = { + hostname: "cloudhsmv2.af-south-1.amazonaws.com", + partition: "aws", + signingService: "cloudhsm", + }; + break; case "ap-east-1": regionInfo = { hostname: "cloudhsmv2.ap-east-1.amazonaws.com", @@ -100,6 +109,13 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op signingService: "cloudhsm", }; break; + case "eu-south-1": + regionInfo = { + hostname: "cloudhsmv2.eu-south-1.amazonaws.com", + partition: "aws", + signingService: "cloudhsm", + }; + break; case "eu-west-1": regionInfo = { hostname: "cloudhsmv2.eu-west-1.amazonaws.com", diff --git a/clients/client-cloudhsm/endpoints.ts b/clients/client-cloudhsm/endpoints.ts index 0027fd1e16cd1..b61057b23faf0 100644 --- a/clients/client-cloudhsm/endpoints.ts +++ b/clients/client-cloudhsm/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "cloudhsm.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-cloudsearch-domain/endpoints.ts b/clients/client-cloudsearch-domain/endpoints.ts index 3f5633345028c..09c98c4402056 100644 --- a/clients/client-cloudsearch-domain/endpoints.ts +++ b/clients/client-cloudsearch-domain/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "cloudsearchdomain.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-cloudsearch/endpoints.ts b/clients/client-cloudsearch/endpoints.ts index fd5187597bae2..be9d0afaeff02 100644 --- a/clients/client-cloudsearch/endpoints.ts +++ b/clients/client-cloudsearch/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "cloudsearch.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-cloudtrail/endpoints.ts b/clients/client-cloudtrail/endpoints.ts index 5e2d6f9a09cd4..fce144081e9f2 100644 --- a/clients/client-cloudtrail/endpoints.ts +++ b/clients/client-cloudtrail/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "cloudtrail.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "af-south-1": + regionInfo = { + hostname: "cloudtrail.af-south-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-east-1": regionInfo = { hostname: "cloudtrail.ap-east-1.amazonaws.com", @@ -103,6 +111,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-south-1": + regionInfo = { + hostname: "cloudtrail.eu-south-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "cloudtrail.eu-west-1.amazonaws.com", @@ -121,6 +135,34 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "fips-us-east-1": + regionInfo = { + hostname: "cloudtrail-fips.us-east-1.amazonaws.com", + partition: "aws", + signingRegion: "us-east-1", + }; + break; + case "fips-us-east-2": + regionInfo = { + hostname: "cloudtrail-fips.us-east-2.amazonaws.com", + partition: "aws", + signingRegion: "us-east-2", + }; + break; + case "fips-us-west-1": + regionInfo = { + hostname: "cloudtrail-fips.us-west-1.amazonaws.com", + partition: "aws", + signingRegion: "us-west-1", + }; + break; + case "fips-us-west-2": + regionInfo = { + hostname: "cloudtrail-fips.us-west-2.amazonaws.com", + partition: "aws", + signingRegion: "us-west-2", + }; + break; case "me-south-1": regionInfo = { hostname: "cloudtrail.me-south-1.amazonaws.com", @@ -149,12 +191,14 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op regionInfo = { hostname: "cloudtrail.us-gov-east-1.amazonaws.com", partition: "aws-us-gov", + signingRegion: "us-gov-east-1", }; break; case "us-gov-west-1": regionInfo = { hostname: "cloudtrail.us-gov-west-1.amazonaws.com", partition: "aws-us-gov", + signingRegion: "us-gov-west-1", }; break; case "us-iso-east-1": diff --git a/clients/client-cloudwatch-events/endpoints.ts b/clients/client-cloudwatch-events/endpoints.ts index c71ae4280a01b..53b67173279da 100644 --- a/clients/client-cloudwatch-events/endpoints.ts +++ b/clients/client-cloudwatch-events/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "events.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "af-south-1": + regionInfo = { + hostname: "events.af-south-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-east-1": regionInfo = { hostname: "events.ap-east-1.amazonaws.com", @@ -103,6 +111,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-south-1": + regionInfo = { + hostname: "events.eu-south-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "events.eu-west-1.amazonaws.com", @@ -121,6 +135,34 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "fips-us-east-1": + regionInfo = { + hostname: "events-fips.us-east-1.amazonaws.com", + partition: "aws", + signingRegion: "us-east-1", + }; + break; + case "fips-us-east-2": + regionInfo = { + hostname: "events-fips.us-east-2.amazonaws.com", + partition: "aws", + signingRegion: "us-east-2", + }; + break; + case "fips-us-west-1": + regionInfo = { + hostname: "events-fips.us-west-1.amazonaws.com", + partition: "aws", + signingRegion: "us-west-1", + }; + break; + case "fips-us-west-2": + regionInfo = { + hostname: "events-fips.us-west-2.amazonaws.com", + partition: "aws", + signingRegion: "us-west-2", + }; + break; case "me-south-1": regionInfo = { hostname: "events.me-south-1.amazonaws.com", @@ -149,12 +191,14 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op regionInfo = { hostname: "events.us-gov-east-1.amazonaws.com", partition: "aws-us-gov", + signingRegion: "us-gov-east-1", }; break; case "us-gov-west-1": regionInfo = { hostname: "events.us-gov-west-1.amazonaws.com", partition: "aws-us-gov", + signingRegion: "us-gov-west-1", }; break; case "us-iso-east-1": diff --git a/clients/client-cloudwatch-logs/endpoints.ts b/clients/client-cloudwatch-logs/endpoints.ts index 99ac4f36beb05..9af107ae7358a 100644 --- a/clients/client-cloudwatch-logs/endpoints.ts +++ b/clients/client-cloudwatch-logs/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "logs.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "af-south-1": + regionInfo = { + hostname: "logs.af-south-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-east-1": regionInfo = { hostname: "logs.ap-east-1.amazonaws.com", @@ -103,6 +111,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-south-1": + regionInfo = { + hostname: "logs.eu-south-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "logs.eu-west-1.amazonaws.com", @@ -121,6 +135,34 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "fips-us-east-1": + regionInfo = { + hostname: "logs-fips.us-east-1.amazonaws.com", + partition: "aws", + signingRegion: "us-east-1", + }; + break; + case "fips-us-east-2": + regionInfo = { + hostname: "logs-fips.us-east-2.amazonaws.com", + partition: "aws", + signingRegion: "us-east-2", + }; + break; + case "fips-us-west-1": + regionInfo = { + hostname: "logs-fips.us-west-1.amazonaws.com", + partition: "aws", + signingRegion: "us-west-1", + }; + break; + case "fips-us-west-2": + regionInfo = { + hostname: "logs-fips.us-west-2.amazonaws.com", + partition: "aws", + signingRegion: "us-west-2", + }; + break; case "me-south-1": regionInfo = { hostname: "logs.me-south-1.amazonaws.com", @@ -149,12 +191,14 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op regionInfo = { hostname: "logs.us-gov-east-1.amazonaws.com", partition: "aws-us-gov", + signingRegion: "us-gov-east-1", }; break; case "us-gov-west-1": regionInfo = { hostname: "logs.us-gov-west-1.amazonaws.com", partition: "aws-us-gov", + signingRegion: "us-gov-west-1", }; break; case "us-iso-east-1": diff --git a/clients/client-cloudwatch/endpoints.ts b/clients/client-cloudwatch/endpoints.ts index d45e943569e4f..4f4b1eee669f0 100644 --- a/clients/client-cloudwatch/endpoints.ts +++ b/clients/client-cloudwatch/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "monitoring.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "af-south-1": + regionInfo = { + hostname: "monitoring.af-south-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-east-1": regionInfo = { hostname: "monitoring.ap-east-1.amazonaws.com", @@ -103,6 +111,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-south-1": + regionInfo = { + hostname: "monitoring.eu-south-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "monitoring.eu-west-1.amazonaws.com", @@ -121,6 +135,48 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "fips-us-east-1": + regionInfo = { + hostname: "monitoring-fips.us-east-1.amazonaws.com", + partition: "aws", + signingRegion: "us-east-1", + }; + break; + case "fips-us-east-2": + regionInfo = { + hostname: "monitoring-fips.us-east-2.amazonaws.com", + partition: "aws", + signingRegion: "us-east-2", + }; + break; + case "fips-us-gov-east-1": + regionInfo = { + hostname: "monitoring.us-gov-east-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-east-1", + }; + break; + case "fips-us-gov-west-1": + regionInfo = { + hostname: "monitoring.us-gov-west-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-west-1", + }; + break; + case "fips-us-west-1": + regionInfo = { + hostname: "monitoring-fips.us-west-1.amazonaws.com", + partition: "aws", + signingRegion: "us-west-1", + }; + break; + case "fips-us-west-2": + regionInfo = { + hostname: "monitoring-fips.us-west-2.amazonaws.com", + partition: "aws", + signingRegion: "us-west-2", + }; + break; case "me-south-1": regionInfo = { hostname: "monitoring.me-south-1.amazonaws.com", diff --git a/clients/client-codeartifact/endpoints.ts b/clients/client-codeartifact/endpoints.ts index e012b91f2988e..9d06e5221f0c3 100644 --- a/clients/client-codeartifact/endpoints.ts +++ b/clients/client-codeartifact/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "codeartifact.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,66 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "ap-northeast-1": + regionInfo = { + hostname: "codeartifact.ap-northeast-1.amazonaws.com", + partition: "aws", + }; + break; + case "ap-south-1": + regionInfo = { + hostname: "codeartifact.ap-south-1.amazonaws.com", + partition: "aws", + }; + break; + case "ap-southeast-1": + regionInfo = { + hostname: "codeartifact.ap-southeast-1.amazonaws.com", + partition: "aws", + }; + break; + case "ap-southeast-2": + regionInfo = { + hostname: "codeartifact.ap-southeast-2.amazonaws.com", + partition: "aws", + }; + break; + case "eu-central-1": + regionInfo = { + hostname: "codeartifact.eu-central-1.amazonaws.com", + partition: "aws", + }; + break; + case "eu-north-1": + regionInfo = { + hostname: "codeartifact.eu-north-1.amazonaws.com", + partition: "aws", + }; + break; + case "eu-west-1": + regionInfo = { + hostname: "codeartifact.eu-west-1.amazonaws.com", + partition: "aws", + }; + break; + case "us-east-1": + regionInfo = { + hostname: "codeartifact.us-east-1.amazonaws.com", + partition: "aws", + }; + break; + case "us-east-2": + regionInfo = { + hostname: "codeartifact.us-east-2.amazonaws.com", + partition: "aws", + }; + break; + case "us-west-2": + regionInfo = { + hostname: "codeartifact.us-west-2.amazonaws.com", + partition: "aws", + }; + break; // Next, try to match partition endpoints. default: if (AWS_REGIONS.has(region)) { diff --git a/clients/client-codebuild/endpoints.ts b/clients/client-codebuild/endpoints.ts index d842fcb6cf42c..8417fd30ac54d 100644 --- a/clients/client-codebuild/endpoints.ts +++ b/clients/client-codebuild/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "codebuild.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -103,6 +105,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-south-1": + regionInfo = { + hostname: "codebuild.eu-south-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "codebuild.eu-west-1.amazonaws.com", @@ -165,12 +173,26 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws-us-gov", }; break; + case "us-gov-east-1-fips": + regionInfo = { + hostname: "codebuild-fips.us-gov-east-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-east-1", + }; + break; case "us-gov-west-1": regionInfo = { hostname: "codebuild.us-gov-west-1.amazonaws.com", partition: "aws-us-gov", }; break; + case "us-gov-west-1-fips": + regionInfo = { + hostname: "codebuild-fips.us-gov-west-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-west-1", + }; + break; case "us-west-1": regionInfo = { hostname: "codebuild.us-west-1.amazonaws.com", diff --git a/clients/client-codecommit/endpoints.ts b/clients/client-codecommit/endpoints.ts index f7dc12a4a93cd..908aac7157b62 100644 --- a/clients/client-codecommit/endpoints.ts +++ b/clients/client-codecommit/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "codecommit.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "ap-east-1": + regionInfo = { + hostname: "codecommit.ap-east-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-northeast-1": regionInfo = { hostname: "codecommit.ap-northeast-1.amazonaws.com", @@ -73,6 +81,18 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "cn-north-1": + regionInfo = { + hostname: "codecommit.cn-north-1.amazonaws.com.cn", + partition: "aws-cn", + }; + break; + case "cn-northwest-1": + regionInfo = { + hostname: "codecommit.cn-northwest-1.amazonaws.com.cn", + partition: "aws-cn", + }; + break; case "eu-central-1": regionInfo = { hostname: "codecommit.eu-central-1.amazonaws.com", @@ -85,6 +105,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-south-1": + regionInfo = { + hostname: "codecommit.eu-south-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "codecommit.eu-west-1.amazonaws.com", @@ -105,9 +131,9 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op break; case "fips": regionInfo = { - hostname: "codecommit-fips.ca-central-1.amazonaws.com", - partition: "aws", - signingRegion: "ca-central-1", + hostname: "codecommit-fips.us-gov-west-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-west-1", }; break; case "me-south-1": diff --git a/clients/client-codedeploy/endpoints.ts b/clients/client-codedeploy/endpoints.ts index e6e720131092f..c39401df60d30 100644 --- a/clients/client-codedeploy/endpoints.ts +++ b/clients/client-codedeploy/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "codedeploy.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "af-south-1": + regionInfo = { + hostname: "codedeploy.af-south-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-east-1": regionInfo = { hostname: "codedeploy.ap-east-1.amazonaws.com", @@ -103,6 +111,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-south-1": + regionInfo = { + hostname: "codedeploy.eu-south-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "codedeploy.eu-west-1.amazonaws.com", @@ -191,6 +205,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws-iso", }; break; + case "us-isob-east-1": + regionInfo = { + hostname: "codedeploy.us-isob-east-1.sc2s.sgov.gov", + partition: "aws-iso-b", + }; + break; case "us-west-1": regionInfo = { hostname: "codedeploy.us-west-1.amazonaws.com", diff --git a/clients/client-codeguru-reviewer/endpoints.ts b/clients/client-codeguru-reviewer/endpoints.ts index 833be3d850d5e..95cf5cad246cd 100644 --- a/clients/client-codeguru-reviewer/endpoints.ts +++ b/clients/client-codeguru-reviewer/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "codeguru-reviewer.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-codeguruprofiler/endpoints.ts b/clients/client-codeguruprofiler/endpoints.ts index c4df2a60bef6e..e49cb0e9acb2c 100644 --- a/clients/client-codeguruprofiler/endpoints.ts +++ b/clients/client-codeguruprofiler/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "codeguru-profiler.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-codepipeline/endpoints.ts b/clients/client-codepipeline/endpoints.ts index a5dfa5064bb55..6620c43e35ec7 100644 --- a/clients/client-codepipeline/endpoints.ts +++ b/clients/client-codepipeline/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "codepipeline.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -103,6 +105,48 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "fips-ca-central-1": + regionInfo = { + hostname: "codepipeline-fips.ca-central-1.amazonaws.com", + partition: "aws", + signingRegion: "ca-central-1", + }; + break; + case "fips-us-east-1": + regionInfo = { + hostname: "codepipeline-fips.us-east-1.amazonaws.com", + partition: "aws", + signingRegion: "us-east-1", + }; + break; + case "fips-us-east-2": + regionInfo = { + hostname: "codepipeline-fips.us-east-2.amazonaws.com", + partition: "aws", + signingRegion: "us-east-2", + }; + break; + case "fips-us-gov-west-1": + regionInfo = { + hostname: "codepipeline-fips.us-gov-west-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-west-1", + }; + break; + case "fips-us-west-1": + regionInfo = { + hostname: "codepipeline-fips.us-west-1.amazonaws.com", + partition: "aws", + signingRegion: "us-west-1", + }; + break; + case "fips-us-west-2": + regionInfo = { + hostname: "codepipeline-fips.us-west-2.amazonaws.com", + partition: "aws", + signingRegion: "us-west-2", + }; + break; case "sa-east-1": regionInfo = { hostname: "codepipeline.sa-east-1.amazonaws.com", @@ -121,6 +165,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "us-gov-west-1": + regionInfo = { + hostname: "codepipeline.us-gov-west-1.amazonaws.com", + partition: "aws-us-gov", + }; + break; case "us-west-1": regionInfo = { hostname: "codepipeline.us-west-1.amazonaws.com", diff --git a/clients/client-codestar-connections/endpoints.ts b/clients/client-codestar-connections/endpoints.ts index cf33939d846ac..37c4448ed8cd3 100644 --- a/clients/client-codestar-connections/endpoints.ts +++ b/clients/client-codestar-connections/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "codestar-connections.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,102 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "ap-northeast-1": + regionInfo = { + hostname: "codestar-connections.ap-northeast-1.amazonaws.com", + partition: "aws", + }; + break; + case "ap-northeast-2": + regionInfo = { + hostname: "codestar-connections.ap-northeast-2.amazonaws.com", + partition: "aws", + }; + break; + case "ap-south-1": + regionInfo = { + hostname: "codestar-connections.ap-south-1.amazonaws.com", + partition: "aws", + }; + break; + case "ap-southeast-1": + regionInfo = { + hostname: "codestar-connections.ap-southeast-1.amazonaws.com", + partition: "aws", + }; + break; + case "ap-southeast-2": + regionInfo = { + hostname: "codestar-connections.ap-southeast-2.amazonaws.com", + partition: "aws", + }; + break; + case "ca-central-1": + regionInfo = { + hostname: "codestar-connections.ca-central-1.amazonaws.com", + partition: "aws", + }; + break; + case "eu-central-1": + regionInfo = { + hostname: "codestar-connections.eu-central-1.amazonaws.com", + partition: "aws", + }; + break; + case "eu-north-1": + regionInfo = { + hostname: "codestar-connections.eu-north-1.amazonaws.com", + partition: "aws", + }; + break; + case "eu-west-1": + regionInfo = { + hostname: "codestar-connections.eu-west-1.amazonaws.com", + partition: "aws", + }; + break; + case "eu-west-2": + regionInfo = { + hostname: "codestar-connections.eu-west-2.amazonaws.com", + partition: "aws", + }; + break; + case "eu-west-3": + regionInfo = { + hostname: "codestar-connections.eu-west-3.amazonaws.com", + partition: "aws", + }; + break; + case "sa-east-1": + regionInfo = { + hostname: "codestar-connections.sa-east-1.amazonaws.com", + partition: "aws", + }; + break; + case "us-east-1": + regionInfo = { + hostname: "codestar-connections.us-east-1.amazonaws.com", + partition: "aws", + }; + break; + case "us-east-2": + regionInfo = { + hostname: "codestar-connections.us-east-2.amazonaws.com", + partition: "aws", + }; + break; + case "us-west-1": + regionInfo = { + hostname: "codestar-connections.us-west-1.amazonaws.com", + partition: "aws", + }; + break; + case "us-west-2": + regionInfo = { + hostname: "codestar-connections.us-west-2.amazonaws.com", + partition: "aws", + }; + break; // Next, try to match partition endpoints. default: if (AWS_REGIONS.has(region)) { diff --git a/clients/client-codestar-notifications/endpoints.ts b/clients/client-codestar-notifications/endpoints.ts index 26fa629817f92..eca4b8e2b6756 100644 --- a/clients/client-codestar-notifications/endpoints.ts +++ b/clients/client-codestar-notifications/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "codestar-notifications.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-codestar/endpoints.ts b/clients/client-codestar/endpoints.ts index 9e8da9c81dfdd..44c785e07c914 100644 --- a/clients/client-codestar/endpoints.ts +++ b/clients/client-codestar/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "codestar.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -73,6 +75,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-north-1": + regionInfo = { + hostname: "codestar.eu-north-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "codestar.eu-west-1.amazonaws.com", diff --git a/clients/client-cognito-identity-provider/endpoints.ts b/clients/client-cognito-identity-provider/endpoints.ts index 8f924ec3b52ba..0e699e37e4e39 100644 --- a/clients/client-cognito-identity-provider/endpoints.ts +++ b/clients/client-cognito-identity-provider/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "cognito-idp.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -79,6 +81,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-north-1": + regionInfo = { + hostname: "cognito-idp.eu-north-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "cognito-idp.eu-west-1.amazonaws.com", @@ -91,6 +99,46 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-west-3": + regionInfo = { + hostname: "cognito-idp.eu-west-3.amazonaws.com", + partition: "aws", + }; + break; + case "fips-us-east-1": + regionInfo = { + hostname: "cognito-idp-fips.us-east-1.amazonaws.com", + partition: "aws", + signingRegion: "us-east-1", + }; + break; + case "fips-us-east-2": + regionInfo = { + hostname: "cognito-idp-fips.us-east-2.amazonaws.com", + partition: "aws", + signingRegion: "us-east-2", + }; + break; + case "fips-us-gov-west-1": + regionInfo = { + hostname: "cognito-idp-fips.us-gov-west-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-west-1", + }; + break; + case "fips-us-west-2": + regionInfo = { + hostname: "cognito-idp-fips.us-west-2.amazonaws.com", + partition: "aws", + signingRegion: "us-west-2", + }; + break; + case "sa-east-1": + regionInfo = { + hostname: "cognito-idp.sa-east-1.amazonaws.com", + partition: "aws", + }; + break; case "us-east-1": regionInfo = { hostname: "cognito-idp.us-east-1.amazonaws.com", @@ -103,6 +151,18 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "us-gov-west-1": + regionInfo = { + hostname: "cognito-idp.us-gov-west-1.amazonaws.com", + partition: "aws-us-gov", + }; + break; + case "us-west-1": + regionInfo = { + hostname: "cognito-idp.us-west-1.amazonaws.com", + partition: "aws", + }; + break; case "us-west-2": regionInfo = { hostname: "cognito-idp.us-west-2.amazonaws.com", diff --git a/clients/client-cognito-identity/endpoints.ts b/clients/client-cognito-identity/endpoints.ts index 37313338d91a2..0c91acf857946 100644 --- a/clients/client-cognito-identity/endpoints.ts +++ b/clients/client-cognito-identity/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "cognito-identity.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -85,6 +87,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-north-1": + regionInfo = { + hostname: "cognito-identity.eu-north-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "cognito-identity.eu-west-1.amazonaws.com", @@ -97,6 +105,46 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-west-3": + regionInfo = { + hostname: "cognito-identity.eu-west-3.amazonaws.com", + partition: "aws", + }; + break; + case "fips-us-east-1": + regionInfo = { + hostname: "cognito-identity-fips.us-east-1.amazonaws.com", + partition: "aws", + signingRegion: "us-east-1", + }; + break; + case "fips-us-east-2": + regionInfo = { + hostname: "cognito-identity-fips.us-east-2.amazonaws.com", + partition: "aws", + signingRegion: "us-east-2", + }; + break; + case "fips-us-gov-west-1": + regionInfo = { + hostname: "cognito-identity-fips.us-gov-west-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-west-1", + }; + break; + case "fips-us-west-2": + regionInfo = { + hostname: "cognito-identity-fips.us-west-2.amazonaws.com", + partition: "aws", + signingRegion: "us-west-2", + }; + break; + case "sa-east-1": + regionInfo = { + hostname: "cognito-identity.sa-east-1.amazonaws.com", + partition: "aws", + }; + break; case "us-east-1": regionInfo = { hostname: "cognito-identity.us-east-1.amazonaws.com", @@ -109,6 +157,18 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "us-gov-west-1": + regionInfo = { + hostname: "cognito-identity.us-gov-west-1.amazonaws.com", + partition: "aws-us-gov", + }; + break; + case "us-west-1": + regionInfo = { + hostname: "cognito-identity.us-west-1.amazonaws.com", + partition: "aws", + }; + break; case "us-west-2": regionInfo = { hostname: "cognito-identity.us-west-2.amazonaws.com", diff --git a/clients/client-cognito-sync/endpoints.ts b/clients/client-cognito-sync/endpoints.ts index a7315c0bfbd0f..1737a8ab110a0 100644 --- a/clients/client-cognito-sync/endpoints.ts +++ b/clients/client-cognito-sync/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "cognito-sync.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-comprehend/endpoints.ts b/clients/client-comprehend/endpoints.ts index 39cc070808f53..4e7da84e18a18 100644 --- a/clients/client-comprehend/endpoints.ts +++ b/clients/client-comprehend/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "comprehend.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,24 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "ap-northeast-1": + regionInfo = { + hostname: "comprehend.ap-northeast-1.amazonaws.com", + partition: "aws", + }; + break; + case "ap-northeast-2": + regionInfo = { + hostname: "comprehend.ap-northeast-2.amazonaws.com", + partition: "aws", + }; + break; + case "ap-south-1": + regionInfo = { + hostname: "comprehend.ap-south-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-southeast-1": regionInfo = { hostname: "comprehend.ap-southeast-1.amazonaws.com", @@ -73,6 +93,34 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "fips-us-east-1": + regionInfo = { + hostname: "comprehend-fips.us-east-1.amazonaws.com", + partition: "aws", + signingRegion: "us-east-1", + }; + break; + case "fips-us-east-2": + regionInfo = { + hostname: "comprehend-fips.us-east-2.amazonaws.com", + partition: "aws", + signingRegion: "us-east-2", + }; + break; + case "fips-us-gov-west-1": + regionInfo = { + hostname: "comprehend-fips.us-gov-west-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-west-1", + }; + break; + case "fips-us-west-2": + regionInfo = { + hostname: "comprehend-fips.us-west-2.amazonaws.com", + partition: "aws", + signingRegion: "us-west-2", + }; + break; case "us-east-1": regionInfo = { hostname: "comprehend.us-east-1.amazonaws.com", @@ -91,6 +139,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws-us-gov", }; break; + case "us-iso-east-1": + regionInfo = { + hostname: "comprehend.us-iso-east-1.c2s.ic.gov", + partition: "aws-iso", + }; + break; case "us-west-2": regionInfo = { hostname: "comprehend.us-west-2.amazonaws.com", diff --git a/clients/client-comprehendmedical/endpoints.ts b/clients/client-comprehendmedical/endpoints.ts index f94f8e89fe890..eadee941afe36 100644 --- a/clients/client-comprehendmedical/endpoints.ts +++ b/clients/client-comprehendmedical/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "comprehendmedical.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -61,6 +63,34 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "fips-us-east-1": + regionInfo = { + hostname: "comprehendmedical-fips.us-east-1.amazonaws.com", + partition: "aws", + signingRegion: "us-east-1", + }; + break; + case "fips-us-east-2": + regionInfo = { + hostname: "comprehendmedical-fips.us-east-2.amazonaws.com", + partition: "aws", + signingRegion: "us-east-2", + }; + break; + case "fips-us-gov-west-1": + regionInfo = { + hostname: "comprehendmedical-fips.us-gov-west-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-west-1", + }; + break; + case "fips-us-west-2": + regionInfo = { + hostname: "comprehendmedical-fips.us-west-2.amazonaws.com", + partition: "aws", + signingRegion: "us-west-2", + }; + break; case "us-east-1": regionInfo = { hostname: "comprehendmedical.us-east-1.amazonaws.com", @@ -73,6 +103,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "us-gov-west-1": + regionInfo = { + hostname: "comprehendmedical.us-gov-west-1.amazonaws.com", + partition: "aws-us-gov", + }; + break; case "us-west-2": regionInfo = { hostname: "comprehendmedical.us-west-2.amazonaws.com", diff --git a/clients/client-compute-optimizer/endpoints.ts b/clients/client-compute-optimizer/endpoints.ts index 9ae502cef4237..7d1807fd2fc4b 100644 --- a/clients/client-compute-optimizer/endpoints.ts +++ b/clients/client-compute-optimizer/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "compute-optimizer.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-config-service/endpoints.ts b/clients/client-config-service/endpoints.ts index d2184e4b60138..641642cbc0b9b 100644 --- a/clients/client-config-service/endpoints.ts +++ b/clients/client-config-service/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "config.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "af-south-1": + regionInfo = { + hostname: "config.af-south-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-east-1": regionInfo = { hostname: "config.ap-east-1.amazonaws.com", @@ -103,6 +111,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-south-1": + regionInfo = { + hostname: "config.eu-south-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "config.eu-west-1.amazonaws.com", @@ -121,6 +135,48 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "fips-us-east-1": + regionInfo = { + hostname: "config-fips.us-east-1.amazonaws.com", + partition: "aws", + signingRegion: "us-east-1", + }; + break; + case "fips-us-east-2": + regionInfo = { + hostname: "config-fips.us-east-2.amazonaws.com", + partition: "aws", + signingRegion: "us-east-2", + }; + break; + case "fips-us-gov-east-1": + regionInfo = { + hostname: "config.us-gov-east-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-east-1", + }; + break; + case "fips-us-gov-west-1": + regionInfo = { + hostname: "config.us-gov-west-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-west-1", + }; + break; + case "fips-us-west-1": + regionInfo = { + hostname: "config-fips.us-west-1.amazonaws.com", + partition: "aws", + signingRegion: "us-west-1", + }; + break; + case "fips-us-west-2": + regionInfo = { + hostname: "config-fips.us-west-2.amazonaws.com", + partition: "aws", + signingRegion: "us-west-2", + }; + break; case "me-south-1": regionInfo = { hostname: "config.me-south-1.amazonaws.com", diff --git a/clients/client-connect-contact-lens/endpoints.ts b/clients/client-connect-contact-lens/endpoints.ts index 0f8184b6cbb08..16eb8b6293b2c 100644 --- a/clients/client-connect-contact-lens/endpoints.ts +++ b/clients/client-connect-contact-lens/endpoints.ts @@ -1,14 +1,15 @@ import { RegionInfo, RegionInfoProvider } from "@aws-sdk/types"; // Partition default templates -const AWS_TEMPLATE = "connect.{region}.amazonaws.com"; -const AWS_CN_TEMPLATE = "connect.{region}.amazonaws.com.cn"; -const AWS_ISO_TEMPLATE = "connect.{region}.c2s.ic.gov"; -const AWS_ISO_B_TEMPLATE = "connect.{region}.sc2s.sgov.gov"; -const AWS_US_GOV_TEMPLATE = "connect.{region}.amazonaws.com"; +const AWS_TEMPLATE = "contact-lens.{region}.amazonaws.com"; +const AWS_CN_TEMPLATE = "contact-lens.{region}.amazonaws.com.cn"; +const AWS_ISO_TEMPLATE = "contact-lens.{region}.c2s.ic.gov"; +const AWS_ISO_B_TEMPLATE = "contact-lens.{region}.sc2s.sgov.gov"; +const AWS_US_GOV_TEMPLATE = "contact-lens.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,33 +39,21 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. - case "ap-northeast-1": - regionInfo = { - hostname: "connect.ap-northeast-1.amazonaws.com", - partition: "aws", - }; - break; case "ap-southeast-2": regionInfo = { - hostname: "connect.ap-southeast-2.amazonaws.com", - partition: "aws", - }; - break; - case "eu-central-1": - regionInfo = { - hostname: "connect.eu-central-1.amazonaws.com", + hostname: "contact-lens.ap-southeast-2.amazonaws.com", partition: "aws", }; break; case "us-east-1": regionInfo = { - hostname: "connect.us-east-1.amazonaws.com", + hostname: "contact-lens.us-east-1.amazonaws.com", partition: "aws", }; break; case "us-west-2": regionInfo = { - hostname: "connect.us-west-2.amazonaws.com", + hostname: "contact-lens.us-west-2.amazonaws.com", partition: "aws", }; break; diff --git a/clients/client-connect/endpoints.ts b/clients/client-connect/endpoints.ts index 0f8184b6cbb08..97291d3845b19 100644 --- a/clients/client-connect/endpoints.ts +++ b/clients/client-connect/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "connect.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -43,6 +45,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "ap-southeast-1": + regionInfo = { + hostname: "connect.ap-southeast-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-southeast-2": regionInfo = { hostname: "connect.ap-southeast-2.amazonaws.com", @@ -55,6 +63,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-west-2": + regionInfo = { + hostname: "connect.eu-west-2.amazonaws.com", + partition: "aws", + }; + break; case "us-east-1": regionInfo = { hostname: "connect.us-east-1.amazonaws.com", diff --git a/clients/client-connectparticipant/endpoints.ts b/clients/client-connectparticipant/endpoints.ts index d552edb35dbf7..be12332274693 100644 --- a/clients/client-connectparticipant/endpoints.ts +++ b/clients/client-connectparticipant/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "participant.connect.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-cost-and-usage-report-service/endpoints.ts b/clients/client-cost-and-usage-report-service/endpoints.ts index c644a90b8a177..b88070d379df1 100644 --- a/clients/client-cost-and-usage-report-service/endpoints.ts +++ b/clients/client-cost-and-usage-report-service/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "cur.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "cn-northwest-1": + regionInfo = { + hostname: "cur.cn-northwest-1.amazonaws.com.cn", + partition: "aws-cn", + }; + break; case "us-east-1": regionInfo = { hostname: "cur.us-east-1.amazonaws.com", diff --git a/clients/client-cost-explorer/endpoints.ts b/clients/client-cost-explorer/endpoints.ts index 9274f9ac2b69d..0081e44549339 100644 --- a/clients/client-cost-explorer/endpoints.ts +++ b/clients/client-cost-explorer/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "ce.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,13 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "aws-cn-global": + regionInfo = { + hostname: "ce.cn-northwest-1.amazonaws.com.cn", + partition: "aws-cn", + signingRegion: "cn-northwest-1", + }; + break; case "aws-global": regionInfo = { hostname: "ce.us-east-1.amazonaws.com", @@ -50,10 +59,7 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op return defaultRegionInfoProvider("aws-global"); } if (AWS_CN_REGIONS.has(region)) { - regionInfo = { - hostname: AWS_CN_TEMPLATE.replace("{region}", region), - partition: "aws-cn", - }; + return defaultRegionInfoProvider("aws-cn-global"); } if (AWS_ISO_REGIONS.has(region)) { regionInfo = { diff --git a/clients/client-customer-profiles/endpoints.ts b/clients/client-customer-profiles/endpoints.ts index ceae0d602115f..39be89ae23196 100644 --- a/clients/client-customer-profiles/endpoints.ts +++ b/clients/client-customer-profiles/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "profile.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,48 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "ap-northeast-1": + regionInfo = { + hostname: "profile.ap-northeast-1.amazonaws.com", + partition: "aws", + }; + break; + case "ap-southeast-1": + regionInfo = { + hostname: "profile.ap-southeast-1.amazonaws.com", + partition: "aws", + }; + break; + case "ap-southeast-2": + regionInfo = { + hostname: "profile.ap-southeast-2.amazonaws.com", + partition: "aws", + }; + break; + case "eu-central-1": + regionInfo = { + hostname: "profile.eu-central-1.amazonaws.com", + partition: "aws", + }; + break; + case "eu-west-2": + regionInfo = { + hostname: "profile.eu-west-2.amazonaws.com", + partition: "aws", + }; + break; + case "us-east-1": + regionInfo = { + hostname: "profile.us-east-1.amazonaws.com", + partition: "aws", + }; + break; + case "us-west-2": + regionInfo = { + hostname: "profile.us-west-2.amazonaws.com", + partition: "aws", + }; + break; // Next, try to match partition endpoints. default: if (AWS_REGIONS.has(region)) { diff --git a/clients/client-data-pipeline/endpoints.ts b/clients/client-data-pipeline/endpoints.ts index 2a99f1243343f..ae682821cde09 100644 --- a/clients/client-data-pipeline/endpoints.ts +++ b/clients/client-data-pipeline/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "datapipeline.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-database-migration-service/endpoints.ts b/clients/client-database-migration-service/endpoints.ts index 1ab2378973e70..ab45a0d970148 100644 --- a/clients/client-database-migration-service/endpoints.ts +++ b/clients/client-database-migration-service/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "dms.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "af-south-1": + regionInfo = { + hostname: "dms.af-south-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-east-1": regionInfo = { hostname: "dms.ap-east-1.amazonaws.com", @@ -91,6 +99,13 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws-cn", }; break; + case "dms-fips": + regionInfo = { + hostname: "dms.us-gov-west-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-west-1", + }; + break; case "eu-central-1": regionInfo = { hostname: "dms.eu-central-1.amazonaws.com", @@ -103,6 +118,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-south-1": + regionInfo = { + hostname: "dms.eu-south-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "dms.eu-west-1.amazonaws.com", diff --git a/clients/client-databrew/endpoints.ts b/clients/client-databrew/endpoints.ts index d980aa117b395..ac0b7bf28fe17 100644 --- a/clients/client-databrew/endpoints.ts +++ b/clients/client-databrew/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "databrew.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-dataexchange/endpoints.ts b/clients/client-dataexchange/endpoints.ts index 0a6485403660b..c58c0c1e8853d 100644 --- a/clients/client-dataexchange/endpoints.ts +++ b/clients/client-dataexchange/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "dataexchange.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-datasync/endpoints.ts b/clients/client-datasync/endpoints.ts index 513a034819ede..82266a32bd58b 100644 --- a/clients/client-datasync/endpoints.ts +++ b/clients/client-datasync/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "datasync.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "af-south-1": + regionInfo = { + hostname: "datasync.af-south-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-east-1": regionInfo = { hostname: "datasync.ap-east-1.amazonaws.com", @@ -91,6 +99,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-south-1": + regionInfo = { + hostname: "datasync.eu-south-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "datasync.eu-west-1.amazonaws.com", @@ -109,6 +123,13 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "fips-ca-central-1": + regionInfo = { + hostname: "datasync-fips.ca-central-1.amazonaws.com", + partition: "aws", + signingRegion: "ca-central-1", + }; + break; case "fips-us-east-1": regionInfo = { hostname: "datasync-fips.us-east-1.amazonaws.com", @@ -123,6 +144,13 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op signingRegion: "us-east-2", }; break; + case "fips-us-gov-east-1": + regionInfo = { + hostname: "datasync-fips.us-gov-east-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-east-1", + }; + break; case "fips-us-gov-west-1": regionInfo = { hostname: "datasync-fips.us-gov-west-1.amazonaws.com", diff --git a/clients/client-dax/endpoints.ts b/clients/client-dax/endpoints.ts index f0774271d411c..c6da5a4167b1d 100644 --- a/clients/client-dax/endpoints.ts +++ b/clients/client-dax/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "dax.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-detective/endpoints.ts b/clients/client-detective/endpoints.ts index a20c6c1e66836..30a3a09400d0c 100644 --- a/clients/client-detective/endpoints.ts +++ b/clients/client-detective/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "api.detective.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,126 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "af-south-1": + regionInfo = { + hostname: "api.detective.af-south-1.amazonaws.com", + partition: "aws", + }; + break; + case "ap-east-1": + regionInfo = { + hostname: "api.detective.ap-east-1.amazonaws.com", + partition: "aws", + }; + break; + case "ap-northeast-1": + regionInfo = { + hostname: "api.detective.ap-northeast-1.amazonaws.com", + partition: "aws", + }; + break; + case "ap-northeast-2": + regionInfo = { + hostname: "api.detective.ap-northeast-2.amazonaws.com", + partition: "aws", + }; + break; + case "ap-south-1": + regionInfo = { + hostname: "api.detective.ap-south-1.amazonaws.com", + partition: "aws", + }; + break; + case "ap-southeast-1": + regionInfo = { + hostname: "api.detective.ap-southeast-1.amazonaws.com", + partition: "aws", + }; + break; + case "ap-southeast-2": + regionInfo = { + hostname: "api.detective.ap-southeast-2.amazonaws.com", + partition: "aws", + }; + break; + case "ca-central-1": + regionInfo = { + hostname: "api.detective.ca-central-1.amazonaws.com", + partition: "aws", + }; + break; + case "eu-central-1": + regionInfo = { + hostname: "api.detective.eu-central-1.amazonaws.com", + partition: "aws", + }; + break; + case "eu-north-1": + regionInfo = { + hostname: "api.detective.eu-north-1.amazonaws.com", + partition: "aws", + }; + break; + case "eu-south-1": + regionInfo = { + hostname: "api.detective.eu-south-1.amazonaws.com", + partition: "aws", + }; + break; + case "eu-west-1": + regionInfo = { + hostname: "api.detective.eu-west-1.amazonaws.com", + partition: "aws", + }; + break; + case "eu-west-2": + regionInfo = { + hostname: "api.detective.eu-west-2.amazonaws.com", + partition: "aws", + }; + break; + case "eu-west-3": + regionInfo = { + hostname: "api.detective.eu-west-3.amazonaws.com", + partition: "aws", + }; + break; + case "me-south-1": + regionInfo = { + hostname: "api.detective.me-south-1.amazonaws.com", + partition: "aws", + }; + break; + case "sa-east-1": + regionInfo = { + hostname: "api.detective.sa-east-1.amazonaws.com", + partition: "aws", + }; + break; + case "us-east-1": + regionInfo = { + hostname: "api.detective.us-east-1.amazonaws.com", + partition: "aws", + }; + break; + case "us-east-2": + regionInfo = { + hostname: "api.detective.us-east-2.amazonaws.com", + partition: "aws", + }; + break; + case "us-west-1": + regionInfo = { + hostname: "api.detective.us-west-1.amazonaws.com", + partition: "aws", + }; + break; + case "us-west-2": + regionInfo = { + hostname: "api.detective.us-west-2.amazonaws.com", + partition: "aws", + }; + break; // Next, try to match partition endpoints. default: if (AWS_REGIONS.has(region)) { diff --git a/clients/client-device-farm/endpoints.ts b/clients/client-device-farm/endpoints.ts index 526e491e412b9..f05d0ac87eb36 100644 --- a/clients/client-device-farm/endpoints.ts +++ b/clients/client-device-farm/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "devicefarm.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-devops-guru/endpoints.ts b/clients/client-devops-guru/endpoints.ts index e96cdb44c5bee..22b51eaea4f56 100644 --- a/clients/client-devops-guru/endpoints.ts +++ b/clients/client-devops-guru/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "devops-guru.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-direct-connect/endpoints.ts b/clients/client-direct-connect/endpoints.ts index e5295d837db9e..38c4e0910b8be 100644 --- a/clients/client-direct-connect/endpoints.ts +++ b/clients/client-direct-connect/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "directconnect.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "af-south-1": + regionInfo = { + hostname: "directconnect.af-south-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-east-1": regionInfo = { hostname: "directconnect.ap-east-1.amazonaws.com", @@ -103,6 +111,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-south-1": + regionInfo = { + hostname: "directconnect.eu-south-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "directconnect.eu-west-1.amazonaws.com", @@ -121,6 +135,34 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "fips-us-east-1": + regionInfo = { + hostname: "directconnect-fips.us-east-1.amazonaws.com", + partition: "aws", + signingRegion: "us-east-1", + }; + break; + case "fips-us-east-2": + regionInfo = { + hostname: "directconnect-fips.us-east-2.amazonaws.com", + partition: "aws", + signingRegion: "us-east-2", + }; + break; + case "fips-us-west-1": + regionInfo = { + hostname: "directconnect-fips.us-west-1.amazonaws.com", + partition: "aws", + signingRegion: "us-west-1", + }; + break; + case "fips-us-west-2": + regionInfo = { + hostname: "directconnect-fips.us-west-2.amazonaws.com", + partition: "aws", + signingRegion: "us-west-2", + }; + break; case "me-south-1": regionInfo = { hostname: "directconnect.me-south-1.amazonaws.com", @@ -149,12 +191,14 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op regionInfo = { hostname: "directconnect.us-gov-east-1.amazonaws.com", partition: "aws-us-gov", + signingRegion: "us-gov-east-1", }; break; case "us-gov-west-1": regionInfo = { hostname: "directconnect.us-gov-west-1.amazonaws.com", partition: "aws-us-gov", + signingRegion: "us-gov-west-1", }; break; case "us-iso-east-1": diff --git a/clients/client-directory-service/endpoints.ts b/clients/client-directory-service/endpoints.ts index e0b7e409fa2b5..69e28a88ba0df 100644 --- a/clients/client-directory-service/endpoints.ts +++ b/clients/client-directory-service/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "ds.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "af-south-1": + regionInfo = { + hostname: "ds.af-south-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-east-1": regionInfo = { hostname: "ds.ap-east-1.amazonaws.com", @@ -103,6 +111,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-south-1": + regionInfo = { + hostname: "ds.eu-south-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "ds.eu-west-1.amazonaws.com", @@ -115,6 +129,67 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-west-3": + regionInfo = { + hostname: "ds.eu-west-3.amazonaws.com", + partition: "aws", + }; + break; + case "fips-ca-central-1": + regionInfo = { + hostname: "ds-fips.ca-central-1.amazonaws.com", + partition: "aws", + signingRegion: "ca-central-1", + }; + break; + case "fips-us-east-1": + regionInfo = { + hostname: "ds-fips.us-east-1.amazonaws.com", + partition: "aws", + signingRegion: "us-east-1", + }; + break; + case "fips-us-east-2": + regionInfo = { + hostname: "ds-fips.us-east-2.amazonaws.com", + partition: "aws", + signingRegion: "us-east-2", + }; + break; + case "fips-us-gov-east-1": + regionInfo = { + hostname: "ds-fips.us-gov-east-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-east-1", + }; + break; + case "fips-us-gov-west-1": + regionInfo = { + hostname: "ds-fips.us-gov-west-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-west-1", + }; + break; + case "fips-us-west-1": + regionInfo = { + hostname: "ds-fips.us-west-1.amazonaws.com", + partition: "aws", + signingRegion: "us-west-1", + }; + break; + case "fips-us-west-2": + regionInfo = { + hostname: "ds-fips.us-west-2.amazonaws.com", + partition: "aws", + signingRegion: "us-west-2", + }; + break; + case "me-south-1": + regionInfo = { + hostname: "ds.me-south-1.amazonaws.com", + partition: "aws", + }; + break; case "sa-east-1": regionInfo = { hostname: "ds.sa-east-1.amazonaws.com", diff --git a/clients/client-dlm/endpoints.ts b/clients/client-dlm/endpoints.ts index 402d890bbc51b..bf73ac0ca91cc 100644 --- a/clients/client-dlm/endpoints.ts +++ b/clients/client-dlm/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "dlm.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-docdb/endpoints.ts b/clients/client-docdb/endpoints.ts index 4d7d64bab72e3..3be5c3bec9a5a 100644 --- a/clients/client-docdb/endpoints.ts +++ b/clients/client-docdb/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "rds.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "af-south-1": + regionInfo = { + hostname: "rds.af-south-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-east-1": regionInfo = { hostname: "rds.ap-east-1.amazonaws.com", @@ -103,6 +111,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-south-1": + regionInfo = { + hostname: "rds.eu-south-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "rds.eu-west-1.amazonaws.com", @@ -127,6 +141,55 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "rds-fips.ca-central-1": + regionInfo = { + hostname: "rds-fips.ca-central-1.amazonaws.com", + partition: "aws", + signingRegion: "ca-central-1", + }; + break; + case "rds-fips.us-east-1": + regionInfo = { + hostname: "rds-fips.us-east-1.amazonaws.com", + partition: "aws", + signingRegion: "us-east-1", + }; + break; + case "rds-fips.us-east-2": + regionInfo = { + hostname: "rds-fips.us-east-2.amazonaws.com", + partition: "aws", + signingRegion: "us-east-2", + }; + break; + case "rds-fips.us-west-1": + regionInfo = { + hostname: "rds-fips.us-west-1.amazonaws.com", + partition: "aws", + signingRegion: "us-west-1", + }; + break; + case "rds-fips.us-west-2": + regionInfo = { + hostname: "rds-fips.us-west-2.amazonaws.com", + partition: "aws", + signingRegion: "us-west-2", + }; + break; + case "rds.us-gov-east-1": + regionInfo = { + hostname: "rds.us-gov-east-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-east-1", + }; + break; + case "rds.us-gov-west-1": + regionInfo = { + hostname: "rds.us-gov-west-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-west-1", + }; + break; case "sa-east-1": regionInfo = { hostname: "rds.sa-east-1.amazonaws.com", diff --git a/clients/client-dynamodb-streams/endpoints.ts b/clients/client-dynamodb-streams/endpoints.ts index cf54b6dca8b1c..6f2e5dbbdca9e 100644 --- a/clients/client-dynamodb-streams/endpoints.ts +++ b/clients/client-dynamodb-streams/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "streams.dynamodb.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-dynamodb/endpoints.ts b/clients/client-dynamodb/endpoints.ts index 621aa66bc30af..ac8a7573f6541 100644 --- a/clients/client-dynamodb/endpoints.ts +++ b/clients/client-dynamodb/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "dynamodb.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "af-south-1": + regionInfo = { + hostname: "dynamodb.af-south-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-east-1": regionInfo = { hostname: "dynamodb.ap-east-1.amazonaws.com", @@ -110,6 +118,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-south-1": + regionInfo = { + hostname: "dynamodb.eu-south-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "dynamodb.eu-west-1.amazonaws.com", diff --git a/clients/client-ebs/endpoints.ts b/clients/client-ebs/endpoints.ts index b02eb3e3e07e5..f2cb07f8d4ad1 100644 --- a/clients/client-ebs/endpoints.ts +++ b/clients/client-ebs/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "ebs.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,185 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "af-south-1": + regionInfo = { + hostname: "ebs.af-south-1.amazonaws.com", + partition: "aws", + }; + break; + case "ap-east-1": + regionInfo = { + hostname: "ebs.ap-east-1.amazonaws.com", + partition: "aws", + }; + break; + case "ap-northeast-1": + regionInfo = { + hostname: "ebs.ap-northeast-1.amazonaws.com", + partition: "aws", + }; + break; + case "ap-northeast-2": + regionInfo = { + hostname: "ebs.ap-northeast-2.amazonaws.com", + partition: "aws", + }; + break; + case "ap-south-1": + regionInfo = { + hostname: "ebs.ap-south-1.amazonaws.com", + partition: "aws", + }; + break; + case "ap-southeast-1": + regionInfo = { + hostname: "ebs.ap-southeast-1.amazonaws.com", + partition: "aws", + }; + break; + case "ap-southeast-2": + regionInfo = { + hostname: "ebs.ap-southeast-2.amazonaws.com", + partition: "aws", + }; + break; + case "ca-central-1": + regionInfo = { + hostname: "ebs.ca-central-1.amazonaws.com", + partition: "aws", + }; + break; + case "cn-north-1": + regionInfo = { + hostname: "ebs.cn-north-1.amazonaws.com.cn", + partition: "aws-cn", + }; + break; + case "cn-northwest-1": + regionInfo = { + hostname: "ebs.cn-northwest-1.amazonaws.com.cn", + partition: "aws-cn", + }; + break; + case "eu-central-1": + regionInfo = { + hostname: "ebs.eu-central-1.amazonaws.com", + partition: "aws", + }; + break; + case "eu-north-1": + regionInfo = { + hostname: "ebs.eu-north-1.amazonaws.com", + partition: "aws", + }; + break; + case "eu-south-1": + regionInfo = { + hostname: "ebs.eu-south-1.amazonaws.com", + partition: "aws", + }; + break; + case "eu-west-1": + regionInfo = { + hostname: "ebs.eu-west-1.amazonaws.com", + partition: "aws", + }; + break; + case "eu-west-2": + regionInfo = { + hostname: "ebs.eu-west-2.amazonaws.com", + partition: "aws", + }; + break; + case "eu-west-3": + regionInfo = { + hostname: "ebs.eu-west-3.amazonaws.com", + partition: "aws", + }; + break; + case "fips-ca-central-1": + regionInfo = { + hostname: "ebs-fips.ca-central-1.amazonaws.com", + partition: "aws", + signingRegion: "ca-central-1", + }; + break; + case "fips-us-east-1": + regionInfo = { + hostname: "ebs-fips.us-east-1.amazonaws.com", + partition: "aws", + signingRegion: "us-east-1", + }; + break; + case "fips-us-east-2": + regionInfo = { + hostname: "ebs-fips.us-east-2.amazonaws.com", + partition: "aws", + signingRegion: "us-east-2", + }; + break; + case "fips-us-west-1": + regionInfo = { + hostname: "ebs-fips.us-west-1.amazonaws.com", + partition: "aws", + signingRegion: "us-west-1", + }; + break; + case "fips-us-west-2": + regionInfo = { + hostname: "ebs-fips.us-west-2.amazonaws.com", + partition: "aws", + signingRegion: "us-west-2", + }; + break; + case "me-south-1": + regionInfo = { + hostname: "ebs.me-south-1.amazonaws.com", + partition: "aws", + }; + break; + case "sa-east-1": + regionInfo = { + hostname: "ebs.sa-east-1.amazonaws.com", + partition: "aws", + }; + break; + case "us-east-1": + regionInfo = { + hostname: "ebs.us-east-1.amazonaws.com", + partition: "aws", + }; + break; + case "us-east-2": + regionInfo = { + hostname: "ebs.us-east-2.amazonaws.com", + partition: "aws", + }; + break; + case "us-gov-east-1": + regionInfo = { + hostname: "ebs.us-gov-east-1.amazonaws.com", + partition: "aws-us-gov", + }; + break; + case "us-gov-west-1": + regionInfo = { + hostname: "ebs.us-gov-west-1.amazonaws.com", + partition: "aws-us-gov", + }; + break; + case "us-west-1": + regionInfo = { + hostname: "ebs.us-west-1.amazonaws.com", + partition: "aws", + }; + break; + case "us-west-2": + regionInfo = { + hostname: "ebs.us-west-2.amazonaws.com", + partition: "aws", + }; + break; // Next, try to match partition endpoints. default: if (AWS_REGIONS.has(region)) { diff --git a/clients/client-ec2-instance-connect/endpoints.ts b/clients/client-ec2-instance-connect/endpoints.ts index 04417cd930142..8803490fdcaa7 100644 --- a/clients/client-ec2-instance-connect/endpoints.ts +++ b/clients/client-ec2-instance-connect/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "ec2-instance-connect.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-ec2/endpoints.ts b/clients/client-ec2/endpoints.ts index f585a43ad0245..8993605b37f8b 100644 --- a/clients/client-ec2/endpoints.ts +++ b/clients/client-ec2/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "ec2.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "af-south-1": + regionInfo = { + hostname: "ec2.af-south-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-east-1": regionInfo = { hostname: "ec2.ap-east-1.amazonaws.com", @@ -103,6 +111,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-south-1": + regionInfo = { + hostname: "ec2.eu-south-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "ec2.eu-west-1.amazonaws.com", @@ -121,6 +135,41 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "fips-ca-central-1": + regionInfo = { + hostname: "ec2-fips.ca-central-1.amazonaws.com", + partition: "aws", + signingRegion: "ca-central-1", + }; + break; + case "fips-us-east-1": + regionInfo = { + hostname: "ec2-fips.us-east-1.amazonaws.com", + partition: "aws", + signingRegion: "us-east-1", + }; + break; + case "fips-us-east-2": + regionInfo = { + hostname: "ec2-fips.us-east-2.amazonaws.com", + partition: "aws", + signingRegion: "us-east-2", + }; + break; + case "fips-us-west-1": + regionInfo = { + hostname: "ec2-fips.us-west-1.amazonaws.com", + partition: "aws", + signingRegion: "us-west-1", + }; + break; + case "fips-us-west-2": + regionInfo = { + hostname: "ec2-fips.us-west-2.amazonaws.com", + partition: "aws", + signingRegion: "us-west-2", + }; + break; case "me-south-1": regionInfo = { hostname: "ec2.me-south-1.amazonaws.com", @@ -149,12 +198,14 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op regionInfo = { hostname: "ec2.us-gov-east-1.amazonaws.com", partition: "aws-us-gov", + signingRegion: "us-gov-east-1", }; break; case "us-gov-west-1": regionInfo = { hostname: "ec2.us-gov-west-1.amazonaws.com", partition: "aws-us-gov", + signingRegion: "us-gov-west-1", }; break; case "us-iso-east-1": diff --git a/clients/client-ecr-public/endpoints.ts b/clients/client-ecr-public/endpoints.ts index 908f5e7f2df08..178a1e7497960 100644 --- a/clients/client-ecr-public/endpoints.ts +++ b/clients/client-ecr-public/endpoints.ts @@ -1,14 +1,15 @@ import { RegionInfo, RegionInfoProvider } from "@aws-sdk/types"; // Partition default templates -const AWS_TEMPLATE = "ecr-public.{region}.amazonaws.com"; -const AWS_CN_TEMPLATE = "ecr-public.{region}.amazonaws.com.cn"; -const AWS_ISO_TEMPLATE = "ecr-public.{region}.c2s.ic.gov"; -const AWS_ISO_B_TEMPLATE = "ecr-public.{region}.sc2s.sgov.gov"; -const AWS_US_GOV_TEMPLATE = "ecr-public.{region}.amazonaws.com"; +const AWS_TEMPLATE = "api.ecr-public.{region}.amazonaws.com"; +const AWS_CN_TEMPLATE = "api.ecr-public.{region}.amazonaws.com.cn"; +const AWS_ISO_TEMPLATE = "api.ecr-public.{region}.c2s.ic.gov"; +const AWS_ISO_B_TEMPLATE = "api.ecr-public.{region}.sc2s.sgov.gov"; +const AWS_US_GOV_TEMPLATE = "api.ecr-public.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-ecr/endpoints.ts b/clients/client-ecr/endpoints.ts index d50b46b36e5c5..a3eec9f1e15b7 100644 --- a/clients/client-ecr/endpoints.ts +++ b/clients/client-ecr/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "api.ecr.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,13 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "af-south-1": + regionInfo = { + hostname: "api.ecr.af-south-1.amazonaws.com", + partition: "aws", + signingRegion: "af-south-1", + }; + break; case "ap-east-1": regionInfo = { hostname: "api.ecr.ap-east-1.amazonaws.com", @@ -114,6 +123,13 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op signingRegion: "eu-north-1", }; break; + case "eu-south-1": + regionInfo = { + hostname: "api.ecr.eu-south-1.amazonaws.com", + partition: "aws", + signingRegion: "eu-south-1", + }; + break; case "eu-west-1": regionInfo = { hostname: "api.ecr.eu-west-1.amazonaws.com", @@ -135,6 +151,90 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op signingRegion: "eu-west-3", }; break; + case "fips-dkr-us-east-1": + regionInfo = { + hostname: "ecr-fips.us-east-1.amazonaws.com", + partition: "aws", + signingRegion: "us-east-1", + }; + break; + case "fips-dkr-us-east-2": + regionInfo = { + hostname: "ecr-fips.us-east-2.amazonaws.com", + partition: "aws", + signingRegion: "us-east-2", + }; + break; + case "fips-dkr-us-gov-east-1": + regionInfo = { + hostname: "ecr-fips.us-gov-east-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-east-1", + }; + break; + case "fips-dkr-us-gov-west-1": + regionInfo = { + hostname: "ecr-fips.us-gov-west-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-west-1", + }; + break; + case "fips-dkr-us-west-1": + regionInfo = { + hostname: "ecr-fips.us-west-1.amazonaws.com", + partition: "aws", + signingRegion: "us-west-1", + }; + break; + case "fips-dkr-us-west-2": + regionInfo = { + hostname: "ecr-fips.us-west-2.amazonaws.com", + partition: "aws", + signingRegion: "us-west-2", + }; + break; + case "fips-us-east-1": + regionInfo = { + hostname: "ecr-fips.us-east-1.amazonaws.com", + partition: "aws", + signingRegion: "us-east-1", + }; + break; + case "fips-us-east-2": + regionInfo = { + hostname: "ecr-fips.us-east-2.amazonaws.com", + partition: "aws", + signingRegion: "us-east-2", + }; + break; + case "fips-us-gov-east-1": + regionInfo = { + hostname: "ecr-fips.us-gov-east-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-east-1", + }; + break; + case "fips-us-gov-west-1": + regionInfo = { + hostname: "ecr-fips.us-gov-west-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-west-1", + }; + break; + case "fips-us-west-1": + regionInfo = { + hostname: "ecr-fips.us-west-1.amazonaws.com", + partition: "aws", + signingRegion: "us-west-1", + }; + break; + case "fips-us-west-2": + regionInfo = { + hostname: "ecr-fips.us-west-2.amazonaws.com", + partition: "aws", + signingRegion: "us-west-2", + }; + break; case "me-south-1": regionInfo = { hostname: "api.ecr.me-south-1.amazonaws.com", @@ -184,6 +284,13 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op signingRegion: "us-iso-east-1", }; break; + case "us-isob-east-1": + regionInfo = { + hostname: "api.ecr.us-isob-east-1.sc2s.sgov.gov", + partition: "aws-iso-b", + signingRegion: "us-isob-east-1", + }; + break; case "us-west-1": regionInfo = { hostname: "api.ecr.us-west-1.amazonaws.com", diff --git a/clients/client-ecs/endpoints.ts b/clients/client-ecs/endpoints.ts index e54390e890fbe..26e0afb611758 100644 --- a/clients/client-ecs/endpoints.ts +++ b/clients/client-ecs/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "ecs.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "af-south-1": + regionInfo = { + hostname: "ecs.af-south-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-east-1": regionInfo = { hostname: "ecs.ap-east-1.amazonaws.com", @@ -103,6 +111,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-south-1": + regionInfo = { + hostname: "ecs.eu-south-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "ecs.eu-west-1.amazonaws.com", @@ -121,6 +135,48 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "fips-us-east-1": + regionInfo = { + hostname: "ecs-fips.us-east-1.amazonaws.com", + partition: "aws", + signingRegion: "us-east-1", + }; + break; + case "fips-us-east-2": + regionInfo = { + hostname: "ecs-fips.us-east-2.amazonaws.com", + partition: "aws", + signingRegion: "us-east-2", + }; + break; + case "fips-us-gov-east-1": + regionInfo = { + hostname: "ecs-fips.us-gov-east-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-east-1", + }; + break; + case "fips-us-gov-west-1": + regionInfo = { + hostname: "ecs-fips.us-gov-west-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-west-1", + }; + break; + case "fips-us-west-1": + regionInfo = { + hostname: "ecs-fips.us-west-1.amazonaws.com", + partition: "aws", + signingRegion: "us-west-1", + }; + break; + case "fips-us-west-2": + regionInfo = { + hostname: "ecs-fips.us-west-2.amazonaws.com", + partition: "aws", + signingRegion: "us-west-2", + }; + break; case "me-south-1": regionInfo = { hostname: "ecs.me-south-1.amazonaws.com", @@ -163,6 +219,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws-iso", }; break; + case "us-isob-east-1": + regionInfo = { + hostname: "ecs.us-isob-east-1.sc2s.sgov.gov", + partition: "aws-iso-b", + }; + break; case "us-west-1": regionInfo = { hostname: "ecs.us-west-1.amazonaws.com", diff --git a/clients/client-efs/endpoints.ts b/clients/client-efs/endpoints.ts index 3c60949db0fec..ff89216ac0a20 100644 --- a/clients/client-efs/endpoints.ts +++ b/clients/client-efs/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "elasticfilesystem.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "af-south-1": + regionInfo = { + hostname: "elasticfilesystem.af-south-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-east-1": regionInfo = { hostname: "elasticfilesystem.ap-east-1.amazonaws.com", @@ -79,6 +87,18 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "cn-north-1": + regionInfo = { + hostname: "elasticfilesystem.cn-north-1.amazonaws.com.cn", + partition: "aws-cn", + }; + break; + case "cn-northwest-1": + regionInfo = { + hostname: "elasticfilesystem.cn-northwest-1.amazonaws.com.cn", + partition: "aws-cn", + }; + break; case "eu-central-1": regionInfo = { hostname: "elasticfilesystem.eu-central-1.amazonaws.com", @@ -91,6 +111,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-south-1": + regionInfo = { + hostname: "elasticfilesystem.eu-south-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "elasticfilesystem.eu-west-1.amazonaws.com", @@ -109,6 +135,174 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "fips-af-south-1": + regionInfo = { + hostname: "elasticfilesystem-fips.af-south-1.amazonaws.com", + partition: "aws", + signingRegion: "af-south-1", + }; + break; + case "fips-ap-east-1": + regionInfo = { + hostname: "elasticfilesystem-fips.ap-east-1.amazonaws.com", + partition: "aws", + signingRegion: "ap-east-1", + }; + break; + case "fips-ap-northeast-1": + regionInfo = { + hostname: "elasticfilesystem-fips.ap-northeast-1.amazonaws.com", + partition: "aws", + signingRegion: "ap-northeast-1", + }; + break; + case "fips-ap-northeast-2": + regionInfo = { + hostname: "elasticfilesystem-fips.ap-northeast-2.amazonaws.com", + partition: "aws", + signingRegion: "ap-northeast-2", + }; + break; + case "fips-ap-south-1": + regionInfo = { + hostname: "elasticfilesystem-fips.ap-south-1.amazonaws.com", + partition: "aws", + signingRegion: "ap-south-1", + }; + break; + case "fips-ap-southeast-1": + regionInfo = { + hostname: "elasticfilesystem-fips.ap-southeast-1.amazonaws.com", + partition: "aws", + signingRegion: "ap-southeast-1", + }; + break; + case "fips-ap-southeast-2": + regionInfo = { + hostname: "elasticfilesystem-fips.ap-southeast-2.amazonaws.com", + partition: "aws", + signingRegion: "ap-southeast-2", + }; + break; + case "fips-ca-central-1": + regionInfo = { + hostname: "elasticfilesystem-fips.ca-central-1.amazonaws.com", + partition: "aws", + signingRegion: "ca-central-1", + }; + break; + case "fips-cn-north-1": + regionInfo = { + hostname: "elasticfilesystem-fips.cn-north-1.amazonaws.com.cn", + partition: "aws-cn", + signingRegion: "cn-north-1", + }; + break; + case "fips-cn-northwest-1": + regionInfo = { + hostname: "elasticfilesystem-fips.cn-northwest-1.amazonaws.com.cn", + partition: "aws-cn", + signingRegion: "cn-northwest-1", + }; + break; + case "fips-eu-central-1": + regionInfo = { + hostname: "elasticfilesystem-fips.eu-central-1.amazonaws.com", + partition: "aws", + signingRegion: "eu-central-1", + }; + break; + case "fips-eu-north-1": + regionInfo = { + hostname: "elasticfilesystem-fips.eu-north-1.amazonaws.com", + partition: "aws", + signingRegion: "eu-north-1", + }; + break; + case "fips-eu-south-1": + regionInfo = { + hostname: "elasticfilesystem-fips.eu-south-1.amazonaws.com", + partition: "aws", + signingRegion: "eu-south-1", + }; + break; + case "fips-eu-west-1": + regionInfo = { + hostname: "elasticfilesystem-fips.eu-west-1.amazonaws.com", + partition: "aws", + signingRegion: "eu-west-1", + }; + break; + case "fips-eu-west-2": + regionInfo = { + hostname: "elasticfilesystem-fips.eu-west-2.amazonaws.com", + partition: "aws", + signingRegion: "eu-west-2", + }; + break; + case "fips-eu-west-3": + regionInfo = { + hostname: "elasticfilesystem-fips.eu-west-3.amazonaws.com", + partition: "aws", + signingRegion: "eu-west-3", + }; + break; + case "fips-me-south-1": + regionInfo = { + hostname: "elasticfilesystem-fips.me-south-1.amazonaws.com", + partition: "aws", + signingRegion: "me-south-1", + }; + break; + case "fips-sa-east-1": + regionInfo = { + hostname: "elasticfilesystem-fips.sa-east-1.amazonaws.com", + partition: "aws", + signingRegion: "sa-east-1", + }; + break; + case "fips-us-east-1": + regionInfo = { + hostname: "elasticfilesystem-fips.us-east-1.amazonaws.com", + partition: "aws", + signingRegion: "us-east-1", + }; + break; + case "fips-us-east-2": + regionInfo = { + hostname: "elasticfilesystem-fips.us-east-2.amazonaws.com", + partition: "aws", + signingRegion: "us-east-2", + }; + break; + case "fips-us-gov-east-1": + regionInfo = { + hostname: "elasticfilesystem-fips.us-gov-east-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-east-1", + }; + break; + case "fips-us-gov-west-1": + regionInfo = { + hostname: "elasticfilesystem-fips.us-gov-west-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-west-1", + }; + break; + case "fips-us-west-1": + regionInfo = { + hostname: "elasticfilesystem-fips.us-west-1.amazonaws.com", + partition: "aws", + signingRegion: "us-west-1", + }; + break; + case "fips-us-west-2": + regionInfo = { + hostname: "elasticfilesystem-fips.us-west-2.amazonaws.com", + partition: "aws", + signingRegion: "us-west-2", + }; + break; case "me-south-1": regionInfo = { hostname: "elasticfilesystem.me-south-1.amazonaws.com", @@ -133,6 +327,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "us-gov-east-1": + regionInfo = { + hostname: "elasticfilesystem.us-gov-east-1.amazonaws.com", + partition: "aws-us-gov", + }; + break; case "us-gov-west-1": regionInfo = { hostname: "elasticfilesystem.us-gov-west-1.amazonaws.com", diff --git a/clients/client-eks/endpoints.ts b/clients/client-eks/endpoints.ts index 6b5c7ba732f43..b8a0edc9c7729 100644 --- a/clients/client-eks/endpoints.ts +++ b/clients/client-eks/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "eks.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,192 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "af-south-1": + regionInfo = { + hostname: "eks.af-south-1.amazonaws.com", + partition: "aws", + }; + break; + case "ap-east-1": + regionInfo = { + hostname: "eks.ap-east-1.amazonaws.com", + partition: "aws", + }; + break; + case "ap-northeast-1": + regionInfo = { + hostname: "eks.ap-northeast-1.amazonaws.com", + partition: "aws", + }; + break; + case "ap-northeast-2": + regionInfo = { + hostname: "eks.ap-northeast-2.amazonaws.com", + partition: "aws", + }; + break; + case "ap-south-1": + regionInfo = { + hostname: "eks.ap-south-1.amazonaws.com", + partition: "aws", + }; + break; + case "ap-southeast-1": + regionInfo = { + hostname: "eks.ap-southeast-1.amazonaws.com", + partition: "aws", + }; + break; + case "ap-southeast-2": + regionInfo = { + hostname: "eks.ap-southeast-2.amazonaws.com", + partition: "aws", + }; + break; + case "ca-central-1": + regionInfo = { + hostname: "eks.ca-central-1.amazonaws.com", + partition: "aws", + }; + break; + case "cn-north-1": + regionInfo = { + hostname: "eks.cn-north-1.amazonaws.com.cn", + partition: "aws-cn", + }; + break; + case "cn-northwest-1": + regionInfo = { + hostname: "eks.cn-northwest-1.amazonaws.com.cn", + partition: "aws-cn", + }; + break; + case "eu-central-1": + regionInfo = { + hostname: "eks.eu-central-1.amazonaws.com", + partition: "aws", + }; + break; + case "eu-north-1": + regionInfo = { + hostname: "eks.eu-north-1.amazonaws.com", + partition: "aws", + }; + break; + case "eu-south-1": + regionInfo = { + hostname: "eks.eu-south-1.amazonaws.com", + partition: "aws", + }; + break; + case "eu-west-1": + regionInfo = { + hostname: "eks.eu-west-1.amazonaws.com", + partition: "aws", + }; + break; + case "eu-west-2": + regionInfo = { + hostname: "eks.eu-west-2.amazonaws.com", + partition: "aws", + }; + break; + case "eu-west-3": + regionInfo = { + hostname: "eks.eu-west-3.amazonaws.com", + partition: "aws", + }; + break; + case "fips-us-east-1": + regionInfo = { + hostname: "fips.eks.us-east-1.amazonaws.com", + partition: "aws", + signingRegion: "us-east-1", + }; + break; + case "fips-us-east-2": + regionInfo = { + hostname: "fips.eks.us-east-2.amazonaws.com", + partition: "aws", + signingRegion: "us-east-2", + }; + break; + case "fips-us-gov-east-1": + regionInfo = { + hostname: "eks.us-gov-east-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-east-1", + }; + break; + case "fips-us-gov-west-1": + regionInfo = { + hostname: "eks.us-gov-west-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-west-1", + }; + break; + case "fips-us-west-1": + regionInfo = { + hostname: "fips.eks.us-west-1.amazonaws.com", + partition: "aws", + signingRegion: "us-west-1", + }; + break; + case "fips-us-west-2": + regionInfo = { + hostname: "fips.eks.us-west-2.amazonaws.com", + partition: "aws", + signingRegion: "us-west-2", + }; + break; + case "me-south-1": + regionInfo = { + hostname: "eks.me-south-1.amazonaws.com", + partition: "aws", + }; + break; + case "sa-east-1": + regionInfo = { + hostname: "eks.sa-east-1.amazonaws.com", + partition: "aws", + }; + break; + case "us-east-1": + regionInfo = { + hostname: "eks.us-east-1.amazonaws.com", + partition: "aws", + }; + break; + case "us-east-2": + regionInfo = { + hostname: "eks.us-east-2.amazonaws.com", + partition: "aws", + }; + break; + case "us-gov-east-1": + regionInfo = { + hostname: "eks.us-gov-east-1.amazonaws.com", + partition: "aws-us-gov", + }; + break; + case "us-gov-west-1": + regionInfo = { + hostname: "eks.us-gov-west-1.amazonaws.com", + partition: "aws-us-gov", + }; + break; + case "us-west-1": + regionInfo = { + hostname: "eks.us-west-1.amazonaws.com", + partition: "aws", + }; + break; + case "us-west-2": + regionInfo = { + hostname: "eks.us-west-2.amazonaws.com", + partition: "aws", + }; + break; // Next, try to match partition endpoints. default: if (AWS_REGIONS.has(region)) { diff --git a/clients/client-elastic-beanstalk/endpoints.ts b/clients/client-elastic-beanstalk/endpoints.ts index 24c1fe1c06328..5ad5a610d4110 100644 --- a/clients/client-elastic-beanstalk/endpoints.ts +++ b/clients/client-elastic-beanstalk/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "elasticbeanstalk.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "af-south-1": + regionInfo = { + hostname: "elasticbeanstalk.af-south-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-east-1": regionInfo = { hostname: "elasticbeanstalk.ap-east-1.amazonaws.com", @@ -103,6 +111,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-south-1": + regionInfo = { + hostname: "elasticbeanstalk.eu-south-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "elasticbeanstalk.eu-west-1.amazonaws.com", @@ -121,6 +135,34 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "fips-us-east-1": + regionInfo = { + hostname: "elasticbeanstalk-fips.us-east-1.amazonaws.com", + partition: "aws", + signingRegion: "us-east-1", + }; + break; + case "fips-us-east-2": + regionInfo = { + hostname: "elasticbeanstalk-fips.us-east-2.amazonaws.com", + partition: "aws", + signingRegion: "us-east-2", + }; + break; + case "fips-us-west-1": + regionInfo = { + hostname: "elasticbeanstalk-fips.us-west-1.amazonaws.com", + partition: "aws", + signingRegion: "us-west-1", + }; + break; + case "fips-us-west-2": + regionInfo = { + hostname: "elasticbeanstalk-fips.us-west-2.amazonaws.com", + partition: "aws", + signingRegion: "us-west-2", + }; + break; case "me-south-1": regionInfo = { hostname: "elasticbeanstalk.me-south-1.amazonaws.com", @@ -149,12 +191,14 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op regionInfo = { hostname: "elasticbeanstalk.us-gov-east-1.amazonaws.com", partition: "aws-us-gov", + signingRegion: "us-gov-east-1", }; break; case "us-gov-west-1": regionInfo = { hostname: "elasticbeanstalk.us-gov-west-1.amazonaws.com", partition: "aws-us-gov", + signingRegion: "us-gov-west-1", }; break; case "us-west-1": diff --git a/clients/client-elastic-inference/endpoints.ts b/clients/client-elastic-inference/endpoints.ts index 09b03abbb7973..97ec01f92291b 100644 --- a/clients/client-elastic-inference/endpoints.ts +++ b/clients/client-elastic-inference/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "api.elastic-inference.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,42 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "ap-northeast-1": + regionInfo = { + hostname: "api.elastic-inference.ap-northeast-1.amazonaws.com", + partition: "aws", + }; + break; + case "ap-northeast-2": + regionInfo = { + hostname: "api.elastic-inference.ap-northeast-2.amazonaws.com", + partition: "aws", + }; + break; + case "eu-west-1": + regionInfo = { + hostname: "api.elastic-inference.eu-west-1.amazonaws.com", + partition: "aws", + }; + break; + case "us-east-1": + regionInfo = { + hostname: "api.elastic-inference.us-east-1.amazonaws.com", + partition: "aws", + }; + break; + case "us-east-2": + regionInfo = { + hostname: "api.elastic-inference.us-east-2.amazonaws.com", + partition: "aws", + }; + break; + case "us-west-2": + regionInfo = { + hostname: "api.elastic-inference.us-west-2.amazonaws.com", + partition: "aws", + }; + break; // Next, try to match partition endpoints. default: if (AWS_REGIONS.has(region)) { diff --git a/clients/client-elastic-load-balancing-v2/endpoints.ts b/clients/client-elastic-load-balancing-v2/endpoints.ts index 57eecb0c4a15d..07bd90b412088 100644 --- a/clients/client-elastic-load-balancing-v2/endpoints.ts +++ b/clients/client-elastic-load-balancing-v2/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "elasticloadbalancing.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "af-south-1": + regionInfo = { + hostname: "elasticloadbalancing.af-south-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-east-1": regionInfo = { hostname: "elasticloadbalancing.ap-east-1.amazonaws.com", @@ -103,6 +111,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-south-1": + regionInfo = { + hostname: "elasticloadbalancing.eu-south-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "elasticloadbalancing.eu-west-1.amazonaws.com", @@ -121,6 +135,48 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "fips-us-east-1": + regionInfo = { + hostname: "elasticloadbalancing-fips.us-east-1.amazonaws.com", + partition: "aws", + signingRegion: "us-east-1", + }; + break; + case "fips-us-east-2": + regionInfo = { + hostname: "elasticloadbalancing-fips.us-east-2.amazonaws.com", + partition: "aws", + signingRegion: "us-east-2", + }; + break; + case "fips-us-gov-east-1": + regionInfo = { + hostname: "elasticloadbalancing.us-gov-east-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-east-1", + }; + break; + case "fips-us-gov-west-1": + regionInfo = { + hostname: "elasticloadbalancing.us-gov-west-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-west-1", + }; + break; + case "fips-us-west-1": + regionInfo = { + hostname: "elasticloadbalancing-fips.us-west-1.amazonaws.com", + partition: "aws", + signingRegion: "us-west-1", + }; + break; + case "fips-us-west-2": + regionInfo = { + hostname: "elasticloadbalancing-fips.us-west-2.amazonaws.com", + partition: "aws", + signingRegion: "us-west-2", + }; + break; case "me-south-1": regionInfo = { hostname: "elasticloadbalancing.me-south-1.amazonaws.com", diff --git a/clients/client-elastic-load-balancing/endpoints.ts b/clients/client-elastic-load-balancing/endpoints.ts index 57eecb0c4a15d..07bd90b412088 100644 --- a/clients/client-elastic-load-balancing/endpoints.ts +++ b/clients/client-elastic-load-balancing/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "elasticloadbalancing.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "af-south-1": + regionInfo = { + hostname: "elasticloadbalancing.af-south-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-east-1": regionInfo = { hostname: "elasticloadbalancing.ap-east-1.amazonaws.com", @@ -103,6 +111,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-south-1": + regionInfo = { + hostname: "elasticloadbalancing.eu-south-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "elasticloadbalancing.eu-west-1.amazonaws.com", @@ -121,6 +135,48 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "fips-us-east-1": + regionInfo = { + hostname: "elasticloadbalancing-fips.us-east-1.amazonaws.com", + partition: "aws", + signingRegion: "us-east-1", + }; + break; + case "fips-us-east-2": + regionInfo = { + hostname: "elasticloadbalancing-fips.us-east-2.amazonaws.com", + partition: "aws", + signingRegion: "us-east-2", + }; + break; + case "fips-us-gov-east-1": + regionInfo = { + hostname: "elasticloadbalancing.us-gov-east-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-east-1", + }; + break; + case "fips-us-gov-west-1": + regionInfo = { + hostname: "elasticloadbalancing.us-gov-west-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-west-1", + }; + break; + case "fips-us-west-1": + regionInfo = { + hostname: "elasticloadbalancing-fips.us-west-1.amazonaws.com", + partition: "aws", + signingRegion: "us-west-1", + }; + break; + case "fips-us-west-2": + regionInfo = { + hostname: "elasticloadbalancing-fips.us-west-2.amazonaws.com", + partition: "aws", + signingRegion: "us-west-2", + }; + break; case "me-south-1": regionInfo = { hostname: "elasticloadbalancing.me-south-1.amazonaws.com", diff --git a/clients/client-elastic-transcoder/endpoints.ts b/clients/client-elastic-transcoder/endpoints.ts index 168d7f4ff9500..5f24b3f306d91 100644 --- a/clients/client-elastic-transcoder/endpoints.ts +++ b/clients/client-elastic-transcoder/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "elastictranscoder.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-elasticache/endpoints.ts b/clients/client-elasticache/endpoints.ts index 9d5d2dc54b14a..84e688b01ca1e 100644 --- a/clients/client-elasticache/endpoints.ts +++ b/clients/client-elasticache/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "elasticache.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "af-south-1": + regionInfo = { + hostname: "elasticache.af-south-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-east-1": regionInfo = { hostname: "elasticache.ap-east-1.amazonaws.com", @@ -103,6 +111,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-south-1": + regionInfo = { + hostname: "elasticache.eu-south-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "elasticache.eu-west-1.amazonaws.com", @@ -123,7 +137,7 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op break; case "fips": regionInfo = { - hostname: "elasticache-fips.us-gov-west-1.amazonaws.com", + hostname: "elasticache.us-gov-west-1.amazonaws.com", partition: "aws-us-gov", signingRegion: "us-gov-west-1", }; diff --git a/clients/client-elasticsearch-service/endpoints.ts b/clients/client-elasticsearch-service/endpoints.ts index a9af3f01aa628..77b5e21636e79 100644 --- a/clients/client-elasticsearch-service/endpoints.ts +++ b/clients/client-elasticsearch-service/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "es.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "af-south-1": + regionInfo = { + hostname: "es.af-south-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-east-1": regionInfo = { hostname: "es.ap-east-1.amazonaws.com", @@ -103,6 +111,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-south-1": + regionInfo = { + hostname: "es.eu-south-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "es.eu-west-1.amazonaws.com", @@ -164,6 +178,18 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws-us-gov", }; break; + case "us-iso-east-1": + regionInfo = { + hostname: "es.us-iso-east-1.c2s.ic.gov", + partition: "aws-iso", + }; + break; + case "us-isob-east-1": + regionInfo = { + hostname: "es.us-isob-east-1.sc2s.sgov.gov", + partition: "aws-iso-b", + }; + break; case "us-west-1": regionInfo = { hostname: "es.us-west-1.amazonaws.com", diff --git a/clients/client-emr-containers/endpoints.ts b/clients/client-emr-containers/endpoints.ts index 605b773dde841..d6c78c10bf88f 100644 --- a/clients/client-emr-containers/endpoints.ts +++ b/clients/client-emr-containers/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "emr-containers.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,24 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "eu-west-1": + regionInfo = { + hostname: "emr-containers.eu-west-1.amazonaws.com", + partition: "aws", + }; + break; + case "us-east-1": + regionInfo = { + hostname: "emr-containers.us-east-1.amazonaws.com", + partition: "aws", + }; + break; + case "us-west-2": + regionInfo = { + hostname: "emr-containers.us-west-2.amazonaws.com", + partition: "aws", + }; + break; // Next, try to match partition endpoints. default: if (AWS_REGIONS.has(region)) { diff --git a/clients/client-emr/endpoints.ts b/clients/client-emr/endpoints.ts index e5fe5e88533d8..2d2d608d77ba7 100644 --- a/clients/client-emr/endpoints.ts +++ b/clients/client-emr/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "elasticmapreduce.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "af-south-1": + regionInfo = { + hostname: "elasticmapreduce.af-south-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-east-1": regionInfo = { hostname: "elasticmapreduce.ap-east-1.amazonaws.com", @@ -103,6 +111,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-south-1": + regionInfo = { + hostname: "elasticmapreduce.eu-south-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "elasticmapreduce.eu-west-1.amazonaws.com", @@ -121,6 +135,55 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "fips-ca-central-1": + regionInfo = { + hostname: "elasticmapreduce-fips.ca-central-1.amazonaws.com", + partition: "aws", + signingRegion: "ca-central-1", + }; + break; + case "fips-us-east-1": + regionInfo = { + hostname: "elasticmapreduce-fips.us-east-1.amazonaws.com", + partition: "aws", + signingRegion: "us-east-1", + }; + break; + case "fips-us-east-2": + regionInfo = { + hostname: "elasticmapreduce-fips.us-east-2.amazonaws.com", + partition: "aws", + signingRegion: "us-east-2", + }; + break; + case "fips-us-gov-east-1": + regionInfo = { + hostname: "elasticmapreduce.us-gov-east-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-east-1", + }; + break; + case "fips-us-gov-west-1": + regionInfo = { + hostname: "elasticmapreduce.us-gov-west-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-west-1", + }; + break; + case "fips-us-west-1": + regionInfo = { + hostname: "elasticmapreduce-fips.us-west-1.amazonaws.com", + partition: "aws", + signingRegion: "us-west-1", + }; + break; + case "fips-us-west-2": + regionInfo = { + hostname: "elasticmapreduce-fips.us-west-2.amazonaws.com", + partition: "aws", + signingRegion: "us-west-2", + }; + break; case "me-south-1": regionInfo = { hostname: "elasticmapreduce.me-south-1.amazonaws.com", diff --git a/clients/client-eventbridge/endpoints.ts b/clients/client-eventbridge/endpoints.ts index c71ae4280a01b..53b67173279da 100644 --- a/clients/client-eventbridge/endpoints.ts +++ b/clients/client-eventbridge/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "events.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "af-south-1": + regionInfo = { + hostname: "events.af-south-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-east-1": regionInfo = { hostname: "events.ap-east-1.amazonaws.com", @@ -103,6 +111,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-south-1": + regionInfo = { + hostname: "events.eu-south-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "events.eu-west-1.amazonaws.com", @@ -121,6 +135,34 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "fips-us-east-1": + regionInfo = { + hostname: "events-fips.us-east-1.amazonaws.com", + partition: "aws", + signingRegion: "us-east-1", + }; + break; + case "fips-us-east-2": + regionInfo = { + hostname: "events-fips.us-east-2.amazonaws.com", + partition: "aws", + signingRegion: "us-east-2", + }; + break; + case "fips-us-west-1": + regionInfo = { + hostname: "events-fips.us-west-1.amazonaws.com", + partition: "aws", + signingRegion: "us-west-1", + }; + break; + case "fips-us-west-2": + regionInfo = { + hostname: "events-fips.us-west-2.amazonaws.com", + partition: "aws", + signingRegion: "us-west-2", + }; + break; case "me-south-1": regionInfo = { hostname: "events.me-south-1.amazonaws.com", @@ -149,12 +191,14 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op regionInfo = { hostname: "events.us-gov-east-1.amazonaws.com", partition: "aws-us-gov", + signingRegion: "us-gov-east-1", }; break; case "us-gov-west-1": regionInfo = { hostname: "events.us-gov-west-1.amazonaws.com", partition: "aws-us-gov", + signingRegion: "us-gov-west-1", }; break; case "us-iso-east-1": diff --git a/clients/client-firehose/endpoints.ts b/clients/client-firehose/endpoints.ts index b7b90c2a03b41..df5db80da7d84 100644 --- a/clients/client-firehose/endpoints.ts +++ b/clients/client-firehose/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "firehose.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "af-south-1": + regionInfo = { + hostname: "firehose.af-south-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-east-1": regionInfo = { hostname: "firehose.ap-east-1.amazonaws.com", @@ -103,6 +111,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-south-1": + regionInfo = { + hostname: "firehose.eu-south-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "firehose.eu-west-1.amazonaws.com", @@ -121,6 +135,48 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "fips-us-east-1": + regionInfo = { + hostname: "firehose-fips.us-east-1.amazonaws.com", + partition: "aws", + signingRegion: "us-east-1", + }; + break; + case "fips-us-east-2": + regionInfo = { + hostname: "firehose-fips.us-east-2.amazonaws.com", + partition: "aws", + signingRegion: "us-east-2", + }; + break; + case "fips-us-gov-east-1": + regionInfo = { + hostname: "firehose-fips.us-gov-east-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-east-1", + }; + break; + case "fips-us-gov-west-1": + regionInfo = { + hostname: "firehose-fips.us-gov-west-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-west-1", + }; + break; + case "fips-us-west-1": + regionInfo = { + hostname: "firehose-fips.us-west-1.amazonaws.com", + partition: "aws", + signingRegion: "us-west-1", + }; + break; + case "fips-us-west-2": + regionInfo = { + hostname: "firehose-fips.us-west-2.amazonaws.com", + partition: "aws", + signingRegion: "us-west-2", + }; + break; case "me-south-1": regionInfo = { hostname: "firehose.me-south-1.amazonaws.com", diff --git a/clients/client-fms/endpoints.ts b/clients/client-fms/endpoints.ts index b7e3ee5b6f57a..09b60582a6bde 100644 --- a/clients/client-fms/endpoints.ts +++ b/clients/client-fms/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "fms.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,18 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "af-south-1": + regionInfo = { + hostname: "fms.af-south-1.amazonaws.com", + partition: "aws", + }; + break; + case "ap-east-1": + regionInfo = { + hostname: "fms.ap-east-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-northeast-1": regionInfo = { hostname: "fms.ap-northeast-1.amazonaws.com", @@ -85,6 +99,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-south-1": + regionInfo = { + hostname: "fms.eu-south-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "fms.eu-west-1.amazonaws.com", @@ -103,6 +123,145 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "fips-af-south-1": + regionInfo = { + hostname: "fms-fips.af-south-1.amazonaws.com", + partition: "aws", + signingRegion: "af-south-1", + }; + break; + case "fips-ap-east-1": + regionInfo = { + hostname: "fms-fips.ap-east-1.amazonaws.com", + partition: "aws", + signingRegion: "ap-east-1", + }; + break; + case "fips-ap-northeast-1": + regionInfo = { + hostname: "fms-fips.ap-northeast-1.amazonaws.com", + partition: "aws", + signingRegion: "ap-northeast-1", + }; + break; + case "fips-ap-northeast-2": + regionInfo = { + hostname: "fms-fips.ap-northeast-2.amazonaws.com", + partition: "aws", + signingRegion: "ap-northeast-2", + }; + break; + case "fips-ap-south-1": + regionInfo = { + hostname: "fms-fips.ap-south-1.amazonaws.com", + partition: "aws", + signingRegion: "ap-south-1", + }; + break; + case "fips-ap-southeast-1": + regionInfo = { + hostname: "fms-fips.ap-southeast-1.amazonaws.com", + partition: "aws", + signingRegion: "ap-southeast-1", + }; + break; + case "fips-ap-southeast-2": + regionInfo = { + hostname: "fms-fips.ap-southeast-2.amazonaws.com", + partition: "aws", + signingRegion: "ap-southeast-2", + }; + break; + case "fips-ca-central-1": + regionInfo = { + hostname: "fms-fips.ca-central-1.amazonaws.com", + partition: "aws", + signingRegion: "ca-central-1", + }; + break; + case "fips-eu-central-1": + regionInfo = { + hostname: "fms-fips.eu-central-1.amazonaws.com", + partition: "aws", + signingRegion: "eu-central-1", + }; + break; + case "fips-eu-south-1": + regionInfo = { + hostname: "fms-fips.eu-south-1.amazonaws.com", + partition: "aws", + signingRegion: "eu-south-1", + }; + break; + case "fips-eu-west-1": + regionInfo = { + hostname: "fms-fips.eu-west-1.amazonaws.com", + partition: "aws", + signingRegion: "eu-west-1", + }; + break; + case "fips-eu-west-2": + regionInfo = { + hostname: "fms-fips.eu-west-2.amazonaws.com", + partition: "aws", + signingRegion: "eu-west-2", + }; + break; + case "fips-eu-west-3": + regionInfo = { + hostname: "fms-fips.eu-west-3.amazonaws.com", + partition: "aws", + signingRegion: "eu-west-3", + }; + break; + case "fips-me-south-1": + regionInfo = { + hostname: "fms-fips.me-south-1.amazonaws.com", + partition: "aws", + signingRegion: "me-south-1", + }; + break; + case "fips-sa-east-1": + regionInfo = { + hostname: "fms-fips.sa-east-1.amazonaws.com", + partition: "aws", + signingRegion: "sa-east-1", + }; + break; + case "fips-us-east-1": + regionInfo = { + hostname: "fms-fips.us-east-1.amazonaws.com", + partition: "aws", + signingRegion: "us-east-1", + }; + break; + case "fips-us-east-2": + regionInfo = { + hostname: "fms-fips.us-east-2.amazonaws.com", + partition: "aws", + signingRegion: "us-east-2", + }; + break; + case "fips-us-west-1": + regionInfo = { + hostname: "fms-fips.us-west-1.amazonaws.com", + partition: "aws", + signingRegion: "us-west-1", + }; + break; + case "fips-us-west-2": + regionInfo = { + hostname: "fms-fips.us-west-2.amazonaws.com", + partition: "aws", + signingRegion: "us-west-2", + }; + break; + case "me-south-1": + regionInfo = { + hostname: "fms.me-south-1.amazonaws.com", + partition: "aws", + }; + break; case "sa-east-1": regionInfo = { hostname: "fms.sa-east-1.amazonaws.com", diff --git a/clients/client-forecast/endpoints.ts b/clients/client-forecast/endpoints.ts index c495986bafa7b..8dca06e5a085d 100644 --- a/clients/client-forecast/endpoints.ts +++ b/clients/client-forecast/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "forecast.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -43,12 +45,36 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "ap-northeast-2": + regionInfo = { + hostname: "forecast.ap-northeast-2.amazonaws.com", + partition: "aws", + }; + break; + case "ap-south-1": + regionInfo = { + hostname: "forecast.ap-south-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-southeast-1": regionInfo = { hostname: "forecast.ap-southeast-1.amazonaws.com", partition: "aws", }; break; + case "ap-southeast-2": + regionInfo = { + hostname: "forecast.ap-southeast-2.amazonaws.com", + partition: "aws", + }; + break; + case "eu-central-1": + regionInfo = { + hostname: "forecast.eu-central-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "forecast.eu-west-1.amazonaws.com", diff --git a/clients/client-forecastquery/endpoints.ts b/clients/client-forecastquery/endpoints.ts index b966669aa0f4b..e493e5ff8aebb 100644 --- a/clients/client-forecastquery/endpoints.ts +++ b/clients/client-forecastquery/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "forecastquery.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -43,12 +45,36 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "ap-northeast-2": + regionInfo = { + hostname: "forecastquery.ap-northeast-2.amazonaws.com", + partition: "aws", + }; + break; + case "ap-south-1": + regionInfo = { + hostname: "forecastquery.ap-south-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-southeast-1": regionInfo = { hostname: "forecastquery.ap-southeast-1.amazonaws.com", partition: "aws", }; break; + case "ap-southeast-2": + regionInfo = { + hostname: "forecastquery.ap-southeast-2.amazonaws.com", + partition: "aws", + }; + break; + case "eu-central-1": + regionInfo = { + hostname: "forecastquery.eu-central-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "forecastquery.eu-west-1.amazonaws.com", diff --git a/clients/client-frauddetector/endpoints.ts b/clients/client-frauddetector/endpoints.ts index eaa2f85d3ab91..e1f02de82dcd4 100644 --- a/clients/client-frauddetector/endpoints.ts +++ b/clients/client-frauddetector/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "frauddetector.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-fsx/endpoints.ts b/clients/client-fsx/endpoints.ts index 11faa00ad17b1..0b96ba55fab1c 100644 --- a/clients/client-fsx/endpoints.ts +++ b/clients/client-fsx/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "fsx.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,12 +39,30 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "ap-east-1": + regionInfo = { + hostname: "fsx.ap-east-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-northeast-1": regionInfo = { hostname: "fsx.ap-northeast-1.amazonaws.com", partition: "aws", }; break; + case "ap-northeast-2": + regionInfo = { + hostname: "fsx.ap-northeast-2.amazonaws.com", + partition: "aws", + }; + break; + case "ap-south-1": + regionInfo = { + hostname: "fsx.ap-south-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-southeast-1": regionInfo = { hostname: "fsx.ap-southeast-1.amazonaws.com", @@ -55,6 +75,24 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "ca-central-1": + regionInfo = { + hostname: "fsx.ca-central-1.amazonaws.com", + partition: "aws", + }; + break; + case "cn-north-1": + regionInfo = { + hostname: "fsx.cn-north-1.amazonaws.com.cn", + partition: "aws-cn", + }; + break; + case "cn-northwest-1": + regionInfo = { + hostname: "fsx.cn-northwest-1.amazonaws.com.cn", + partition: "aws-cn", + }; + break; case "eu-central-1": regionInfo = { hostname: "fsx.eu-central-1.amazonaws.com", @@ -79,6 +117,18 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-west-3": + regionInfo = { + hostname: "fsx.eu-west-3.amazonaws.com", + partition: "aws", + }; + break; + case "sa-east-1": + regionInfo = { + hostname: "fsx.sa-east-1.amazonaws.com", + partition: "aws", + }; + break; case "us-east-1": regionInfo = { hostname: "fsx.us-east-1.amazonaws.com", diff --git a/clients/client-gamelift/endpoints.ts b/clients/client-gamelift/endpoints.ts index b2d2189fa4b4f..70fe38dd919bd 100644 --- a/clients/client-gamelift/endpoints.ts +++ b/clients/client-gamelift/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "gamelift.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-glacier/endpoints.ts b/clients/client-glacier/endpoints.ts index 029f3e2ac81f2..597bb6753a80e 100644 --- a/clients/client-glacier/endpoints.ts +++ b/clients/client-glacier/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "glacier.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "af-south-1": + regionInfo = { + hostname: "glacier.af-south-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-east-1": regionInfo = { hostname: "glacier.ap-east-1.amazonaws.com", @@ -103,6 +111,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-south-1": + regionInfo = { + hostname: "glacier.eu-south-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "glacier.eu-west-1.amazonaws.com", @@ -121,6 +135,41 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "fips-ca-central-1": + regionInfo = { + hostname: "glacier-fips.ca-central-1.amazonaws.com", + partition: "aws", + signingRegion: "ca-central-1", + }; + break; + case "fips-us-east-1": + regionInfo = { + hostname: "glacier-fips.us-east-1.amazonaws.com", + partition: "aws", + signingRegion: "us-east-1", + }; + break; + case "fips-us-east-2": + regionInfo = { + hostname: "glacier-fips.us-east-2.amazonaws.com", + partition: "aws", + signingRegion: "us-east-2", + }; + break; + case "fips-us-west-1": + regionInfo = { + hostname: "glacier-fips.us-west-1.amazonaws.com", + partition: "aws", + signingRegion: "us-west-1", + }; + break; + case "fips-us-west-2": + regionInfo = { + hostname: "glacier-fips.us-west-2.amazonaws.com", + partition: "aws", + signingRegion: "us-west-2", + }; + break; case "me-south-1": regionInfo = { hostname: "glacier.me-south-1.amazonaws.com", @@ -149,12 +198,14 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op regionInfo = { hostname: "glacier.us-gov-east-1.amazonaws.com", partition: "aws-us-gov", + signingRegion: "us-gov-east-1", }; break; case "us-gov-west-1": regionInfo = { hostname: "glacier.us-gov-west-1.amazonaws.com", partition: "aws-us-gov", + signingRegion: "us-gov-west-1", }; break; case "us-iso-east-1": diff --git a/clients/client-global-accelerator/endpoints.ts b/clients/client-global-accelerator/endpoints.ts index 9b5b538847052..d533a11611878 100644 --- a/clients/client-global-accelerator/endpoints.ts +++ b/clients/client-global-accelerator/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "globalaccelerator.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-glue/endpoints.ts b/clients/client-glue/endpoints.ts index 815e3bb9b836e..148a570410064 100644 --- a/clients/client-glue/endpoints.ts +++ b/clients/client-glue/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "glue.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "af-south-1": + regionInfo = { + hostname: "glue.af-south-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-east-1": regionInfo = { hostname: "glue.ap-east-1.amazonaws.com", @@ -79,6 +87,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "cn-north-1": + regionInfo = { + hostname: "glue.cn-north-1.amazonaws.com.cn", + partition: "aws-cn", + }; + break; case "cn-northwest-1": regionInfo = { hostname: "glue.cn-northwest-1.amazonaws.com.cn", @@ -97,6 +111,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-south-1": + regionInfo = { + hostname: "glue.eu-south-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "glue.eu-west-1.amazonaws.com", @@ -115,6 +135,48 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "fips-us-east-1": + regionInfo = { + hostname: "glue-fips.us-east-1.amazonaws.com", + partition: "aws", + signingRegion: "us-east-1", + }; + break; + case "fips-us-east-2": + regionInfo = { + hostname: "glue-fips.us-east-2.amazonaws.com", + partition: "aws", + signingRegion: "us-east-2", + }; + break; + case "fips-us-gov-east-1": + regionInfo = { + hostname: "glue-fips.us-gov-east-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-east-1", + }; + break; + case "fips-us-gov-west-1": + regionInfo = { + hostname: "glue-fips.us-gov-west-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-west-1", + }; + break; + case "fips-us-west-1": + regionInfo = { + hostname: "glue-fips.us-west-1.amazonaws.com", + partition: "aws", + signingRegion: "us-west-1", + }; + break; + case "fips-us-west-2": + regionInfo = { + hostname: "glue-fips.us-west-2.amazonaws.com", + partition: "aws", + signingRegion: "us-west-2", + }; + break; case "me-south-1": regionInfo = { hostname: "glue.me-south-1.amazonaws.com", diff --git a/clients/client-greengrass/endpoints.ts b/clients/client-greengrass/endpoints.ts index 7d8eba88f1534..5ed5b66615eab 100644 --- a/clients/client-greengrass/endpoints.ts +++ b/clients/client-greengrass/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "greengrass.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -73,6 +75,20 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws-cn", }; break; + case "dataplane-us-gov-east-1": + regionInfo = { + hostname: "greengrass-ats.iot.us-gov-east-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-east-1", + }; + break; + case "dataplane-us-gov-west-1": + regionInfo = { + hostname: "greengrass-ats.iot.us-gov-west-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-west-1", + }; + break; case "eu-central-1": regionInfo = { hostname: "greengrass.eu-central-1.amazonaws.com", @@ -91,6 +107,13 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "fips-us-gov-east-1": + regionInfo = { + hostname: "greengrass-fips.us-gov-east-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-east-1", + }; + break; case "us-east-1": regionInfo = { hostname: "greengrass.us-east-1.amazonaws.com", @@ -103,10 +126,17 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "us-gov-east-1": + regionInfo = { + hostname: "greengrass.us-gov-east-1.amazonaws.com", + partition: "aws-us-gov", + }; + break; case "us-gov-west-1": regionInfo = { hostname: "greengrass.us-gov-west-1.amazonaws.com", partition: "aws-us-gov", + signingRegion: "us-gov-west-1", }; break; case "us-west-2": diff --git a/clients/client-groundstation/endpoints.ts b/clients/client-groundstation/endpoints.ts index 256b11eb697dc..aec9940b8c416 100644 --- a/clients/client-groundstation/endpoints.ts +++ b/clients/client-groundstation/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "groundstation.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,50 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "af-south-1": + regionInfo = { + hostname: "groundstation.af-south-1.amazonaws.com", + partition: "aws", + }; + break; + case "ap-southeast-2": + regionInfo = { + hostname: "groundstation.ap-southeast-2.amazonaws.com", + partition: "aws", + }; + break; + case "eu-north-1": + regionInfo = { + hostname: "groundstation.eu-north-1.amazonaws.com", + partition: "aws", + }; + break; + case "eu-west-1": + regionInfo = { + hostname: "groundstation.eu-west-1.amazonaws.com", + partition: "aws", + }; + break; + case "fips-us-east-2": + regionInfo = { + hostname: "groundstation-fips.us-east-2.amazonaws.com", + partition: "aws", + signingRegion: "us-east-2", + }; + break; + case "fips-us-west-2": + regionInfo = { + hostname: "groundstation-fips.us-west-2.amazonaws.com", + partition: "aws", + signingRegion: "us-west-2", + }; + break; + case "me-south-1": + regionInfo = { + hostname: "groundstation.me-south-1.amazonaws.com", + partition: "aws", + }; + break; case "us-east-2": regionInfo = { hostname: "groundstation.us-east-2.amazonaws.com", diff --git a/clients/client-guardduty/endpoints.ts b/clients/client-guardduty/endpoints.ts index a571a2eca3b8a..c5e21ee6f134f 100644 --- a/clients/client-guardduty/endpoints.ts +++ b/clients/client-guardduty/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "guardduty.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "af-south-1": + regionInfo = { + hostname: "guardduty.af-south-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-east-1": regionInfo = { hostname: "guardduty.ap-east-1.amazonaws.com", @@ -91,6 +99,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-south-1": + regionInfo = { + hostname: "guardduty.eu-south-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "guardduty.eu-west-1.amazonaws.com", @@ -147,12 +161,32 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op signingRegion: "us-east-2", }; break; + case "us-gov-east-1": + regionInfo = { + hostname: "guardduty.us-gov-east-1.amazonaws.com", + partition: "aws-us-gov", + }; + break; + case "us-gov-east-1-fips": + regionInfo = { + hostname: "guardduty.us-gov-east-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-east-1", + }; + break; case "us-gov-west-1": regionInfo = { hostname: "guardduty.us-gov-west-1.amazonaws.com", partition: "aws-us-gov", }; break; + case "us-gov-west-1-fips": + regionInfo = { + hostname: "guardduty.us-gov-west-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-west-1", + }; + break; case "us-west-1": regionInfo = { hostname: "guardduty.us-west-1.amazonaws.com", diff --git a/clients/client-health/endpoints.ts b/clients/client-health/endpoints.ts index 61d64e6c01910..11ed440f8b3c4 100644 --- a/clients/client-health/endpoints.ts +++ b/clients/client-health/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "health.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,16 +39,30 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. - case "us-east-1": + case "cn-north-1": regionInfo = { - hostname: "health.us-east-1.amazonaws.com", + hostname: "health.cn-north-1.amazonaws.com.cn", + partition: "aws-cn", + }; + break; + case "cn-northwest-1": + regionInfo = { + hostname: "health.cn-northwest-1.amazonaws.com.cn", + partition: "aws-cn", + }; + break; + case "fips-us-east-2": + regionInfo = { + hostname: "health-fips.us-east-2.amazonaws.com", partition: "aws", + signingRegion: "us-east-2", }; break; - case "us-gov-west-1": + case "fips-us-gov-west-1": regionInfo = { - hostname: "health.us-gov-west-1.amazonaws.com", + hostname: "health-fips.us-gov-west-1.amazonaws.com", partition: "aws-us-gov", + signingRegion: "us-gov-west-1", }; break; case "us-iso-east-1": diff --git a/clients/client-healthlake/endpoints.ts b/clients/client-healthlake/endpoints.ts index f150874f1f9c5..2e6d31c3804f0 100644 --- a/clients/client-healthlake/endpoints.ts +++ b/clients/client-healthlake/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "healthlake.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "us-east-1": + regionInfo = { + hostname: "healthlake.us-east-1.amazonaws.com", + partition: "aws", + }; + break; // Next, try to match partition endpoints. default: if (AWS_REGIONS.has(region)) { diff --git a/clients/client-honeycode/endpoints.ts b/clients/client-honeycode/endpoints.ts index 8d023ca1b9da8..96237119c8431 100644 --- a/clients/client-honeycode/endpoints.ts +++ b/clients/client-honeycode/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "honeycode.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "us-west-2": + regionInfo = { + hostname: "honeycode.us-west-2.amazonaws.com", + partition: "aws", + }; + break; // Next, try to match partition endpoints. default: if (AWS_REGIONS.has(region)) { diff --git a/clients/client-iam/endpoints.ts b/clients/client-iam/endpoints.ts index 454bc769bf8e8..929bc800f57be 100644 --- a/clients/client-iam/endpoints.ts +++ b/clients/client-iam/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "iam.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -72,6 +74,20 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op signingRegion: "us-gov-west-1", }; break; + case "iam-fips": + regionInfo = { + hostname: "iam-fips.amazonaws.com", + partition: "aws", + signingRegion: "us-east-1", + }; + break; + case "iam-govcloud-fips": + regionInfo = { + hostname: "iam.us-gov.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-west-1", + }; + break; // Next, try to match partition endpoints. default: if (AWS_REGIONS.has(region)) { diff --git a/clients/client-identitystore/endpoints.ts b/clients/client-identitystore/endpoints.ts index 3ae95ef0debb8..b13388995832e 100644 --- a/clients/client-identitystore/endpoints.ts +++ b/clients/client-identitystore/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "identitystore.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,84 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "ap-northeast-1": + regionInfo = { + hostname: "identitystore.ap-northeast-1.amazonaws.com", + partition: "aws", + }; + break; + case "ap-northeast-2": + regionInfo = { + hostname: "identitystore.ap-northeast-2.amazonaws.com", + partition: "aws", + }; + break; + case "ap-south-1": + regionInfo = { + hostname: "identitystore.ap-south-1.amazonaws.com", + partition: "aws", + }; + break; + case "ap-southeast-1": + regionInfo = { + hostname: "identitystore.ap-southeast-1.amazonaws.com", + partition: "aws", + }; + break; + case "ap-southeast-2": + regionInfo = { + hostname: "identitystore.ap-southeast-2.amazonaws.com", + partition: "aws", + }; + break; + case "ca-central-1": + regionInfo = { + hostname: "identitystore.ca-central-1.amazonaws.com", + partition: "aws", + }; + break; + case "eu-central-1": + regionInfo = { + hostname: "identitystore.eu-central-1.amazonaws.com", + partition: "aws", + }; + break; + case "eu-north-1": + regionInfo = { + hostname: "identitystore.eu-north-1.amazonaws.com", + partition: "aws", + }; + break; + case "eu-west-1": + regionInfo = { + hostname: "identitystore.eu-west-1.amazonaws.com", + partition: "aws", + }; + break; + case "eu-west-2": + regionInfo = { + hostname: "identitystore.eu-west-2.amazonaws.com", + partition: "aws", + }; + break; + case "us-east-1": + regionInfo = { + hostname: "identitystore.us-east-1.amazonaws.com", + partition: "aws", + }; + break; + case "us-east-2": + regionInfo = { + hostname: "identitystore.us-east-2.amazonaws.com", + partition: "aws", + }; + break; + case "us-west-2": + regionInfo = { + hostname: "identitystore.us-west-2.amazonaws.com", + partition: "aws", + }; + break; // Next, try to match partition endpoints. default: if (AWS_REGIONS.has(region)) { diff --git a/clients/client-imagebuilder/endpoints.ts b/clients/client-imagebuilder/endpoints.ts index 0bbe896e0f252..5ad81abaf5dcb 100644 --- a/clients/client-imagebuilder/endpoints.ts +++ b/clients/client-imagebuilder/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "imagebuilder.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-inspector/endpoints.ts b/clients/client-inspector/endpoints.ts index 50200fde54763..fa288df8f8b35 100644 --- a/clients/client-inspector/endpoints.ts +++ b/clients/client-inspector/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "inspector.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -85,6 +87,48 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "fips-us-east-1": + regionInfo = { + hostname: "inspector-fips.us-east-1.amazonaws.com", + partition: "aws", + signingRegion: "us-east-1", + }; + break; + case "fips-us-east-2": + regionInfo = { + hostname: "inspector-fips.us-east-2.amazonaws.com", + partition: "aws", + signingRegion: "us-east-2", + }; + break; + case "fips-us-gov-east-1": + regionInfo = { + hostname: "inspector-fips.us-gov-east-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-east-1", + }; + break; + case "fips-us-gov-west-1": + regionInfo = { + hostname: "inspector-fips.us-gov-west-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-west-1", + }; + break; + case "fips-us-west-1": + regionInfo = { + hostname: "inspector-fips.us-west-1.amazonaws.com", + partition: "aws", + signingRegion: "us-west-1", + }; + break; + case "fips-us-west-2": + regionInfo = { + hostname: "inspector-fips.us-west-2.amazonaws.com", + partition: "aws", + signingRegion: "us-west-2", + }; + break; case "us-east-1": regionInfo = { hostname: "inspector.us-east-1.amazonaws.com", diff --git a/clients/client-iot-1click-devices-service/endpoints.ts b/clients/client-iot-1click-devices-service/endpoints.ts index 689f52e690336..4ecb7675c54d3 100644 --- a/clients/client-iot-1click-devices-service/endpoints.ts +++ b/clients/client-iot-1click-devices-service/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "devices.iot1click.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-iot-1click-projects/endpoints.ts b/clients/client-iot-1click-projects/endpoints.ts index 29e7bec2610e9..9b0486d35bce0 100644 --- a/clients/client-iot-1click-projects/endpoints.ts +++ b/clients/client-iot-1click-projects/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "projects.iot1click.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-iot-data-plane/endpoints.ts b/clients/client-iot-data-plane/endpoints.ts index dd5b88dd4539b..a3f3c617a662b 100644 --- a/clients/client-iot-data-plane/endpoints.ts +++ b/clients/client-iot-data-plane/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "data.iot.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -163,6 +165,13 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op signingService: "iotdata", }; break; + case "us-gov-east-1": + regionInfo = { + hostname: "data.iot.us-gov-east-1.amazonaws.com", + partition: "aws-us-gov", + signingService: "iotdata", + }; + break; case "us-gov-west-1": regionInfo = { hostname: "data.iot.us-gov-west-1.amazonaws.com", diff --git a/clients/client-iot-events-data/endpoints.ts b/clients/client-iot-events-data/endpoints.ts index 610cd9cb0df61..41a86acd24198 100644 --- a/clients/client-iot-events-data/endpoints.ts +++ b/clients/client-iot-events-data/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "data.iotevents.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-iot-events/endpoints.ts b/clients/client-iot-events/endpoints.ts index 5a26fdf87d783..171e49e930e37 100644 --- a/clients/client-iot-events/endpoints.ts +++ b/clients/client-iot-events/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "iotevents.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -61,6 +63,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "cn-north-1": + regionInfo = { + hostname: "iotevents.cn-north-1.amazonaws.com.cn", + partition: "aws-cn", + }; + break; case "eu-central-1": regionInfo = { hostname: "iotevents.eu-central-1.amazonaws.com", diff --git a/clients/client-iot-jobs-data-plane/endpoints.ts b/clients/client-iot-jobs-data-plane/endpoints.ts index 1e643d1968a6a..3ce400794ffa7 100644 --- a/clients/client-iot-jobs-data-plane/endpoints.ts +++ b/clients/client-iot-jobs-data-plane/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "data.jobs.iot.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-iot/endpoints.ts b/clients/client-iot/endpoints.ts index 1f0a05a0f265c..014e538799e6b 100644 --- a/clients/client-iot/endpoints.ts +++ b/clients/client-iot/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "iot.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -163,6 +165,13 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op signingService: "execute-api", }; break; + case "us-gov-east-1": + regionInfo = { + hostname: "iot.us-gov-east-1.amazonaws.com", + partition: "aws-us-gov", + signingService: "execute-api", + }; + break; case "us-gov-west-1": regionInfo = { hostname: "iot.us-gov-west-1.amazonaws.com", diff --git a/clients/client-iotanalytics/endpoints.ts b/clients/client-iotanalytics/endpoints.ts index 41e35978a6a70..c1633a474a7c4 100644 --- a/clients/client-iotanalytics/endpoints.ts +++ b/clients/client-iotanalytics/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "iotanalytics.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -43,6 +45,18 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "ap-southeast-2": + regionInfo = { + hostname: "iotanalytics.ap-southeast-2.amazonaws.com", + partition: "aws", + }; + break; + case "cn-north-1": + regionInfo = { + hostname: "iotanalytics.cn-north-1.amazonaws.com.cn", + partition: "aws-cn", + }; + break; case "eu-central-1": regionInfo = { hostname: "iotanalytics.eu-central-1.amazonaws.com", diff --git a/clients/client-iotsecuretunneling/endpoints.ts b/clients/client-iotsecuretunneling/endpoints.ts index 6715edc5dedbc..d756a220861ce 100644 --- a/clients/client-iotsecuretunneling/endpoints.ts +++ b/clients/client-iotsecuretunneling/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "api.tunneling.iot.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-iotsitewise/endpoints.ts b/clients/client-iotsitewise/endpoints.ts index 3ca5a412775d8..3ae68d204e586 100644 --- a/clients/client-iotsitewise/endpoints.ts +++ b/clients/client-iotsitewise/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "iotsitewise.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-iotthingsgraph/endpoints.ts b/clients/client-iotthingsgraph/endpoints.ts index d977ed52a2e0b..c2c894adb3ee6 100644 --- a/clients/client-iotthingsgraph/endpoints.ts +++ b/clients/client-iotthingsgraph/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "iotthingsgraph.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-ivs/endpoints.ts b/clients/client-ivs/endpoints.ts index e30ffbb59c857..1aeb0d34b60b6 100644 --- a/clients/client-ivs/endpoints.ts +++ b/clients/client-ivs/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "ivs.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-kafka/endpoints.ts b/clients/client-kafka/endpoints.ts index 79fe9b171b257..f87bd61d38233 100644 --- a/clients/client-kafka/endpoints.ts +++ b/clients/client-kafka/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "kafka.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -79,6 +81,18 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "cn-north-1": + regionInfo = { + hostname: "kafka.cn-north-1.amazonaws.com.cn", + partition: "aws-cn", + }; + break; + case "cn-northwest-1": + regionInfo = { + hostname: "kafka.cn-northwest-1.amazonaws.com.cn", + partition: "aws-cn", + }; + break; case "eu-central-1": regionInfo = { hostname: "kafka.eu-central-1.amazonaws.com", @@ -91,6 +105,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-south-1": + regionInfo = { + hostname: "kafka.eu-south-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "kafka.eu-west-1.amazonaws.com", @@ -109,6 +129,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "me-south-1": + regionInfo = { + hostname: "kafka.me-south-1.amazonaws.com", + partition: "aws", + }; + break; case "sa-east-1": regionInfo = { hostname: "kafka.sa-east-1.amazonaws.com", @@ -127,6 +153,18 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "us-gov-east-1": + regionInfo = { + hostname: "kafka.us-gov-east-1.amazonaws.com", + partition: "aws-us-gov", + }; + break; + case "us-gov-west-1": + regionInfo = { + hostname: "kafka.us-gov-west-1.amazonaws.com", + partition: "aws-us-gov", + }; + break; case "us-west-1": regionInfo = { hostname: "kafka.us-west-1.amazonaws.com", diff --git a/clients/client-kendra/endpoints.ts b/clients/client-kendra/endpoints.ts index d3fd6ca854560..9dcd7f27bf9df 100644 --- a/clients/client-kendra/endpoints.ts +++ b/clients/client-kendra/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "kendra.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-kinesis-analytics-v2/endpoints.ts b/clients/client-kinesis-analytics-v2/endpoints.ts index 653a4293252a1..b1131a0c4cd32 100644 --- a/clients/client-kinesis-analytics-v2/endpoints.ts +++ b/clients/client-kinesis-analytics-v2/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "kinesisanalytics.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "ap-east-1": + regionInfo = { + hostname: "kinesisanalytics.ap-east-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-northeast-1": regionInfo = { hostname: "kinesisanalytics.ap-northeast-1.amazonaws.com", @@ -67,6 +75,24 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "ca-central-1": + regionInfo = { + hostname: "kinesisanalytics.ca-central-1.amazonaws.com", + partition: "aws", + }; + break; + case "cn-north-1": + regionInfo = { + hostname: "kinesisanalytics.cn-north-1.amazonaws.com.cn", + partition: "aws-cn", + }; + break; + case "cn-northwest-1": + regionInfo = { + hostname: "kinesisanalytics.cn-northwest-1.amazonaws.com.cn", + partition: "aws-cn", + }; + break; case "eu-central-1": regionInfo = { hostname: "kinesisanalytics.eu-central-1.amazonaws.com", @@ -79,6 +105,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-south-1": + regionInfo = { + hostname: "kinesisanalytics.eu-south-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "kinesisanalytics.eu-west-1.amazonaws.com", @@ -97,6 +129,18 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "me-south-1": + regionInfo = { + hostname: "kinesisanalytics.me-south-1.amazonaws.com", + partition: "aws", + }; + break; + case "sa-east-1": + regionInfo = { + hostname: "kinesisanalytics.sa-east-1.amazonaws.com", + partition: "aws", + }; + break; case "us-east-1": regionInfo = { hostname: "kinesisanalytics.us-east-1.amazonaws.com", @@ -109,6 +153,24 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "us-gov-east-1": + regionInfo = { + hostname: "kinesisanalytics.us-gov-east-1.amazonaws.com", + partition: "aws-us-gov", + }; + break; + case "us-gov-west-1": + regionInfo = { + hostname: "kinesisanalytics.us-gov-west-1.amazonaws.com", + partition: "aws-us-gov", + }; + break; + case "us-west-1": + regionInfo = { + hostname: "kinesisanalytics.us-west-1.amazonaws.com", + partition: "aws", + }; + break; case "us-west-2": regionInfo = { hostname: "kinesisanalytics.us-west-2.amazonaws.com", diff --git a/clients/client-kinesis-analytics/endpoints.ts b/clients/client-kinesis-analytics/endpoints.ts index 653a4293252a1..b1131a0c4cd32 100644 --- a/clients/client-kinesis-analytics/endpoints.ts +++ b/clients/client-kinesis-analytics/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "kinesisanalytics.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "ap-east-1": + regionInfo = { + hostname: "kinesisanalytics.ap-east-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-northeast-1": regionInfo = { hostname: "kinesisanalytics.ap-northeast-1.amazonaws.com", @@ -67,6 +75,24 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "ca-central-1": + regionInfo = { + hostname: "kinesisanalytics.ca-central-1.amazonaws.com", + partition: "aws", + }; + break; + case "cn-north-1": + regionInfo = { + hostname: "kinesisanalytics.cn-north-1.amazonaws.com.cn", + partition: "aws-cn", + }; + break; + case "cn-northwest-1": + regionInfo = { + hostname: "kinesisanalytics.cn-northwest-1.amazonaws.com.cn", + partition: "aws-cn", + }; + break; case "eu-central-1": regionInfo = { hostname: "kinesisanalytics.eu-central-1.amazonaws.com", @@ -79,6 +105,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-south-1": + regionInfo = { + hostname: "kinesisanalytics.eu-south-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "kinesisanalytics.eu-west-1.amazonaws.com", @@ -97,6 +129,18 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "me-south-1": + regionInfo = { + hostname: "kinesisanalytics.me-south-1.amazonaws.com", + partition: "aws", + }; + break; + case "sa-east-1": + regionInfo = { + hostname: "kinesisanalytics.sa-east-1.amazonaws.com", + partition: "aws", + }; + break; case "us-east-1": regionInfo = { hostname: "kinesisanalytics.us-east-1.amazonaws.com", @@ -109,6 +153,24 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "us-gov-east-1": + regionInfo = { + hostname: "kinesisanalytics.us-gov-east-1.amazonaws.com", + partition: "aws-us-gov", + }; + break; + case "us-gov-west-1": + regionInfo = { + hostname: "kinesisanalytics.us-gov-west-1.amazonaws.com", + partition: "aws-us-gov", + }; + break; + case "us-west-1": + regionInfo = { + hostname: "kinesisanalytics.us-west-1.amazonaws.com", + partition: "aws", + }; + break; case "us-west-2": regionInfo = { hostname: "kinesisanalytics.us-west-2.amazonaws.com", diff --git a/clients/client-kinesis-video-archived-media/endpoints.ts b/clients/client-kinesis-video-archived-media/endpoints.ts index a025ec0c28116..ff6d7c30ffe83 100644 --- a/clients/client-kinesis-video-archived-media/endpoints.ts +++ b/clients/client-kinesis-video-archived-media/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "kinesisvideo.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,18 +39,48 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "ap-east-1": + regionInfo = { + hostname: "kinesisvideo.ap-east-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-northeast-1": regionInfo = { hostname: "kinesisvideo.ap-northeast-1.amazonaws.com", partition: "aws", }; break; + case "ap-northeast-2": + regionInfo = { + hostname: "kinesisvideo.ap-northeast-2.amazonaws.com", + partition: "aws", + }; + break; + case "ap-south-1": + regionInfo = { + hostname: "kinesisvideo.ap-south-1.amazonaws.com", + partition: "aws", + }; + break; + case "ap-southeast-1": + regionInfo = { + hostname: "kinesisvideo.ap-southeast-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-southeast-2": regionInfo = { hostname: "kinesisvideo.ap-southeast-2.amazonaws.com", partition: "aws", }; break; + case "ca-central-1": + regionInfo = { + hostname: "kinesisvideo.ca-central-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-central-1": regionInfo = { hostname: "kinesisvideo.eu-central-1.amazonaws.com", @@ -61,12 +93,36 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-west-2": + regionInfo = { + hostname: "kinesisvideo.eu-west-2.amazonaws.com", + partition: "aws", + }; + break; + case "eu-west-3": + regionInfo = { + hostname: "kinesisvideo.eu-west-3.amazonaws.com", + partition: "aws", + }; + break; + case "sa-east-1": + regionInfo = { + hostname: "kinesisvideo.sa-east-1.amazonaws.com", + partition: "aws", + }; + break; case "us-east-1": regionInfo = { hostname: "kinesisvideo.us-east-1.amazonaws.com", partition: "aws", }; break; + case "us-east-2": + regionInfo = { + hostname: "kinesisvideo.us-east-2.amazonaws.com", + partition: "aws", + }; + break; case "us-west-2": regionInfo = { hostname: "kinesisvideo.us-west-2.amazonaws.com", diff --git a/clients/client-kinesis-video-media/endpoints.ts b/clients/client-kinesis-video-media/endpoints.ts index a025ec0c28116..ff6d7c30ffe83 100644 --- a/clients/client-kinesis-video-media/endpoints.ts +++ b/clients/client-kinesis-video-media/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "kinesisvideo.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,18 +39,48 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "ap-east-1": + regionInfo = { + hostname: "kinesisvideo.ap-east-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-northeast-1": regionInfo = { hostname: "kinesisvideo.ap-northeast-1.amazonaws.com", partition: "aws", }; break; + case "ap-northeast-2": + regionInfo = { + hostname: "kinesisvideo.ap-northeast-2.amazonaws.com", + partition: "aws", + }; + break; + case "ap-south-1": + regionInfo = { + hostname: "kinesisvideo.ap-south-1.amazonaws.com", + partition: "aws", + }; + break; + case "ap-southeast-1": + regionInfo = { + hostname: "kinesisvideo.ap-southeast-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-southeast-2": regionInfo = { hostname: "kinesisvideo.ap-southeast-2.amazonaws.com", partition: "aws", }; break; + case "ca-central-1": + regionInfo = { + hostname: "kinesisvideo.ca-central-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-central-1": regionInfo = { hostname: "kinesisvideo.eu-central-1.amazonaws.com", @@ -61,12 +93,36 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-west-2": + regionInfo = { + hostname: "kinesisvideo.eu-west-2.amazonaws.com", + partition: "aws", + }; + break; + case "eu-west-3": + regionInfo = { + hostname: "kinesisvideo.eu-west-3.amazonaws.com", + partition: "aws", + }; + break; + case "sa-east-1": + regionInfo = { + hostname: "kinesisvideo.sa-east-1.amazonaws.com", + partition: "aws", + }; + break; case "us-east-1": regionInfo = { hostname: "kinesisvideo.us-east-1.amazonaws.com", partition: "aws", }; break; + case "us-east-2": + regionInfo = { + hostname: "kinesisvideo.us-east-2.amazonaws.com", + partition: "aws", + }; + break; case "us-west-2": regionInfo = { hostname: "kinesisvideo.us-west-2.amazonaws.com", diff --git a/clients/client-kinesis-video-signaling/endpoints.ts b/clients/client-kinesis-video-signaling/endpoints.ts index a025ec0c28116..ff6d7c30ffe83 100644 --- a/clients/client-kinesis-video-signaling/endpoints.ts +++ b/clients/client-kinesis-video-signaling/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "kinesisvideo.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,18 +39,48 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "ap-east-1": + regionInfo = { + hostname: "kinesisvideo.ap-east-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-northeast-1": regionInfo = { hostname: "kinesisvideo.ap-northeast-1.amazonaws.com", partition: "aws", }; break; + case "ap-northeast-2": + regionInfo = { + hostname: "kinesisvideo.ap-northeast-2.amazonaws.com", + partition: "aws", + }; + break; + case "ap-south-1": + regionInfo = { + hostname: "kinesisvideo.ap-south-1.amazonaws.com", + partition: "aws", + }; + break; + case "ap-southeast-1": + regionInfo = { + hostname: "kinesisvideo.ap-southeast-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-southeast-2": regionInfo = { hostname: "kinesisvideo.ap-southeast-2.amazonaws.com", partition: "aws", }; break; + case "ca-central-1": + regionInfo = { + hostname: "kinesisvideo.ca-central-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-central-1": regionInfo = { hostname: "kinesisvideo.eu-central-1.amazonaws.com", @@ -61,12 +93,36 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-west-2": + regionInfo = { + hostname: "kinesisvideo.eu-west-2.amazonaws.com", + partition: "aws", + }; + break; + case "eu-west-3": + regionInfo = { + hostname: "kinesisvideo.eu-west-3.amazonaws.com", + partition: "aws", + }; + break; + case "sa-east-1": + regionInfo = { + hostname: "kinesisvideo.sa-east-1.amazonaws.com", + partition: "aws", + }; + break; case "us-east-1": regionInfo = { hostname: "kinesisvideo.us-east-1.amazonaws.com", partition: "aws", }; break; + case "us-east-2": + regionInfo = { + hostname: "kinesisvideo.us-east-2.amazonaws.com", + partition: "aws", + }; + break; case "us-west-2": regionInfo = { hostname: "kinesisvideo.us-west-2.amazonaws.com", diff --git a/clients/client-kinesis-video/endpoints.ts b/clients/client-kinesis-video/endpoints.ts index a025ec0c28116..ff6d7c30ffe83 100644 --- a/clients/client-kinesis-video/endpoints.ts +++ b/clients/client-kinesis-video/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "kinesisvideo.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,18 +39,48 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "ap-east-1": + regionInfo = { + hostname: "kinesisvideo.ap-east-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-northeast-1": regionInfo = { hostname: "kinesisvideo.ap-northeast-1.amazonaws.com", partition: "aws", }; break; + case "ap-northeast-2": + regionInfo = { + hostname: "kinesisvideo.ap-northeast-2.amazonaws.com", + partition: "aws", + }; + break; + case "ap-south-1": + regionInfo = { + hostname: "kinesisvideo.ap-south-1.amazonaws.com", + partition: "aws", + }; + break; + case "ap-southeast-1": + regionInfo = { + hostname: "kinesisvideo.ap-southeast-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-southeast-2": regionInfo = { hostname: "kinesisvideo.ap-southeast-2.amazonaws.com", partition: "aws", }; break; + case "ca-central-1": + regionInfo = { + hostname: "kinesisvideo.ca-central-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-central-1": regionInfo = { hostname: "kinesisvideo.eu-central-1.amazonaws.com", @@ -61,12 +93,36 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-west-2": + regionInfo = { + hostname: "kinesisvideo.eu-west-2.amazonaws.com", + partition: "aws", + }; + break; + case "eu-west-3": + regionInfo = { + hostname: "kinesisvideo.eu-west-3.amazonaws.com", + partition: "aws", + }; + break; + case "sa-east-1": + regionInfo = { + hostname: "kinesisvideo.sa-east-1.amazonaws.com", + partition: "aws", + }; + break; case "us-east-1": regionInfo = { hostname: "kinesisvideo.us-east-1.amazonaws.com", partition: "aws", }; break; + case "us-east-2": + regionInfo = { + hostname: "kinesisvideo.us-east-2.amazonaws.com", + partition: "aws", + }; + break; case "us-west-2": regionInfo = { hostname: "kinesisvideo.us-west-2.amazonaws.com", diff --git a/clients/client-kinesis/endpoints.ts b/clients/client-kinesis/endpoints.ts index 97608391587dd..49bac9250515a 100644 --- a/clients/client-kinesis/endpoints.ts +++ b/clients/client-kinesis/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "kinesis.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "af-south-1": + regionInfo = { + hostname: "kinesis.af-south-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-east-1": regionInfo = { hostname: "kinesis.ap-east-1.amazonaws.com", @@ -103,6 +111,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-south-1": + regionInfo = { + hostname: "kinesis.eu-south-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "kinesis.eu-west-1.amazonaws.com", @@ -121,6 +135,34 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "fips-us-east-1": + regionInfo = { + hostname: "kinesis-fips.us-east-1.amazonaws.com", + partition: "aws", + signingRegion: "us-east-1", + }; + break; + case "fips-us-east-2": + regionInfo = { + hostname: "kinesis-fips.us-east-2.amazonaws.com", + partition: "aws", + signingRegion: "us-east-2", + }; + break; + case "fips-us-west-1": + regionInfo = { + hostname: "kinesis-fips.us-west-1.amazonaws.com", + partition: "aws", + signingRegion: "us-west-1", + }; + break; + case "fips-us-west-2": + regionInfo = { + hostname: "kinesis-fips.us-west-2.amazonaws.com", + partition: "aws", + signingRegion: "us-west-2", + }; + break; case "me-south-1": regionInfo = { hostname: "kinesis.me-south-1.amazonaws.com", @@ -149,12 +191,14 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op regionInfo = { hostname: "kinesis.us-gov-east-1.amazonaws.com", partition: "aws-us-gov", + signingRegion: "us-gov-east-1", }; break; case "us-gov-west-1": regionInfo = { hostname: "kinesis.us-gov-west-1.amazonaws.com", partition: "aws-us-gov", + signingRegion: "us-gov-west-1", }; break; case "us-iso-east-1": diff --git a/clients/client-kms/endpoints.ts b/clients/client-kms/endpoints.ts index 020fa2cf98c9c..b3217f6493052 100644 --- a/clients/client-kms/endpoints.ts +++ b/clients/client-kms/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "kms.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -44,6 +46,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op signingRegion: "us-gov-west-1", }; break; + case "af-south-1": + regionInfo = { + hostname: "kms.af-south-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-east-1": regionInfo = { hostname: "kms.ap-east-1.amazonaws.com", @@ -110,6 +118,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-south-1": + regionInfo = { + hostname: "kms.eu-south-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "kms.eu-west-1.amazonaws.com", diff --git a/clients/client-lakeformation/endpoints.ts b/clients/client-lakeformation/endpoints.ts index 8965178b39c31..9b7506a8d43f1 100644 --- a/clients/client-lakeformation/endpoints.ts +++ b/clients/client-lakeformation/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "lakeformation.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -73,12 +75,30 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "cn-north-1": + regionInfo = { + hostname: "lakeformation.cn-north-1.amazonaws.com.cn", + partition: "aws-cn", + }; + break; case "eu-central-1": regionInfo = { hostname: "lakeformation.eu-central-1.amazonaws.com", partition: "aws", }; break; + case "eu-north-1": + regionInfo = { + hostname: "lakeformation.eu-north-1.amazonaws.com", + partition: "aws", + }; + break; + case "eu-south-1": + regionInfo = { + hostname: "lakeformation.eu-south-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "lakeformation.eu-west-1.amazonaws.com", @@ -91,6 +111,53 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-west-3": + regionInfo = { + hostname: "lakeformation.eu-west-3.amazonaws.com", + partition: "aws", + }; + break; + case "fips-us-east-1": + regionInfo = { + hostname: "lakeformation-fips.us-east-1.amazonaws.com", + partition: "aws", + signingRegion: "us-east-1", + }; + break; + case "fips-us-east-2": + regionInfo = { + hostname: "lakeformation-fips.us-east-2.amazonaws.com", + partition: "aws", + signingRegion: "us-east-2", + }; + break; + case "fips-us-gov-west-1": + regionInfo = { + hostname: "lakeformation-fips.us-gov-west-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-west-1", + }; + break; + case "fips-us-west-1": + regionInfo = { + hostname: "lakeformation-fips.us-west-1.amazonaws.com", + partition: "aws", + signingRegion: "us-west-1", + }; + break; + case "fips-us-west-2": + regionInfo = { + hostname: "lakeformation-fips.us-west-2.amazonaws.com", + partition: "aws", + signingRegion: "us-west-2", + }; + break; + case "sa-east-1": + regionInfo = { + hostname: "lakeformation.sa-east-1.amazonaws.com", + partition: "aws", + }; + break; case "us-east-1": regionInfo = { hostname: "lakeformation.us-east-1.amazonaws.com", @@ -103,6 +170,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "us-gov-west-1": + regionInfo = { + hostname: "lakeformation.us-gov-west-1.amazonaws.com", + partition: "aws-us-gov", + }; + break; case "us-west-1": regionInfo = { hostname: "lakeformation.us-west-1.amazonaws.com", diff --git a/clients/client-lambda/endpoints.ts b/clients/client-lambda/endpoints.ts index f82ea446cb4cd..74f8903ba7584 100644 --- a/clients/client-lambda/endpoints.ts +++ b/clients/client-lambda/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "lambda.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "af-south-1": + regionInfo = { + hostname: "lambda.af-south-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-east-1": regionInfo = { hostname: "lambda.ap-east-1.amazonaws.com", @@ -103,6 +111,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-south-1": + regionInfo = { + hostname: "lambda.eu-south-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "lambda.eu-west-1.amazonaws.com", @@ -121,6 +135,48 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "fips-us-east-1": + regionInfo = { + hostname: "lambda-fips.us-east-1.amazonaws.com", + partition: "aws", + signingRegion: "us-east-1", + }; + break; + case "fips-us-east-2": + regionInfo = { + hostname: "lambda-fips.us-east-2.amazonaws.com", + partition: "aws", + signingRegion: "us-east-2", + }; + break; + case "fips-us-gov-east-1": + regionInfo = { + hostname: "lambda-fips.us-gov-east-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-east-1", + }; + break; + case "fips-us-gov-west-1": + regionInfo = { + hostname: "lambda-fips.us-gov-west-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-west-1", + }; + break; + case "fips-us-west-1": + regionInfo = { + hostname: "lambda-fips.us-west-1.amazonaws.com", + partition: "aws", + signingRegion: "us-west-1", + }; + break; + case "fips-us-west-2": + regionInfo = { + hostname: "lambda-fips.us-west-2.amazonaws.com", + partition: "aws", + signingRegion: "us-west-2", + }; + break; case "me-south-1": regionInfo = { hostname: "lambda.me-south-1.amazonaws.com", @@ -163,6 +219,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws-iso", }; break; + case "us-isob-east-1": + regionInfo = { + hostname: "lambda.us-isob-east-1.sc2s.sgov.gov", + partition: "aws-iso-b", + }; + break; case "us-west-1": regionInfo = { hostname: "lambda.us-west-1.amazonaws.com", diff --git a/clients/client-lex-model-building-service/endpoints.ts b/clients/client-lex-model-building-service/endpoints.ts index 67e33b434adfd..36f881fe9b0b4 100644 --- a/clients/client-lex-model-building-service/endpoints.ts +++ b/clients/client-lex-model-building-service/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "models.lex.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,34 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "ap-northeast-1": + regionInfo = { + hostname: "models.lex.ap-northeast-1.amazonaws.com", + partition: "aws", + signingService: "lex", + }; + break; + case "ap-southeast-1": + regionInfo = { + hostname: "models.lex.ap-southeast-1.amazonaws.com", + partition: "aws", + signingService: "lex", + }; + break; + case "ap-southeast-2": + regionInfo = { + hostname: "models.lex.ap-southeast-2.amazonaws.com", + partition: "aws", + signingService: "lex", + }; + break; + case "eu-central-1": + regionInfo = { + hostname: "models.lex.eu-central-1.amazonaws.com", + partition: "aws", + signingService: "lex", + }; + break; case "eu-west-1": regionInfo = { hostname: "models.lex.eu-west-1.amazonaws.com", @@ -44,6 +74,13 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op signingService: "lex", }; break; + case "eu-west-2": + regionInfo = { + hostname: "models.lex.eu-west-2.amazonaws.com", + partition: "aws", + signingService: "lex", + }; + break; case "us-east-1": regionInfo = { hostname: "models.lex.us-east-1.amazonaws.com", diff --git a/clients/client-lex-runtime-service/endpoints.ts b/clients/client-lex-runtime-service/endpoints.ts index 46f6062c9fcc5..b8a3cd1410e40 100644 --- a/clients/client-lex-runtime-service/endpoints.ts +++ b/clients/client-lex-runtime-service/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "runtime.lex.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,34 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "ap-northeast-1": + regionInfo = { + hostname: "runtime.lex.ap-northeast-1.amazonaws.com", + partition: "aws", + signingService: "lex", + }; + break; + case "ap-southeast-1": + regionInfo = { + hostname: "runtime.lex.ap-southeast-1.amazonaws.com", + partition: "aws", + signingService: "lex", + }; + break; + case "ap-southeast-2": + regionInfo = { + hostname: "runtime.lex.ap-southeast-2.amazonaws.com", + partition: "aws", + signingService: "lex", + }; + break; + case "eu-central-1": + regionInfo = { + hostname: "runtime.lex.eu-central-1.amazonaws.com", + partition: "aws", + signingService: "lex", + }; + break; case "eu-west-1": regionInfo = { hostname: "runtime.lex.eu-west-1.amazonaws.com", @@ -44,6 +74,13 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op signingService: "lex", }; break; + case "eu-west-2": + regionInfo = { + hostname: "runtime.lex.eu-west-2.amazonaws.com", + partition: "aws", + signingService: "lex", + }; + break; case "us-east-1": regionInfo = { hostname: "runtime.lex.us-east-1.amazonaws.com", diff --git a/clients/client-license-manager/endpoints.ts b/clients/client-license-manager/endpoints.ts index 68d4ab9027d42..8d2bedaa05171 100644 --- a/clients/client-license-manager/endpoints.ts +++ b/clients/client-license-manager/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "license-manager.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "af-south-1": + regionInfo = { + hostname: "license-manager.af-south-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-east-1": regionInfo = { hostname: "license-manager.ap-east-1.amazonaws.com", @@ -103,6 +111,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-south-1": + regionInfo = { + hostname: "license-manager.eu-south-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "license-manager.eu-west-1.amazonaws.com", @@ -121,6 +135,48 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "fips-us-east-1": + regionInfo = { + hostname: "license-manager-fips.us-east-1.amazonaws.com", + partition: "aws", + signingRegion: "us-east-1", + }; + break; + case "fips-us-east-2": + regionInfo = { + hostname: "license-manager-fips.us-east-2.amazonaws.com", + partition: "aws", + signingRegion: "us-east-2", + }; + break; + case "fips-us-gov-east-1": + regionInfo = { + hostname: "license-manager-fips.us-gov-east-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-east-1", + }; + break; + case "fips-us-gov-west-1": + regionInfo = { + hostname: "license-manager-fips.us-gov-west-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-west-1", + }; + break; + case "fips-us-west-1": + regionInfo = { + hostname: "license-manager-fips.us-west-1.amazonaws.com", + partition: "aws", + signingRegion: "us-west-1", + }; + break; + case "fips-us-west-2": + regionInfo = { + hostname: "license-manager-fips.us-west-2.amazonaws.com", + partition: "aws", + signingRegion: "us-west-2", + }; + break; case "me-south-1": regionInfo = { hostname: "license-manager.me-south-1.amazonaws.com", @@ -157,6 +213,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws-us-gov", }; break; + case "us-isob-east-1": + regionInfo = { + hostname: "license-manager.us-isob-east-1.sc2s.sgov.gov", + partition: "aws-iso-b", + }; + break; case "us-west-1": regionInfo = { hostname: "license-manager.us-west-1.amazonaws.com", diff --git a/clients/client-lightsail/endpoints.ts b/clients/client-lightsail/endpoints.ts index c31709bca81e5..4b27755800b34 100644 --- a/clients/client-lightsail/endpoints.ts +++ b/clients/client-lightsail/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "lightsail.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-lookoutvision/endpoints.ts b/clients/client-lookoutvision/endpoints.ts index 3ab9b594f6cd5..23c7fb6e3ed64 100644 --- a/clients/client-lookoutvision/endpoints.ts +++ b/clients/client-lookoutvision/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "lookoutvision.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,48 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "ap-northeast-1": + regionInfo = { + hostname: "lookoutvision.ap-northeast-1.amazonaws.com", + partition: "aws", + }; + break; + case "ap-northeast-2": + regionInfo = { + hostname: "lookoutvision.ap-northeast-2.amazonaws.com", + partition: "aws", + }; + break; + case "eu-central-1": + regionInfo = { + hostname: "lookoutvision.eu-central-1.amazonaws.com", + partition: "aws", + }; + break; + case "eu-west-1": + regionInfo = { + hostname: "lookoutvision.eu-west-1.amazonaws.com", + partition: "aws", + }; + break; + case "us-east-1": + regionInfo = { + hostname: "lookoutvision.us-east-1.amazonaws.com", + partition: "aws", + }; + break; + case "us-east-2": + regionInfo = { + hostname: "lookoutvision.us-east-2.amazonaws.com", + partition: "aws", + }; + break; + case "us-west-2": + regionInfo = { + hostname: "lookoutvision.us-west-2.amazonaws.com", + partition: "aws", + }; + break; // Next, try to match partition endpoints. default: if (AWS_REGIONS.has(region)) { diff --git a/clients/client-machine-learning/endpoints.ts b/clients/client-machine-learning/endpoints.ts index 13556ced68fb4..1f9eedede1a27 100644 --- a/clients/client-machine-learning/endpoints.ts +++ b/clients/client-machine-learning/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "machinelearning.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-macie/endpoints.ts b/clients/client-macie/endpoints.ts index af567fb10d411..0219d5af063ab 100644 --- a/clients/client-macie/endpoints.ts +++ b/clients/client-macie/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "macie.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,32 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "fips-us-east-1": + regionInfo = { + hostname: "macie-fips.us-east-1.amazonaws.com", + partition: "aws", + signingRegion: "us-east-1", + }; + break; + case "fips-us-west-2": + regionInfo = { + hostname: "macie-fips.us-west-2.amazonaws.com", + partition: "aws", + signingRegion: "us-west-2", + }; + break; + case "us-east-1": + regionInfo = { + hostname: "macie.us-east-1.amazonaws.com", + partition: "aws", + }; + break; + case "us-west-2": + regionInfo = { + hostname: "macie.us-west-2.amazonaws.com", + partition: "aws", + }; + break; // Next, try to match partition endpoints. default: if (AWS_REGIONS.has(region)) { diff --git a/clients/client-macie2/endpoints.ts b/clients/client-macie2/endpoints.ts index 61cb395e7852d..cd55db2a29858 100644 --- a/clients/client-macie2/endpoints.ts +++ b/clients/client-macie2/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "macie2.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,136 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "ap-east-1": + regionInfo = { + hostname: "macie2.ap-east-1.amazonaws.com", + partition: "aws", + }; + break; + case "ap-northeast-1": + regionInfo = { + hostname: "macie2.ap-northeast-1.amazonaws.com", + partition: "aws", + }; + break; + case "ap-northeast-2": + regionInfo = { + hostname: "macie2.ap-northeast-2.amazonaws.com", + partition: "aws", + }; + break; + case "ap-south-1": + regionInfo = { + hostname: "macie2.ap-south-1.amazonaws.com", + partition: "aws", + }; + break; + case "ap-southeast-1": + regionInfo = { + hostname: "macie2.ap-southeast-1.amazonaws.com", + partition: "aws", + }; + break; + case "ap-southeast-2": + regionInfo = { + hostname: "macie2.ap-southeast-2.amazonaws.com", + partition: "aws", + }; + break; + case "ca-central-1": + regionInfo = { + hostname: "macie2.ca-central-1.amazonaws.com", + partition: "aws", + }; + break; + case "eu-central-1": + regionInfo = { + hostname: "macie2.eu-central-1.amazonaws.com", + partition: "aws", + }; + break; + case "eu-north-1": + regionInfo = { + hostname: "macie2.eu-north-1.amazonaws.com", + partition: "aws", + }; + break; + case "eu-west-1": + regionInfo = { + hostname: "macie2.eu-west-1.amazonaws.com", + partition: "aws", + }; + break; + case "eu-west-2": + regionInfo = { + hostname: "macie2.eu-west-2.amazonaws.com", + partition: "aws", + }; + break; + case "eu-west-3": + regionInfo = { + hostname: "macie2.eu-west-3.amazonaws.com", + partition: "aws", + }; + break; + case "fips-us-east-1": + regionInfo = { + hostname: "macie2-fips.us-east-1.amazonaws.com", + partition: "aws", + signingRegion: "us-east-1", + }; + break; + case "fips-us-east-2": + regionInfo = { + hostname: "macie2-fips.us-east-2.amazonaws.com", + partition: "aws", + signingRegion: "us-east-2", + }; + break; + case "fips-us-west-1": + regionInfo = { + hostname: "macie2-fips.us-west-1.amazonaws.com", + partition: "aws", + signingRegion: "us-west-1", + }; + break; + case "fips-us-west-2": + regionInfo = { + hostname: "macie2-fips.us-west-2.amazonaws.com", + partition: "aws", + signingRegion: "us-west-2", + }; + break; + case "sa-east-1": + regionInfo = { + hostname: "macie2.sa-east-1.amazonaws.com", + partition: "aws", + }; + break; + case "us-east-1": + regionInfo = { + hostname: "macie2.us-east-1.amazonaws.com", + partition: "aws", + }; + break; + case "us-east-2": + regionInfo = { + hostname: "macie2.us-east-2.amazonaws.com", + partition: "aws", + }; + break; + case "us-west-1": + regionInfo = { + hostname: "macie2.us-west-1.amazonaws.com", + partition: "aws", + }; + break; + case "us-west-2": + regionInfo = { + hostname: "macie2.us-west-2.amazonaws.com", + partition: "aws", + }; + break; // Next, try to match partition endpoints. default: if (AWS_REGIONS.has(region)) { diff --git a/clients/client-managedblockchain/endpoints.ts b/clients/client-managedblockchain/endpoints.ts index 7a41ab2ac2ff9..f2fb09d02da81 100644 --- a/clients/client-managedblockchain/endpoints.ts +++ b/clients/client-managedblockchain/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "managedblockchain.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,42 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "ap-northeast-1": + regionInfo = { + hostname: "managedblockchain.ap-northeast-1.amazonaws.com", + partition: "aws", + }; + break; + case "ap-northeast-2": + regionInfo = { + hostname: "managedblockchain.ap-northeast-2.amazonaws.com", + partition: "aws", + }; + break; + case "ap-southeast-1": + regionInfo = { + hostname: "managedblockchain.ap-southeast-1.amazonaws.com", + partition: "aws", + }; + break; + case "eu-west-1": + regionInfo = { + hostname: "managedblockchain.eu-west-1.amazonaws.com", + partition: "aws", + }; + break; + case "eu-west-2": + regionInfo = { + hostname: "managedblockchain.eu-west-2.amazonaws.com", + partition: "aws", + }; + break; + case "us-east-1": + regionInfo = { + hostname: "managedblockchain.us-east-1.amazonaws.com", + partition: "aws", + }; + break; // Next, try to match partition endpoints. default: if (AWS_REGIONS.has(region)) { diff --git a/clients/client-marketplace-catalog/endpoints.ts b/clients/client-marketplace-catalog/endpoints.ts index c4791138187b5..7702dc2382749 100644 --- a/clients/client-marketplace-catalog/endpoints.ts +++ b/clients/client-marketplace-catalog/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "catalog.marketplace.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-marketplace-commerce-analytics/endpoints.ts b/clients/client-marketplace-commerce-analytics/endpoints.ts index 51128bcfcb0a1..aad5f5ff860e0 100644 --- a/clients/client-marketplace-commerce-analytics/endpoints.ts +++ b/clients/client-marketplace-commerce-analytics/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "marketplacecommerceanalytics.{region}.amazonaws.com // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-marketplace-entitlement-service/endpoints.ts b/clients/client-marketplace-entitlement-service/endpoints.ts index 6232c1c4afce0..fe12083e4e198 100644 --- a/clients/client-marketplace-entitlement-service/endpoints.ts +++ b/clients/client-marketplace-entitlement-service/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "entitlement.marketplace.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-marketplace-metering/endpoints.ts b/clients/client-marketplace-metering/endpoints.ts index b57eab82d6c50..d1be0dc77fc1c 100644 --- a/clients/client-marketplace-metering/endpoints.ts +++ b/clients/client-marketplace-metering/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "metering.marketplace.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,13 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "af-south-1": + regionInfo = { + hostname: "metering.marketplace.af-south-1.amazonaws.com", + partition: "aws", + signingService: "aws-marketplace", + }; + break; case "ap-east-1": regionInfo = { hostname: "metering.marketplace.ap-east-1.amazonaws.com", @@ -100,6 +109,13 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op signingService: "aws-marketplace", }; break; + case "eu-south-1": + regionInfo = { + hostname: "metering.marketplace.eu-south-1.amazonaws.com", + partition: "aws", + signingService: "aws-marketplace", + }; + break; case "eu-west-1": regionInfo = { hostname: "metering.marketplace.eu-west-1.amazonaws.com", diff --git a/clients/client-mediaconnect/endpoints.ts b/clients/client-mediaconnect/endpoints.ts index a8a6a5aad4775..3bab99c503ec0 100644 --- a/clients/client-mediaconnect/endpoints.ts +++ b/clients/client-mediaconnect/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "mediaconnect.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "ap-east-1": + regionInfo = { + hostname: "mediaconnect.ap-east-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-northeast-1": regionInfo = { hostname: "mediaconnect.ap-northeast-1.amazonaws.com", diff --git a/clients/client-mediaconvert/endpoints.ts b/clients/client-mediaconvert/endpoints.ts index 3ee5828aa289c..656a73d038d37 100644 --- a/clients/client-mediaconvert/endpoints.ts +++ b/clients/client-mediaconvert/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "mediaconvert.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -86,6 +88,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-north-1": + regionInfo = { + hostname: "mediaconvert.eu-north-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "mediaconvert.eu-west-1.amazonaws.com", @@ -104,6 +112,41 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "fips-ca-central-1": + regionInfo = { + hostname: "mediaconvert-fips.ca-central-1.amazonaws.com", + partition: "aws", + signingRegion: "ca-central-1", + }; + break; + case "fips-us-east-1": + regionInfo = { + hostname: "mediaconvert-fips.us-east-1.amazonaws.com", + partition: "aws", + signingRegion: "us-east-1", + }; + break; + case "fips-us-east-2": + regionInfo = { + hostname: "mediaconvert-fips.us-east-2.amazonaws.com", + partition: "aws", + signingRegion: "us-east-2", + }; + break; + case "fips-us-west-1": + regionInfo = { + hostname: "mediaconvert-fips.us-west-1.amazonaws.com", + partition: "aws", + signingRegion: "us-west-1", + }; + break; + case "fips-us-west-2": + regionInfo = { + hostname: "mediaconvert-fips.us-west-2.amazonaws.com", + partition: "aws", + signingRegion: "us-west-2", + }; + break; case "sa-east-1": regionInfo = { hostname: "mediaconvert.sa-east-1.amazonaws.com", @@ -126,6 +169,7 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op regionInfo = { hostname: "mediaconvert.us-gov-west-1.amazonaws.com", partition: "aws-us-gov", + signingRegion: "us-gov-west-1", }; break; case "us-west-1": diff --git a/clients/client-medialive/endpoints.ts b/clients/client-medialive/endpoints.ts index e548cb2e9260c..3b9dd06956bb2 100644 --- a/clients/client-medialive/endpoints.ts +++ b/clients/client-medialive/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "medialive.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -97,6 +99,27 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "fips-us-east-1": + regionInfo = { + hostname: "medialive-fips.us-east-1.amazonaws.com", + partition: "aws", + signingRegion: "us-east-1", + }; + break; + case "fips-us-east-2": + regionInfo = { + hostname: "medialive-fips.us-east-2.amazonaws.com", + partition: "aws", + signingRegion: "us-east-2", + }; + break; + case "fips-us-west-2": + regionInfo = { + hostname: "medialive-fips.us-west-2.amazonaws.com", + partition: "aws", + signingRegion: "us-west-2", + }; + break; case "sa-east-1": regionInfo = { hostname: "medialive.sa-east-1.amazonaws.com", diff --git a/clients/client-mediapackage-vod/endpoints.ts b/clients/client-mediapackage-vod/endpoints.ts index 643ed2e06b236..d588b058bbeca 100644 --- a/clients/client-mediapackage-vod/endpoints.ts +++ b/clients/client-mediapackage-vod/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "mediapackage-vod.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-mediapackage/endpoints.ts b/clients/client-mediapackage/endpoints.ts index 434e1055330b6..3b5347217f0a0 100644 --- a/clients/client-mediapackage/endpoints.ts +++ b/clients/client-mediapackage/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "mediapackage.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -73,6 +75,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-north-1": + regionInfo = { + hostname: "mediapackage.eu-north-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "mediapackage.eu-west-1.amazonaws.com", diff --git a/clients/client-mediastore-data/endpoints.ts b/clients/client-mediastore-data/endpoints.ts index 29c4055406649..501fb368cd3e2 100644 --- a/clients/client-mediastore-data/endpoints.ts +++ b/clients/client-mediastore-data/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "data.mediastore.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -73,6 +75,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-west-2": + regionInfo = { + hostname: "data.mediastore.eu-west-2.amazonaws.com", + partition: "aws", + }; + break; case "us-east-1": regionInfo = { hostname: "data.mediastore.us-east-1.amazonaws.com", diff --git a/clients/client-mediastore/endpoints.ts b/clients/client-mediastore/endpoints.ts index fb5445b1931ac..7dfcd5317cb4c 100644 --- a/clients/client-mediastore/endpoints.ts +++ b/clients/client-mediastore/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "mediastore.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -73,6 +75,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-west-2": + regionInfo = { + hostname: "mediastore.eu-west-2.amazonaws.com", + partition: "aws", + }; + break; case "us-east-1": regionInfo = { hostname: "mediastore.us-east-1.amazonaws.com", diff --git a/clients/client-mediatailor/endpoints.ts b/clients/client-mediatailor/endpoints.ts index 884b390033100..3efcdebdf7b73 100644 --- a/clients/client-mediatailor/endpoints.ts +++ b/clients/client-mediatailor/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "api.mediatailor.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-migration-hub/endpoints.ts b/clients/client-migration-hub/endpoints.ts index 535f643197233..2037c45eaf97e 100644 --- a/clients/client-migration-hub/endpoints.ts +++ b/clients/client-migration-hub/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "mgh.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,12 +39,42 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "ap-northeast-1": + regionInfo = { + hostname: "mgh.ap-northeast-1.amazonaws.com", + partition: "aws", + }; + break; + case "ap-southeast-2": + regionInfo = { + hostname: "mgh.ap-southeast-2.amazonaws.com", + partition: "aws", + }; + break; case "eu-central-1": regionInfo = { hostname: "mgh.eu-central-1.amazonaws.com", partition: "aws", }; break; + case "eu-west-1": + regionInfo = { + hostname: "mgh.eu-west-1.amazonaws.com", + partition: "aws", + }; + break; + case "eu-west-2": + regionInfo = { + hostname: "mgh.eu-west-2.amazonaws.com", + partition: "aws", + }; + break; + case "us-east-1": + regionInfo = { + hostname: "mgh.us-east-1.amazonaws.com", + partition: "aws", + }; + break; case "us-west-2": regionInfo = { hostname: "mgh.us-west-2.amazonaws.com", diff --git a/clients/client-migrationhub-config/endpoints.ts b/clients/client-migrationhub-config/endpoints.ts index 19b5f1a7c5f39..ce370b36af332 100644 --- a/clients/client-migrationhub-config/endpoints.ts +++ b/clients/client-migrationhub-config/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "migrationhub-config.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-mobile/endpoints.ts b/clients/client-mobile/endpoints.ts index ee1abb1779807..e8c11fcf56ea2 100644 --- a/clients/client-mobile/endpoints.ts +++ b/clients/client-mobile/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "mobile.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-mq/endpoints.ts b/clients/client-mq/endpoints.ts index d07b1e4633d10..75260ee0d2c17 100644 --- a/clients/client-mq/endpoints.ts +++ b/clients/client-mq/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "mq.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "ap-east-1": + regionInfo = { + hostname: "mq.ap-east-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-northeast-1": regionInfo = { hostname: "mq.ap-northeast-1.amazonaws.com", @@ -79,6 +87,18 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-north-1": + regionInfo = { + hostname: "mq.eu-north-1.amazonaws.com", + partition: "aws", + }; + break; + case "eu-south-1": + regionInfo = { + hostname: "mq.eu-south-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "mq.eu-west-1.amazonaws.com", @@ -125,6 +145,18 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op signingRegion: "us-west-2", }; break; + case "me-south-1": + regionInfo = { + hostname: "mq.me-south-1.amazonaws.com", + partition: "aws", + }; + break; + case "sa-east-1": + regionInfo = { + hostname: "mq.sa-east-1.amazonaws.com", + partition: "aws", + }; + break; case "us-east-1": regionInfo = { hostname: "mq.us-east-1.amazonaws.com", diff --git a/clients/client-mturk/endpoints.ts b/clients/client-mturk/endpoints.ts index f6cf1edbe1d3c..8f8fcea121441 100644 --- a/clients/client-mturk/endpoints.ts +++ b/clients/client-mturk/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "mturk-requester.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-neptune/endpoints.ts b/clients/client-neptune/endpoints.ts index 4d7d64bab72e3..3be5c3bec9a5a 100644 --- a/clients/client-neptune/endpoints.ts +++ b/clients/client-neptune/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "rds.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "af-south-1": + regionInfo = { + hostname: "rds.af-south-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-east-1": regionInfo = { hostname: "rds.ap-east-1.amazonaws.com", @@ -103,6 +111,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-south-1": + regionInfo = { + hostname: "rds.eu-south-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "rds.eu-west-1.amazonaws.com", @@ -127,6 +141,55 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "rds-fips.ca-central-1": + regionInfo = { + hostname: "rds-fips.ca-central-1.amazonaws.com", + partition: "aws", + signingRegion: "ca-central-1", + }; + break; + case "rds-fips.us-east-1": + regionInfo = { + hostname: "rds-fips.us-east-1.amazonaws.com", + partition: "aws", + signingRegion: "us-east-1", + }; + break; + case "rds-fips.us-east-2": + regionInfo = { + hostname: "rds-fips.us-east-2.amazonaws.com", + partition: "aws", + signingRegion: "us-east-2", + }; + break; + case "rds-fips.us-west-1": + regionInfo = { + hostname: "rds-fips.us-west-1.amazonaws.com", + partition: "aws", + signingRegion: "us-west-1", + }; + break; + case "rds-fips.us-west-2": + regionInfo = { + hostname: "rds-fips.us-west-2.amazonaws.com", + partition: "aws", + signingRegion: "us-west-2", + }; + break; + case "rds.us-gov-east-1": + regionInfo = { + hostname: "rds.us-gov-east-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-east-1", + }; + break; + case "rds.us-gov-west-1": + regionInfo = { + hostname: "rds.us-gov-west-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-west-1", + }; + break; case "sa-east-1": regionInfo = { hostname: "rds.sa-east-1.amazonaws.com", diff --git a/clients/client-network-firewall/endpoints.ts b/clients/client-network-firewall/endpoints.ts index 1d25247fcc59d..e52c34420bca8 100644 --- a/clients/client-network-firewall/endpoints.ts +++ b/clients/client-network-firewall/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "network-firewall.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-networkmanager/endpoints.ts b/clients/client-networkmanager/endpoints.ts index fb1a64ad9a7ae..0cef7f20179e0 100644 --- a/clients/client-networkmanager/endpoints.ts +++ b/clients/client-networkmanager/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "networkmanager.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-opsworks/endpoints.ts b/clients/client-opsworks/endpoints.ts index 51dbc87c18fc1..983de6f7e482c 100644 --- a/clients/client-opsworks/endpoints.ts +++ b/clients/client-opsworks/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "opsworks.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-opsworkscm/endpoints.ts b/clients/client-opsworkscm/endpoints.ts index a7e173e75e86d..b997d0a8dc295 100644 --- a/clients/client-opsworkscm/endpoints.ts +++ b/clients/client-opsworkscm/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "opsworks-cm.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-organizations/endpoints.ts b/clients/client-organizations/endpoints.ts index aa6d2d4d00555..4c02ab4a2ff0f 100644 --- a/clients/client-organizations/endpoints.ts +++ b/clients/client-organizations/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "organizations.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,13 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "aws-cn-global": + regionInfo = { + hostname: "organizations.cn-northwest-1.amazonaws.com.cn", + partition: "aws-cn", + signingRegion: "cn-northwest-1", + }; + break; case "aws-global": regionInfo = { hostname: "organizations.us-east-1.amazonaws.com", @@ -51,16 +60,27 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op signingRegion: "us-gov-west-1", }; break; + case "fips-aws-global": + regionInfo = { + hostname: "organizations-fips.us-east-1.amazonaws.com", + partition: "aws", + signingRegion: "us-east-1", + }; + break; + case "fips-aws-us-gov-global": + regionInfo = { + hostname: "organizations.us-gov-west-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-west-1", + }; + break; // Next, try to match partition endpoints. default: if (AWS_REGIONS.has(region)) { return defaultRegionInfoProvider("aws-global"); } if (AWS_CN_REGIONS.has(region)) { - regionInfo = { - hostname: AWS_CN_TEMPLATE.replace("{region}", region), - partition: "aws-cn", - }; + return defaultRegionInfoProvider("aws-cn-global"); } if (AWS_ISO_REGIONS.has(region)) { regionInfo = { diff --git a/clients/client-outposts/endpoints.ts b/clients/client-outposts/endpoints.ts index 742ce73b47dcb..50ed68d60d32e 100644 --- a/clients/client-outposts/endpoints.ts +++ b/clients/client-outposts/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "outposts.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,175 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "af-south-1": + regionInfo = { + hostname: "outposts.af-south-1.amazonaws.com", + partition: "aws", + }; + break; + case "ap-east-1": + regionInfo = { + hostname: "outposts.ap-east-1.amazonaws.com", + partition: "aws", + }; + break; + case "ap-northeast-1": + regionInfo = { + hostname: "outposts.ap-northeast-1.amazonaws.com", + partition: "aws", + }; + break; + case "ap-northeast-2": + regionInfo = { + hostname: "outposts.ap-northeast-2.amazonaws.com", + partition: "aws", + }; + break; + case "ap-south-1": + regionInfo = { + hostname: "outposts.ap-south-1.amazonaws.com", + partition: "aws", + }; + break; + case "ap-southeast-1": + regionInfo = { + hostname: "outposts.ap-southeast-1.amazonaws.com", + partition: "aws", + }; + break; + case "ap-southeast-2": + regionInfo = { + hostname: "outposts.ap-southeast-2.amazonaws.com", + partition: "aws", + }; + break; + case "ca-central-1": + regionInfo = { + hostname: "outposts.ca-central-1.amazonaws.com", + partition: "aws", + }; + break; + case "eu-central-1": + regionInfo = { + hostname: "outposts.eu-central-1.amazonaws.com", + partition: "aws", + }; + break; + case "eu-north-1": + regionInfo = { + hostname: "outposts.eu-north-1.amazonaws.com", + partition: "aws", + }; + break; + case "eu-south-1": + regionInfo = { + hostname: "outposts.eu-south-1.amazonaws.com", + partition: "aws", + }; + break; + case "eu-west-1": + regionInfo = { + hostname: "outposts.eu-west-1.amazonaws.com", + partition: "aws", + }; + break; + case "eu-west-2": + regionInfo = { + hostname: "outposts.eu-west-2.amazonaws.com", + partition: "aws", + }; + break; + case "eu-west-3": + regionInfo = { + hostname: "outposts.eu-west-3.amazonaws.com", + partition: "aws", + }; + break; + case "fips-ca-central-1": + regionInfo = { + hostname: "outposts-fips.ca-central-1.amazonaws.com", + partition: "aws", + signingRegion: "ca-central-1", + }; + break; + case "fips-us-east-1": + regionInfo = { + hostname: "outposts-fips.us-east-1.amazonaws.com", + partition: "aws", + signingRegion: "us-east-1", + }; + break; + case "fips-us-east-2": + regionInfo = { + hostname: "outposts-fips.us-east-2.amazonaws.com", + partition: "aws", + signingRegion: "us-east-2", + }; + break; + case "fips-us-west-1": + regionInfo = { + hostname: "outposts-fips.us-west-1.amazonaws.com", + partition: "aws", + signingRegion: "us-west-1", + }; + break; + case "fips-us-west-2": + regionInfo = { + hostname: "outposts-fips.us-west-2.amazonaws.com", + partition: "aws", + signingRegion: "us-west-2", + }; + break; + case "me-south-1": + regionInfo = { + hostname: "outposts.me-south-1.amazonaws.com", + partition: "aws", + }; + break; + case "sa-east-1": + regionInfo = { + hostname: "outposts.sa-east-1.amazonaws.com", + partition: "aws", + }; + break; + case "us-east-1": + regionInfo = { + hostname: "outposts.us-east-1.amazonaws.com", + partition: "aws", + }; + break; + case "us-east-2": + regionInfo = { + hostname: "outposts.us-east-2.amazonaws.com", + partition: "aws", + }; + break; + case "us-gov-east-1": + regionInfo = { + hostname: "outposts.us-gov-east-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-east-1", + }; + break; + case "us-gov-west-1": + regionInfo = { + hostname: "outposts.us-gov-west-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-west-1", + }; + break; + case "us-west-1": + regionInfo = { + hostname: "outposts.us-west-1.amazonaws.com", + partition: "aws", + }; + break; + case "us-west-2": + regionInfo = { + hostname: "outposts.us-west-2.amazonaws.com", + partition: "aws", + }; + break; // Next, try to match partition endpoints. default: if (AWS_REGIONS.has(region)) { diff --git a/clients/client-personalize-events/endpoints.ts b/clients/client-personalize-events/endpoints.ts index 68fc7ed3b5a67..ea6b81d08b9b7 100644 --- a/clients/client-personalize-events/endpoints.ts +++ b/clients/client-personalize-events/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "personalize-events.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-personalize-runtime/endpoints.ts b/clients/client-personalize-runtime/endpoints.ts index f18ab1830e6a7..373b9bf70fe35 100644 --- a/clients/client-personalize-runtime/endpoints.ts +++ b/clients/client-personalize-runtime/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "personalize-runtime.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-personalize/endpoints.ts b/clients/client-personalize/endpoints.ts index 989a1dca46afa..386bfd3ede4c7 100644 --- a/clients/client-personalize/endpoints.ts +++ b/clients/client-personalize/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "personalize.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-pi/endpoints.ts b/clients/client-pi/endpoints.ts index ae277c67e1614..98ac57873c577 100644 --- a/clients/client-pi/endpoints.ts +++ b/clients/client-pi/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "pi.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-pinpoint-email/endpoints.ts b/clients/client-pinpoint-email/endpoints.ts index 97fef8f3bb2d4..eaea44a90b13c 100644 --- a/clients/client-pinpoint-email/endpoints.ts +++ b/clients/client-pinpoint-email/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "email.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -61,12 +63,25 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "fips-us-gov-west-1": + regionInfo = { + hostname: "email-fips.us-gov-west-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-west-1", + }; + break; case "us-east-1": regionInfo = { hostname: "email.us-east-1.amazonaws.com", partition: "aws", }; break; + case "us-gov-west-1": + regionInfo = { + hostname: "email.us-gov-west-1.amazonaws.com", + partition: "aws-us-gov", + }; + break; case "us-west-2": regionInfo = { hostname: "email.us-west-2.amazonaws.com", diff --git a/clients/client-pinpoint-sms-voice/endpoints.ts b/clients/client-pinpoint-sms-voice/endpoints.ts index b4e0de1af5069..12d3ce06ea62d 100644 --- a/clients/client-pinpoint-sms-voice/endpoints.ts +++ b/clients/client-pinpoint-sms-voice/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "sms-voice.pinpoint.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-pinpoint/endpoints.ts b/clients/client-pinpoint/endpoints.ts index 2a077392b3ea7..71e0ad314169f 100644 --- a/clients/client-pinpoint/endpoints.ts +++ b/clients/client-pinpoint/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "pinpoint.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,20 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "ap-northeast-1": + regionInfo = { + hostname: "pinpoint.ap-northeast-1.amazonaws.com", + partition: "aws", + signingService: "mobiletargeting", + }; + break; + case "ap-northeast-2": + regionInfo = { + hostname: "pinpoint.ap-northeast-2.amazonaws.com", + partition: "aws", + signingService: "mobiletargeting", + }; + break; case "ap-south-1": regionInfo = { hostname: "pinpoint.ap-south-1.amazonaws.com", @@ -44,6 +60,13 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op signingService: "mobiletargeting", }; break; + case "ap-southeast-1": + regionInfo = { + hostname: "pinpoint.ap-southeast-1.amazonaws.com", + partition: "aws", + signingService: "mobiletargeting", + }; + break; case "ap-southeast-2": regionInfo = { hostname: "pinpoint.ap-southeast-2.amazonaws.com", @@ -51,6 +74,13 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op signingService: "mobiletargeting", }; break; + case "ca-central-1": + regionInfo = { + hostname: "pinpoint.ca-central-1.amazonaws.com", + partition: "aws", + signingService: "mobiletargeting", + }; + break; case "eu-central-1": regionInfo = { hostname: "pinpoint.eu-central-1.amazonaws.com", @@ -65,18 +95,53 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op signingService: "mobiletargeting", }; break; + case "eu-west-2": + regionInfo = { + hostname: "pinpoint.eu-west-2.amazonaws.com", + partition: "aws", + signingService: "mobiletargeting", + }; + break; + case "fips-us-east-1": + regionInfo = { + hostname: "pinpoint-fips.us-east-1.amazonaws.com", + partition: "aws", + signingRegion: "us-east-1", + }; + break; + case "fips-us-gov-west-1": + regionInfo = { + hostname: "pinpoint-fips.us-gov-west-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-west-1", + }; + break; + case "fips-us-west-2": + regionInfo = { + hostname: "pinpoint-fips.us-west-2.amazonaws.com", + partition: "aws", + signingRegion: "us-west-2", + }; + break; case "us-east-1": regionInfo = { hostname: "pinpoint.us-east-1.amazonaws.com", partition: "aws", - signingService: "mobiletargeting", + signingRegion: "us-east-1", + }; + break; + case "us-gov-west-1": + regionInfo = { + hostname: "pinpoint.us-gov-west-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-west-1", }; break; case "us-west-2": regionInfo = { hostname: "pinpoint.us-west-2.amazonaws.com", partition: "aws", - signingService: "mobiletargeting", + signingRegion: "us-west-2", }; break; // Next, try to match partition endpoints. @@ -110,6 +175,7 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op regionInfo = { hostname: AWS_US_GOV_TEMPLATE.replace("{region}", region), partition: "aws-us-gov", + signingService: "mobiletargeting", }; } // Finally, assume it's an AWS partition endpoint. diff --git a/clients/client-polly/endpoints.ts b/clients/client-polly/endpoints.ts index a3e7d7db9af81..b07f75d373e7f 100644 --- a/clients/client-polly/endpoints.ts +++ b/clients/client-polly/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "polly.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "ap-east-1": + regionInfo = { + hostname: "polly.ap-east-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-northeast-1": regionInfo = { hostname: "polly.ap-northeast-1.amazonaws.com", @@ -109,6 +117,47 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "fips-us-east-1": + regionInfo = { + hostname: "polly-fips.us-east-1.amazonaws.com", + partition: "aws", + signingRegion: "us-east-1", + }; + break; + case "fips-us-east-2": + regionInfo = { + hostname: "polly-fips.us-east-2.amazonaws.com", + partition: "aws", + signingRegion: "us-east-2", + }; + break; + case "fips-us-gov-west-1": + regionInfo = { + hostname: "polly-fips.us-gov-west-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-west-1", + }; + break; + case "fips-us-west-1": + regionInfo = { + hostname: "polly-fips.us-west-1.amazonaws.com", + partition: "aws", + signingRegion: "us-west-1", + }; + break; + case "fips-us-west-2": + regionInfo = { + hostname: "polly-fips.us-west-2.amazonaws.com", + partition: "aws", + signingRegion: "us-west-2", + }; + break; + case "me-south-1": + regionInfo = { + hostname: "polly.me-south-1.amazonaws.com", + partition: "aws", + }; + break; case "sa-east-1": regionInfo = { hostname: "polly.sa-east-1.amazonaws.com", diff --git a/clients/client-pricing/endpoints.ts b/clients/client-pricing/endpoints.ts index 514f5dce5273f..2aab41e1638d0 100644 --- a/clients/client-pricing/endpoints.ts +++ b/clients/client-pricing/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "api.pricing.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-qldb-session/endpoints.ts b/clients/client-qldb-session/endpoints.ts index fa6080e15f688..a4e3cf892b387 100644 --- a/clients/client-qldb-session/endpoints.ts +++ b/clients/client-qldb-session/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "session.qldb.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-qldb/endpoints.ts b/clients/client-qldb/endpoints.ts index 60f6a17cd41ba..bcc80e1a6a0f8 100644 --- a/clients/client-qldb/endpoints.ts +++ b/clients/client-qldb/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "qldb.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-quicksight/endpoints.ts b/clients/client-quicksight/endpoints.ts index 6ed9be6a896af..4142fdff72cd4 100644 --- a/clients/client-quicksight/endpoints.ts +++ b/clients/client-quicksight/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "quicksight.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-ram/endpoints.ts b/clients/client-ram/endpoints.ts index c43d7d9d2c107..fd3be711b3975 100644 --- a/clients/client-ram/endpoints.ts +++ b/clients/client-ram/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "ram.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,18 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "af-south-1": + regionInfo = { + hostname: "ram.af-south-1.amazonaws.com", + partition: "aws", + }; + break; + case "ap-east-1": + regionInfo = { + hostname: "ram.ap-east-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-northeast-1": regionInfo = { hostname: "ram.ap-northeast-1.amazonaws.com", @@ -73,6 +87,18 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "cn-north-1": + regionInfo = { + hostname: "ram.cn-north-1.amazonaws.com.cn", + partition: "aws-cn", + }; + break; + case "cn-northwest-1": + regionInfo = { + hostname: "ram.cn-northwest-1.amazonaws.com.cn", + partition: "aws-cn", + }; + break; case "eu-central-1": regionInfo = { hostname: "ram.eu-central-1.amazonaws.com", @@ -85,6 +111,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-south-1": + regionInfo = { + hostname: "ram.eu-south-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "ram.eu-west-1.amazonaws.com", @@ -103,6 +135,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "me-south-1": + regionInfo = { + hostname: "ram.me-south-1.amazonaws.com", + partition: "aws", + }; + break; case "sa-east-1": regionInfo = { hostname: "ram.sa-east-1.amazonaws.com", diff --git a/clients/client-rds-data/endpoints.ts b/clients/client-rds-data/endpoints.ts index a2d94f1ecae41..daaa229255ee7 100644 --- a/clients/client-rds-data/endpoints.ts +++ b/clients/client-rds-data/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "rds-data.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-rds/endpoints.ts b/clients/client-rds/endpoints.ts index 4d7d64bab72e3..3be5c3bec9a5a 100644 --- a/clients/client-rds/endpoints.ts +++ b/clients/client-rds/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "rds.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "af-south-1": + regionInfo = { + hostname: "rds.af-south-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-east-1": regionInfo = { hostname: "rds.ap-east-1.amazonaws.com", @@ -103,6 +111,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-south-1": + regionInfo = { + hostname: "rds.eu-south-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "rds.eu-west-1.amazonaws.com", @@ -127,6 +141,55 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "rds-fips.ca-central-1": + regionInfo = { + hostname: "rds-fips.ca-central-1.amazonaws.com", + partition: "aws", + signingRegion: "ca-central-1", + }; + break; + case "rds-fips.us-east-1": + regionInfo = { + hostname: "rds-fips.us-east-1.amazonaws.com", + partition: "aws", + signingRegion: "us-east-1", + }; + break; + case "rds-fips.us-east-2": + regionInfo = { + hostname: "rds-fips.us-east-2.amazonaws.com", + partition: "aws", + signingRegion: "us-east-2", + }; + break; + case "rds-fips.us-west-1": + regionInfo = { + hostname: "rds-fips.us-west-1.amazonaws.com", + partition: "aws", + signingRegion: "us-west-1", + }; + break; + case "rds-fips.us-west-2": + regionInfo = { + hostname: "rds-fips.us-west-2.amazonaws.com", + partition: "aws", + signingRegion: "us-west-2", + }; + break; + case "rds.us-gov-east-1": + regionInfo = { + hostname: "rds.us-gov-east-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-east-1", + }; + break; + case "rds.us-gov-west-1": + regionInfo = { + hostname: "rds.us-gov-west-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-west-1", + }; + break; case "sa-east-1": regionInfo = { hostname: "rds.sa-east-1.amazonaws.com", diff --git a/clients/client-redshift-data/endpoints.ts b/clients/client-redshift-data/endpoints.ts index 8ddca5ba1ea6d..54e3d24aa75ee 100644 --- a/clients/client-redshift-data/endpoints.ts +++ b/clients/client-redshift-data/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "redshift-data.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-redshift/endpoints.ts b/clients/client-redshift/endpoints.ts index a1e5b12ef9b79..8cd276d3e5628 100644 --- a/clients/client-redshift/endpoints.ts +++ b/clients/client-redshift/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "redshift.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "af-south-1": + regionInfo = { + hostname: "redshift.af-south-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-east-1": regionInfo = { hostname: "redshift.ap-east-1.amazonaws.com", @@ -103,6 +111,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-south-1": + regionInfo = { + hostname: "redshift.eu-south-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "redshift.eu-west-1.amazonaws.com", @@ -121,6 +135,41 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "fips-ca-central-1": + regionInfo = { + hostname: "redshift-fips.ca-central-1.amazonaws.com", + partition: "aws", + signingRegion: "ca-central-1", + }; + break; + case "fips-us-east-1": + regionInfo = { + hostname: "redshift-fips.us-east-1.amazonaws.com", + partition: "aws", + signingRegion: "us-east-1", + }; + break; + case "fips-us-east-2": + regionInfo = { + hostname: "redshift-fips.us-east-2.amazonaws.com", + partition: "aws", + signingRegion: "us-east-2", + }; + break; + case "fips-us-west-1": + regionInfo = { + hostname: "redshift-fips.us-west-1.amazonaws.com", + partition: "aws", + signingRegion: "us-west-1", + }; + break; + case "fips-us-west-2": + regionInfo = { + hostname: "redshift-fips.us-west-2.amazonaws.com", + partition: "aws", + signingRegion: "us-west-2", + }; + break; case "me-south-1": regionInfo = { hostname: "redshift.me-south-1.amazonaws.com", @@ -149,12 +198,14 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op regionInfo = { hostname: "redshift.us-gov-east-1.amazonaws.com", partition: "aws-us-gov", + signingRegion: "us-gov-east-1", }; break; case "us-gov-west-1": regionInfo = { hostname: "redshift.us-gov-west-1.amazonaws.com", partition: "aws-us-gov", + signingRegion: "us-gov-west-1", }; break; case "us-iso-east-1": diff --git a/clients/client-rekognition/endpoints.ts b/clients/client-rekognition/endpoints.ts index a6d75e9c49231..4e9e3225c1a46 100644 --- a/clients/client-rekognition/endpoints.ts +++ b/clients/client-rekognition/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "rekognition.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -67,6 +69,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "ca-central-1": + regionInfo = { + hostname: "rekognition.ca-central-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-central-1": regionInfo = { hostname: "rekognition.eu-central-1.amazonaws.com", @@ -85,6 +93,48 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "rekognition-fips.ca-central-1": + regionInfo = { + hostname: "rekognition-fips.ca-central-1.amazonaws.com", + partition: "aws", + signingRegion: "ca-central-1", + }; + break; + case "rekognition-fips.us-east-1": + regionInfo = { + hostname: "rekognition-fips.us-east-1.amazonaws.com", + partition: "aws", + signingRegion: "us-east-1", + }; + break; + case "rekognition-fips.us-east-2": + regionInfo = { + hostname: "rekognition-fips.us-east-2.amazonaws.com", + partition: "aws", + signingRegion: "us-east-2", + }; + break; + case "rekognition-fips.us-gov-west-1": + regionInfo = { + hostname: "rekognition-fips.us-gov-west-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-west-1", + }; + break; + case "rekognition-fips.us-west-1": + regionInfo = { + hostname: "rekognition-fips.us-west-1.amazonaws.com", + partition: "aws", + signingRegion: "us-west-1", + }; + break; + case "rekognition-fips.us-west-2": + regionInfo = { + hostname: "rekognition-fips.us-west-2.amazonaws.com", + partition: "aws", + signingRegion: "us-west-2", + }; + break; case "us-east-1": regionInfo = { hostname: "rekognition.us-east-1.amazonaws.com", diff --git a/clients/client-resource-groups-tagging-api/endpoints.ts b/clients/client-resource-groups-tagging-api/endpoints.ts index 8753d55861aa8..bc6aeccb4b823 100644 --- a/clients/client-resource-groups-tagging-api/endpoints.ts +++ b/clients/client-resource-groups-tagging-api/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "tagging.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "af-south-1": + regionInfo = { + hostname: "tagging.af-south-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-east-1": regionInfo = { hostname: "tagging.ap-east-1.amazonaws.com", @@ -103,6 +111,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-south-1": + regionInfo = { + hostname: "tagging.eu-south-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "tagging.eu-west-1.amazonaws.com", diff --git a/clients/client-resource-groups/endpoints.ts b/clients/client-resource-groups/endpoints.ts index 0f0c121c4b03e..ced778e6c509c 100644 --- a/clients/client-resource-groups/endpoints.ts +++ b/clients/client-resource-groups/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "resource-groups.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "af-south-1": + regionInfo = { + hostname: "resource-groups.af-south-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-east-1": regionInfo = { hostname: "resource-groups.ap-east-1.amazonaws.com", @@ -79,6 +87,18 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "cn-north-1": + regionInfo = { + hostname: "resource-groups.cn-north-1.amazonaws.com.cn", + partition: "aws-cn", + }; + break; + case "cn-northwest-1": + regionInfo = { + hostname: "resource-groups.cn-northwest-1.amazonaws.com.cn", + partition: "aws-cn", + }; + break; case "eu-central-1": regionInfo = { hostname: "resource-groups.eu-central-1.amazonaws.com", @@ -91,6 +111,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-south-1": + regionInfo = { + hostname: "resource-groups.eu-south-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "resource-groups.eu-west-1.amazonaws.com", diff --git a/clients/client-robomaker/endpoints.ts b/clients/client-robomaker/endpoints.ts index 37bd570bdbac9..026a51375a7d3 100644 --- a/clients/client-robomaker/endpoints.ts +++ b/clients/client-robomaker/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "robomaker.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-route-53-domains/endpoints.ts b/clients/client-route-53-domains/endpoints.ts index 13d146f560b35..d07e9cf46048b 100644 --- a/clients/client-route-53-domains/endpoints.ts +++ b/clients/client-route-53-domains/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "route53domains.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-route-53/endpoints.ts b/clients/client-route-53/endpoints.ts index 7eefece33de46..0792a4b3b20de 100644 --- a/clients/client-route-53/endpoints.ts +++ b/clients/client-route-53/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "route53.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,13 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "aws-cn-global": + regionInfo = { + hostname: "route53.amazonaws.com.cn", + partition: "aws-cn", + signingRegion: "cn-northwest-1", + }; + break; case "aws-global": regionInfo = { hostname: "route53.amazonaws.com", @@ -58,16 +67,27 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op signingRegion: "us-gov-west-1", }; break; + case "fips-aws-global": + regionInfo = { + hostname: "route53-fips.amazonaws.com", + partition: "aws", + signingRegion: "us-east-1", + }; + break; + case "fips-aws-us-gov-global": + regionInfo = { + hostname: "route53.us-gov.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-west-1", + }; + break; // Next, try to match partition endpoints. default: if (AWS_REGIONS.has(region)) { return defaultRegionInfoProvider("aws-global"); } if (AWS_CN_REGIONS.has(region)) { - regionInfo = { - hostname: AWS_CN_TEMPLATE.replace("{region}", region), - partition: "aws-cn", - }; + return defaultRegionInfoProvider("aws-cn-global"); } if (AWS_ISO_REGIONS.has(region)) { return defaultRegionInfoProvider("aws-iso-global"); diff --git a/clients/client-route53resolver/endpoints.ts b/clients/client-route53resolver/endpoints.ts index 566f21c60e1c3..0107e3bedfa34 100644 --- a/clients/client-route53resolver/endpoints.ts +++ b/clients/client-route53resolver/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "route53resolver.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,18 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "af-south-1": + regionInfo = { + hostname: "route53resolver.af-south-1.amazonaws.com", + partition: "aws", + }; + break; + case "ap-east-1": + regionInfo = { + hostname: "route53resolver.ap-east-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-northeast-1": regionInfo = { hostname: "route53resolver.ap-northeast-1.amazonaws.com", @@ -79,6 +93,18 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-north-1": + regionInfo = { + hostname: "route53resolver.eu-north-1.amazonaws.com", + partition: "aws", + }; + break; + case "eu-south-1": + regionInfo = { + hostname: "route53resolver.eu-south-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "route53resolver.eu-west-1.amazonaws.com", @@ -97,6 +123,18 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "me-south-1": + regionInfo = { + hostname: "route53resolver.me-south-1.amazonaws.com", + partition: "aws", + }; + break; + case "sa-east-1": + regionInfo = { + hostname: "route53resolver.sa-east-1.amazonaws.com", + partition: "aws", + }; + break; case "us-east-1": regionInfo = { hostname: "route53resolver.us-east-1.amazonaws.com", diff --git a/clients/client-s3-control/endpoints.ts b/clients/client-s3-control/endpoints.ts index ee1d7877a4670..4c76000d047a0 100644 --- a/clients/client-s3-control/endpoints.ts +++ b/clients/client-s3-control/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "s3-control.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -79,6 +81,13 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op signingRegion: "ca-central-1", }; break; + case "ca-central-1-fips": + regionInfo = { + hostname: "s3-control-fips.ca-central-1.amazonaws.com", + partition: "aws", + signingRegion: "ca-central-1", + }; + break; case "cn-north-1": regionInfo = { hostname: "s3-control.cn-north-1.amazonaws.com.cn", diff --git a/clients/client-s3/endpoints.ts b/clients/client-s3/endpoints.ts index 64320fae1c75d..ea65d1418e167 100644 --- a/clients/client-s3/endpoints.ts +++ b/clients/client-s3/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "s3.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "af-south-1": + regionInfo = { + hostname: "s3.af-south-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-east-1": regionInfo = { hostname: "s3.ap-east-1.amazonaws.com", @@ -73,6 +81,13 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "aws-global": + regionInfo = { + hostname: "s3.amazonaws.com", + partition: "aws", + signingRegion: "us-east-1", + }; + break; case "ca-central-1": regionInfo = { hostname: "s3.ca-central-1.amazonaws.com", @@ -103,6 +118,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-south-1": + regionInfo = { + hostname: "s3.eu-south-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "s3.eu-west-1.amazonaws.com", @@ -123,7 +144,7 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op break; case "fips-us-gov-west-1": regionInfo = { - hostname: "s3-fips-us-gov-west-1.amazonaws.com", + hostname: "s3-fips.us-gov-west-1.amazonaws.com", partition: "aws-us-gov", signingRegion: "us-gov-west-1", }; @@ -149,7 +170,7 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op break; case "us-east-1": regionInfo = { - hostname: "s3.amazonaws.com", + hostname: "s3.us-east-1.amazonaws.com", partition: "aws", }; break; diff --git a/clients/client-s3outposts/endpoints.ts b/clients/client-s3outposts/endpoints.ts index c76156f92a87b..2bbb3eda56b76 100644 --- a/clients/client-s3outposts/endpoints.ts +++ b/clients/client-s3outposts/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "s3-outposts.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-sagemaker-a2i-runtime/endpoints.ts b/clients/client-sagemaker-a2i-runtime/endpoints.ts index 21874aece4c9d..a4e379d756973 100644 --- a/clients/client-sagemaker-a2i-runtime/endpoints.ts +++ b/clients/client-sagemaker-a2i-runtime/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "a2i-runtime.sagemaker.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-sagemaker-edge/endpoints.ts b/clients/client-sagemaker-edge/endpoints.ts index 0bc6905e07eea..7224c841b2db2 100644 --- a/clients/client-sagemaker-edge/endpoints.ts +++ b/clients/client-sagemaker-edge/endpoints.ts @@ -1,14 +1,15 @@ import { RegionInfo, RegionInfoProvider } from "@aws-sdk/types"; // Partition default templates -const AWS_TEMPLATE = "sagemaker.{region}.amazonaws.com"; -const AWS_CN_TEMPLATE = "sagemaker.{region}.amazonaws.com.cn"; -const AWS_ISO_TEMPLATE = "sagemaker.{region}.c2s.ic.gov"; -const AWS_ISO_B_TEMPLATE = "sagemaker.{region}.sc2s.sgov.gov"; -const AWS_US_GOV_TEMPLATE = "sagemaker.{region}.amazonaws.com"; +const AWS_TEMPLATE = "edge.sagemaker.{region}.amazonaws.com"; +const AWS_CN_TEMPLATE = "edge.sagemaker.{region}.amazonaws.com.cn"; +const AWS_ISO_TEMPLATE = "edge.sagemaker.{region}.c2s.ic.gov"; +const AWS_ISO_B_TEMPLATE = "edge.sagemaker.{region}.sc2s.sgov.gov"; +const AWS_US_GOV_TEMPLATE = "edge.sagemaker.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-sagemaker-featurestore-runtime/endpoints.ts b/clients/client-sagemaker-featurestore-runtime/endpoints.ts index 0bc6905e07eea..6b4044935ba10 100644 --- a/clients/client-sagemaker-featurestore-runtime/endpoints.ts +++ b/clients/client-sagemaker-featurestore-runtime/endpoints.ts @@ -1,14 +1,15 @@ import { RegionInfo, RegionInfoProvider } from "@aws-sdk/types"; // Partition default templates -const AWS_TEMPLATE = "sagemaker.{region}.amazonaws.com"; -const AWS_CN_TEMPLATE = "sagemaker.{region}.amazonaws.com.cn"; -const AWS_ISO_TEMPLATE = "sagemaker.{region}.c2s.ic.gov"; -const AWS_ISO_B_TEMPLATE = "sagemaker.{region}.sc2s.sgov.gov"; -const AWS_US_GOV_TEMPLATE = "sagemaker.{region}.amazonaws.com"; +const AWS_TEMPLATE = "featurestore-runtime.sagemaker.{region}.amazonaws.com"; +const AWS_CN_TEMPLATE = "featurestore-runtime.sagemaker.{region}.amazonaws.com.cn"; +const AWS_ISO_TEMPLATE = "featurestore-runtime.sagemaker.{region}.c2s.ic.gov"; +const AWS_ISO_B_TEMPLATE = "featurestore-runtime.sagemaker.{region}.sc2s.sgov.gov"; +const AWS_US_GOV_TEMPLATE = "featurestore-runtime.sagemaker.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-sagemaker-runtime/endpoints.ts b/clients/client-sagemaker-runtime/endpoints.ts index 9af83307d56f0..8ca299f63a6b9 100644 --- a/clients/client-sagemaker-runtime/endpoints.ts +++ b/clients/client-sagemaker-runtime/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "runtime.sagemaker.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "af-south-1": + regionInfo = { + hostname: "runtime.sagemaker.af-south-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-east-1": regionInfo = { hostname: "runtime.sagemaker.ap-east-1.amazonaws.com", @@ -79,6 +87,18 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "cn-north-1": + regionInfo = { + hostname: "runtime.sagemaker.cn-north-1.amazonaws.com.cn", + partition: "aws-cn", + }; + break; + case "cn-northwest-1": + regionInfo = { + hostname: "runtime.sagemaker.cn-northwest-1.amazonaws.com.cn", + partition: "aws-cn", + }; + break; case "eu-central-1": regionInfo = { hostname: "runtime.sagemaker.eu-central-1.amazonaws.com", @@ -91,6 +111,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-south-1": + regionInfo = { + hostname: "runtime.sagemaker.eu-south-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "runtime.sagemaker.eu-west-1.amazonaws.com", diff --git a/clients/client-sagemaker/endpoints.ts b/clients/client-sagemaker/endpoints.ts index 85d61b1099f8c..3dbb3ec188024 100644 --- a/clients/client-sagemaker/endpoints.ts +++ b/clients/client-sagemaker/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "api.sagemaker.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "af-south-1": + regionInfo = { + hostname: "api.sagemaker.af-south-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-east-1": regionInfo = { hostname: "api.sagemaker.ap-east-1.amazonaws.com", @@ -79,6 +87,18 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "cn-north-1": + regionInfo = { + hostname: "api.sagemaker.cn-north-1.amazonaws.com.cn", + partition: "aws-cn", + }; + break; + case "cn-northwest-1": + regionInfo = { + hostname: "api.sagemaker.cn-northwest-1.amazonaws.com.cn", + partition: "aws-cn", + }; + break; case "eu-central-1": regionInfo = { hostname: "api.sagemaker.eu-central-1.amazonaws.com", @@ -91,6 +111,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-south-1": + regionInfo = { + hostname: "api.sagemaker.eu-south-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "api.sagemaker.eu-west-1.amazonaws.com", @@ -153,6 +179,20 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws-us-gov", }; break; + case "us-gov-west-1-fips": + regionInfo = { + hostname: "api-fips.sagemaker.us-gov-west-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-west-1", + }; + break; + case "us-gov-west-1-fips-secondary": + regionInfo = { + hostname: "api.sagemaker.us-gov-west-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-west-1", + }; + break; case "us-iso-east-1": regionInfo = { hostname: "api.sagemaker.us-iso-east-1.c2s.ic.gov", diff --git a/clients/client-savingsplans/endpoints.ts b/clients/client-savingsplans/endpoints.ts index 27542e68b7cb7..fd47111c9b837 100644 --- a/clients/client-savingsplans/endpoints.ts +++ b/clients/client-savingsplans/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "savingsplans.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-schemas/endpoints.ts b/clients/client-schemas/endpoints.ts index a4d7b51b42a32..de6309dd3e948 100644 --- a/clients/client-schemas/endpoints.ts +++ b/clients/client-schemas/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "schemas.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,108 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "ap-east-1": + regionInfo = { + hostname: "schemas.ap-east-1.amazonaws.com", + partition: "aws", + }; + break; + case "ap-northeast-1": + regionInfo = { + hostname: "schemas.ap-northeast-1.amazonaws.com", + partition: "aws", + }; + break; + case "ap-northeast-2": + regionInfo = { + hostname: "schemas.ap-northeast-2.amazonaws.com", + partition: "aws", + }; + break; + case "ap-south-1": + regionInfo = { + hostname: "schemas.ap-south-1.amazonaws.com", + partition: "aws", + }; + break; + case "ap-southeast-1": + regionInfo = { + hostname: "schemas.ap-southeast-1.amazonaws.com", + partition: "aws", + }; + break; + case "ap-southeast-2": + regionInfo = { + hostname: "schemas.ap-southeast-2.amazonaws.com", + partition: "aws", + }; + break; + case "ca-central-1": + regionInfo = { + hostname: "schemas.ca-central-1.amazonaws.com", + partition: "aws", + }; + break; + case "eu-central-1": + regionInfo = { + hostname: "schemas.eu-central-1.amazonaws.com", + partition: "aws", + }; + break; + case "eu-north-1": + regionInfo = { + hostname: "schemas.eu-north-1.amazonaws.com", + partition: "aws", + }; + break; + case "eu-west-1": + regionInfo = { + hostname: "schemas.eu-west-1.amazonaws.com", + partition: "aws", + }; + break; + case "eu-west-2": + regionInfo = { + hostname: "schemas.eu-west-2.amazonaws.com", + partition: "aws", + }; + break; + case "eu-west-3": + regionInfo = { + hostname: "schemas.eu-west-3.amazonaws.com", + partition: "aws", + }; + break; + case "sa-east-1": + regionInfo = { + hostname: "schemas.sa-east-1.amazonaws.com", + partition: "aws", + }; + break; + case "us-east-1": + regionInfo = { + hostname: "schemas.us-east-1.amazonaws.com", + partition: "aws", + }; + break; + case "us-east-2": + regionInfo = { + hostname: "schemas.us-east-2.amazonaws.com", + partition: "aws", + }; + break; + case "us-west-1": + regionInfo = { + hostname: "schemas.us-west-1.amazonaws.com", + partition: "aws", + }; + break; + case "us-west-2": + regionInfo = { + hostname: "schemas.us-west-2.amazonaws.com", + partition: "aws", + }; + break; // Next, try to match partition endpoints. default: if (AWS_REGIONS.has(region)) { diff --git a/clients/client-secrets-manager/endpoints.ts b/clients/client-secrets-manager/endpoints.ts index a02d906421ab3..cc7adee1309b1 100644 --- a/clients/client-secrets-manager/endpoints.ts +++ b/clients/client-secrets-manager/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "secretsmanager.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "af-south-1": + regionInfo = { + hostname: "secretsmanager.af-south-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-east-1": regionInfo = { hostname: "secretsmanager.ap-east-1.amazonaws.com", @@ -79,6 +87,18 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "cn-north-1": + regionInfo = { + hostname: "secretsmanager.cn-north-1.amazonaws.com.cn", + partition: "aws-cn", + }; + break; + case "cn-northwest-1": + regionInfo = { + hostname: "secretsmanager.cn-northwest-1.amazonaws.com.cn", + partition: "aws-cn", + }; + break; case "eu-central-1": regionInfo = { hostname: "secretsmanager.eu-central-1.amazonaws.com", @@ -91,6 +111,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-south-1": + regionInfo = { + hostname: "secretsmanager.eu-south-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "secretsmanager.eu-west-1.amazonaws.com", diff --git a/clients/client-securityhub/endpoints.ts b/clients/client-securityhub/endpoints.ts index 36321dc0852af..8593cf215ab72 100644 --- a/clients/client-securityhub/endpoints.ts +++ b/clients/client-securityhub/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "securityhub.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "af-south-1": + regionInfo = { + hostname: "securityhub.af-south-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-east-1": regionInfo = { hostname: "securityhub.ap-east-1.amazonaws.com", @@ -79,6 +87,18 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "cn-north-1": + regionInfo = { + hostname: "securityhub.cn-north-1.amazonaws.com.cn", + partition: "aws-cn", + }; + break; + case "cn-northwest-1": + regionInfo = { + hostname: "securityhub.cn-northwest-1.amazonaws.com.cn", + partition: "aws-cn", + }; + break; case "eu-central-1": regionInfo = { hostname: "securityhub.eu-central-1.amazonaws.com", @@ -91,6 +111,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-south-1": + regionInfo = { + hostname: "securityhub.eu-south-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "securityhub.eu-west-1.amazonaws.com", @@ -109,6 +135,48 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "fips-us-east-1": + regionInfo = { + hostname: "securityhub-fips.us-east-1.amazonaws.com", + partition: "aws", + signingRegion: "us-east-1", + }; + break; + case "fips-us-east-2": + regionInfo = { + hostname: "securityhub-fips.us-east-2.amazonaws.com", + partition: "aws", + signingRegion: "us-east-2", + }; + break; + case "fips-us-gov-east-1": + regionInfo = { + hostname: "securityhub-fips.us-gov-east-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-east-1", + }; + break; + case "fips-us-gov-west-1": + regionInfo = { + hostname: "securityhub-fips.us-gov-west-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-west-1", + }; + break; + case "fips-us-west-1": + regionInfo = { + hostname: "securityhub-fips.us-west-1.amazonaws.com", + partition: "aws", + signingRegion: "us-west-1", + }; + break; + case "fips-us-west-2": + regionInfo = { + hostname: "securityhub-fips.us-west-2.amazonaws.com", + partition: "aws", + signingRegion: "us-west-2", + }; + break; case "me-south-1": regionInfo = { hostname: "securityhub.me-south-1.amazonaws.com", @@ -133,6 +201,18 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "us-gov-east-1": + regionInfo = { + hostname: "securityhub.us-gov-east-1.amazonaws.com", + partition: "aws-us-gov", + }; + break; + case "us-gov-west-1": + regionInfo = { + hostname: "securityhub.us-gov-west-1.amazonaws.com", + partition: "aws-us-gov", + }; + break; case "us-west-1": regionInfo = { hostname: "securityhub.us-west-1.amazonaws.com", diff --git a/clients/client-serverlessapplicationrepository/endpoints.ts b/clients/client-serverlessapplicationrepository/endpoints.ts index 2d1298dcf0f03..b98e7e8887b15 100644 --- a/clients/client-serverlessapplicationrepository/endpoints.ts +++ b/clients/client-serverlessapplicationrepository/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "serverlessrepo.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -79,6 +81,18 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "cn-north-1": + regionInfo = { + hostname: "serverlessrepo.cn-north-1.amazonaws.com.cn", + partition: "aws-cn", + }; + break; + case "cn-northwest-1": + regionInfo = { + hostname: "serverlessrepo.cn-northwest-1.amazonaws.com.cn", + partition: "aws-cn", + }; + break; case "eu-central-1": regionInfo = { hostname: "serverlessrepo.eu-central-1.amazonaws.com", @@ -137,12 +151,14 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op regionInfo = { hostname: "serverlessrepo.us-gov-east-1.amazonaws.com", partition: "aws-us-gov", + signingRegion: "us-gov-east-1", }; break; case "us-gov-west-1": regionInfo = { hostname: "serverlessrepo.us-gov-west-1.amazonaws.com", partition: "aws-us-gov", + signingRegion: "us-gov-west-1", }; break; case "us-west-1": diff --git a/clients/client-service-catalog-appregistry/endpoints.ts b/clients/client-service-catalog-appregistry/endpoints.ts index e18e7e94f1026..8257d82380d9f 100644 --- a/clients/client-service-catalog-appregistry/endpoints.ts +++ b/clients/client-service-catalog-appregistry/endpoints.ts @@ -1,14 +1,15 @@ import { RegionInfo, RegionInfoProvider } from "@aws-sdk/types"; // Partition default templates -const AWS_TEMPLATE = "servicecatalog.{region}.amazonaws.com"; -const AWS_CN_TEMPLATE = "servicecatalog.{region}.amazonaws.com.cn"; -const AWS_ISO_TEMPLATE = "servicecatalog.{region}.c2s.ic.gov"; -const AWS_ISO_B_TEMPLATE = "servicecatalog.{region}.sc2s.sgov.gov"; -const AWS_US_GOV_TEMPLATE = "servicecatalog.{region}.amazonaws.com"; +const AWS_TEMPLATE = "servicecatalog-appregistry.{region}.amazonaws.com"; +const AWS_CN_TEMPLATE = "servicecatalog-appregistry.{region}.amazonaws.com.cn"; +const AWS_ISO_TEMPLATE = "servicecatalog-appregistry.{region}.c2s.ic.gov"; +const AWS_ISO_B_TEMPLATE = "servicecatalog-appregistry.{region}.sc2s.sgov.gov"; +const AWS_US_GOV_TEMPLATE = "servicecatalog-appregistry.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,143 +39,6 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. - case "ap-northeast-1": - regionInfo = { - hostname: "servicecatalog.ap-northeast-1.amazonaws.com", - partition: "aws", - }; - break; - case "ap-northeast-2": - regionInfo = { - hostname: "servicecatalog.ap-northeast-2.amazonaws.com", - partition: "aws", - }; - break; - case "ap-south-1": - regionInfo = { - hostname: "servicecatalog.ap-south-1.amazonaws.com", - partition: "aws", - }; - break; - case "ap-southeast-1": - regionInfo = { - hostname: "servicecatalog.ap-southeast-1.amazonaws.com", - partition: "aws", - }; - break; - case "ap-southeast-2": - regionInfo = { - hostname: "servicecatalog.ap-southeast-2.amazonaws.com", - partition: "aws", - }; - break; - case "ca-central-1": - regionInfo = { - hostname: "servicecatalog.ca-central-1.amazonaws.com", - partition: "aws", - }; - break; - case "eu-central-1": - regionInfo = { - hostname: "servicecatalog.eu-central-1.amazonaws.com", - partition: "aws", - }; - break; - case "eu-north-1": - regionInfo = { - hostname: "servicecatalog.eu-north-1.amazonaws.com", - partition: "aws", - }; - break; - case "eu-west-1": - regionInfo = { - hostname: "servicecatalog.eu-west-1.amazonaws.com", - partition: "aws", - }; - break; - case "eu-west-2": - regionInfo = { - hostname: "servicecatalog.eu-west-2.amazonaws.com", - partition: "aws", - }; - break; - case "eu-west-3": - regionInfo = { - hostname: "servicecatalog.eu-west-3.amazonaws.com", - partition: "aws", - }; - break; - case "sa-east-1": - regionInfo = { - hostname: "servicecatalog.sa-east-1.amazonaws.com", - partition: "aws", - }; - break; - case "us-east-1": - regionInfo = { - hostname: "servicecatalog.us-east-1.amazonaws.com", - partition: "aws", - }; - break; - case "us-east-1-fips": - regionInfo = { - hostname: "servicecatalog-fips.us-east-1.amazonaws.com", - partition: "aws", - signingRegion: "us-east-1", - }; - break; - case "us-east-2": - regionInfo = { - hostname: "servicecatalog.us-east-2.amazonaws.com", - partition: "aws", - }; - break; - case "us-east-2-fips": - regionInfo = { - hostname: "servicecatalog-fips.us-east-2.amazonaws.com", - partition: "aws", - signingRegion: "us-east-2", - }; - break; - case "us-gov-west-1": - regionInfo = { - hostname: "servicecatalog.us-gov-west-1.amazonaws.com", - partition: "aws-us-gov", - }; - break; - case "us-gov-west-1-fips": - regionInfo = { - hostname: "servicecatalog-fips.us-gov-west-1.amazonaws.com", - partition: "aws-us-gov", - signingRegion: "us-gov-west-1", - }; - break; - case "us-west-1": - regionInfo = { - hostname: "servicecatalog.us-west-1.amazonaws.com", - partition: "aws", - }; - break; - case "us-west-1-fips": - regionInfo = { - hostname: "servicecatalog-fips.us-west-1.amazonaws.com", - partition: "aws", - signingRegion: "us-west-1", - }; - break; - case "us-west-2": - regionInfo = { - hostname: "servicecatalog.us-west-2.amazonaws.com", - partition: "aws", - }; - break; - case "us-west-2-fips": - regionInfo = { - hostname: "servicecatalog-fips.us-west-2.amazonaws.com", - partition: "aws", - signingRegion: "us-west-2", - }; - break; // Next, try to match partition endpoints. default: if (AWS_REGIONS.has(region)) { diff --git a/clients/client-service-catalog/endpoints.ts b/clients/client-service-catalog/endpoints.ts index e18e7e94f1026..f285e4c7dc053 100644 --- a/clients/client-service-catalog/endpoints.ts +++ b/clients/client-service-catalog/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "servicecatalog.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,18 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "af-south-1": + regionInfo = { + hostname: "servicecatalog.af-south-1.amazonaws.com", + partition: "aws", + }; + break; + case "ap-east-1": + regionInfo = { + hostname: "servicecatalog.ap-east-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-northeast-1": regionInfo = { hostname: "servicecatalog.ap-northeast-1.amazonaws.com", @@ -85,6 +99,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-south-1": + regionInfo = { + hostname: "servicecatalog.eu-south-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "servicecatalog.eu-west-1.amazonaws.com", @@ -103,6 +123,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "me-south-1": + regionInfo = { + hostname: "servicecatalog.me-south-1.amazonaws.com", + partition: "aws", + }; + break; case "sa-east-1": regionInfo = { hostname: "servicecatalog.sa-east-1.amazonaws.com", @@ -135,6 +161,19 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op signingRegion: "us-east-2", }; break; + case "us-gov-east-1": + regionInfo = { + hostname: "servicecatalog.us-gov-east-1.amazonaws.com", + partition: "aws-us-gov", + }; + break; + case "us-gov-east-1-fips": + regionInfo = { + hostname: "servicecatalog-fips.us-gov-east-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-east-1", + }; + break; case "us-gov-west-1": regionInfo = { hostname: "servicecatalog.us-gov-west-1.amazonaws.com", diff --git a/clients/client-service-quotas/endpoints.ts b/clients/client-service-quotas/endpoints.ts index a9086712a5616..cb0111f142905 100644 --- a/clients/client-service-quotas/endpoints.ts +++ b/clients/client-service-quotas/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "servicequotas.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,126 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "af-south-1": + regionInfo = { + hostname: "servicequotas.af-south-1.amazonaws.com", + partition: "aws", + }; + break; + case "ap-east-1": + regionInfo = { + hostname: "servicequotas.ap-east-1.amazonaws.com", + partition: "aws", + }; + break; + case "ap-northeast-1": + regionInfo = { + hostname: "servicequotas.ap-northeast-1.amazonaws.com", + partition: "aws", + }; + break; + case "ap-northeast-2": + regionInfo = { + hostname: "servicequotas.ap-northeast-2.amazonaws.com", + partition: "aws", + }; + break; + case "ap-south-1": + regionInfo = { + hostname: "servicequotas.ap-south-1.amazonaws.com", + partition: "aws", + }; + break; + case "ap-southeast-1": + regionInfo = { + hostname: "servicequotas.ap-southeast-1.amazonaws.com", + partition: "aws", + }; + break; + case "ap-southeast-2": + regionInfo = { + hostname: "servicequotas.ap-southeast-2.amazonaws.com", + partition: "aws", + }; + break; + case "ca-central-1": + regionInfo = { + hostname: "servicequotas.ca-central-1.amazonaws.com", + partition: "aws", + }; + break; + case "eu-central-1": + regionInfo = { + hostname: "servicequotas.eu-central-1.amazonaws.com", + partition: "aws", + }; + break; + case "eu-north-1": + regionInfo = { + hostname: "servicequotas.eu-north-1.amazonaws.com", + partition: "aws", + }; + break; + case "eu-south-1": + regionInfo = { + hostname: "servicequotas.eu-south-1.amazonaws.com", + partition: "aws", + }; + break; + case "eu-west-1": + regionInfo = { + hostname: "servicequotas.eu-west-1.amazonaws.com", + partition: "aws", + }; + break; + case "eu-west-2": + regionInfo = { + hostname: "servicequotas.eu-west-2.amazonaws.com", + partition: "aws", + }; + break; + case "eu-west-3": + regionInfo = { + hostname: "servicequotas.eu-west-3.amazonaws.com", + partition: "aws", + }; + break; + case "me-south-1": + regionInfo = { + hostname: "servicequotas.me-south-1.amazonaws.com", + partition: "aws", + }; + break; + case "sa-east-1": + regionInfo = { + hostname: "servicequotas.sa-east-1.amazonaws.com", + partition: "aws", + }; + break; + case "us-east-1": + regionInfo = { + hostname: "servicequotas.us-east-1.amazonaws.com", + partition: "aws", + }; + break; + case "us-east-2": + regionInfo = { + hostname: "servicequotas.us-east-2.amazonaws.com", + partition: "aws", + }; + break; + case "us-west-1": + regionInfo = { + hostname: "servicequotas.us-west-1.amazonaws.com", + partition: "aws", + }; + break; + case "us-west-2": + regionInfo = { + hostname: "servicequotas.us-west-2.amazonaws.com", + partition: "aws", + }; + break; // Next, try to match partition endpoints. default: if (AWS_REGIONS.has(region)) { diff --git a/clients/client-servicediscovery/endpoints.ts b/clients/client-servicediscovery/endpoints.ts index 64114cd473089..a2ac41be27454 100644 --- a/clients/client-servicediscovery/endpoints.ts +++ b/clients/client-servicediscovery/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "servicediscovery.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "af-south-1": + regionInfo = { + hostname: "servicediscovery.af-south-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-east-1": regionInfo = { hostname: "servicediscovery.ap-east-1.amazonaws.com", @@ -79,6 +87,18 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "cn-north-1": + regionInfo = { + hostname: "servicediscovery.cn-north-1.amazonaws.com.cn", + partition: "aws-cn", + }; + break; + case "cn-northwest-1": + regionInfo = { + hostname: "servicediscovery.cn-northwest-1.amazonaws.com.cn", + partition: "aws-cn", + }; + break; case "eu-central-1": regionInfo = { hostname: "servicediscovery.eu-central-1.amazonaws.com", @@ -91,6 +111,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-south-1": + regionInfo = { + hostname: "servicediscovery.eu-south-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "servicediscovery.eu-west-1.amazonaws.com", @@ -121,6 +147,13 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "servicediscovery-fips": + regionInfo = { + hostname: "servicediscovery-fips.ca-central-1.amazonaws.com", + partition: "aws", + signingRegion: "ca-central-1", + }; + break; case "us-east-1": regionInfo = { hostname: "servicediscovery.us-east-1.amazonaws.com", diff --git a/clients/client-ses/endpoints.ts b/clients/client-ses/endpoints.ts index 97fef8f3bb2d4..eaea44a90b13c 100644 --- a/clients/client-ses/endpoints.ts +++ b/clients/client-ses/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "email.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -61,12 +63,25 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "fips-us-gov-west-1": + regionInfo = { + hostname: "email-fips.us-gov-west-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-west-1", + }; + break; case "us-east-1": regionInfo = { hostname: "email.us-east-1.amazonaws.com", partition: "aws", }; break; + case "us-gov-west-1": + regionInfo = { + hostname: "email.us-gov-west-1.amazonaws.com", + partition: "aws-us-gov", + }; + break; case "us-west-2": regionInfo = { hostname: "email.us-west-2.amazonaws.com", diff --git a/clients/client-sesv2/endpoints.ts b/clients/client-sesv2/endpoints.ts index 97fef8f3bb2d4..eaea44a90b13c 100644 --- a/clients/client-sesv2/endpoints.ts +++ b/clients/client-sesv2/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "email.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -61,12 +63,25 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "fips-us-gov-west-1": + regionInfo = { + hostname: "email-fips.us-gov-west-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-west-1", + }; + break; case "us-east-1": regionInfo = { hostname: "email.us-east-1.amazonaws.com", partition: "aws", }; break; + case "us-gov-west-1": + regionInfo = { + hostname: "email.us-gov-west-1.amazonaws.com", + partition: "aws-us-gov", + }; + break; case "us-west-2": regionInfo = { hostname: "email.us-west-2.amazonaws.com", diff --git a/clients/client-sfn/endpoints.ts b/clients/client-sfn/endpoints.ts index 90b3fa15fe1b4..e81ae563d0a6c 100644 --- a/clients/client-sfn/endpoints.ts +++ b/clients/client-sfn/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "states.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "af-south-1": + regionInfo = { + hostname: "states.af-south-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-east-1": regionInfo = { hostname: "states.ap-east-1.amazonaws.com", @@ -103,6 +111,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-south-1": + regionInfo = { + hostname: "states.eu-south-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "states.eu-west-1.amazonaws.com", @@ -121,6 +135,48 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "fips-us-east-1": + regionInfo = { + hostname: "states-fips.us-east-1.amazonaws.com", + partition: "aws", + signingRegion: "us-east-1", + }; + break; + case "fips-us-east-2": + regionInfo = { + hostname: "states-fips.us-east-2.amazonaws.com", + partition: "aws", + signingRegion: "us-east-2", + }; + break; + case "fips-us-gov-east-1": + regionInfo = { + hostname: "states-fips.us-gov-east-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-east-1", + }; + break; + case "fips-us-gov-west-1": + regionInfo = { + hostname: "states.us-gov-west-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-west-1", + }; + break; + case "fips-us-west-1": + regionInfo = { + hostname: "states-fips.us-west-1.amazonaws.com", + partition: "aws", + signingRegion: "us-west-1", + }; + break; + case "fips-us-west-2": + regionInfo = { + hostname: "states-fips.us-west-2.amazonaws.com", + partition: "aws", + signingRegion: "us-west-2", + }; + break; case "me-south-1": regionInfo = { hostname: "states.me-south-1.amazonaws.com", diff --git a/clients/client-shield/endpoints.ts b/clients/client-shield/endpoints.ts index 3baa5c9ceb737..6d50ad86b78c3 100644 --- a/clients/client-shield/endpoints.ts +++ b/clients/client-shield/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "shield.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,19 +39,24 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. - case "us-east-1": + case "aws-global": regionInfo = { hostname: "shield.us-east-1.amazonaws.com", partition: "aws", + signingRegion: "us-east-1", + }; + break; + case "fips-aws-global": + regionInfo = { + hostname: "shield-fips.us-east-1.amazonaws.com", + partition: "aws", + signingRegion: "us-east-1", }; break; // Next, try to match partition endpoints. default: if (AWS_REGIONS.has(region)) { - regionInfo = { - hostname: AWS_TEMPLATE.replace("{region}", region), - partition: "aws", - }; + return defaultRegionInfoProvider("aws-global"); } if (AWS_CN_REGIONS.has(region)) { regionInfo = { @@ -77,10 +84,7 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op } // Finally, assume it's an AWS partition endpoint. if (regionInfo === undefined) { - regionInfo = { - hostname: AWS_TEMPLATE.replace("{region}", region), - partition: "aws", - }; + return defaultRegionInfoProvider("aws-global"); } } return Promise.resolve({ signingService: "shield", ...regionInfo }); diff --git a/clients/client-signer/endpoints.ts b/clients/client-signer/endpoints.ts index 57f0aebadc148..8b677015559bb 100644 --- a/clients/client-signer/endpoints.ts +++ b/clients/client-signer/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "signer.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-sms/endpoints.ts b/clients/client-sms/endpoints.ts index 4cc32cc0e011e..3b58c21852569 100644 --- a/clients/client-sms/endpoints.ts +++ b/clients/client-sms/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "sms.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "af-south-1": + regionInfo = { + hostname: "sms.af-south-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-east-1": regionInfo = { hostname: "sms.ap-east-1.amazonaws.com", @@ -103,6 +111,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-south-1": + regionInfo = { + hostname: "sms.eu-south-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "sms.eu-west-1.amazonaws.com", @@ -121,6 +135,48 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "fips-us-east-1": + regionInfo = { + hostname: "sms-fips.us-east-1.amazonaws.com", + partition: "aws", + signingRegion: "us-east-1", + }; + break; + case "fips-us-east-2": + regionInfo = { + hostname: "sms-fips.us-east-2.amazonaws.com", + partition: "aws", + signingRegion: "us-east-2", + }; + break; + case "fips-us-gov-east-1": + regionInfo = { + hostname: "sms-fips.us-gov-east-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-east-1", + }; + break; + case "fips-us-gov-west-1": + regionInfo = { + hostname: "sms-fips.us-gov-west-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-west-1", + }; + break; + case "fips-us-west-1": + regionInfo = { + hostname: "sms-fips.us-west-1.amazonaws.com", + partition: "aws", + signingRegion: "us-west-1", + }; + break; + case "fips-us-west-2": + regionInfo = { + hostname: "sms-fips.us-west-2.amazonaws.com", + partition: "aws", + signingRegion: "us-west-2", + }; + break; case "me-south-1": regionInfo = { hostname: "sms.me-south-1.amazonaws.com", diff --git a/clients/client-snowball/endpoints.ts b/clients/client-snowball/endpoints.ts index e75e9139dd7fc..198642f35d7e7 100644 --- a/clients/client-snowball/endpoints.ts +++ b/clients/client-snowball/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "snowball.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,18 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "af-south-1": + regionInfo = { + hostname: "snowball.af-south-1.amazonaws.com", + partition: "aws", + }; + break; + case "ap-east-1": + regionInfo = { + hostname: "snowball.ap-east-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-northeast-1": regionInfo = { hostname: "snowball.ap-northeast-1.amazonaws.com", @@ -79,12 +93,30 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws-cn", }; break; + case "cn-northwest-1": + regionInfo = { + hostname: "snowball.cn-northwest-1.amazonaws.com.cn", + partition: "aws-cn", + }; + break; case "eu-central-1": regionInfo = { hostname: "snowball.eu-central-1.amazonaws.com", partition: "aws", }; break; + case "eu-north-1": + regionInfo = { + hostname: "snowball.eu-north-1.amazonaws.com", + partition: "aws", + }; + break; + case "eu-south-1": + regionInfo = { + hostname: "snowball.eu-south-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "snowball.eu-west-1.amazonaws.com", @@ -103,6 +135,146 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "fips-ap-northeast-1": + regionInfo = { + hostname: "snowball-fips.ap-northeast-1.amazonaws.com", + partition: "aws", + signingRegion: "ap-northeast-1", + }; + break; + case "fips-ap-northeast-2": + regionInfo = { + hostname: "snowball-fips.ap-northeast-2.amazonaws.com", + partition: "aws", + signingRegion: "ap-northeast-2", + }; + break; + case "fips-ap-northeast-3": + regionInfo = { + hostname: "snowball-fips.ap-northeast-3.amazonaws.com", + partition: "aws", + signingRegion: "ap-northeast-3", + }; + break; + case "fips-ap-south-1": + regionInfo = { + hostname: "snowball-fips.ap-south-1.amazonaws.com", + partition: "aws", + signingRegion: "ap-south-1", + }; + break; + case "fips-ap-southeast-1": + regionInfo = { + hostname: "snowball-fips.ap-southeast-1.amazonaws.com", + partition: "aws", + signingRegion: "ap-southeast-1", + }; + break; + case "fips-ap-southeast-2": + regionInfo = { + hostname: "snowball-fips.ap-southeast-2.amazonaws.com", + partition: "aws", + signingRegion: "ap-southeast-2", + }; + break; + case "fips-ca-central-1": + regionInfo = { + hostname: "snowball-fips.ca-central-1.amazonaws.com", + partition: "aws", + signingRegion: "ca-central-1", + }; + break; + case "fips-cn-north-1": + regionInfo = { + hostname: "snowball-fips.cn-north-1.amazonaws.com.cn", + partition: "aws-cn", + signingRegion: "cn-north-1", + }; + break; + case "fips-cn-northwest-1": + regionInfo = { + hostname: "snowball-fips.cn-northwest-1.amazonaws.com.cn", + partition: "aws-cn", + signingRegion: "cn-northwest-1", + }; + break; + case "fips-eu-central-1": + regionInfo = { + hostname: "snowball-fips.eu-central-1.amazonaws.com", + partition: "aws", + signingRegion: "eu-central-1", + }; + break; + case "fips-eu-west-1": + regionInfo = { + hostname: "snowball-fips.eu-west-1.amazonaws.com", + partition: "aws", + signingRegion: "eu-west-1", + }; + break; + case "fips-eu-west-2": + regionInfo = { + hostname: "snowball-fips.eu-west-2.amazonaws.com", + partition: "aws", + signingRegion: "eu-west-2", + }; + break; + case "fips-eu-west-3": + regionInfo = { + hostname: "snowball-fips.eu-west-3.amazonaws.com", + partition: "aws", + signingRegion: "eu-west-3", + }; + break; + case "fips-sa-east-1": + regionInfo = { + hostname: "snowball-fips.sa-east-1.amazonaws.com", + partition: "aws", + signingRegion: "sa-east-1", + }; + break; + case "fips-us-east-1": + regionInfo = { + hostname: "snowball-fips.us-east-1.amazonaws.com", + partition: "aws", + signingRegion: "us-east-1", + }; + break; + case "fips-us-east-2": + regionInfo = { + hostname: "snowball-fips.us-east-2.amazonaws.com", + partition: "aws", + signingRegion: "us-east-2", + }; + break; + case "fips-us-gov-east-1": + regionInfo = { + hostname: "snowball-fips.us-gov-east-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-east-1", + }; + break; + case "fips-us-gov-west-1": + regionInfo = { + hostname: "snowball-fips.us-gov-west-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-west-1", + }; + break; + case "fips-us-west-1": + regionInfo = { + hostname: "snowball-fips.us-west-1.amazonaws.com", + partition: "aws", + signingRegion: "us-west-1", + }; + break; + case "fips-us-west-2": + regionInfo = { + hostname: "snowball-fips.us-west-2.amazonaws.com", + partition: "aws", + signingRegion: "us-west-2", + }; + break; case "sa-east-1": regionInfo = { hostname: "snowball.sa-east-1.amazonaws.com", diff --git a/clients/client-sns/endpoints.ts b/clients/client-sns/endpoints.ts index 0a5cfd76cba52..14a143c867547 100644 --- a/clients/client-sns/endpoints.ts +++ b/clients/client-sns/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "sns.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "af-south-1": + regionInfo = { + hostname: "sns.af-south-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-east-1": regionInfo = { hostname: "sns.ap-east-1.amazonaws.com", @@ -103,6 +111,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-south-1": + regionInfo = { + hostname: "sns.eu-south-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "sns.eu-west-1.amazonaws.com", @@ -121,6 +135,34 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "fips-us-east-1": + regionInfo = { + hostname: "sns-fips.us-east-1.amazonaws.com", + partition: "aws", + signingRegion: "us-east-1", + }; + break; + case "fips-us-east-2": + regionInfo = { + hostname: "sns-fips.us-east-2.amazonaws.com", + partition: "aws", + signingRegion: "us-east-2", + }; + break; + case "fips-us-west-1": + regionInfo = { + hostname: "sns-fips.us-west-1.amazonaws.com", + partition: "aws", + signingRegion: "us-west-1", + }; + break; + case "fips-us-west-2": + regionInfo = { + hostname: "sns-fips.us-west-2.amazonaws.com", + partition: "aws", + signingRegion: "us-west-2", + }; + break; case "me-south-1": regionInfo = { hostname: "sns.me-south-1.amazonaws.com", @@ -149,12 +191,14 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op regionInfo = { hostname: "sns.us-gov-east-1.amazonaws.com", partition: "aws-us-gov", + signingRegion: "us-gov-east-1", }; break; case "us-gov-west-1": regionInfo = { hostname: "sns.us-gov-west-1.amazonaws.com", partition: "aws-us-gov", + signingRegion: "us-gov-west-1", }; break; case "us-iso-east-1": diff --git a/clients/client-sqs/endpoints.ts b/clients/client-sqs/endpoints.ts index b1cca9659c9d4..29c662c1b5996 100644 --- a/clients/client-sqs/endpoints.ts +++ b/clients/client-sqs/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "sqs.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "af-south-1": + regionInfo = { + hostname: "sqs.af-south-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-east-1": regionInfo = { hostname: "sqs.ap-east-1.amazonaws.com", @@ -103,6 +111,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-south-1": + regionInfo = { + hostname: "sqs.eu-south-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "sqs.eu-west-1.amazonaws.com", @@ -177,12 +191,14 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op regionInfo = { hostname: "sqs.us-gov-east-1.amazonaws.com", partition: "aws-us-gov", + signingRegion: "us-gov-east-1", }; break; case "us-gov-west-1": regionInfo = { hostname: "sqs.us-gov-west-1.amazonaws.com", partition: "aws-us-gov", + signingRegion: "us-gov-west-1", }; break; case "us-iso-east-1": diff --git a/clients/client-ssm/endpoints.ts b/clients/client-ssm/endpoints.ts index 01f9816b9d1ac..e5e40d8dc50d9 100644 --- a/clients/client-ssm/endpoints.ts +++ b/clients/client-ssm/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "ssm.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "af-south-1": + regionInfo = { + hostname: "ssm.af-south-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-east-1": regionInfo = { hostname: "ssm.ap-east-1.amazonaws.com", @@ -103,6 +111,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-south-1": + regionInfo = { + hostname: "ssm.eu-south-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "ssm.eu-west-1.amazonaws.com", @@ -121,6 +135,55 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "fips-ca-central-1": + regionInfo = { + hostname: "ssm-fips.ca-central-1.amazonaws.com", + partition: "aws", + signingRegion: "ca-central-1", + }; + break; + case "fips-us-east-1": + regionInfo = { + hostname: "ssm-fips.us-east-1.amazonaws.com", + partition: "aws", + signingRegion: "us-east-1", + }; + break; + case "fips-us-east-2": + regionInfo = { + hostname: "ssm-fips.us-east-2.amazonaws.com", + partition: "aws", + signingRegion: "us-east-2", + }; + break; + case "fips-us-gov-east-1": + regionInfo = { + hostname: "ssm.us-gov-east-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-east-1", + }; + break; + case "fips-us-gov-west-1": + regionInfo = { + hostname: "ssm.us-gov-west-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-west-1", + }; + break; + case "fips-us-west-1": + regionInfo = { + hostname: "ssm-fips.us-west-1.amazonaws.com", + partition: "aws", + signingRegion: "us-west-1", + }; + break; + case "fips-us-west-2": + regionInfo = { + hostname: "ssm-fips.us-west-2.amazonaws.com", + partition: "aws", + signingRegion: "us-west-2", + }; + break; case "me-south-1": regionInfo = { hostname: "ssm.me-south-1.amazonaws.com", @@ -157,6 +220,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws-us-gov", }; break; + case "us-isob-east-1": + regionInfo = { + hostname: "ssm.us-isob-east-1.sc2s.sgov.gov", + partition: "aws-iso-b", + }; + break; case "us-west-1": regionInfo = { hostname: "ssm.us-west-1.amazonaws.com", diff --git a/clients/client-sso-admin/endpoints.ts b/clients/client-sso-admin/endpoints.ts index 69b49b7cefe9b..ace9f303db8dc 100644 --- a/clients/client-sso-admin/endpoints.ts +++ b/clients/client-sso-admin/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "sso.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-sso-oidc/endpoints.ts b/clients/client-sso-oidc/endpoints.ts index abc3204735daa..05c8ec0dd9702 100644 --- a/clients/client-sso-oidc/endpoints.ts +++ b/clients/client-sso-oidc/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "oidc.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,27 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "ap-northeast-1": + regionInfo = { + hostname: "oidc.ap-northeast-1.amazonaws.com", + partition: "aws", + signingRegion: "ap-northeast-1", + }; + break; + case "ap-northeast-2": + regionInfo = { + hostname: "oidc.ap-northeast-2.amazonaws.com", + partition: "aws", + signingRegion: "ap-northeast-2", + }; + break; + case "ap-south-1": + regionInfo = { + hostname: "oidc.ap-south-1.amazonaws.com", + partition: "aws", + signingRegion: "ap-south-1", + }; + break; case "ap-southeast-1": regionInfo = { hostname: "oidc.ap-southeast-1.amazonaws.com", @@ -65,6 +88,13 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op signingRegion: "eu-central-1", }; break; + case "eu-north-1": + regionInfo = { + hostname: "oidc.eu-north-1.amazonaws.com", + partition: "aws", + signingRegion: "eu-north-1", + }; + break; case "eu-west-1": regionInfo = { hostname: "oidc.eu-west-1.amazonaws.com", diff --git a/clients/client-sso/endpoints.ts b/clients/client-sso/endpoints.ts index 799eba180f11f..5a1ac7f4f3aec 100644 --- a/clients/client-sso/endpoints.ts +++ b/clients/client-sso/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "portal.sso.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-storage-gateway/endpoints.ts b/clients/client-storage-gateway/endpoints.ts index 5f77da8709104..f6d00da509824 100644 --- a/clients/client-storage-gateway/endpoints.ts +++ b/clients/client-storage-gateway/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "storagegateway.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "af-south-1": + regionInfo = { + hostname: "storagegateway.af-south-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-east-1": regionInfo = { hostname: "storagegateway.ap-east-1.amazonaws.com", @@ -85,6 +93,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws-cn", }; break; + case "cn-northwest-1": + regionInfo = { + hostname: "storagegateway.cn-northwest-1.amazonaws.com.cn", + partition: "aws-cn", + }; + break; case "eu-central-1": regionInfo = { hostname: "storagegateway.eu-central-1.amazonaws.com", @@ -97,6 +111,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-south-1": + regionInfo = { + hostname: "storagegateway.eu-south-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "storagegateway.eu-west-1.amazonaws.com", @@ -115,6 +135,13 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "fips": + regionInfo = { + hostname: "storagegateway-fips.us-gov-west-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-west-1", + }; + break; case "me-south-1": regionInfo = { hostname: "storagegateway.me-south-1.amazonaws.com", @@ -139,6 +166,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "us-gov-east-1": + regionInfo = { + hostname: "storagegateway.us-gov-east-1.amazonaws.com", + partition: "aws-us-gov", + }; + break; case "us-gov-west-1": regionInfo = { hostname: "storagegateway.us-gov-west-1.amazonaws.com", diff --git a/clients/client-sts/endpoints.ts b/clients/client-sts/endpoints.ts index a7e267a632e1e..cb630fe4ca4a8 100644 --- a/clients/client-sts/endpoints.ts +++ b/clients/client-sts/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "sts.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "af-south-1": + regionInfo = { + hostname: "sts.af-south-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-east-1": regionInfo = { hostname: "sts.ap-east-1.amazonaws.com", @@ -110,6 +118,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-south-1": + regionInfo = { + hostname: "sts.eu-south-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "sts.eu-west-1.amazonaws.com", @@ -172,12 +186,26 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws-us-gov", }; break; + case "us-gov-east-1-fips": + regionInfo = { + hostname: "sts.us-gov-east-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-east-1", + }; + break; case "us-gov-west-1": regionInfo = { hostname: "sts.us-gov-west-1.amazonaws.com", partition: "aws-us-gov", }; break; + case "us-gov-west-1-fips": + regionInfo = { + hostname: "sts.us-gov-west-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-west-1", + }; + break; case "us-iso-east-1": regionInfo = { hostname: "sts.us-iso-east-1.c2s.ic.gov", diff --git a/clients/client-support/endpoints.ts b/clients/client-support/endpoints.ts index 652fdd8dbef3c..875f003c2dc81 100644 --- a/clients/client-support/endpoints.ts +++ b/clients/client-support/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "support.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -65,6 +67,20 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op signingRegion: "us-iso-east-1", }; break; + case "aws-us-gov-global": + regionInfo = { + hostname: "support.us-gov-west-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-west-1", + }; + break; + case "fips-us-gov-west-1": + regionInfo = { + hostname: "support.us-gov-west-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-west-1", + }; + break; // Next, try to match partition endpoints. default: if (AWS_REGIONS.has(region)) { diff --git a/clients/client-swf/endpoints.ts b/clients/client-swf/endpoints.ts index 9f70687341e85..3e3788ed5bb7b 100644 --- a/clients/client-swf/endpoints.ts +++ b/clients/client-swf/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "swf.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "af-south-1": + regionInfo = { + hostname: "swf.af-south-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-east-1": regionInfo = { hostname: "swf.ap-east-1.amazonaws.com", @@ -103,6 +111,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-south-1": + regionInfo = { + hostname: "swf.eu-south-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "swf.eu-west-1.amazonaws.com", @@ -121,6 +135,34 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "fips-us-east-1": + regionInfo = { + hostname: "swf-fips.us-east-1.amazonaws.com", + partition: "aws", + signingRegion: "us-east-1", + }; + break; + case "fips-us-east-2": + regionInfo = { + hostname: "swf-fips.us-east-2.amazonaws.com", + partition: "aws", + signingRegion: "us-east-2", + }; + break; + case "fips-us-west-1": + regionInfo = { + hostname: "swf-fips.us-west-1.amazonaws.com", + partition: "aws", + signingRegion: "us-west-1", + }; + break; + case "fips-us-west-2": + regionInfo = { + hostname: "swf-fips.us-west-2.amazonaws.com", + partition: "aws", + signingRegion: "us-west-2", + }; + break; case "me-south-1": regionInfo = { hostname: "swf.me-south-1.amazonaws.com", @@ -149,12 +191,14 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op regionInfo = { hostname: "swf.us-gov-east-1.amazonaws.com", partition: "aws-us-gov", + signingRegion: "us-gov-east-1", }; break; case "us-gov-west-1": regionInfo = { hostname: "swf.us-gov-west-1.amazonaws.com", partition: "aws-us-gov", + signingRegion: "us-gov-west-1", }; break; case "us-iso-east-1": diff --git a/clients/client-synthetics/endpoints.ts b/clients/client-synthetics/endpoints.ts index 698060a2b3af9..c98eea5d82a36 100644 --- a/clients/client-synthetics/endpoints.ts +++ b/clients/client-synthetics/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "synthetics.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-textract/endpoints.ts b/clients/client-textract/endpoints.ts index e6fccd2fed8de..60edd83c1e335 100644 --- a/clients/client-textract/endpoints.ts +++ b/clients/client-textract/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "textract.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-timestream-query/endpoints.ts b/clients/client-timestream-query/endpoints.ts index 570d4c0f69bc8..ee3ea6768b7be 100644 --- a/clients/client-timestream-query/endpoints.ts +++ b/clients/client-timestream-query/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "query.timestream.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-timestream-write/endpoints.ts b/clients/client-timestream-write/endpoints.ts index 50cd02796fc09..0ac3a9d654a3a 100644 --- a/clients/client-timestream-write/endpoints.ts +++ b/clients/client-timestream-write/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "ingest.timestream.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-transcribe-streaming/endpoints.ts b/clients/client-transcribe-streaming/endpoints.ts index 3151bc9a52e71..9c518c268f870 100644 --- a/clients/client-transcribe-streaming/endpoints.ts +++ b/clients/client-transcribe-streaming/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "transcribestreaming.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,18 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "ap-northeast-1": + regionInfo = { + hostname: "transcribestreaming.ap-northeast-1.amazonaws.com", + partition: "aws", + }; + break; + case "ap-northeast-2": + regionInfo = { + hostname: "transcribestreaming.ap-northeast-2.amazonaws.com", + partition: "aws", + }; + break; case "ap-southeast-2": regionInfo = { hostname: "transcribestreaming.ap-southeast-2.amazonaws.com", @@ -49,12 +63,30 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-central-1": + regionInfo = { + hostname: "transcribestreaming.eu-central-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "transcribestreaming.eu-west-1.amazonaws.com", partition: "aws", }; break; + case "eu-west-2": + regionInfo = { + hostname: "transcribestreaming.eu-west-2.amazonaws.com", + partition: "aws", + }; + break; + case "sa-east-1": + regionInfo = { + hostname: "transcribestreaming.sa-east-1.amazonaws.com", + partition: "aws", + }; + break; case "us-east-1": regionInfo = { hostname: "transcribestreaming.us-east-1.amazonaws.com", @@ -67,6 +99,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "us-iso-east-1": + regionInfo = { + hostname: "transcribestreaming.us-iso-east-1.c2s.ic.gov", + partition: "aws-iso", + }; + break; case "us-west-2": regionInfo = { hostname: "transcribestreaming.us-west-2.amazonaws.com", diff --git a/clients/client-transcribe/endpoints.ts b/clients/client-transcribe/endpoints.ts index 29547484e296d..a4086d25b99ac 100644 --- a/clients/client-transcribe/endpoints.ts +++ b/clients/client-transcribe/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "transcribe.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -117,6 +119,48 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "fips-us-east-1": + regionInfo = { + hostname: "fips.transcribe.us-east-1.amazonaws.com", + partition: "aws", + signingRegion: "us-east-1", + }; + break; + case "fips-us-east-2": + regionInfo = { + hostname: "fips.transcribe.us-east-2.amazonaws.com", + partition: "aws", + signingRegion: "us-east-2", + }; + break; + case "fips-us-gov-east-1": + regionInfo = { + hostname: "fips.transcribe.us-gov-east-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-east-1", + }; + break; + case "fips-us-gov-west-1": + regionInfo = { + hostname: "fips.transcribe.us-gov-west-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-west-1", + }; + break; + case "fips-us-west-1": + regionInfo = { + hostname: "fips.transcribe.us-west-1.amazonaws.com", + partition: "aws", + signingRegion: "us-west-1", + }; + break; + case "fips-us-west-2": + regionInfo = { + hostname: "fips.transcribe.us-west-2.amazonaws.com", + partition: "aws", + signingRegion: "us-west-2", + }; + break; case "me-south-1": regionInfo = { hostname: "transcribe.me-south-1.amazonaws.com", @@ -141,12 +185,24 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "us-gov-east-1": + regionInfo = { + hostname: "transcribe.us-gov-east-1.amazonaws.com", + partition: "aws-us-gov", + }; + break; case "us-gov-west-1": regionInfo = { hostname: "transcribe.us-gov-west-1.amazonaws.com", partition: "aws-us-gov", }; break; + case "us-iso-east-1": + regionInfo = { + hostname: "transcribe.us-iso-east-1.c2s.ic.gov", + partition: "aws-iso", + }; + break; case "us-west-1": regionInfo = { hostname: "transcribe.us-west-1.amazonaws.com", diff --git a/clients/client-transfer/endpoints.ts b/clients/client-transfer/endpoints.ts index 65c7a58db805c..7375a4e61175c 100644 --- a/clients/client-transfer/endpoints.ts +++ b/clients/client-transfer/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "transfer.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -103,6 +105,55 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "fips-ca-central-1": + regionInfo = { + hostname: "transfer-fips.ca-central-1.amazonaws.com", + partition: "aws", + signingRegion: "ca-central-1", + }; + break; + case "fips-us-east-1": + regionInfo = { + hostname: "transfer-fips.us-east-1.amazonaws.com", + partition: "aws", + signingRegion: "us-east-1", + }; + break; + case "fips-us-east-2": + regionInfo = { + hostname: "transfer-fips.us-east-2.amazonaws.com", + partition: "aws", + signingRegion: "us-east-2", + }; + break; + case "fips-us-gov-east-1": + regionInfo = { + hostname: "transfer-fips.us-gov-east-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-east-1", + }; + break; + case "fips-us-gov-west-1": + regionInfo = { + hostname: "transfer-fips.us-gov-west-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-west-1", + }; + break; + case "fips-us-west-1": + regionInfo = { + hostname: "transfer-fips.us-west-1.amazonaws.com", + partition: "aws", + signingRegion: "us-west-1", + }; + break; + case "fips-us-west-2": + regionInfo = { + hostname: "transfer-fips.us-west-2.amazonaws.com", + partition: "aws", + signingRegion: "us-west-2", + }; + break; case "sa-east-1": regionInfo = { hostname: "transfer.sa-east-1.amazonaws.com", @@ -121,6 +172,18 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "us-gov-east-1": + regionInfo = { + hostname: "transfer.us-gov-east-1.amazonaws.com", + partition: "aws-us-gov", + }; + break; + case "us-gov-west-1": + regionInfo = { + hostname: "transfer.us-gov-west-1.amazonaws.com", + partition: "aws-us-gov", + }; + break; case "us-west-1": regionInfo = { hostname: "transfer.us-west-1.amazonaws.com", diff --git a/clients/client-translate/endpoints.ts b/clients/client-translate/endpoints.ts index 87b29ad6177d5..e906156264d30 100644 --- a/clients/client-translate/endpoints.ts +++ b/clients/client-translate/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "translate.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "ap-east-1": + regionInfo = { + hostname: "translate.ap-east-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-northeast-1": regionInfo = { hostname: "translate.ap-northeast-1.amazonaws.com", @@ -61,6 +69,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "ap-southeast-2": + regionInfo = { + hostname: "translate.ap-southeast-2.amazonaws.com", + partition: "aws", + }; + break; case "ca-central-1": regionInfo = { hostname: "translate.ca-central-1.amazonaws.com", @@ -73,12 +87,30 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-north-1": + regionInfo = { + hostname: "translate.eu-north-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "translate.eu-west-1.amazonaws.com", partition: "aws", }; break; + case "eu-west-2": + regionInfo = { + hostname: "translate.eu-west-2.amazonaws.com", + partition: "aws", + }; + break; + case "eu-west-3": + regionInfo = { + hostname: "translate.eu-west-3.amazonaws.com", + partition: "aws", + }; + break; case "us-east-1": regionInfo = { hostname: "translate.us-east-1.amazonaws.com", @@ -118,6 +150,18 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op signingRegion: "us-gov-west-1", }; break; + case "us-iso-east-1": + regionInfo = { + hostname: "translate.us-iso-east-1.c2s.ic.gov", + partition: "aws-iso", + }; + break; + case "us-west-1": + regionInfo = { + hostname: "translate.us-west-1.amazonaws.com", + partition: "aws", + }; + break; case "us-west-2": regionInfo = { hostname: "translate.us-west-2.amazonaws.com", diff --git a/clients/client-waf-regional/endpoints.ts b/clients/client-waf-regional/endpoints.ts index c66c6008346d7..c13bfe7e6a54c 100644 --- a/clients/client-waf-regional/endpoints.ts +++ b/clients/client-waf-regional/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "waf-regional.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,106 +39,298 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "af-south-1": + regionInfo = { + hostname: "waf-regional.af-south-1.amazonaws.com", + partition: "aws", + signingRegion: "af-south-1", + }; + break; + case "ap-east-1": + regionInfo = { + hostname: "waf-regional.ap-east-1.amazonaws.com", + partition: "aws", + signingRegion: "ap-east-1", + }; + break; case "ap-northeast-1": regionInfo = { hostname: "waf-regional.ap-northeast-1.amazonaws.com", partition: "aws", + signingRegion: "ap-northeast-1", }; break; case "ap-northeast-2": regionInfo = { hostname: "waf-regional.ap-northeast-2.amazonaws.com", partition: "aws", + signingRegion: "ap-northeast-2", }; break; case "ap-south-1": regionInfo = { hostname: "waf-regional.ap-south-1.amazonaws.com", partition: "aws", + signingRegion: "ap-south-1", }; break; case "ap-southeast-1": regionInfo = { hostname: "waf-regional.ap-southeast-1.amazonaws.com", partition: "aws", + signingRegion: "ap-southeast-1", }; break; case "ap-southeast-2": regionInfo = { hostname: "waf-regional.ap-southeast-2.amazonaws.com", partition: "aws", + signingRegion: "ap-southeast-2", }; break; case "ca-central-1": regionInfo = { hostname: "waf-regional.ca-central-1.amazonaws.com", partition: "aws", + signingRegion: "ca-central-1", }; break; case "eu-central-1": regionInfo = { hostname: "waf-regional.eu-central-1.amazonaws.com", partition: "aws", + signingRegion: "eu-central-1", }; break; case "eu-north-1": regionInfo = { hostname: "waf-regional.eu-north-1.amazonaws.com", partition: "aws", + signingRegion: "eu-north-1", + }; + break; + case "eu-south-1": + regionInfo = { + hostname: "waf-regional.eu-south-1.amazonaws.com", + partition: "aws", + signingRegion: "eu-south-1", }; break; case "eu-west-1": regionInfo = { hostname: "waf-regional.eu-west-1.amazonaws.com", partition: "aws", + signingRegion: "eu-west-1", }; break; case "eu-west-2": regionInfo = { hostname: "waf-regional.eu-west-2.amazonaws.com", partition: "aws", + signingRegion: "eu-west-2", }; break; case "eu-west-3": regionInfo = { hostname: "waf-regional.eu-west-3.amazonaws.com", partition: "aws", + signingRegion: "eu-west-3", + }; + break; + case "fips-af-south-1": + regionInfo = { + hostname: "waf-regional-fips.af-south-1.amazonaws.com", + partition: "aws", + signingRegion: "af-south-1", + }; + break; + case "fips-ap-east-1": + regionInfo = { + hostname: "waf-regional-fips.ap-east-1.amazonaws.com", + partition: "aws", + signingRegion: "ap-east-1", + }; + break; + case "fips-ap-northeast-1": + regionInfo = { + hostname: "waf-regional-fips.ap-northeast-1.amazonaws.com", + partition: "aws", + signingRegion: "ap-northeast-1", + }; + break; + case "fips-ap-northeast-2": + regionInfo = { + hostname: "waf-regional-fips.ap-northeast-2.amazonaws.com", + partition: "aws", + signingRegion: "ap-northeast-2", + }; + break; + case "fips-ap-south-1": + regionInfo = { + hostname: "waf-regional-fips.ap-south-1.amazonaws.com", + partition: "aws", + signingRegion: "ap-south-1", + }; + break; + case "fips-ap-southeast-1": + regionInfo = { + hostname: "waf-regional-fips.ap-southeast-1.amazonaws.com", + partition: "aws", + signingRegion: "ap-southeast-1", + }; + break; + case "fips-ap-southeast-2": + regionInfo = { + hostname: "waf-regional-fips.ap-southeast-2.amazonaws.com", + partition: "aws", + signingRegion: "ap-southeast-2", + }; + break; + case "fips-ca-central-1": + regionInfo = { + hostname: "waf-regional-fips.ca-central-1.amazonaws.com", + partition: "aws", + signingRegion: "ca-central-1", + }; + break; + case "fips-eu-central-1": + regionInfo = { + hostname: "waf-regional-fips.eu-central-1.amazonaws.com", + partition: "aws", + signingRegion: "eu-central-1", + }; + break; + case "fips-eu-north-1": + regionInfo = { + hostname: "waf-regional-fips.eu-north-1.amazonaws.com", + partition: "aws", + signingRegion: "eu-north-1", + }; + break; + case "fips-eu-south-1": + regionInfo = { + hostname: "waf-regional-fips.eu-south-1.amazonaws.com", + partition: "aws", + signingRegion: "eu-south-1", + }; + break; + case "fips-eu-west-1": + regionInfo = { + hostname: "waf-regional-fips.eu-west-1.amazonaws.com", + partition: "aws", + signingRegion: "eu-west-1", + }; + break; + case "fips-eu-west-2": + regionInfo = { + hostname: "waf-regional-fips.eu-west-2.amazonaws.com", + partition: "aws", + signingRegion: "eu-west-2", + }; + break; + case "fips-eu-west-3": + regionInfo = { + hostname: "waf-regional-fips.eu-west-3.amazonaws.com", + partition: "aws", + signingRegion: "eu-west-3", + }; + break; + case "fips-me-south-1": + regionInfo = { + hostname: "waf-regional-fips.me-south-1.amazonaws.com", + partition: "aws", + signingRegion: "me-south-1", + }; + break; + case "fips-sa-east-1": + regionInfo = { + hostname: "waf-regional-fips.sa-east-1.amazonaws.com", + partition: "aws", + signingRegion: "sa-east-1", + }; + break; + case "fips-us-east-1": + regionInfo = { + hostname: "waf-regional-fips.us-east-1.amazonaws.com", + partition: "aws", + signingRegion: "us-east-1", + }; + break; + case "fips-us-east-2": + regionInfo = { + hostname: "waf-regional-fips.us-east-2.amazonaws.com", + partition: "aws", + signingRegion: "us-east-2", + }; + break; + case "fips-us-gov-west-1": + regionInfo = { + hostname: "waf-regional-fips.us-gov-west-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-west-1", + }; + break; + case "fips-us-west-1": + regionInfo = { + hostname: "waf-regional-fips.us-west-1.amazonaws.com", + partition: "aws", + signingRegion: "us-west-1", + }; + break; + case "fips-us-west-2": + regionInfo = { + hostname: "waf-regional-fips.us-west-2.amazonaws.com", + partition: "aws", + signingRegion: "us-west-2", + }; + break; + case "me-south-1": + regionInfo = { + hostname: "waf-regional.me-south-1.amazonaws.com", + partition: "aws", + signingRegion: "me-south-1", }; break; case "sa-east-1": regionInfo = { hostname: "waf-regional.sa-east-1.amazonaws.com", partition: "aws", + signingRegion: "sa-east-1", }; break; case "us-east-1": regionInfo = { hostname: "waf-regional.us-east-1.amazonaws.com", partition: "aws", + signingRegion: "us-east-1", }; break; case "us-east-2": regionInfo = { hostname: "waf-regional.us-east-2.amazonaws.com", partition: "aws", + signingRegion: "us-east-2", }; break; case "us-gov-west-1": regionInfo = { hostname: "waf-regional.us-gov-west-1.amazonaws.com", partition: "aws-us-gov", + signingRegion: "us-gov-west-1", }; break; case "us-west-1": regionInfo = { hostname: "waf-regional.us-west-1.amazonaws.com", partition: "aws", + signingRegion: "us-west-1", }; break; case "us-west-2": regionInfo = { hostname: "waf-regional.us-west-2.amazonaws.com", partition: "aws", + signingRegion: "us-west-2", }; break; // Next, try to match partition endpoints. diff --git a/clients/client-waf/endpoints.ts b/clients/client-waf/endpoints.ts index fab594daddda6..f7fa10892d05d 100644 --- a/clients/client-waf/endpoints.ts +++ b/clients/client-waf/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "waf.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,13 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "aws-fips": + regionInfo = { + hostname: "waf-fips.amazonaws.com", + partition: "aws", + signingRegion: "us-east-1", + }; + break; case "aws-global": regionInfo = { hostname: "waf.amazonaws.com", diff --git a/clients/client-wafv2/endpoints.ts b/clients/client-wafv2/endpoints.ts index f81552611bb4c..4760208f10721 100644 --- a/clients/client-wafv2/endpoints.ts +++ b/clients/client-wafv2/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "wafv2.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-workdocs/endpoints.ts b/clients/client-workdocs/endpoints.ts index 5e22c25a0e4b0..0aa5cbccf4c80 100644 --- a/clients/client-workdocs/endpoints.ts +++ b/clients/client-workdocs/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "workdocs.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -61,6 +63,20 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "fips-us-east-1": + regionInfo = { + hostname: "workdocs-fips.us-east-1.amazonaws.com", + partition: "aws", + signingRegion: "us-east-1", + }; + break; + case "fips-us-west-2": + regionInfo = { + hostname: "workdocs-fips.us-west-2.amazonaws.com", + partition: "aws", + signingRegion: "us-west-2", + }; + break; case "us-east-1": regionInfo = { hostname: "workdocs.us-east-1.amazonaws.com", diff --git a/clients/client-worklink/endpoints.ts b/clients/client-worklink/endpoints.ts index 1dc3075c272c1..07673dd355258 100644 --- a/clients/client-worklink/endpoints.ts +++ b/clients/client-worklink/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "worklink.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-workmail/endpoints.ts b/clients/client-workmail/endpoints.ts index 4a964f06f57f6..adfcd7ffd7b01 100644 --- a/clients/client-workmail/endpoints.ts +++ b/clients/client-workmail/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "workmail.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-workmailmessageflow/endpoints.ts b/clients/client-workmailmessageflow/endpoints.ts index d385dca16c28e..2c11792dacf15 100644 --- a/clients/client-workmailmessageflow/endpoints.ts +++ b/clients/client-workmailmessageflow/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "workmailmessageflow.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/clients/client-workspaces/endpoints.ts b/clients/client-workspaces/endpoints.ts index 83c95fb266d88..b8cb7a25cc58e 100644 --- a/clients/client-workspaces/endpoints.ts +++ b/clients/client-workspaces/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "workspaces.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -91,6 +93,27 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "fips-us-east-1": + regionInfo = { + hostname: "workspaces-fips.us-east-1.amazonaws.com", + partition: "aws", + signingRegion: "us-east-1", + }; + break; + case "fips-us-gov-west-1": + regionInfo = { + hostname: "workspaces-fips.us-gov-west-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-west-1", + }; + break; + case "fips-us-west-2": + regionInfo = { + hostname: "workspaces-fips.us-west-2.amazonaws.com", + partition: "aws", + signingRegion: "us-west-2", + }; + break; case "sa-east-1": regionInfo = { hostname: "workspaces.sa-east-1.amazonaws.com", diff --git a/clients/client-xray/endpoints.ts b/clients/client-xray/endpoints.ts index 3cf9d417c10c8..6f5654a1df1b8 100644 --- a/clients/client-xray/endpoints.ts +++ b/clients/client-xray/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "xray.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", @@ -37,6 +39,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op let regionInfo: RegionInfo | undefined = undefined; switch (region) { // First, try to match exact region names. + case "af-south-1": + regionInfo = { + hostname: "xray.af-south-1.amazonaws.com", + partition: "aws", + }; + break; case "ap-east-1": regionInfo = { hostname: "xray.ap-east-1.amazonaws.com", @@ -79,6 +87,18 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "cn-north-1": + regionInfo = { + hostname: "xray.cn-north-1.amazonaws.com.cn", + partition: "aws-cn", + }; + break; + case "cn-northwest-1": + regionInfo = { + hostname: "xray.cn-northwest-1.amazonaws.com.cn", + partition: "aws-cn", + }; + break; case "eu-central-1": regionInfo = { hostname: "xray.eu-central-1.amazonaws.com", @@ -91,6 +111,12 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "eu-south-1": + regionInfo = { + hostname: "xray.eu-south-1.amazonaws.com", + partition: "aws", + }; + break; case "eu-west-1": regionInfo = { hostname: "xray.eu-west-1.amazonaws.com", @@ -109,6 +135,48 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "fips-us-east-1": + regionInfo = { + hostname: "xray-fips.us-east-1.amazonaws.com", + partition: "aws", + signingRegion: "us-east-1", + }; + break; + case "fips-us-east-2": + regionInfo = { + hostname: "xray-fips.us-east-2.amazonaws.com", + partition: "aws", + signingRegion: "us-east-2", + }; + break; + case "fips-us-gov-east-1": + regionInfo = { + hostname: "xray-fips.us-gov-east-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-east-1", + }; + break; + case "fips-us-gov-west-1": + regionInfo = { + hostname: "xray-fips.us-gov-west-1.amazonaws.com", + partition: "aws-us-gov", + signingRegion: "us-gov-west-1", + }; + break; + case "fips-us-west-1": + regionInfo = { + hostname: "xray-fips.us-west-1.amazonaws.com", + partition: "aws", + signingRegion: "us-west-1", + }; + break; + case "fips-us-west-2": + regionInfo = { + hostname: "xray-fips.us-west-2.amazonaws.com", + partition: "aws", + signingRegion: "us-west-2", + }; + break; case "me-south-1": regionInfo = { hostname: "xray.me-south-1.amazonaws.com", @@ -133,6 +201,18 @@ export const defaultRegionInfoProvider: RegionInfoProvider = (region: string, op partition: "aws", }; break; + case "us-gov-east-1": + regionInfo = { + hostname: "xray.us-gov-east-1.amazonaws.com", + partition: "aws-us-gov", + }; + break; + case "us-gov-west-1": + regionInfo = { + hostname: "xray.us-gov-west-1.amazonaws.com", + partition: "aws-us-gov", + }; + break; case "us-west-1": regionInfo = { hostname: "xray.us-west-1.amazonaws.com", diff --git a/protocol_tests/aws-ec2/endpoints.ts b/protocol_tests/aws-ec2/endpoints.ts index 509a5a9524cba..65beae614dd98 100644 --- a/protocol_tests/aws-ec2/endpoints.ts +++ b/protocol_tests/aws-ec2/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "awsec2.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/protocol_tests/aws-json/endpoints.ts b/protocol_tests/aws-json/endpoints.ts index 1ac90cceda68e..c4ea8ac55b8bf 100644 --- a/protocol_tests/aws-json/endpoints.ts +++ b/protocol_tests/aws-json/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "jsonprotocol.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/protocol_tests/aws-query/endpoints.ts b/protocol_tests/aws-query/endpoints.ts index ee2ab44b0840d..4dd71ffcbef3e 100644 --- a/protocol_tests/aws-query/endpoints.ts +++ b/protocol_tests/aws-query/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "awsquery.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/protocol_tests/aws-restjson/endpoints.ts b/protocol_tests/aws-restjson/endpoints.ts index 358a4793dff6f..8c19a81d00ba5 100644 --- a/protocol_tests/aws-restjson/endpoints.ts +++ b/protocol_tests/aws-restjson/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "restjson.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3", diff --git a/protocol_tests/aws-restxml/endpoints.ts b/protocol_tests/aws-restxml/endpoints.ts index 40b4f9a34bd19..e1419dae0c991 100644 --- a/protocol_tests/aws-restxml/endpoints.ts +++ b/protocol_tests/aws-restxml/endpoints.ts @@ -9,6 +9,7 @@ const AWS_US_GOV_TEMPLATE = "restxml.{region}.amazonaws.com"; // Partition regions const AWS_REGIONS = new Set([ + "af-south-1", "ap-east-1", "ap-northeast-1", "ap-northeast-2", @@ -18,6 +19,7 @@ const AWS_REGIONS = new Set([ "ca-central-1", "eu-central-1", "eu-north-1", + "eu-south-1", "eu-west-1", "eu-west-2", "eu-west-3",