From 56a21040cdab8509796f9e0feb4b73269d342012 Mon Sep 17 00:00:00 2001 From: AllanFly120 Date: Tue, 22 Dec 2020 01:13:07 +0000 Subject: [PATCH] fix(client-*): update endpoint provider * generate endpoint from the EndpointPrefix trait introduced in Smithy 1.5.0 * update all the endpoint.ts as of 2020/12/21 --- clients/client-accessanalyzer/endpoints.ts | 183 ++++++++++++++++ clients/client-acm-pca/endpoints.ts | 63 ++++++ clients/client-acm/endpoints.ts | 63 ++++++ .../client-alexa-for-business/endpoints.ts | 2 + clients/client-amplify/endpoints.ts | 2 + clients/client-amplifybackend/endpoints.ts | 2 + clients/client-api-gateway/endpoints.ts | 14 ++ .../endpoints.ts | 2 + clients/client-apigatewayv2/endpoints.ts | 14 ++ clients/client-app-mesh/endpoints.ts | 32 +++ clients/client-appconfig/endpoints.ts | 2 + clients/client-appflow/endpoints.ts | 92 ++++++++ clients/client-appintegrations/endpoints.ts | 44 ++++ .../endpoints.ts | 22 +- .../endpoints.ts | 32 +++ .../client-application-insights/endpoints.ts | 2 + clients/client-appstream/endpoints.ts | 9 + clients/client-appsync/endpoints.ts | 62 ++++++ clients/client-athena/endpoints.ts | 46 ++++ clients/client-auditmanager/endpoints.ts | 2 + .../client-auto-scaling-plans/endpoints.ts | 68 ++++++ clients/client-auto-scaling/endpoints.ts | 14 ++ clients/client-backup/endpoints.ts | 38 ++++ clients/client-batch/endpoints.ts | 62 ++++++ clients/client-braket/endpoints.ts | 2 + clients/client-budgets/endpoints.ts | 14 +- clients/client-chime/endpoints.ts | 4 +- clients/client-cloud9/endpoints.ts | 74 +++++++ clients/client-clouddirectory/endpoints.ts | 2 + clients/client-cloudformation/endpoints.ts | 44 ++++ clients/client-cloudfront/endpoints.ts | 2 + clients/client-cloudhsm-v2/endpoints.ts | 16 ++ clients/client-cloudhsm/endpoints.ts | 2 + .../client-cloudsearch-domain/endpoints.ts | 2 + clients/client-cloudsearch/endpoints.ts | 2 + clients/client-cloudtrail/endpoints.ts | 44 ++++ clients/client-cloudwatch-events/endpoints.ts | 44 ++++ clients/client-cloudwatch-logs/endpoints.ts | 44 ++++ clients/client-cloudwatch/endpoints.ts | 56 +++++ clients/client-codeartifact/endpoints.ts | 62 ++++++ clients/client-codebuild/endpoints.ts | 22 ++ clients/client-codecommit/endpoints.ts | 32 ++- clients/client-codedeploy/endpoints.ts | 20 ++ clients/client-codeguru-reviewer/endpoints.ts | 2 + clients/client-codeguruprofiler/endpoints.ts | 2 + clients/client-codepipeline/endpoints.ts | 50 +++++ .../client-codestar-connections/endpoints.ts | 98 +++++++++ .../endpoints.ts | 2 + clients/client-codestar/endpoints.ts | 8 + .../endpoints.ts | 60 ++++++ clients/client-cognito-identity/endpoints.ts | 60 ++++++ clients/client-cognito-sync/endpoints.ts | 2 + clients/client-comprehend/endpoints.ts | 54 +++++ clients/client-comprehendmedical/endpoints.ts | 36 ++++ clients/client-compute-optimizer/endpoints.ts | 2 + clients/client-config-service/endpoints.ts | 56 +++++ .../client-connect-contact-lens/endpoints.ts | 30 +-- clients/client-connect/endpoints.ts | 14 ++ .../client-connectparticipant/endpoints.ts | 2 + .../endpoints.ts | 8 + clients/client-cost-explorer/endpoints.ts | 14 +- clients/client-customer-profiles/endpoints.ts | 44 ++++ clients/client-data-pipeline/endpoints.ts | 2 + .../endpoints.ts | 21 ++ clients/client-databrew/endpoints.ts | 2 + clients/client-dataexchange/endpoints.ts | 2 + clients/client-datasync/endpoints.ts | 28 +++ clients/client-dax/endpoints.ts | 2 + clients/client-detective/endpoints.ts | 122 +++++++++++ clients/client-device-farm/endpoints.ts | 2 + clients/client-devops-guru/endpoints.ts | 2 + clients/client-direct-connect/endpoints.ts | 44 ++++ clients/client-directory-service/endpoints.ts | 75 +++++++ clients/client-dlm/endpoints.ts | 2 + clients/client-docdb/endpoints.ts | 63 ++++++ clients/client-dynamodb-streams/endpoints.ts | 2 + clients/client-dynamodb/endpoints.ts | 14 ++ clients/client-ebs/endpoints.ts | 181 ++++++++++++++++ .../client-ec2-instance-connect/endpoints.ts | 2 + clients/client-ec2/endpoints.ts | 51 +++++ clients/client-ecr-public/endpoints.ts | 12 +- clients/client-ecr/endpoints.ts | 107 ++++++++++ clients/client-ecs/endpoints.ts | 62 ++++++ clients/client-efs/endpoints.ts | 200 ++++++++++++++++++ clients/client-eks/endpoints.ts | 188 ++++++++++++++++ clients/client-elastic-beanstalk/endpoints.ts | 44 ++++ clients/client-elastic-inference/endpoints.ts | 38 ++++ .../endpoints.ts | 56 +++++ .../endpoints.ts | 56 +++++ .../client-elastic-transcoder/endpoints.ts | 2 + clients/client-elasticache/endpoints.ts | 16 +- .../client-elasticsearch-service/endpoints.ts | 26 +++ clients/client-emr-containers/endpoints.ts | 20 ++ clients/client-emr/endpoints.ts | 63 ++++++ clients/client-eventbridge/endpoints.ts | 44 ++++ clients/client-firehose/endpoints.ts | 56 +++++ clients/client-fms/endpoints.ts | 159 ++++++++++++++ clients/client-forecast/endpoints.ts | 26 +++ clients/client-forecastquery/endpoints.ts | 26 +++ clients/client-frauddetector/endpoints.ts | 2 + clients/client-fsx/endpoints.ts | 50 +++++ clients/client-gamelift/endpoints.ts | 2 + clients/client-glacier/endpoints.ts | 51 +++++ .../client-global-accelerator/endpoints.ts | 2 + clients/client-glue/endpoints.ts | 62 ++++++ clients/client-greengrass/endpoints.ts | 30 +++ clients/client-groundstation/endpoints.ts | 46 ++++ clients/client-guardduty/endpoints.ts | 34 +++ clients/client-health/endpoints.ts | 24 ++- clients/client-healthlake/endpoints.ts | 8 + clients/client-honeycode/endpoints.ts | 8 + clients/client-iam/endpoints.ts | 16 ++ clients/client-identitystore/endpoints.ts | 80 +++++++ clients/client-imagebuilder/endpoints.ts | 2 + clients/client-inspector/endpoints.ts | 44 ++++ .../endpoints.ts | 2 + .../client-iot-1click-projects/endpoints.ts | 2 + clients/client-iot-data-plane/endpoints.ts | 9 + clients/client-iot-events-data/endpoints.ts | 2 + clients/client-iot-events/endpoints.ts | 8 + .../client-iot-jobs-data-plane/endpoints.ts | 2 + clients/client-iot/endpoints.ts | 9 + clients/client-iotanalytics/endpoints.ts | 14 ++ .../client-iotsecuretunneling/endpoints.ts | 2 + clients/client-iotsitewise/endpoints.ts | 2 + clients/client-iotthingsgraph/endpoints.ts | 2 + clients/client-ivs/endpoints.ts | 2 + clients/client-kafka/endpoints.ts | 38 ++++ clients/client-kendra/endpoints.ts | 2 + .../client-kinesis-analytics-v2/endpoints.ts | 62 ++++++ clients/client-kinesis-analytics/endpoints.ts | 62 ++++++ .../endpoints.ts | 56 +++++ .../client-kinesis-video-media/endpoints.ts | 56 +++++ .../endpoints.ts | 56 +++++ clients/client-kinesis-video/endpoints.ts | 56 +++++ clients/client-kinesis/endpoints.ts | 44 ++++ clients/client-kms/endpoints.ts | 14 ++ clients/client-lakeformation/endpoints.ts | 73 +++++++ clients/client-lambda/endpoints.ts | 62 ++++++ .../endpoints.ts | 37 ++++ .../client-lex-runtime-service/endpoints.ts | 37 ++++ clients/client-license-manager/endpoints.ts | 62 ++++++ clients/client-lightsail/endpoints.ts | 2 + clients/client-lookoutvision/endpoints.ts | 44 ++++ clients/client-machine-learning/endpoints.ts | 2 + clients/client-macie/endpoints.ts | 28 +++ clients/client-macie2/endpoints.ts | 132 ++++++++++++ clients/client-managedblockchain/endpoints.ts | 38 ++++ .../client-marketplace-catalog/endpoints.ts | 2 + .../endpoints.ts | 2 + .../endpoints.ts | 2 + .../client-marketplace-metering/endpoints.ts | 16 ++ clients/client-mediaconnect/endpoints.ts | 8 + clients/client-mediaconvert/endpoints.ts | 44 ++++ clients/client-medialive/endpoints.ts | 23 ++ clients/client-mediapackage-vod/endpoints.ts | 2 + clients/client-mediapackage/endpoints.ts | 8 + clients/client-mediastore-data/endpoints.ts | 8 + clients/client-mediastore/endpoints.ts | 8 + clients/client-mediatailor/endpoints.ts | 2 + clients/client-migration-hub/endpoints.ts | 32 +++ .../client-migrationhub-config/endpoints.ts | 2 + clients/client-mobile/endpoints.ts | 2 + clients/client-mq/endpoints.ts | 32 +++ clients/client-mturk/endpoints.ts | 2 + clients/client-neptune/endpoints.ts | 63 ++++++ clients/client-network-firewall/endpoints.ts | 2 + clients/client-networkmanager/endpoints.ts | 2 + clients/client-opsworks/endpoints.ts | 2 + clients/client-opsworkscm/endpoints.ts | 2 + clients/client-organizations/endpoints.ts | 28 ++- clients/client-outposts/endpoints.ts | 171 +++++++++++++++ .../client-personalize-events/endpoints.ts | 2 + .../client-personalize-runtime/endpoints.ts | 2 + clients/client-personalize/endpoints.ts | 2 + clients/client-pi/endpoints.ts | 2 + clients/client-pinpoint-email/endpoints.ts | 15 ++ .../client-pinpoint-sms-voice/endpoints.ts | 2 + clients/client-pinpoint/endpoints.ts | 70 +++++- clients/client-polly/endpoints.ts | 49 +++++ clients/client-pricing/endpoints.ts | 2 + clients/client-qldb-session/endpoints.ts | 2 + clients/client-qldb/endpoints.ts | 2 + clients/client-quicksight/endpoints.ts | 2 + clients/client-ram/endpoints.ts | 38 ++++ clients/client-rds-data/endpoints.ts | 2 + clients/client-rds/endpoints.ts | 63 ++++++ clients/client-redshift-data/endpoints.ts | 2 + clients/client-redshift/endpoints.ts | 51 +++++ clients/client-rekognition/endpoints.ts | 50 +++++ .../endpoints.ts | 14 ++ clients/client-resource-groups/endpoints.ts | 26 +++ clients/client-robomaker/endpoints.ts | 2 + clients/client-route-53-domains/endpoints.ts | 2 + clients/client-route-53/endpoints.ts | 28 ++- clients/client-route53resolver/endpoints.ts | 38 ++++ clients/client-s3-control/endpoints.ts | 9 + clients/client-s3/endpoints.ts | 25 ++- clients/client-s3outposts/endpoints.ts | 2 + .../client-sagemaker-a2i-runtime/endpoints.ts | 2 + clients/client-sagemaker-edge/endpoints.ts | 12 +- .../endpoints.ts | 12 +- clients/client-sagemaker-runtime/endpoints.ts | 26 +++ clients/client-sagemaker/endpoints.ts | 40 ++++ clients/client-savingsplans/endpoints.ts | 2 + clients/client-schemas/endpoints.ts | 104 +++++++++ clients/client-secrets-manager/endpoints.ts | 26 +++ clients/client-securityhub/endpoints.ts | 80 +++++++ .../endpoints.ts | 16 ++ .../endpoints.ts | 149 +------------ clients/client-service-catalog/endpoints.ts | 39 ++++ clients/client-service-quotas/endpoints.ts | 122 +++++++++++ clients/client-servicediscovery/endpoints.ts | 33 +++ clients/client-ses/endpoints.ts | 15 ++ clients/client-sesv2/endpoints.ts | 15 ++ clients/client-sfn/endpoints.ts | 56 +++++ clients/client-shield/endpoints.ts | 22 +- clients/client-signer/endpoints.ts | 2 + clients/client-sms/endpoints.ts | 56 +++++ clients/client-snowball/endpoints.ts | 172 +++++++++++++++ clients/client-sns/endpoints.ts | 44 ++++ clients/client-sqs/endpoints.ts | 16 ++ clients/client-ssm/endpoints.ts | 69 ++++++ clients/client-sso-admin/endpoints.ts | 2 + clients/client-sso-oidc/endpoints.ts | 30 +++ clients/client-sso/endpoints.ts | 2 + clients/client-storage-gateway/endpoints.ts | 33 +++ clients/client-sts/endpoints.ts | 28 +++ clients/client-support/endpoints.ts | 16 ++ clients/client-swf/endpoints.ts | 44 ++++ clients/client-synthetics/endpoints.ts | 2 + clients/client-textract/endpoints.ts | 2 + clients/client-timestream-query/endpoints.ts | 2 + clients/client-timestream-write/endpoints.ts | 2 + .../client-transcribe-streaming/endpoints.ts | 38 ++++ clients/client-transcribe/endpoints.ts | 56 +++++ clients/client-transfer/endpoints.ts | 63 ++++++ clients/client-translate/endpoints.ts | 44 ++++ clients/client-waf-regional/endpoints.ts | 194 +++++++++++++++++ clients/client-waf/endpoints.ts | 9 + clients/client-wafv2/endpoints.ts | 2 + clients/client-workdocs/endpoints.ts | 16 ++ clients/client-worklink/endpoints.ts | 2 + clients/client-workmail/endpoints.ts | 2 + .../client-workmailmessageflow/endpoints.ts | 2 + clients/client-workspaces/endpoints.ts | 23 ++ clients/client-xray/endpoints.ts | 80 +++++++ protocol_tests/aws-ec2/endpoints.ts | 2 + protocol_tests/aws-json/endpoints.ts | 2 + protocol_tests/aws-query/endpoints.ts | 2 + protocol_tests/aws-restjson/endpoints.ts | 2 + protocol_tests/aws-restxml/endpoints.ts | 2 + 252 files changed, 7786 insertions(+), 219 deletions(-) diff --git a/clients/client-accessanalyzer/endpoints.ts b/clients/client-accessanalyzer/endpoints.ts index 825c9891f7a6..cc26ed43c26f 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 3011bc076a90..e7e192b75809 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 f05a0e0c3775..9d218f5c135e 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 c632613de12c..db80a5b134fc 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 c1a5c1825752..063abc88e9ff 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 400a280d379e..0c1709f328db 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 303cd938b8c7..161fe11539ba 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 e3620987a1f5..f87da821408b 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 303cd938b8c7..161fe11539ba 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 c3a395d97d48..49be753be0f7 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 d58225f59a39..e6dfdd409b66 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 085eeb2130e3..1f8be01fd7e2 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 0fdbaa5c9371..150b425933d0 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 53df6a865798..8f7c5f8af6c9 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 7e3abf621edc..d5e1dad50e76 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 c86bdd545e0f..c576adc98001 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 31677226198e..297e7ed9ce28 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 6749e50eecaa..0af34c9d9566 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 e6ca08e81bd5..427cabe0b85d 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 ccc366f92834..446937784183 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 03ea4bb46261..f92ed0496cc8 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 68c609b215de..36e34d872a84 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 c053fd431be8..b0110b59841d 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 90ed087eb438..f6f8ee6c39fa 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 586d8a61cc0e..8b1a2fcf9f05 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 0e64d77533f5..fa6091c0abfe 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 1d95c403e468..e532cf532d99 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 f4e3c9c3ee79..49e85ba4a5e3 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 2cf880df4959..e14cefc2e98d 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 69a72ecf4c87..cb8a88202394 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 c4d2212af67f..3d61b4531c0e 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 3b51b3fe814c..0bb710b86805 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 0027fd1e16cd..b61057b23faf 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 3f5633345028..09c98c440205 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 fd5187597bae..be9d0afaeff0 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 5e2d6f9a09cd..fce144081e9f 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 c71ae4280a01..53b67173279d 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 99ac4f36beb0..9af107ae7358 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 d45e943569e4..4f4b1eee669f 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 e012b91f2988..9d06e5221f0c 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 d842fcb6cf42..8417fd30ac54 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 f7dc12a4a93c..908aac7157b6 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 e6e720131092..c39401df60d3 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 833be3d850d5..95cf5cad246c 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 c4df2a60bef6..e49cb0e9acb2 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 a5dfa5064bb5..6620c43e35ec 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 cf33939d846a..37c4448ed8cd 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 26fa629817f9..eca4b8e2b675 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 9e8da9c81dfd..44c785e07c91 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 8f924ec3b52b..0e699e37e4e3 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 37313338d91a..0c91acf85794 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 a7315c0bfbd0..1737a8ab110a 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 39cc070808f5..4e7da84e18a1 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 f94f8e89fe89..eadee941afe3 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 9ae502cef423..7d1807fd2fc4 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 d2184e4b6013..641642cbc0b9 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 0f8184b6cbb0..16eb8b6293b2 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 0f8184b6cbb0..97291d3845b1 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 d552edb35dbf..be1233227469 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 c644a90b8a17..b88070d379df 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 9274f9ac2b69..0081e4454933 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 ceae0d602115..39be89ae2319 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 2a99f1243343..ae682821cde0 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 1ab2378973e7..ab45a0d97014 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 d980aa117b39..ac0b7bf28fe1 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 0a6485403660..c58c0c1e8853 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 513a034819ed..82266a32bd58 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 f0774271d411..c6da5a4167b1 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 a20c6c1e6683..30a3a09400d0 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 526e491e412b..f05d0ac87eb3 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 e96cdb44c5be..22b51eaea4f5 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 e5295d837db9..38c4e0910b8b 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 e0b7e409fa2b..69e28a88ba0d 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 402d890bbc51..bf73ac0ca91c 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 4d7d64bab72e..3be5c3bec9a5 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 cf54b6dca8b1..6f2e5dbbdca9 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 621aa66bc30a..ac8a7573f654 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 b02eb3e3e07e..f2cb07f8d4ad 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 04417cd93014..8803490fdcaa 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 f585a43ad024..8993605b37f8 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 908f5e7f2df0..178a1e749796 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 d50b46b36e5c..a3eec9f1e15b 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 e54390e890fb..26e0afb61175 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 3c60949db0fe..ff89216ac0a2 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 6b5c7ba732f4..b8a0edc9c772 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 24c1fe1c0632..5ad5a610d411 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 09b03abbb797..97ec01f92291 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 57eecb0c4a15..07bd90b41208 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 57eecb0c4a15..07bd90b41208 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 168d7f4ff950..5f24b3f306d9 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 9d5d2dc54b14..84e688b01ca1 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 a9af3f01aa62..77b5e21636e7 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 605b773dde84..d6c78c10bf88 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 e5fe5e88533d..2d2d608d77ba 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 c71ae4280a01..53b67173279d 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 b7b90c2a03b4..df5db80da7d8 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 b7e3ee5b6f57..09b60582a6bd 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 c495986bafa7..8dca06e5a085 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 b966669aa0f4..e493e5ff8aeb 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 eaa2f85d3ab9..e1f02de82dcd 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 11faa00ad17b..0b96ba55fab1 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 b2d2189fa4b4..70fe38dd919b 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 029f3e2ac81f..597bb6753a80 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 9b5b53884705..d533a1161187 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 815e3bb9b836..148a57041006 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 7d8eba88f153..5ed5b66615ea 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 256b11eb697d..aec9940b8c41 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 a571a2eca3b8..c5e21ee6f134 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 61d64e6c0191..11ed440f8b3c 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 f150874f1f9c..2e6d31c3804f 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 8d023ca1b9da..96237119c843 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 454bc769bf8e..929bc800f57b 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 3ae95ef0debb..b13388995832 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 0bbe896e0f25..5ad81abaf5dc 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 50200fde5476..fa288df8f8b3 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 689f52e69033..4ecb7675c54d 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 29e7bec2610e..9b0486d35bce 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 dd5b88dd4539..a3f3c617a662 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 610cd9cb0df6..41a86acd2419 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 5a26fdf87d78..171e49e930e3 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 1e643d1968a6..3ce400794ffa 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 1f0a05a0f265..014e538799e6 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 41e35978a6a7..c1633a474a7c 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 6715edc5dedb..d756a220861c 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 3ca5a412775d..3ae68d204e58 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 d977ed52a2e0..c2c894adb3ee 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 e30ffbb59c85..1aeb0d34b60b 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 79fe9b171b25..f87bd61d3823 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 d3fd6ca85456..9dcd7f27bf9d 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 653a4293252a..b1131a0c4cd3 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 653a4293252a..b1131a0c4cd3 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 a025ec0c2811..ff6d7c30ffe8 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 a025ec0c2811..ff6d7c30ffe8 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 a025ec0c2811..ff6d7c30ffe8 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 a025ec0c2811..ff6d7c30ffe8 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 97608391587d..49bac9250515 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 020fa2cf98c9..b3217f649305 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 8965178b39c3..9b7506a8d43f 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 f82ea446cb4c..74f8903ba758 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 67e33b434adf..36f881fe9b0b 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 46f6062c9fcc..b8a3cd1410e4 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 68d4ab9027d4..8d2bedaa0517 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 c31709bca81e..4b27755800b3 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 3ab9b594f6cd..23c7fb6e3ed6 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 13556ced68fb..1f9eedede1a2 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 af567fb10d41..0219d5af063a 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 61cb395e7852..cd55db2a2985 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 7a41ab2ac2ff..f2fb09d02da8 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 c4791138187b..7702dc238274 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 51128bcfcb0a..aad5f5ff860e 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 6232c1c4afce..fe12083e4e19 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 b57eab82d6c5..d1be0dc77fc1 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 a8a6a5aad477..3bab99c503ec 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 3ee5828aa289..656a73d038d3 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 e548cb2e9260..3b9dd06956bb 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 643ed2e06b23..d588b058bbec 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 434e1055330b..3b5347217f0a 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 29c405540664..501fb368cd3e 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 fb5445b1931a..7dfcd5317cb4 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 884b39003310..3efcdebdf7b7 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 535f64319723..2037c45eaf97 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 19b5f1a7c5f3..ce370b36af33 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 ee1abb177980..e8c11fcf56ea 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 d07b1e4633d1..75260ee0d2c1 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 f6cf1edbe1d3..8f8fcea12144 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 4d7d64bab72e..3be5c3bec9a5 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 1d25247fcc59..e52c34420bca 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 fb1a64ad9a7a..0cef7f20179e 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 51dbc87c18fc..983de6f7e482 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 a7e173e75e86..b997d0a8dc29 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 aa6d2d4d0055..4c02ab4a2ff0 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 742ce73b47dc..50ed68d60d32 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 68fc7ed3b5a6..ea6b81d08b9b 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 f18ab1830e6a..373b9bf70fe3 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 989a1dca46af..386bfd3ede4c 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 ae277c67e161..98ac57873c57 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 97fef8f3bb2d..eaea44a90b13 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 b4e0de1af506..12d3ce06ea62 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 2a077392b3ea..71e0ad314169 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 a3e7d7db9af8..b07f75d373e7 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 514f5dce5273..2aab41e1638d 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 fa6080e15f68..a4e3cf892b38 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 60f6a17cd41b..bcc80e1a6a0f 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 6ed9be6a896a..4142fdff72cd 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 c43d7d9d2c10..fd3be711b397 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 a2d94f1ecae4..daaa229255ee 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 4d7d64bab72e..3be5c3bec9a5 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 8ddca5ba1ea6..54e3d24aa75e 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 a1e5b12ef9b7..8cd276d3e562 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 a6d75e9c4923..4e9e3225c1a4 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 8753d55861aa..bc6aeccb4b82 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 0f0c121c4b03..ced778e6c509 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 37bd570bdbac..026a51375a7d 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 13d146f560b3..d07e9cf46048 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 7eefece33de4..0792a4b3b20d 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 566f21c60e1c..0107e3bedfa3 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 ee1d7877a467..4c76000d047a 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 64320fae1c75..ea65d1418e16 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 c76156f92a87..2bbb3eda56b7 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 21874aece4c9..a4e379d75697 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 0bc6905e07ee..7224c841b2db 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 0bc6905e07ee..6b4044935ba1 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 9af83307d56f..8ca299f63a6b 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 85d61b1099f8..3dbb3ec18802 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 27542e68b7cb..fd47111c9b83 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 a4d7b51b42a3..de6309dd3e94 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 a02d906421ab..cc7adee1309b 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 36321dc0852a..8593cf215ab7 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 2d1298dcf0f0..b98e7e8887b1 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 e18e7e94f102..8257d82380d9 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 e18e7e94f102..f285e4c7dc05 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 a9086712a561..cb0111f14290 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 64114cd47308..a2ac41be2745 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 97fef8f3bb2d..eaea44a90b13 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 97fef8f3bb2d..eaea44a90b13 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 90b3fa15fe1b..e81ae563d0a6 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 3baa5c9ceb73..6d50ad86b78c 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 57f0aebadc14..8b677015559b 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 4cc32cc0e011..3b58c2185256 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 e75e9139dd7f..198642f35d7e 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 0a5cfd76cba5..14a143c86754 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 b1cca9659c9d..29c662c1b599 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 01f9816b9d1a..e5e40d8dc50d 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 69b49b7cefe9..ace9f303db8d 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 abc3204735da..05c8ec0dd970 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 799eba180f11..5a1ac7f4f3ae 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 5f77da870910..f6d00da50982 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 a7e267a632e1..cb630fe4ca4a 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 652fdd8dbef3..875f003c2dc8 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 9f70687341e8..3e3788ed5bb7 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 698060a2b3af..c98eea5d82a3 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 e6fccd2fed8d..60edd83c1e33 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 570d4c0f69bc..ee3ea6768b7b 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 50cd02796fc0..0ac3a9d654a3 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 3151bc9a52e7..9c518c268f87 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 29547484e296..a4086d25b99a 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 65c7a58db805..7375a4e61175 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 87b29ad6177d..e906156264d3 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 c66c6008346d..c13bfe7e6a54 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 fab594daddda..f7fa10892d05 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 f81552611bb4..4760208f1072 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 5e22c25a0e4b..0aa5cbccf4c8 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 1dc3075c272c..07673dd35525 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 4a964f06f57f..adfcd7ffd7b0 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 d385dca16c28..2c11792dacf1 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 83c95fb266d8..b8cb7a25cc58 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 3cf9d417c10c..6f5654a1df1b 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 509a5a9524cb..65beae614dd9 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 1ac90cceda68..c4ea8ac55b8b 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 ee2ab44b0840..4dd71ffcbef3 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 358a4793dff6..8c19a81d00ba 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 40b4f9a34bd1..e1419dae0c99 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",