From 99be092fded13bb00802549e17dbdb6d760a8679 Mon Sep 17 00:00:00 2001 From: AllanZhengYP Date: Thu, 14 Jan 2021 10:54:18 -0800 Subject: [PATCH] fix(url-parser): merge browser and node url parser, add rn url parser (#1903) * feat(url-parser-native): add rn specific url parser * feat(url-parser): deprecate url-parser-node and url-parser-browser Given both browsers and Node10 support global WHATWG URL(), so merge them to the same package. --- clients/client-accessanalyzer/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../client-accessanalyzer/runtimeConfig.ts | 2 - clients/client-acm-pca/package.json | 4 +- .../client-acm-pca/runtimeConfig.browser.ts | 2 - .../client-acm-pca/runtimeConfig.native.ts | 2 +- .../client-acm-pca/runtimeConfig.shared.ts | 2 + clients/client-acm-pca/runtimeConfig.ts | 2 - clients/client-acm/package.json | 4 +- clients/client-acm/runtimeConfig.browser.ts | 2 - clients/client-acm/runtimeConfig.native.ts | 2 +- clients/client-acm/runtimeConfig.shared.ts | 2 + clients/client-acm/runtimeConfig.ts | 2 - .../client-alexa-for-business/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../runtimeConfig.ts | 2 - clients/client-amplify/package.json | 4 +- .../client-amplify/runtimeConfig.browser.ts | 2 - .../client-amplify/runtimeConfig.native.ts | 2 +- .../client-amplify/runtimeConfig.shared.ts | 2 + clients/client-amplify/runtimeConfig.ts | 2 - clients/client-amplifybackend/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../client-amplifybackend/runtimeConfig.ts | 2 - clients/client-api-gateway/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + clients/client-api-gateway/runtimeConfig.ts | 2 - .../package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../runtimeConfig.ts | 2 - clients/client-apigatewayv2/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + clients/client-apigatewayv2/runtimeConfig.ts | 2 - clients/client-app-mesh/package.json | 4 +- .../client-app-mesh/runtimeConfig.browser.ts | 2 - .../client-app-mesh/runtimeConfig.native.ts | 2 +- .../client-app-mesh/runtimeConfig.shared.ts | 2 + clients/client-app-mesh/runtimeConfig.ts | 2 - clients/client-appconfig/package.json | 4 +- .../client-appconfig/runtimeConfig.browser.ts | 2 - .../client-appconfig/runtimeConfig.native.ts | 2 +- .../client-appconfig/runtimeConfig.shared.ts | 2 + clients/client-appconfig/runtimeConfig.ts | 2 - clients/client-appflow/package.json | 4 +- .../client-appflow/runtimeConfig.browser.ts | 2 - .../client-appflow/runtimeConfig.native.ts | 2 +- .../client-appflow/runtimeConfig.shared.ts | 2 + clients/client-appflow/runtimeConfig.ts | 2 - clients/client-appintegrations/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../client-appintegrations/runtimeConfig.ts | 2 - .../package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../runtimeConfig.ts | 2 - .../package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../runtimeConfig.ts | 2 - .../client-application-insights/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../runtimeConfig.ts | 2 - clients/client-appstream/package.json | 4 +- .../client-appstream/runtimeConfig.browser.ts | 2 - .../client-appstream/runtimeConfig.native.ts | 2 +- .../client-appstream/runtimeConfig.shared.ts | 2 + clients/client-appstream/runtimeConfig.ts | 2 - clients/client-appsync/package.json | 4 +- .../client-appsync/runtimeConfig.browser.ts | 2 - .../client-appsync/runtimeConfig.native.ts | 2 +- .../client-appsync/runtimeConfig.shared.ts | 2 + clients/client-appsync/runtimeConfig.ts | 2 - clients/client-athena/package.json | 4 +- .../client-athena/runtimeConfig.browser.ts | 2 - clients/client-athena/runtimeConfig.native.ts | 2 +- clients/client-athena/runtimeConfig.shared.ts | 2 + clients/client-athena/runtimeConfig.ts | 2 - clients/client-auditmanager/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + clients/client-auditmanager/runtimeConfig.ts | 2 - .../client-auto-scaling-plans/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../runtimeConfig.ts | 2 - clients/client-auto-scaling/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + clients/client-auto-scaling/runtimeConfig.ts | 2 - clients/client-backup/package.json | 4 +- .../client-backup/runtimeConfig.browser.ts | 2 - clients/client-backup/runtimeConfig.native.ts | 2 +- clients/client-backup/runtimeConfig.shared.ts | 2 + clients/client-backup/runtimeConfig.ts | 2 - clients/client-batch/package.json | 4 +- clients/client-batch/runtimeConfig.browser.ts | 2 - clients/client-batch/runtimeConfig.native.ts | 2 +- clients/client-batch/runtimeConfig.shared.ts | 2 + clients/client-batch/runtimeConfig.ts | 2 - clients/client-braket/package.json | 4 +- .../client-braket/runtimeConfig.browser.ts | 2 - clients/client-braket/runtimeConfig.native.ts | 2 +- clients/client-braket/runtimeConfig.shared.ts | 2 + clients/client-braket/runtimeConfig.ts | 2 - clients/client-budgets/package.json | 4 +- .../client-budgets/runtimeConfig.browser.ts | 2 - .../client-budgets/runtimeConfig.native.ts | 2 +- .../client-budgets/runtimeConfig.shared.ts | 2 + clients/client-budgets/runtimeConfig.ts | 2 - clients/client-chime/package.json | 4 +- clients/client-chime/runtimeConfig.browser.ts | 2 - clients/client-chime/runtimeConfig.native.ts | 2 +- clients/client-chime/runtimeConfig.shared.ts | 2 + clients/client-chime/runtimeConfig.ts | 2 - clients/client-cloud9/package.json | 4 +- .../client-cloud9/runtimeConfig.browser.ts | 2 - clients/client-cloud9/runtimeConfig.native.ts | 2 +- clients/client-cloud9/runtimeConfig.shared.ts | 2 + clients/client-cloud9/runtimeConfig.ts | 2 - clients/client-clouddirectory/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../client-clouddirectory/runtimeConfig.ts | 2 - clients/client-cloudformation/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../client-cloudformation/runtimeConfig.ts | 2 - clients/client-cloudfront/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../client-cloudfront/runtimeConfig.native.ts | 2 +- .../client-cloudfront/runtimeConfig.shared.ts | 2 + clients/client-cloudfront/runtimeConfig.ts | 2 - clients/client-cloudhsm-v2/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + clients/client-cloudhsm-v2/runtimeConfig.ts | 2 - clients/client-cloudhsm/package.json | 4 +- .../client-cloudhsm/runtimeConfig.browser.ts | 2 - .../client-cloudhsm/runtimeConfig.native.ts | 2 +- .../client-cloudhsm/runtimeConfig.shared.ts | 2 + clients/client-cloudhsm/runtimeConfig.ts | 2 - .../client-cloudsearch-domain/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../runtimeConfig.ts | 2 - clients/client-cloudsearch/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + clients/client-cloudsearch/runtimeConfig.ts | 2 - clients/client-cloudtrail/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../client-cloudtrail/runtimeConfig.native.ts | 2 +- .../client-cloudtrail/runtimeConfig.shared.ts | 2 + clients/client-cloudtrail/runtimeConfig.ts | 2 - clients/client-cloudwatch-events/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../client-cloudwatch-events/runtimeConfig.ts | 2 - clients/client-cloudwatch-logs/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../client-cloudwatch-logs/runtimeConfig.ts | 2 - clients/client-cloudwatch/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../client-cloudwatch/runtimeConfig.native.ts | 2 +- .../client-cloudwatch/runtimeConfig.shared.ts | 2 + clients/client-cloudwatch/runtimeConfig.ts | 2 - clients/client-codeartifact/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + clients/client-codeartifact/runtimeConfig.ts | 2 - clients/client-codebuild/package.json | 4 +- .../client-codebuild/runtimeConfig.browser.ts | 2 - .../client-codebuild/runtimeConfig.native.ts | 2 +- .../client-codebuild/runtimeConfig.shared.ts | 2 + clients/client-codebuild/runtimeConfig.ts | 2 - clients/client-codecommit/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../client-codecommit/runtimeConfig.native.ts | 2 +- .../client-codecommit/runtimeConfig.shared.ts | 2 + clients/client-codecommit/runtimeConfig.ts | 2 - clients/client-codedeploy/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../client-codedeploy/runtimeConfig.native.ts | 2 +- .../client-codedeploy/runtimeConfig.shared.ts | 2 + clients/client-codedeploy/runtimeConfig.ts | 2 - clients/client-codeguru-reviewer/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../client-codeguru-reviewer/runtimeConfig.ts | 2 - clients/client-codeguruprofiler/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../client-codeguruprofiler/runtimeConfig.ts | 2 - clients/client-codepipeline/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + clients/client-codepipeline/runtimeConfig.ts | 2 - .../client-codestar-connections/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../runtimeConfig.ts | 2 - .../package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../runtimeConfig.ts | 2 - clients/client-codestar/package.json | 4 +- .../client-codestar/runtimeConfig.browser.ts | 2 - .../client-codestar/runtimeConfig.native.ts | 2 +- .../client-codestar/runtimeConfig.shared.ts | 2 + clients/client-codestar/runtimeConfig.ts | 2 - .../package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../runtimeConfig.ts | 2 - clients/client-cognito-identity/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../client-cognito-identity/runtimeConfig.ts | 2 - clients/client-cognito-sync/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + clients/client-cognito-sync/runtimeConfig.ts | 2 - clients/client-comprehend/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../client-comprehend/runtimeConfig.native.ts | 2 +- .../client-comprehend/runtimeConfig.shared.ts | 2 + clients/client-comprehend/runtimeConfig.ts | 2 - clients/client-comprehendmedical/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../client-comprehendmedical/runtimeConfig.ts | 2 - clients/client-compute-optimizer/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../client-compute-optimizer/runtimeConfig.ts | 2 - clients/client-config-service/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../client-config-service/runtimeConfig.ts | 2 - .../client-connect-contact-lens/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../runtimeConfig.ts | 2 - clients/client-connect/package.json | 4 +- .../client-connect/runtimeConfig.browser.ts | 2 - .../client-connect/runtimeConfig.native.ts | 2 +- .../client-connect/runtimeConfig.shared.ts | 2 + clients/client-connect/runtimeConfig.ts | 2 - .../client-connectparticipant/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../runtimeConfig.ts | 2 - .../package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../runtimeConfig.ts | 2 - clients/client-cost-explorer/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + clients/client-cost-explorer/runtimeConfig.ts | 2 - clients/client-customer-profiles/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../client-customer-profiles/runtimeConfig.ts | 2 - clients/client-data-pipeline/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + clients/client-data-pipeline/runtimeConfig.ts | 2 - .../package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../runtimeConfig.ts | 2 - clients/client-databrew/package.json | 4 +- .../client-databrew/runtimeConfig.browser.ts | 2 - .../client-databrew/runtimeConfig.native.ts | 2 +- .../client-databrew/runtimeConfig.shared.ts | 2 + clients/client-databrew/runtimeConfig.ts | 2 - clients/client-dataexchange/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + clients/client-dataexchange/runtimeConfig.ts | 2 - clients/client-datasync/package.json | 4 +- .../client-datasync/runtimeConfig.browser.ts | 2 - .../client-datasync/runtimeConfig.native.ts | 2 +- .../client-datasync/runtimeConfig.shared.ts | 2 + clients/client-datasync/runtimeConfig.ts | 2 - clients/client-dax/package.json | 4 +- clients/client-dax/runtimeConfig.browser.ts | 2 - clients/client-dax/runtimeConfig.native.ts | 2 +- clients/client-dax/runtimeConfig.shared.ts | 2 + clients/client-dax/runtimeConfig.ts | 2 - clients/client-detective/package.json | 4 +- .../client-detective/runtimeConfig.browser.ts | 2 - .../client-detective/runtimeConfig.native.ts | 2 +- .../client-detective/runtimeConfig.shared.ts | 2 + clients/client-detective/runtimeConfig.ts | 2 - clients/client-device-farm/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + clients/client-device-farm/runtimeConfig.ts | 2 - clients/client-devops-guru/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + clients/client-devops-guru/runtimeConfig.ts | 2 - clients/client-direct-connect/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../client-direct-connect/runtimeConfig.ts | 2 - clients/client-directory-service/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../client-directory-service/runtimeConfig.ts | 2 - clients/client-dlm/package.json | 4 +- clients/client-dlm/runtimeConfig.browser.ts | 2 - clients/client-dlm/runtimeConfig.native.ts | 2 +- clients/client-dlm/runtimeConfig.shared.ts | 2 + clients/client-dlm/runtimeConfig.ts | 2 - clients/client-docdb/package.json | 4 +- clients/client-docdb/runtimeConfig.browser.ts | 2 - clients/client-docdb/runtimeConfig.native.ts | 2 +- clients/client-docdb/runtimeConfig.shared.ts | 2 + clients/client-docdb/runtimeConfig.ts | 2 - clients/client-dynamodb-streams/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../client-dynamodb-streams/runtimeConfig.ts | 2 - clients/client-dynamodb/package.json | 4 +- .../client-dynamodb/runtimeConfig.browser.ts | 2 - .../client-dynamodb/runtimeConfig.native.ts | 2 +- .../client-dynamodb/runtimeConfig.shared.ts | 2 + clients/client-dynamodb/runtimeConfig.ts | 2 - clients/client-ebs/package.json | 4 +- clients/client-ebs/runtimeConfig.browser.ts | 2 - clients/client-ebs/runtimeConfig.native.ts | 2 +- clients/client-ebs/runtimeConfig.shared.ts | 2 + clients/client-ebs/runtimeConfig.ts | 2 - .../client-ec2-instance-connect/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../runtimeConfig.ts | 2 - clients/client-ec2/package.json | 4 +- clients/client-ec2/runtimeConfig.browser.ts | 2 - clients/client-ec2/runtimeConfig.native.ts | 2 +- clients/client-ec2/runtimeConfig.shared.ts | 2 + clients/client-ec2/runtimeConfig.ts | 2 - clients/client-ecr-public/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../client-ecr-public/runtimeConfig.native.ts | 2 +- .../client-ecr-public/runtimeConfig.shared.ts | 2 + clients/client-ecr-public/runtimeConfig.ts | 2 - clients/client-ecr/package.json | 4 +- clients/client-ecr/runtimeConfig.browser.ts | 2 - clients/client-ecr/runtimeConfig.native.ts | 2 +- clients/client-ecr/runtimeConfig.shared.ts | 2 + clients/client-ecr/runtimeConfig.ts | 2 - clients/client-ecs/package.json | 4 +- clients/client-ecs/runtimeConfig.browser.ts | 2 - clients/client-ecs/runtimeConfig.native.ts | 2 +- clients/client-ecs/runtimeConfig.shared.ts | 2 + clients/client-ecs/runtimeConfig.ts | 2 - clients/client-efs/package.json | 4 +- clients/client-efs/runtimeConfig.browser.ts | 2 - clients/client-efs/runtimeConfig.native.ts | 2 +- clients/client-efs/runtimeConfig.shared.ts | 2 + clients/client-efs/runtimeConfig.ts | 2 - clients/client-eks/package.json | 4 +- clients/client-eks/runtimeConfig.browser.ts | 2 - clients/client-eks/runtimeConfig.native.ts | 2 +- clients/client-eks/runtimeConfig.shared.ts | 2 + clients/client-eks/runtimeConfig.ts | 2 - clients/client-elastic-beanstalk/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../client-elastic-beanstalk/runtimeConfig.ts | 2 - clients/client-elastic-inference/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../client-elastic-inference/runtimeConfig.ts | 2 - .../package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../runtimeConfig.ts | 2 - .../package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../runtimeConfig.ts | 2 - .../client-elastic-transcoder/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../runtimeConfig.ts | 2 - clients/client-elasticache/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + clients/client-elasticache/runtimeConfig.ts | 2 - .../client-elasticsearch-service/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../runtimeConfig.ts | 2 - clients/client-emr-containers/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../client-emr-containers/runtimeConfig.ts | 2 - clients/client-emr/package.json | 4 +- clients/client-emr/runtimeConfig.browser.ts | 2 - clients/client-emr/runtimeConfig.native.ts | 2 +- clients/client-emr/runtimeConfig.shared.ts | 2 + clients/client-emr/runtimeConfig.ts | 2 - clients/client-eventbridge/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + clients/client-eventbridge/runtimeConfig.ts | 2 - clients/client-firehose/package.json | 4 +- .../client-firehose/runtimeConfig.browser.ts | 2 - .../client-firehose/runtimeConfig.native.ts | 2 +- .../client-firehose/runtimeConfig.shared.ts | 2 + clients/client-firehose/runtimeConfig.ts | 2 - clients/client-fms/package.json | 4 +- clients/client-fms/runtimeConfig.browser.ts | 2 - clients/client-fms/runtimeConfig.native.ts | 2 +- clients/client-fms/runtimeConfig.shared.ts | 2 + clients/client-fms/runtimeConfig.ts | 2 - clients/client-forecast/package.json | 4 +- .../client-forecast/runtimeConfig.browser.ts | 2 - .../client-forecast/runtimeConfig.native.ts | 2 +- .../client-forecast/runtimeConfig.shared.ts | 2 + clients/client-forecast/runtimeConfig.ts | 2 - clients/client-forecastquery/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + clients/client-forecastquery/runtimeConfig.ts | 2 - clients/client-frauddetector/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + clients/client-frauddetector/runtimeConfig.ts | 2 - clients/client-fsx/package.json | 4 +- clients/client-fsx/runtimeConfig.browser.ts | 2 - clients/client-fsx/runtimeConfig.native.ts | 2 +- clients/client-fsx/runtimeConfig.shared.ts | 2 + clients/client-fsx/runtimeConfig.ts | 2 - clients/client-gamelift/package.json | 4 +- .../client-gamelift/runtimeConfig.browser.ts | 2 - .../client-gamelift/runtimeConfig.native.ts | 2 +- .../client-gamelift/runtimeConfig.shared.ts | 2 + clients/client-gamelift/runtimeConfig.ts | 2 - clients/client-glacier/package.json | 4 +- .../client-glacier/runtimeConfig.browser.ts | 2 - .../client-glacier/runtimeConfig.native.ts | 2 +- .../client-glacier/runtimeConfig.shared.ts | 2 + clients/client-glacier/runtimeConfig.ts | 2 - .../client-global-accelerator/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../runtimeConfig.ts | 2 - clients/client-glue/package.json | 4 +- clients/client-glue/runtimeConfig.browser.ts | 2 - clients/client-glue/runtimeConfig.native.ts | 2 +- clients/client-glue/runtimeConfig.shared.ts | 2 + clients/client-glue/runtimeConfig.ts | 2 - clients/client-greengrass/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../client-greengrass/runtimeConfig.native.ts | 2 +- .../client-greengrass/runtimeConfig.shared.ts | 2 + clients/client-greengrass/runtimeConfig.ts | 2 - clients/client-groundstation/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + clients/client-groundstation/runtimeConfig.ts | 2 - clients/client-guardduty/package.json | 4 +- .../client-guardduty/runtimeConfig.browser.ts | 2 - .../client-guardduty/runtimeConfig.native.ts | 2 +- .../client-guardduty/runtimeConfig.shared.ts | 2 + clients/client-guardduty/runtimeConfig.ts | 2 - clients/client-health/package.json | 4 +- .../client-health/runtimeConfig.browser.ts | 2 - clients/client-health/runtimeConfig.native.ts | 2 +- clients/client-health/runtimeConfig.shared.ts | 2 + clients/client-health/runtimeConfig.ts | 2 - clients/client-healthlake/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../client-healthlake/runtimeConfig.native.ts | 2 +- .../client-healthlake/runtimeConfig.shared.ts | 2 + clients/client-healthlake/runtimeConfig.ts | 2 - clients/client-honeycode/package.json | 4 +- .../client-honeycode/runtimeConfig.browser.ts | 2 - .../client-honeycode/runtimeConfig.native.ts | 2 +- .../client-honeycode/runtimeConfig.shared.ts | 2 + clients/client-honeycode/runtimeConfig.ts | 2 - clients/client-iam/package.json | 4 +- clients/client-iam/runtimeConfig.browser.ts | 2 - clients/client-iam/runtimeConfig.native.ts | 2 +- clients/client-iam/runtimeConfig.shared.ts | 2 + clients/client-iam/runtimeConfig.ts | 2 - clients/client-identitystore/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + clients/client-identitystore/runtimeConfig.ts | 2 - clients/client-imagebuilder/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + clients/client-imagebuilder/runtimeConfig.ts | 2 - clients/client-inspector/package.json | 4 +- .../client-inspector/runtimeConfig.browser.ts | 2 - .../client-inspector/runtimeConfig.native.ts | 2 +- .../client-inspector/runtimeConfig.shared.ts | 2 + clients/client-inspector/runtimeConfig.ts | 2 - .../package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../runtimeConfig.ts | 2 - .../client-iot-1click-projects/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../runtimeConfig.ts | 2 - clients/client-iot-data-plane/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../client-iot-data-plane/runtimeConfig.ts | 2 - clients/client-iot-events-data/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../client-iot-events-data/runtimeConfig.ts | 2 - clients/client-iot-events/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../client-iot-events/runtimeConfig.native.ts | 2 +- .../client-iot-events/runtimeConfig.shared.ts | 2 + clients/client-iot-events/runtimeConfig.ts | 2 - .../client-iot-jobs-data-plane/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../runtimeConfig.ts | 2 - clients/client-iot/package.json | 4 +- clients/client-iot/runtimeConfig.browser.ts | 2 - clients/client-iot/runtimeConfig.native.ts | 2 +- clients/client-iot/runtimeConfig.shared.ts | 2 + clients/client-iot/runtimeConfig.ts | 2 - clients/client-iotanalytics/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + clients/client-iotanalytics/runtimeConfig.ts | 2 - .../client-iotsecuretunneling/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../runtimeConfig.ts | 2 - clients/client-iotsitewise/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + clients/client-iotsitewise/runtimeConfig.ts | 2 - clients/client-iotthingsgraph/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../client-iotthingsgraph/runtimeConfig.ts | 2 - clients/client-ivs/package.json | 4 +- clients/client-ivs/runtimeConfig.browser.ts | 2 - clients/client-ivs/runtimeConfig.native.ts | 2 +- clients/client-ivs/runtimeConfig.shared.ts | 2 + clients/client-ivs/runtimeConfig.ts | 2 - clients/client-kafka/package.json | 4 +- clients/client-kafka/runtimeConfig.browser.ts | 2 - clients/client-kafka/runtimeConfig.native.ts | 2 +- clients/client-kafka/runtimeConfig.shared.ts | 2 + clients/client-kafka/runtimeConfig.ts | 2 - clients/client-kendra/package.json | 4 +- .../client-kendra/runtimeConfig.browser.ts | 2 - clients/client-kendra/runtimeConfig.native.ts | 2 +- clients/client-kendra/runtimeConfig.shared.ts | 2 + clients/client-kendra/runtimeConfig.ts | 2 - .../client-kinesis-analytics-v2/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../runtimeConfig.ts | 2 - clients/client-kinesis-analytics/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../client-kinesis-analytics/runtimeConfig.ts | 2 - .../package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../runtimeConfig.ts | 2 - .../client-kinesis-video-media/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../runtimeConfig.ts | 2 - .../package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../runtimeConfig.ts | 2 - clients/client-kinesis-video/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + clients/client-kinesis-video/runtimeConfig.ts | 2 - clients/client-kinesis/package.json | 4 +- .../client-kinesis/runtimeConfig.browser.ts | 2 - .../client-kinesis/runtimeConfig.native.ts | 2 +- .../client-kinesis/runtimeConfig.shared.ts | 2 + clients/client-kinesis/runtimeConfig.ts | 2 - clients/client-kms/package.json | 4 +- clients/client-kms/runtimeConfig.browser.ts | 2 - clients/client-kms/runtimeConfig.native.ts | 2 +- clients/client-kms/runtimeConfig.shared.ts | 2 + clients/client-kms/runtimeConfig.ts | 2 - clients/client-lakeformation/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + clients/client-lakeformation/runtimeConfig.ts | 2 - clients/client-lambda/package.json | 4 +- .../client-lambda/runtimeConfig.browser.ts | 2 - clients/client-lambda/runtimeConfig.native.ts | 2 +- clients/client-lambda/runtimeConfig.shared.ts | 2 + clients/client-lambda/runtimeConfig.ts | 2 - .../package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../runtimeConfig.ts | 2 - .../client-lex-runtime-service/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../runtimeConfig.ts | 2 - clients/client-license-manager/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../client-license-manager/runtimeConfig.ts | 2 - clients/client-lightsail/package.json | 4 +- .../client-lightsail/runtimeConfig.browser.ts | 2 - .../client-lightsail/runtimeConfig.native.ts | 2 +- .../client-lightsail/runtimeConfig.shared.ts | 2 + clients/client-lightsail/runtimeConfig.ts | 2 - clients/client-lookoutvision/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + clients/client-lookoutvision/runtimeConfig.ts | 2 - clients/client-machine-learning/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../client-machine-learning/runtimeConfig.ts | 2 - clients/client-macie/package.json | 4 +- clients/client-macie/runtimeConfig.browser.ts | 2 - clients/client-macie/runtimeConfig.native.ts | 2 +- clients/client-macie/runtimeConfig.shared.ts | 2 + clients/client-macie/runtimeConfig.ts | 2 - clients/client-macie2/package.json | 4 +- .../client-macie2/runtimeConfig.browser.ts | 2 - clients/client-macie2/runtimeConfig.native.ts | 2 +- clients/client-macie2/runtimeConfig.shared.ts | 2 + clients/client-macie2/runtimeConfig.ts | 2 - clients/client-managedblockchain/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../client-managedblockchain/runtimeConfig.ts | 2 - .../client-marketplace-catalog/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../runtimeConfig.ts | 2 - .../package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../runtimeConfig.ts | 2 - .../package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../runtimeConfig.ts | 2 - .../client-marketplace-metering/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../runtimeConfig.ts | 2 - clients/client-mediaconnect/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + clients/client-mediaconnect/runtimeConfig.ts | 2 - clients/client-mediaconvert/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + clients/client-mediaconvert/runtimeConfig.ts | 2 - clients/client-medialive/package.json | 4 +- .../client-medialive/runtimeConfig.browser.ts | 2 - .../client-medialive/runtimeConfig.native.ts | 2 +- .../client-medialive/runtimeConfig.shared.ts | 2 + clients/client-medialive/runtimeConfig.ts | 2 - clients/client-mediapackage-vod/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../client-mediapackage-vod/runtimeConfig.ts | 2 - clients/client-mediapackage/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + clients/client-mediapackage/runtimeConfig.ts | 2 - clients/client-mediastore-data/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../client-mediastore-data/runtimeConfig.ts | 2 - clients/client-mediastore/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../client-mediastore/runtimeConfig.native.ts | 2 +- .../client-mediastore/runtimeConfig.shared.ts | 2 + clients/client-mediastore/runtimeConfig.ts | 2 - clients/client-mediatailor/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + clients/client-mediatailor/runtimeConfig.ts | 2 - clients/client-migration-hub/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + clients/client-migration-hub/runtimeConfig.ts | 2 - .../client-migrationhub-config/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../runtimeConfig.ts | 2 - clients/client-mobile/package.json | 4 +- .../client-mobile/runtimeConfig.browser.ts | 2 - clients/client-mobile/runtimeConfig.native.ts | 2 +- clients/client-mobile/runtimeConfig.shared.ts | 2 + clients/client-mobile/runtimeConfig.ts | 2 - clients/client-mq/package.json | 4 +- clients/client-mq/runtimeConfig.browser.ts | 2 - clients/client-mq/runtimeConfig.native.ts | 2 +- clients/client-mq/runtimeConfig.shared.ts | 2 + clients/client-mq/runtimeConfig.ts | 2 - clients/client-mturk/package.json | 4 +- clients/client-mturk/runtimeConfig.browser.ts | 2 - clients/client-mturk/runtimeConfig.native.ts | 2 +- clients/client-mturk/runtimeConfig.shared.ts | 2 + clients/client-mturk/runtimeConfig.ts | 2 - clients/client-neptune/package.json | 4 +- .../client-neptune/runtimeConfig.browser.ts | 2 - .../client-neptune/runtimeConfig.native.ts | 2 +- .../client-neptune/runtimeConfig.shared.ts | 2 + clients/client-neptune/runtimeConfig.ts | 2 - clients/client-network-firewall/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../client-network-firewall/runtimeConfig.ts | 2 - clients/client-networkmanager/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../client-networkmanager/runtimeConfig.ts | 2 - clients/client-opsworks/package.json | 4 +- .../client-opsworks/runtimeConfig.browser.ts | 2 - .../client-opsworks/runtimeConfig.native.ts | 2 +- .../client-opsworks/runtimeConfig.shared.ts | 2 + clients/client-opsworks/runtimeConfig.ts | 2 - clients/client-opsworkscm/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../client-opsworkscm/runtimeConfig.native.ts | 2 +- .../client-opsworkscm/runtimeConfig.shared.ts | 2 + clients/client-opsworkscm/runtimeConfig.ts | 2 - clients/client-organizations/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + clients/client-organizations/runtimeConfig.ts | 2 - clients/client-outposts/package.json | 4 +- .../client-outposts/runtimeConfig.browser.ts | 2 - .../client-outposts/runtimeConfig.native.ts | 2 +- .../client-outposts/runtimeConfig.shared.ts | 2 + clients/client-outposts/runtimeConfig.ts | 2 - .../client-personalize-events/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../runtimeConfig.ts | 2 - .../client-personalize-runtime/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../runtimeConfig.ts | 2 - clients/client-personalize/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + clients/client-personalize/runtimeConfig.ts | 2 - clients/client-pi/package.json | 4 +- clients/client-pi/runtimeConfig.browser.ts | 2 - clients/client-pi/runtimeConfig.native.ts | 2 +- clients/client-pi/runtimeConfig.shared.ts | 2 + clients/client-pi/runtimeConfig.ts | 2 - clients/client-pinpoint-email/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../client-pinpoint-email/runtimeConfig.ts | 2 - .../client-pinpoint-sms-voice/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../runtimeConfig.ts | 2 - clients/client-pinpoint/package.json | 4 +- .../client-pinpoint/runtimeConfig.browser.ts | 2 - .../client-pinpoint/runtimeConfig.native.ts | 2 +- .../client-pinpoint/runtimeConfig.shared.ts | 2 + clients/client-pinpoint/runtimeConfig.ts | 2 - clients/client-polly/package.json | 4 +- clients/client-polly/runtimeConfig.browser.ts | 2 - clients/client-polly/runtimeConfig.native.ts | 2 +- clients/client-polly/runtimeConfig.shared.ts | 2 + clients/client-polly/runtimeConfig.ts | 2 - clients/client-pricing/package.json | 4 +- .../client-pricing/runtimeConfig.browser.ts | 2 - .../client-pricing/runtimeConfig.native.ts | 2 +- .../client-pricing/runtimeConfig.shared.ts | 2 + clients/client-pricing/runtimeConfig.ts | 2 - clients/client-qldb-session/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + clients/client-qldb-session/runtimeConfig.ts | 2 - clients/client-qldb/package.json | 4 +- clients/client-qldb/runtimeConfig.browser.ts | 2 - clients/client-qldb/runtimeConfig.native.ts | 2 +- clients/client-qldb/runtimeConfig.shared.ts | 2 + clients/client-qldb/runtimeConfig.ts | 2 - clients/client-quicksight/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../client-quicksight/runtimeConfig.native.ts | 2 +- .../client-quicksight/runtimeConfig.shared.ts | 2 + clients/client-quicksight/runtimeConfig.ts | 2 - clients/client-ram/package.json | 4 +- clients/client-ram/runtimeConfig.browser.ts | 2 - clients/client-ram/runtimeConfig.native.ts | 2 +- clients/client-ram/runtimeConfig.shared.ts | 2 + clients/client-ram/runtimeConfig.ts | 2 - clients/client-rds-data/package.json | 4 +- .../client-rds-data/runtimeConfig.browser.ts | 2 - .../client-rds-data/runtimeConfig.native.ts | 2 +- .../client-rds-data/runtimeConfig.shared.ts | 2 + clients/client-rds-data/runtimeConfig.ts | 2 - clients/client-rds/package.json | 4 +- clients/client-rds/runtimeConfig.browser.ts | 2 - clients/client-rds/runtimeConfig.native.ts | 2 +- clients/client-rds/runtimeConfig.shared.ts | 2 + clients/client-rds/runtimeConfig.ts | 2 - clients/client-redshift-data/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + clients/client-redshift-data/runtimeConfig.ts | 2 - clients/client-redshift/package.json | 4 +- .../client-redshift/runtimeConfig.browser.ts | 2 - .../client-redshift/runtimeConfig.native.ts | 2 +- .../client-redshift/runtimeConfig.shared.ts | 2 + clients/client-redshift/runtimeConfig.ts | 2 - clients/client-rekognition/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + clients/client-rekognition/runtimeConfig.ts | 2 - .../package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../runtimeConfig.ts | 2 - clients/client-resource-groups/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../client-resource-groups/runtimeConfig.ts | 2 - clients/client-robomaker/package.json | 4 +- .../client-robomaker/runtimeConfig.browser.ts | 2 - .../client-robomaker/runtimeConfig.native.ts | 2 +- .../client-robomaker/runtimeConfig.shared.ts | 2 + clients/client-robomaker/runtimeConfig.ts | 2 - clients/client-route-53-domains/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../client-route-53-domains/runtimeConfig.ts | 2 - clients/client-route-53/package.json | 4 +- .../client-route-53/runtimeConfig.browser.ts | 2 - .../client-route-53/runtimeConfig.native.ts | 2 +- .../client-route-53/runtimeConfig.shared.ts | 2 + clients/client-route-53/runtimeConfig.ts | 2 - clients/client-route53resolver/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../client-route53resolver/runtimeConfig.ts | 2 - clients/client-s3-control/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../client-s3-control/runtimeConfig.native.ts | 2 +- .../client-s3-control/runtimeConfig.shared.ts | 2 + clients/client-s3-control/runtimeConfig.ts | 2 - clients/client-s3/package.json | 4 +- clients/client-s3/runtimeConfig.browser.ts | 2 - clients/client-s3/runtimeConfig.native.ts | 2 +- clients/client-s3/runtimeConfig.shared.ts | 2 + clients/client-s3/runtimeConfig.ts | 2 - clients/client-s3outposts/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../client-s3outposts/runtimeConfig.native.ts | 2 +- .../client-s3outposts/runtimeConfig.shared.ts | 2 + clients/client-s3outposts/runtimeConfig.ts | 2 - .../client-sagemaker-a2i-runtime/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../runtimeConfig.ts | 2 - clients/client-sagemaker-edge/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../client-sagemaker-edge/runtimeConfig.ts | 2 - .../package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../runtimeConfig.ts | 2 - clients/client-sagemaker-runtime/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../client-sagemaker-runtime/runtimeConfig.ts | 2 - clients/client-sagemaker/package.json | 4 +- .../client-sagemaker/runtimeConfig.browser.ts | 2 - .../client-sagemaker/runtimeConfig.native.ts | 2 +- .../client-sagemaker/runtimeConfig.shared.ts | 2 + clients/client-sagemaker/runtimeConfig.ts | 2 - clients/client-savingsplans/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + clients/client-savingsplans/runtimeConfig.ts | 2 - clients/client-schemas/package.json | 4 +- .../client-schemas/runtimeConfig.browser.ts | 2 - .../client-schemas/runtimeConfig.native.ts | 2 +- .../client-schemas/runtimeConfig.shared.ts | 2 + clients/client-schemas/runtimeConfig.ts | 2 - clients/client-secrets-manager/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../client-secrets-manager/runtimeConfig.ts | 2 - clients/client-securityhub/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + clients/client-securityhub/runtimeConfig.ts | 2 - .../package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../runtimeConfig.ts | 2 - .../package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../runtimeConfig.ts | 2 - clients/client-service-catalog/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../client-service-catalog/runtimeConfig.ts | 2 - clients/client-service-quotas/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../client-service-quotas/runtimeConfig.ts | 2 - clients/client-servicediscovery/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../client-servicediscovery/runtimeConfig.ts | 2 - clients/client-ses/package.json | 4 +- clients/client-ses/runtimeConfig.browser.ts | 2 - clients/client-ses/runtimeConfig.native.ts | 2 +- clients/client-ses/runtimeConfig.shared.ts | 2 + clients/client-ses/runtimeConfig.ts | 2 - clients/client-sesv2/package.json | 4 +- clients/client-sesv2/runtimeConfig.browser.ts | 2 - clients/client-sesv2/runtimeConfig.native.ts | 2 +- clients/client-sesv2/runtimeConfig.shared.ts | 2 + clients/client-sesv2/runtimeConfig.ts | 2 - clients/client-sfn/package.json | 4 +- clients/client-sfn/runtimeConfig.browser.ts | 2 - clients/client-sfn/runtimeConfig.native.ts | 2 +- clients/client-sfn/runtimeConfig.shared.ts | 2 + clients/client-sfn/runtimeConfig.ts | 2 - clients/client-shield/package.json | 4 +- .../client-shield/runtimeConfig.browser.ts | 2 - clients/client-shield/runtimeConfig.native.ts | 2 +- clients/client-shield/runtimeConfig.shared.ts | 2 + clients/client-shield/runtimeConfig.ts | 2 - clients/client-signer/package.json | 4 +- .../client-signer/runtimeConfig.browser.ts | 2 - clients/client-signer/runtimeConfig.native.ts | 2 +- clients/client-signer/runtimeConfig.shared.ts | 2 + clients/client-signer/runtimeConfig.ts | 2 - clients/client-sms/package.json | 4 +- clients/client-sms/runtimeConfig.browser.ts | 2 - clients/client-sms/runtimeConfig.native.ts | 2 +- clients/client-sms/runtimeConfig.shared.ts | 2 + clients/client-sms/runtimeConfig.ts | 2 - clients/client-snowball/package.json | 4 +- .../client-snowball/runtimeConfig.browser.ts | 2 - .../client-snowball/runtimeConfig.native.ts | 2 +- .../client-snowball/runtimeConfig.shared.ts | 2 + clients/client-snowball/runtimeConfig.ts | 2 - clients/client-sns/package.json | 4 +- clients/client-sns/runtimeConfig.browser.ts | 2 - clients/client-sns/runtimeConfig.native.ts | 2 +- clients/client-sns/runtimeConfig.shared.ts | 2 + clients/client-sns/runtimeConfig.ts | 2 - clients/client-sqs/package.json | 4 +- clients/client-sqs/runtimeConfig.browser.ts | 2 - clients/client-sqs/runtimeConfig.native.ts | 2 +- clients/client-sqs/runtimeConfig.shared.ts | 2 + clients/client-sqs/runtimeConfig.ts | 2 - clients/client-ssm/package.json | 4 +- clients/client-ssm/runtimeConfig.browser.ts | 2 - clients/client-ssm/runtimeConfig.native.ts | 2 +- clients/client-ssm/runtimeConfig.shared.ts | 2 + clients/client-ssm/runtimeConfig.ts | 2 - clients/client-sso-admin/package.json | 4 +- .../client-sso-admin/runtimeConfig.browser.ts | 2 - .../client-sso-admin/runtimeConfig.native.ts | 2 +- .../client-sso-admin/runtimeConfig.shared.ts | 2 + clients/client-sso-admin/runtimeConfig.ts | 2 - clients/client-sso-oidc/package.json | 4 +- .../client-sso-oidc/runtimeConfig.browser.ts | 2 - .../client-sso-oidc/runtimeConfig.native.ts | 2 +- .../client-sso-oidc/runtimeConfig.shared.ts | 2 + clients/client-sso-oidc/runtimeConfig.ts | 2 - clients/client-sso/package.json | 4 +- clients/client-sso/runtimeConfig.browser.ts | 2 - clients/client-sso/runtimeConfig.native.ts | 2 +- clients/client-sso/runtimeConfig.shared.ts | 2 + clients/client-sso/runtimeConfig.ts | 2 - clients/client-storage-gateway/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../client-storage-gateway/runtimeConfig.ts | 2 - clients/client-sts/package.json | 4 +- clients/client-sts/runtimeConfig.browser.ts | 2 - clients/client-sts/runtimeConfig.native.ts | 2 +- clients/client-sts/runtimeConfig.shared.ts | 2 + clients/client-sts/runtimeConfig.ts | 2 - clients/client-support/package.json | 4 +- .../client-support/runtimeConfig.browser.ts | 2 - .../client-support/runtimeConfig.native.ts | 2 +- .../client-support/runtimeConfig.shared.ts | 2 + clients/client-support/runtimeConfig.ts | 2 - clients/client-swf/package.json | 4 +- clients/client-swf/runtimeConfig.browser.ts | 2 - clients/client-swf/runtimeConfig.native.ts | 2 +- clients/client-swf/runtimeConfig.shared.ts | 2 + clients/client-swf/runtimeConfig.ts | 2 - clients/client-synthetics/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../client-synthetics/runtimeConfig.native.ts | 2 +- .../client-synthetics/runtimeConfig.shared.ts | 2 + clients/client-synthetics/runtimeConfig.ts | 2 - clients/client-textract/package.json | 4 +- .../client-textract/runtimeConfig.browser.ts | 2 - .../client-textract/runtimeConfig.native.ts | 2 +- .../client-textract/runtimeConfig.shared.ts | 2 + clients/client-textract/runtimeConfig.ts | 2 - clients/client-timestream-query/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../client-timestream-query/runtimeConfig.ts | 2 - clients/client-timestream-write/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../client-timestream-write/runtimeConfig.ts | 2 - .../client-transcribe-streaming/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../runtimeConfig.ts | 2 - clients/client-transcribe/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../client-transcribe/runtimeConfig.native.ts | 2 +- .../client-transcribe/runtimeConfig.shared.ts | 2 + clients/client-transcribe/runtimeConfig.ts | 2 - clients/client-transfer/package.json | 4 +- .../client-transfer/runtimeConfig.browser.ts | 2 - .../client-transfer/runtimeConfig.native.ts | 2 +- .../client-transfer/runtimeConfig.shared.ts | 2 + clients/client-transfer/runtimeConfig.ts | 2 - clients/client-translate/package.json | 4 +- .../client-translate/runtimeConfig.browser.ts | 2 - .../client-translate/runtimeConfig.native.ts | 2 +- .../client-translate/runtimeConfig.shared.ts | 2 + clients/client-translate/runtimeConfig.ts | 2 - clients/client-waf-regional/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + clients/client-waf-regional/runtimeConfig.ts | 2 - clients/client-waf/package.json | 4 +- clients/client-waf/runtimeConfig.browser.ts | 2 - clients/client-waf/runtimeConfig.native.ts | 2 +- clients/client-waf/runtimeConfig.shared.ts | 2 + clients/client-waf/runtimeConfig.ts | 2 - clients/client-wafv2/package.json | 4 +- clients/client-wafv2/runtimeConfig.browser.ts | 2 - clients/client-wafv2/runtimeConfig.native.ts | 2 +- clients/client-wafv2/runtimeConfig.shared.ts | 2 + clients/client-wafv2/runtimeConfig.ts | 2 - clients/client-workdocs/package.json | 4 +- .../client-workdocs/runtimeConfig.browser.ts | 2 - .../client-workdocs/runtimeConfig.native.ts | 2 +- .../client-workdocs/runtimeConfig.shared.ts | 2 + clients/client-workdocs/runtimeConfig.ts | 2 - clients/client-worklink/package.json | 4 +- .../client-worklink/runtimeConfig.browser.ts | 2 - .../client-worklink/runtimeConfig.native.ts | 2 +- .../client-worklink/runtimeConfig.shared.ts | 2 + clients/client-worklink/runtimeConfig.ts | 2 - clients/client-workmail/package.json | 4 +- .../client-workmail/runtimeConfig.browser.ts | 2 - .../client-workmail/runtimeConfig.native.ts | 2 +- .../client-workmail/runtimeConfig.shared.ts | 2 + clients/client-workmail/runtimeConfig.ts | 2 - .../client-workmailmessageflow/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 + .../runtimeConfig.ts | 2 - clients/client-workspaces/package.json | 4 +- .../runtimeConfig.browser.ts | 2 - .../client-workspaces/runtimeConfig.native.ts | 2 +- .../client-workspaces/runtimeConfig.shared.ts | 2 + clients/client-workspaces/runtimeConfig.ts | 2 - clients/client-xray/package.json | 4 +- clients/client-xray/runtimeConfig.browser.ts | 2 - clients/client-xray/runtimeConfig.native.ts | 2 +- clients/client-xray/runtimeConfig.shared.ts | 2 + clients/client-xray/runtimeConfig.ts | 2 - packages/url-parser-browser/CHANGELOG.md | 960 ------------- .../.gitignore | 0 .../.npmignore | 0 .../LICENSE | 0 .../README.md | 0 .../jest.config.js | 0 .../package.json | 4 +- .../src/index.spec.ts | 16 - .../src/index.ts | 3 +- .../tsconfig.cjs.json | 0 .../tsconfig.es.json | 0 packages/url-parser-node/CHANGELOG.md | 1184 ----------------- .../.gitignore | 0 .../.npmignore | 0 .../{url-parser-node => url-parser}/LICENSE | 0 .../README.md | 6 +- .../jest.config.js | 0 .../package.json | 8 +- .../src/index.spec.ts | 2 +- .../src/index.ts | 0 .../tsconfig.cjs.json | 0 .../tsconfig.es.json | 0 protocol_tests/aws-ec2/package.json | 4 +- .../aws-ec2/runtimeConfig.browser.ts | 2 - .../aws-ec2/runtimeConfig.native.ts | 2 +- .../aws-ec2/runtimeConfig.shared.ts | 2 + protocol_tests/aws-ec2/runtimeConfig.ts | 2 - protocol_tests/aws-json/package.json | 4 +- .../aws-json/runtimeConfig.browser.ts | 2 - .../aws-json/runtimeConfig.native.ts | 2 +- .../aws-json/runtimeConfig.shared.ts | 2 + protocol_tests/aws-json/runtimeConfig.ts | 2 - protocol_tests/aws-query/package.json | 4 +- .../aws-query/runtimeConfig.browser.ts | 2 - .../aws-query/runtimeConfig.native.ts | 2 +- .../aws-query/runtimeConfig.shared.ts | 2 + protocol_tests/aws-query/runtimeConfig.ts | 2 - protocol_tests/aws-restjson/package.json | 4 +- .../aws-restjson/runtimeConfig.browser.ts | 2 - .../aws-restjson/runtimeConfig.native.ts | 2 +- .../aws-restjson/runtimeConfig.shared.ts | 2 + protocol_tests/aws-restjson/runtimeConfig.ts | 2 - protocol_tests/aws-restxml/package.json | 4 +- .../aws-restxml/runtimeConfig.browser.ts | 2 - .../aws-restxml/runtimeConfig.native.ts | 2 +- .../aws-restxml/runtimeConfig.shared.ts | 2 + protocol_tests/aws-restxml/runtimeConfig.ts | 2 - 1282 files changed, 1272 insertions(+), 3935 deletions(-) delete mode 100644 packages/url-parser-browser/CHANGELOG.md rename packages/{url-parser-browser => url-parser-native}/.gitignore (100%) rename packages/{url-parser-browser => url-parser-native}/.npmignore (100%) rename packages/{url-parser-browser => url-parser-native}/LICENSE (100%) rename packages/{url-parser-node => url-parser-native}/README.md (100%) rename packages/{url-parser-browser => url-parser-native}/jest.config.js (100%) rename packages/{url-parser-node => url-parser-native}/package.json (94%) rename packages/{url-parser-node => url-parser-native}/src/index.spec.ts (71%) rename packages/{url-parser-node => url-parser-native}/src/index.ts (88%) rename packages/{url-parser-browser => url-parser-native}/tsconfig.cjs.json (100%) rename packages/{url-parser-node => url-parser-native}/tsconfig.es.json (100%) delete mode 100644 packages/url-parser-node/CHANGELOG.md rename packages/{url-parser-node => url-parser}/.gitignore (100%) rename packages/{url-parser-node => url-parser}/.npmignore (100%) rename packages/{url-parser-node => url-parser}/LICENSE (100%) rename packages/{url-parser-browser => url-parser}/README.md (52%) rename packages/{url-parser-node => url-parser}/jest.config.js (100%) rename packages/{url-parser-browser => url-parser}/package.json (86%) rename packages/{url-parser-browser => url-parser}/src/index.spec.ts (97%) rename packages/{url-parser-browser => url-parser}/src/index.ts (100%) rename packages/{url-parser-node => url-parser}/tsconfig.cjs.json (100%) rename packages/{url-parser-browser => url-parser}/tsconfig.es.json (100%) diff --git a/clients/client-accessanalyzer/package.json b/clients/client-accessanalyzer/package.json index b6f2d8631eb1..c641a59dfd6c 100644 --- a/clients/client-accessanalyzer/package.json +++ b/clients/client-accessanalyzer/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-accessanalyzer/runtimeConfig.browser.ts b/clients/client-accessanalyzer/runtimeConfig.browser.ts index bbf58d8c68c3..4ea8d2ed5041 100644 --- a/clients/client-accessanalyzer/runtimeConfig.browser.ts +++ b/clients/client-accessanalyzer/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-accessanalyzer/runtimeConfig.native.ts b/clients/client-accessanalyzer/runtimeConfig.native.ts index 27025d278a61..887198dd3fcb 100644 --- a/clients/client-accessanalyzer/runtimeConfig.native.ts +++ b/clients/client-accessanalyzer/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./AccessAnalyzerClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-accessanalyzer/runtimeConfig.shared.ts b/clients/client-accessanalyzer/runtimeConfig.shared.ts index c0941c290832..01dd2a1e5c34 100644 --- a/clients/client-accessanalyzer/runtimeConfig.shared.ts +++ b/clients/client-accessanalyzer/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "AccessAnalyzer", + urlParser: parseUrl, }; diff --git a/clients/client-accessanalyzer/runtimeConfig.ts b/clients/client-accessanalyzer/runtimeConfig.ts index 11316e2e9053..b711c23fc49e 100644 --- a/clients/client-accessanalyzer/runtimeConfig.ts +++ b/clients/client-accessanalyzer/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-acm-pca/package.json b/clients/client-acm-pca/package.json index c24a81a26f41..a44a32cb07b0 100644 --- a/clients/client-acm-pca/package.json +++ b/clients/client-acm-pca/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-acm-pca/runtimeConfig.browser.ts b/clients/client-acm-pca/runtimeConfig.browser.ts index aca417a2f4df..36521193760d 100644 --- a/clients/client-acm-pca/runtimeConfig.browser.ts +++ b/clients/client-acm-pca/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-acm-pca/runtimeConfig.native.ts b/clients/client-acm-pca/runtimeConfig.native.ts index 3bc3237efc3b..a70b1edd89b9 100644 --- a/clients/client-acm-pca/runtimeConfig.native.ts +++ b/clients/client-acm-pca/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./ACMPCAClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-acm-pca/runtimeConfig.shared.ts b/clients/client-acm-pca/runtimeConfig.shared.ts index 321ce9a5d271..e1132dfa7421 100644 --- a/clients/client-acm-pca/runtimeConfig.shared.ts +++ b/clients/client-acm-pca/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "ACM PCA", + urlParser: parseUrl, }; diff --git a/clients/client-acm-pca/runtimeConfig.ts b/clients/client-acm-pca/runtimeConfig.ts index 455c8822cf33..b9c1cfcb0e02 100644 --- a/clients/client-acm-pca/runtimeConfig.ts +++ b/clients/client-acm-pca/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-acm/package.json b/clients/client-acm/package.json index c4dc0b7263a0..21fb4f9a872f 100644 --- a/clients/client-acm/package.json +++ b/clients/client-acm/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-acm/runtimeConfig.browser.ts b/clients/client-acm/runtimeConfig.browser.ts index d3e941a002f1..bfd02d5e1247 100644 --- a/clients/client-acm/runtimeConfig.browser.ts +++ b/clients/client-acm/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-acm/runtimeConfig.native.ts b/clients/client-acm/runtimeConfig.native.ts index 3583aceeb6c1..58117345bda7 100644 --- a/clients/client-acm/runtimeConfig.native.ts +++ b/clients/client-acm/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./ACMClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-acm/runtimeConfig.shared.ts b/clients/client-acm/runtimeConfig.shared.ts index 4a57394adde3..8f2199bbf401 100644 --- a/clients/client-acm/runtimeConfig.shared.ts +++ b/clients/client-acm/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "ACM", + urlParser: parseUrl, }; diff --git a/clients/client-acm/runtimeConfig.ts b/clients/client-acm/runtimeConfig.ts index 16efc30de391..5224f4880933 100644 --- a/clients/client-acm/runtimeConfig.ts +++ b/clients/client-acm/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-alexa-for-business/package.json b/clients/client-alexa-for-business/package.json index b8669542637e..44ab7c4524d3 100644 --- a/clients/client-alexa-for-business/package.json +++ b/clients/client-alexa-for-business/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-alexa-for-business/runtimeConfig.browser.ts b/clients/client-alexa-for-business/runtimeConfig.browser.ts index d50bc895292a..71c60b76fc97 100644 --- a/clients/client-alexa-for-business/runtimeConfig.browser.ts +++ b/clients/client-alexa-for-business/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-alexa-for-business/runtimeConfig.native.ts b/clients/client-alexa-for-business/runtimeConfig.native.ts index ad88f4b0f6fb..01a92d8e5677 100644 --- a/clients/client-alexa-for-business/runtimeConfig.native.ts +++ b/clients/client-alexa-for-business/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./AlexaForBusinessClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-alexa-for-business/runtimeConfig.shared.ts b/clients/client-alexa-for-business/runtimeConfig.shared.ts index 9b63a3617f5d..ed0bf95faa71 100644 --- a/clients/client-alexa-for-business/runtimeConfig.shared.ts +++ b/clients/client-alexa-for-business/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Alexa For Business", + urlParser: parseUrl, }; diff --git a/clients/client-alexa-for-business/runtimeConfig.ts b/clients/client-alexa-for-business/runtimeConfig.ts index 1f68c8b42ce4..ac3a6443a50f 100644 --- a/clients/client-alexa-for-business/runtimeConfig.ts +++ b/clients/client-alexa-for-business/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-amplify/package.json b/clients/client-amplify/package.json index 2a362bedf501..f8891e6ccebe 100644 --- a/clients/client-amplify/package.json +++ b/clients/client-amplify/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-amplify/runtimeConfig.browser.ts b/clients/client-amplify/runtimeConfig.browser.ts index 8bb122ed24b4..4b5137a7f3ef 100644 --- a/clients/client-amplify/runtimeConfig.browser.ts +++ b/clients/client-amplify/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-amplify/runtimeConfig.native.ts b/clients/client-amplify/runtimeConfig.native.ts index 886468e2a6fe..d22283ab747a 100644 --- a/clients/client-amplify/runtimeConfig.native.ts +++ b/clients/client-amplify/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./AmplifyClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-amplify/runtimeConfig.shared.ts b/clients/client-amplify/runtimeConfig.shared.ts index 2b75e1097a6f..da4c5954c7ed 100644 --- a/clients/client-amplify/runtimeConfig.shared.ts +++ b/clients/client-amplify/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Amplify", + urlParser: parseUrl, }; diff --git a/clients/client-amplify/runtimeConfig.ts b/clients/client-amplify/runtimeConfig.ts index 8e12c10ac52f..728b951f94fc 100644 --- a/clients/client-amplify/runtimeConfig.ts +++ b/clients/client-amplify/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-amplifybackend/package.json b/clients/client-amplifybackend/package.json index b466ba7433c0..e0446876df97 100644 --- a/clients/client-amplifybackend/package.json +++ b/clients/client-amplifybackend/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-amplifybackend/runtimeConfig.browser.ts b/clients/client-amplifybackend/runtimeConfig.browser.ts index 66e58a26982a..cc98b4f5c2d7 100644 --- a/clients/client-amplifybackend/runtimeConfig.browser.ts +++ b/clients/client-amplifybackend/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-amplifybackend/runtimeConfig.native.ts b/clients/client-amplifybackend/runtimeConfig.native.ts index f0be385fe824..e068450af669 100644 --- a/clients/client-amplifybackend/runtimeConfig.native.ts +++ b/clients/client-amplifybackend/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./AmplifyBackendClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-amplifybackend/runtimeConfig.shared.ts b/clients/client-amplifybackend/runtimeConfig.shared.ts index 02f8ae8dde0e..8d7253903bf3 100644 --- a/clients/client-amplifybackend/runtimeConfig.shared.ts +++ b/clients/client-amplifybackend/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "AmplifyBackend", + urlParser: parseUrl, }; diff --git a/clients/client-amplifybackend/runtimeConfig.ts b/clients/client-amplifybackend/runtimeConfig.ts index e83cbf1e5d96..bf1296536e31 100644 --- a/clients/client-amplifybackend/runtimeConfig.ts +++ b/clients/client-amplifybackend/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-api-gateway/package.json b/clients/client-api-gateway/package.json index 4e67204a747f..37fd420f68da 100644 --- a/clients/client-api-gateway/package.json +++ b/clients/client-api-gateway/package.json @@ -47,8 +47,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-api-gateway/runtimeConfig.browser.ts b/clients/client-api-gateway/runtimeConfig.browser.ts index c35ccb98fb4f..e83a65b76a46 100644 --- a/clients/client-api-gateway/runtimeConfig.browser.ts +++ b/clients/client-api-gateway/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-api-gateway/runtimeConfig.native.ts b/clients/client-api-gateway/runtimeConfig.native.ts index b163cffadc3b..83034566d8f5 100644 --- a/clients/client-api-gateway/runtimeConfig.native.ts +++ b/clients/client-api-gateway/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./APIGatewayClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-api-gateway/runtimeConfig.shared.ts b/clients/client-api-gateway/runtimeConfig.shared.ts index d2a1a5b72573..1660821fa1be 100644 --- a/clients/client-api-gateway/runtimeConfig.shared.ts +++ b/clients/client-api-gateway/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "API Gateway", + urlParser: parseUrl, }; diff --git a/clients/client-api-gateway/runtimeConfig.ts b/clients/client-api-gateway/runtimeConfig.ts index e251975dfd37..92ba6b80086a 100644 --- a/clients/client-api-gateway/runtimeConfig.ts +++ b/clients/client-api-gateway/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-apigatewaymanagementapi/package.json b/clients/client-apigatewaymanagementapi/package.json index 845e227ca1ae..f15323724732 100644 --- a/clients/client-apigatewaymanagementapi/package.json +++ b/clients/client-apigatewaymanagementapi/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-apigatewaymanagementapi/runtimeConfig.browser.ts b/clients/client-apigatewaymanagementapi/runtimeConfig.browser.ts index 5d933b7194b9..2d124cf2b781 100644 --- a/clients/client-apigatewaymanagementapi/runtimeConfig.browser.ts +++ b/clients/client-apigatewaymanagementapi/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-apigatewaymanagementapi/runtimeConfig.native.ts b/clients/client-apigatewaymanagementapi/runtimeConfig.native.ts index 418428ceb61e..75c583a1cb2f 100644 --- a/clients/client-apigatewaymanagementapi/runtimeConfig.native.ts +++ b/clients/client-apigatewaymanagementapi/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./ApiGatewayManagementApiClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-apigatewaymanagementapi/runtimeConfig.shared.ts b/clients/client-apigatewaymanagementapi/runtimeConfig.shared.ts index a3aea771d4a1..0457c5ba6d61 100644 --- a/clients/client-apigatewaymanagementapi/runtimeConfig.shared.ts +++ b/clients/client-apigatewaymanagementapi/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "ApiGatewayManagementApi", + urlParser: parseUrl, }; diff --git a/clients/client-apigatewaymanagementapi/runtimeConfig.ts b/clients/client-apigatewaymanagementapi/runtimeConfig.ts index 332453d5bb21..30338732b7bb 100644 --- a/clients/client-apigatewaymanagementapi/runtimeConfig.ts +++ b/clients/client-apigatewaymanagementapi/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-apigatewayv2/package.json b/clients/client-apigatewayv2/package.json index c8877646eb72..d9cc60371708 100644 --- a/clients/client-apigatewayv2/package.json +++ b/clients/client-apigatewayv2/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-apigatewayv2/runtimeConfig.browser.ts b/clients/client-apigatewayv2/runtimeConfig.browser.ts index b702e6d612b5..da7ada611fdb 100644 --- a/clients/client-apigatewayv2/runtimeConfig.browser.ts +++ b/clients/client-apigatewayv2/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-apigatewayv2/runtimeConfig.native.ts b/clients/client-apigatewayv2/runtimeConfig.native.ts index 4f4096e65eda..7101b0bea7d3 100644 --- a/clients/client-apigatewayv2/runtimeConfig.native.ts +++ b/clients/client-apigatewayv2/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./ApiGatewayV2Client"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-apigatewayv2/runtimeConfig.shared.ts b/clients/client-apigatewayv2/runtimeConfig.shared.ts index 42adc4f23cc7..47632773995b 100644 --- a/clients/client-apigatewayv2/runtimeConfig.shared.ts +++ b/clients/client-apigatewayv2/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "ApiGatewayV2", + urlParser: parseUrl, }; diff --git a/clients/client-apigatewayv2/runtimeConfig.ts b/clients/client-apigatewayv2/runtimeConfig.ts index a598bbbb59b3..fde353606bdf 100644 --- a/clients/client-apigatewayv2/runtimeConfig.ts +++ b/clients/client-apigatewayv2/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-app-mesh/package.json b/clients/client-app-mesh/package.json index 602f506b9c49..a879015599a4 100644 --- a/clients/client-app-mesh/package.json +++ b/clients/client-app-mesh/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-app-mesh/runtimeConfig.browser.ts b/clients/client-app-mesh/runtimeConfig.browser.ts index ecf4ecaa2dd0..a6777a55b04c 100644 --- a/clients/client-app-mesh/runtimeConfig.browser.ts +++ b/clients/client-app-mesh/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-app-mesh/runtimeConfig.native.ts b/clients/client-app-mesh/runtimeConfig.native.ts index 4b9aaa11dd34..0d59f9dcc466 100644 --- a/clients/client-app-mesh/runtimeConfig.native.ts +++ b/clients/client-app-mesh/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./AppMeshClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-app-mesh/runtimeConfig.shared.ts b/clients/client-app-mesh/runtimeConfig.shared.ts index ea18967167aa..af2dadef3434 100644 --- a/clients/client-app-mesh/runtimeConfig.shared.ts +++ b/clients/client-app-mesh/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "App Mesh", + urlParser: parseUrl, }; diff --git a/clients/client-app-mesh/runtimeConfig.ts b/clients/client-app-mesh/runtimeConfig.ts index 8ee5368a017a..de425c0a18d7 100644 --- a/clients/client-app-mesh/runtimeConfig.ts +++ b/clients/client-app-mesh/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-appconfig/package.json b/clients/client-appconfig/package.json index 8dd22a8018ae..80d671763ad8 100644 --- a/clients/client-appconfig/package.json +++ b/clients/client-appconfig/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-appconfig/runtimeConfig.browser.ts b/clients/client-appconfig/runtimeConfig.browser.ts index 3f1bf159c27c..72b4acf71f46 100644 --- a/clients/client-appconfig/runtimeConfig.browser.ts +++ b/clients/client-appconfig/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-appconfig/runtimeConfig.native.ts b/clients/client-appconfig/runtimeConfig.native.ts index 7437c5e8815b..ef15921fe89a 100644 --- a/clients/client-appconfig/runtimeConfig.native.ts +++ b/clients/client-appconfig/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./AppConfigClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-appconfig/runtimeConfig.shared.ts b/clients/client-appconfig/runtimeConfig.shared.ts index 674fd3848011..e1b514c1a150 100644 --- a/clients/client-appconfig/runtimeConfig.shared.ts +++ b/clients/client-appconfig/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "AppConfig", + urlParser: parseUrl, }; diff --git a/clients/client-appconfig/runtimeConfig.ts b/clients/client-appconfig/runtimeConfig.ts index 0eb9c14b6180..2bf9d426c8c3 100644 --- a/clients/client-appconfig/runtimeConfig.ts +++ b/clients/client-appconfig/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-appflow/package.json b/clients/client-appflow/package.json index 11aa706a0b78..50c5aeff184e 100644 --- a/clients/client-appflow/package.json +++ b/clients/client-appflow/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-appflow/runtimeConfig.browser.ts b/clients/client-appflow/runtimeConfig.browser.ts index 512676514cdd..7926719fdeaf 100644 --- a/clients/client-appflow/runtimeConfig.browser.ts +++ b/clients/client-appflow/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-appflow/runtimeConfig.native.ts b/clients/client-appflow/runtimeConfig.native.ts index 854e00b75367..c092bfdc2369 100644 --- a/clients/client-appflow/runtimeConfig.native.ts +++ b/clients/client-appflow/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./AppflowClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-appflow/runtimeConfig.shared.ts b/clients/client-appflow/runtimeConfig.shared.ts index eb9353488b50..6d47bc2f6539 100644 --- a/clients/client-appflow/runtimeConfig.shared.ts +++ b/clients/client-appflow/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Appflow", + urlParser: parseUrl, }; diff --git a/clients/client-appflow/runtimeConfig.ts b/clients/client-appflow/runtimeConfig.ts index af75cc10fb4f..b5f3ffeb302f 100644 --- a/clients/client-appflow/runtimeConfig.ts +++ b/clients/client-appflow/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-appintegrations/package.json b/clients/client-appintegrations/package.json index bf65945416f6..5033fc648667 100644 --- a/clients/client-appintegrations/package.json +++ b/clients/client-appintegrations/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-appintegrations/runtimeConfig.browser.ts b/clients/client-appintegrations/runtimeConfig.browser.ts index 438dc0691ea0..10b8d68d8d57 100644 --- a/clients/client-appintegrations/runtimeConfig.browser.ts +++ b/clients/client-appintegrations/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-appintegrations/runtimeConfig.native.ts b/clients/client-appintegrations/runtimeConfig.native.ts index e54eac06d5bc..2001249c7bef 100644 --- a/clients/client-appintegrations/runtimeConfig.native.ts +++ b/clients/client-appintegrations/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./AppIntegrationsClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-appintegrations/runtimeConfig.shared.ts b/clients/client-appintegrations/runtimeConfig.shared.ts index e4fb795e49fb..bee7784252d8 100644 --- a/clients/client-appintegrations/runtimeConfig.shared.ts +++ b/clients/client-appintegrations/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "AppIntegrations", + urlParser: parseUrl, }; diff --git a/clients/client-appintegrations/runtimeConfig.ts b/clients/client-appintegrations/runtimeConfig.ts index c6154ae215b4..de4d2f76565b 100644 --- a/clients/client-appintegrations/runtimeConfig.ts +++ b/clients/client-appintegrations/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-application-auto-scaling/package.json b/clients/client-application-auto-scaling/package.json index fb5d41851de2..63878a7782c5 100644 --- a/clients/client-application-auto-scaling/package.json +++ b/clients/client-application-auto-scaling/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-application-auto-scaling/runtimeConfig.browser.ts b/clients/client-application-auto-scaling/runtimeConfig.browser.ts index fdbbd94ec843..636ba3f23ae5 100644 --- a/clients/client-application-auto-scaling/runtimeConfig.browser.ts +++ b/clients/client-application-auto-scaling/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-application-auto-scaling/runtimeConfig.native.ts b/clients/client-application-auto-scaling/runtimeConfig.native.ts index e649ea552238..b4c26c97c109 100644 --- a/clients/client-application-auto-scaling/runtimeConfig.native.ts +++ b/clients/client-application-auto-scaling/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./ApplicationAutoScalingClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-application-auto-scaling/runtimeConfig.shared.ts b/clients/client-application-auto-scaling/runtimeConfig.shared.ts index ddb0cb2f5833..0cbe7f5cf847 100644 --- a/clients/client-application-auto-scaling/runtimeConfig.shared.ts +++ b/clients/client-application-auto-scaling/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Application Auto Scaling", + urlParser: parseUrl, }; diff --git a/clients/client-application-auto-scaling/runtimeConfig.ts b/clients/client-application-auto-scaling/runtimeConfig.ts index 27a1cb9b71c5..edca754f345f 100644 --- a/clients/client-application-auto-scaling/runtimeConfig.ts +++ b/clients/client-application-auto-scaling/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-application-discovery-service/package.json b/clients/client-application-discovery-service/package.json index ddf68fc11727..c3cd0de7219d 100644 --- a/clients/client-application-discovery-service/package.json +++ b/clients/client-application-discovery-service/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-application-discovery-service/runtimeConfig.browser.ts b/clients/client-application-discovery-service/runtimeConfig.browser.ts index dbe5b6df378a..a1a609db6077 100644 --- a/clients/client-application-discovery-service/runtimeConfig.browser.ts +++ b/clients/client-application-discovery-service/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-application-discovery-service/runtimeConfig.native.ts b/clients/client-application-discovery-service/runtimeConfig.native.ts index f7f13bac556d..3c8125c9d1a6 100644 --- a/clients/client-application-discovery-service/runtimeConfig.native.ts +++ b/clients/client-application-discovery-service/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./ApplicationDiscoveryServiceClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-application-discovery-service/runtimeConfig.shared.ts b/clients/client-application-discovery-service/runtimeConfig.shared.ts index e3e1c1193855..ecd4b72c4586 100644 --- a/clients/client-application-discovery-service/runtimeConfig.shared.ts +++ b/clients/client-application-discovery-service/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Application Discovery Service", + urlParser: parseUrl, }; diff --git a/clients/client-application-discovery-service/runtimeConfig.ts b/clients/client-application-discovery-service/runtimeConfig.ts index 5b066dca0231..ed5d4ba11786 100644 --- a/clients/client-application-discovery-service/runtimeConfig.ts +++ b/clients/client-application-discovery-service/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-application-insights/package.json b/clients/client-application-insights/package.json index 24414ff08a44..1e69f6158ba0 100644 --- a/clients/client-application-insights/package.json +++ b/clients/client-application-insights/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-application-insights/runtimeConfig.browser.ts b/clients/client-application-insights/runtimeConfig.browser.ts index 8a4cc23147be..ee88f70cdd6e 100644 --- a/clients/client-application-insights/runtimeConfig.browser.ts +++ b/clients/client-application-insights/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-application-insights/runtimeConfig.native.ts b/clients/client-application-insights/runtimeConfig.native.ts index a5e50d48a70d..b9d64e0823c2 100644 --- a/clients/client-application-insights/runtimeConfig.native.ts +++ b/clients/client-application-insights/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./ApplicationInsightsClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-application-insights/runtimeConfig.shared.ts b/clients/client-application-insights/runtimeConfig.shared.ts index 8ecc3a466939..af2c71f44f57 100644 --- a/clients/client-application-insights/runtimeConfig.shared.ts +++ b/clients/client-application-insights/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Application Insights", + urlParser: parseUrl, }; diff --git a/clients/client-application-insights/runtimeConfig.ts b/clients/client-application-insights/runtimeConfig.ts index 93d515dbde58..2f6e047b1dc0 100644 --- a/clients/client-application-insights/runtimeConfig.ts +++ b/clients/client-application-insights/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-appstream/package.json b/clients/client-appstream/package.json index 96a5866bca66..3d0362846c09 100644 --- a/clients/client-appstream/package.json +++ b/clients/client-appstream/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-appstream/runtimeConfig.browser.ts b/clients/client-appstream/runtimeConfig.browser.ts index 7a56458d57e5..71193c3b1349 100644 --- a/clients/client-appstream/runtimeConfig.browser.ts +++ b/clients/client-appstream/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-appstream/runtimeConfig.native.ts b/clients/client-appstream/runtimeConfig.native.ts index c466709e8de1..aca8d787ec3c 100644 --- a/clients/client-appstream/runtimeConfig.native.ts +++ b/clients/client-appstream/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./AppStreamClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-appstream/runtimeConfig.shared.ts b/clients/client-appstream/runtimeConfig.shared.ts index fc25637b788a..ed6cfaa3f35c 100644 --- a/clients/client-appstream/runtimeConfig.shared.ts +++ b/clients/client-appstream/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "AppStream", + urlParser: parseUrl, }; diff --git a/clients/client-appstream/runtimeConfig.ts b/clients/client-appstream/runtimeConfig.ts index c26f1084d832..b53da9f50896 100644 --- a/clients/client-appstream/runtimeConfig.ts +++ b/clients/client-appstream/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-appsync/package.json b/clients/client-appsync/package.json index 25b926d20abd..f1b75bc8b917 100644 --- a/clients/client-appsync/package.json +++ b/clients/client-appsync/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-appsync/runtimeConfig.browser.ts b/clients/client-appsync/runtimeConfig.browser.ts index f27861ab6ae2..c99a5fa7d127 100644 --- a/clients/client-appsync/runtimeConfig.browser.ts +++ b/clients/client-appsync/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-appsync/runtimeConfig.native.ts b/clients/client-appsync/runtimeConfig.native.ts index 05128c0c244d..1ab2b7c97c70 100644 --- a/clients/client-appsync/runtimeConfig.native.ts +++ b/clients/client-appsync/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./AppSyncClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-appsync/runtimeConfig.shared.ts b/clients/client-appsync/runtimeConfig.shared.ts index 7542e0a2c826..0489f39874db 100644 --- a/clients/client-appsync/runtimeConfig.shared.ts +++ b/clients/client-appsync/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "AppSync", + urlParser: parseUrl, }; diff --git a/clients/client-appsync/runtimeConfig.ts b/clients/client-appsync/runtimeConfig.ts index eec7cf44534a..cc61caa2ab53 100644 --- a/clients/client-appsync/runtimeConfig.ts +++ b/clients/client-appsync/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-athena/package.json b/clients/client-athena/package.json index 5be862d3b0eb..1ec6602d91bc 100644 --- a/clients/client-athena/package.json +++ b/clients/client-athena/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-athena/runtimeConfig.browser.ts b/clients/client-athena/runtimeConfig.browser.ts index bebbac957be1..05fe98f00816 100644 --- a/clients/client-athena/runtimeConfig.browser.ts +++ b/clients/client-athena/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-athena/runtimeConfig.native.ts b/clients/client-athena/runtimeConfig.native.ts index 1df4f8e427f8..32383fcfad8a 100644 --- a/clients/client-athena/runtimeConfig.native.ts +++ b/clients/client-athena/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./AthenaClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-athena/runtimeConfig.shared.ts b/clients/client-athena/runtimeConfig.shared.ts index 3683c98f5106..c49b540b0da2 100644 --- a/clients/client-athena/runtimeConfig.shared.ts +++ b/clients/client-athena/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Athena", + urlParser: parseUrl, }; diff --git a/clients/client-athena/runtimeConfig.ts b/clients/client-athena/runtimeConfig.ts index 79f8cc940682..476dd658f17e 100644 --- a/clients/client-athena/runtimeConfig.ts +++ b/clients/client-athena/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-auditmanager/package.json b/clients/client-auditmanager/package.json index 732669a729f6..d184f9467c21 100644 --- a/clients/client-auditmanager/package.json +++ b/clients/client-auditmanager/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-auditmanager/runtimeConfig.browser.ts b/clients/client-auditmanager/runtimeConfig.browser.ts index 2671f8aeb7e9..ad7988997793 100644 --- a/clients/client-auditmanager/runtimeConfig.browser.ts +++ b/clients/client-auditmanager/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-auditmanager/runtimeConfig.native.ts b/clients/client-auditmanager/runtimeConfig.native.ts index d227113c6e50..b57f4e440c3d 100644 --- a/clients/client-auditmanager/runtimeConfig.native.ts +++ b/clients/client-auditmanager/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./AuditManagerClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-auditmanager/runtimeConfig.shared.ts b/clients/client-auditmanager/runtimeConfig.shared.ts index 88f8a25803b6..4b1685d4eca6 100644 --- a/clients/client-auditmanager/runtimeConfig.shared.ts +++ b/clients/client-auditmanager/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "AuditManager", + urlParser: parseUrl, }; diff --git a/clients/client-auditmanager/runtimeConfig.ts b/clients/client-auditmanager/runtimeConfig.ts index bbdac9e09853..bf7419d6b367 100644 --- a/clients/client-auditmanager/runtimeConfig.ts +++ b/clients/client-auditmanager/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-auto-scaling-plans/package.json b/clients/client-auto-scaling-plans/package.json index 86633f2107eb..433f67c4c9b4 100644 --- a/clients/client-auto-scaling-plans/package.json +++ b/clients/client-auto-scaling-plans/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-auto-scaling-plans/runtimeConfig.browser.ts b/clients/client-auto-scaling-plans/runtimeConfig.browser.ts index d7da378eff21..ffc261fc2b35 100644 --- a/clients/client-auto-scaling-plans/runtimeConfig.browser.ts +++ b/clients/client-auto-scaling-plans/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-auto-scaling-plans/runtimeConfig.native.ts b/clients/client-auto-scaling-plans/runtimeConfig.native.ts index ffb1458f9d34..9615d9027454 100644 --- a/clients/client-auto-scaling-plans/runtimeConfig.native.ts +++ b/clients/client-auto-scaling-plans/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./AutoScalingPlansClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-auto-scaling-plans/runtimeConfig.shared.ts b/clients/client-auto-scaling-plans/runtimeConfig.shared.ts index 193bae4d0805..50bc6d681c7e 100644 --- a/clients/client-auto-scaling-plans/runtimeConfig.shared.ts +++ b/clients/client-auto-scaling-plans/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Auto Scaling Plans", + urlParser: parseUrl, }; diff --git a/clients/client-auto-scaling-plans/runtimeConfig.ts b/clients/client-auto-scaling-plans/runtimeConfig.ts index 08b2bae41535..5376f7af94bf 100644 --- a/clients/client-auto-scaling-plans/runtimeConfig.ts +++ b/clients/client-auto-scaling-plans/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-auto-scaling/package.json b/clients/client-auto-scaling/package.json index 25b6548f4fd3..588b06e38a0f 100644 --- a/clients/client-auto-scaling/package.json +++ b/clients/client-auto-scaling/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-auto-scaling/runtimeConfig.browser.ts b/clients/client-auto-scaling/runtimeConfig.browser.ts index 90ea7c0ee920..487163459c4f 100644 --- a/clients/client-auto-scaling/runtimeConfig.browser.ts +++ b/clients/client-auto-scaling/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-auto-scaling/runtimeConfig.native.ts b/clients/client-auto-scaling/runtimeConfig.native.ts index fd94fcca939c..2f620d531457 100644 --- a/clients/client-auto-scaling/runtimeConfig.native.ts +++ b/clients/client-auto-scaling/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./AutoScalingClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-auto-scaling/runtimeConfig.shared.ts b/clients/client-auto-scaling/runtimeConfig.shared.ts index bf014497fb54..340c7042ad91 100644 --- a/clients/client-auto-scaling/runtimeConfig.shared.ts +++ b/clients/client-auto-scaling/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Auto Scaling", + urlParser: parseUrl, }; diff --git a/clients/client-auto-scaling/runtimeConfig.ts b/clients/client-auto-scaling/runtimeConfig.ts index 7ba2b348b8c7..4af80ac493ef 100644 --- a/clients/client-auto-scaling/runtimeConfig.ts +++ b/clients/client-auto-scaling/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-backup/package.json b/clients/client-backup/package.json index fd987bb46c0e..47c7e3e22510 100644 --- a/clients/client-backup/package.json +++ b/clients/client-backup/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-backup/runtimeConfig.browser.ts b/clients/client-backup/runtimeConfig.browser.ts index 7d7d828f2c42..536afef9c785 100644 --- a/clients/client-backup/runtimeConfig.browser.ts +++ b/clients/client-backup/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-backup/runtimeConfig.native.ts b/clients/client-backup/runtimeConfig.native.ts index 4371a7a73ebb..57c57f9799d8 100644 --- a/clients/client-backup/runtimeConfig.native.ts +++ b/clients/client-backup/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./BackupClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-backup/runtimeConfig.shared.ts b/clients/client-backup/runtimeConfig.shared.ts index e56414062f75..a91555241ba5 100644 --- a/clients/client-backup/runtimeConfig.shared.ts +++ b/clients/client-backup/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Backup", + urlParser: parseUrl, }; diff --git a/clients/client-backup/runtimeConfig.ts b/clients/client-backup/runtimeConfig.ts index 1201043911d6..27c76529bcad 100644 --- a/clients/client-backup/runtimeConfig.ts +++ b/clients/client-backup/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-batch/package.json b/clients/client-batch/package.json index 050f8caa29f5..70b325698780 100644 --- a/clients/client-batch/package.json +++ b/clients/client-batch/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-batch/runtimeConfig.browser.ts b/clients/client-batch/runtimeConfig.browser.ts index da196fafd5dc..ac2ed064ecb7 100644 --- a/clients/client-batch/runtimeConfig.browser.ts +++ b/clients/client-batch/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-batch/runtimeConfig.native.ts b/clients/client-batch/runtimeConfig.native.ts index d53318dbf968..58189a6fd346 100644 --- a/clients/client-batch/runtimeConfig.native.ts +++ b/clients/client-batch/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./BatchClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-batch/runtimeConfig.shared.ts b/clients/client-batch/runtimeConfig.shared.ts index 0d8cc41fc1ce..9bcc09bfd0db 100644 --- a/clients/client-batch/runtimeConfig.shared.ts +++ b/clients/client-batch/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Batch", + urlParser: parseUrl, }; diff --git a/clients/client-batch/runtimeConfig.ts b/clients/client-batch/runtimeConfig.ts index 923dc4cb2cb3..626e6de39f27 100644 --- a/clients/client-batch/runtimeConfig.ts +++ b/clients/client-batch/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-braket/package.json b/clients/client-braket/package.json index 1ba04b87efe7..85f790054df4 100644 --- a/clients/client-braket/package.json +++ b/clients/client-braket/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-braket/runtimeConfig.browser.ts b/clients/client-braket/runtimeConfig.browser.ts index 6280a709a78d..54fef7015a8b 100644 --- a/clients/client-braket/runtimeConfig.browser.ts +++ b/clients/client-braket/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-braket/runtimeConfig.native.ts b/clients/client-braket/runtimeConfig.native.ts index e8d73bb9e624..3f1bb744237d 100644 --- a/clients/client-braket/runtimeConfig.native.ts +++ b/clients/client-braket/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./BraketClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-braket/runtimeConfig.shared.ts b/clients/client-braket/runtimeConfig.shared.ts index 577318abe94c..cc025b8ef97b 100644 --- a/clients/client-braket/runtimeConfig.shared.ts +++ b/clients/client-braket/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Braket", + urlParser: parseUrl, }; diff --git a/clients/client-braket/runtimeConfig.ts b/clients/client-braket/runtimeConfig.ts index eb4cbe3e144b..6900b35ed6be 100644 --- a/clients/client-braket/runtimeConfig.ts +++ b/clients/client-braket/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-budgets/package.json b/clients/client-budgets/package.json index 7aed741f8237..8d02693665b6 100644 --- a/clients/client-budgets/package.json +++ b/clients/client-budgets/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-budgets/runtimeConfig.browser.ts b/clients/client-budgets/runtimeConfig.browser.ts index 217993252eb0..af1466dc2110 100644 --- a/clients/client-budgets/runtimeConfig.browser.ts +++ b/clients/client-budgets/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-budgets/runtimeConfig.native.ts b/clients/client-budgets/runtimeConfig.native.ts index 3278370473d9..ae9db4103f86 100644 --- a/clients/client-budgets/runtimeConfig.native.ts +++ b/clients/client-budgets/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./BudgetsClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-budgets/runtimeConfig.shared.ts b/clients/client-budgets/runtimeConfig.shared.ts index dbf76c4c32c2..5d821abfa43f 100644 --- a/clients/client-budgets/runtimeConfig.shared.ts +++ b/clients/client-budgets/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Budgets", + urlParser: parseUrl, }; diff --git a/clients/client-budgets/runtimeConfig.ts b/clients/client-budgets/runtimeConfig.ts index 569fa37dce2e..a0e779d9d9bd 100644 --- a/clients/client-budgets/runtimeConfig.ts +++ b/clients/client-budgets/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-chime/package.json b/clients/client-chime/package.json index 39346f9b1378..42cd070d2ad0 100644 --- a/clients/client-chime/package.json +++ b/clients/client-chime/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-chime/runtimeConfig.browser.ts b/clients/client-chime/runtimeConfig.browser.ts index 655037a729fa..339b524a5763 100644 --- a/clients/client-chime/runtimeConfig.browser.ts +++ b/clients/client-chime/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-chime/runtimeConfig.native.ts b/clients/client-chime/runtimeConfig.native.ts index f0316d22048a..ee86f74e19b8 100644 --- a/clients/client-chime/runtimeConfig.native.ts +++ b/clients/client-chime/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./ChimeClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-chime/runtimeConfig.shared.ts b/clients/client-chime/runtimeConfig.shared.ts index 7e5abe962359..a9d41c9d370f 100644 --- a/clients/client-chime/runtimeConfig.shared.ts +++ b/clients/client-chime/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Chime", + urlParser: parseUrl, }; diff --git a/clients/client-chime/runtimeConfig.ts b/clients/client-chime/runtimeConfig.ts index 81cdfc0c8bae..84b98b14c050 100644 --- a/clients/client-chime/runtimeConfig.ts +++ b/clients/client-chime/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-cloud9/package.json b/clients/client-cloud9/package.json index 7cd80162ff18..8e9863cc4519 100644 --- a/clients/client-cloud9/package.json +++ b/clients/client-cloud9/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-cloud9/runtimeConfig.browser.ts b/clients/client-cloud9/runtimeConfig.browser.ts index 5bf128592888..7b478990c015 100644 --- a/clients/client-cloud9/runtimeConfig.browser.ts +++ b/clients/client-cloud9/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-cloud9/runtimeConfig.native.ts b/clients/client-cloud9/runtimeConfig.native.ts index ef11a033b506..2598fadf5687 100644 --- a/clients/client-cloud9/runtimeConfig.native.ts +++ b/clients/client-cloud9/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./Cloud9Client"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-cloud9/runtimeConfig.shared.ts b/clients/client-cloud9/runtimeConfig.shared.ts index 9f1474e81f62..f3e4ffb2e617 100644 --- a/clients/client-cloud9/runtimeConfig.shared.ts +++ b/clients/client-cloud9/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Cloud9", + urlParser: parseUrl, }; diff --git a/clients/client-cloud9/runtimeConfig.ts b/clients/client-cloud9/runtimeConfig.ts index 0ffa3ba946f1..900e74490313 100644 --- a/clients/client-cloud9/runtimeConfig.ts +++ b/clients/client-cloud9/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-clouddirectory/package.json b/clients/client-clouddirectory/package.json index 0c7339d53469..42d05ed9b1b2 100644 --- a/clients/client-clouddirectory/package.json +++ b/clients/client-clouddirectory/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-clouddirectory/runtimeConfig.browser.ts b/clients/client-clouddirectory/runtimeConfig.browser.ts index 59e4cf5f4367..3e163cfbf647 100644 --- a/clients/client-clouddirectory/runtimeConfig.browser.ts +++ b/clients/client-clouddirectory/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-clouddirectory/runtimeConfig.native.ts b/clients/client-clouddirectory/runtimeConfig.native.ts index df92245a8187..16d4ce3f03c8 100644 --- a/clients/client-clouddirectory/runtimeConfig.native.ts +++ b/clients/client-clouddirectory/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./CloudDirectoryClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-clouddirectory/runtimeConfig.shared.ts b/clients/client-clouddirectory/runtimeConfig.shared.ts index 6b7513723b96..e78dd55e2441 100644 --- a/clients/client-clouddirectory/runtimeConfig.shared.ts +++ b/clients/client-clouddirectory/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "CloudDirectory", + urlParser: parseUrl, }; diff --git a/clients/client-clouddirectory/runtimeConfig.ts b/clients/client-clouddirectory/runtimeConfig.ts index 32a7732687bb..97996f9cf77c 100644 --- a/clients/client-clouddirectory/runtimeConfig.ts +++ b/clients/client-clouddirectory/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-cloudformation/package.json b/clients/client-cloudformation/package.json index ff91bf1f85c9..ae88e4f27bcc 100644 --- a/clients/client-cloudformation/package.json +++ b/clients/client-cloudformation/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-cloudformation/runtimeConfig.browser.ts b/clients/client-cloudformation/runtimeConfig.browser.ts index 0d040c39db13..787d5613819a 100644 --- a/clients/client-cloudformation/runtimeConfig.browser.ts +++ b/clients/client-cloudformation/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-cloudformation/runtimeConfig.native.ts b/clients/client-cloudformation/runtimeConfig.native.ts index 813fdb72926b..a2bf0ff43241 100644 --- a/clients/client-cloudformation/runtimeConfig.native.ts +++ b/clients/client-cloudformation/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./CloudFormationClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-cloudformation/runtimeConfig.shared.ts b/clients/client-cloudformation/runtimeConfig.shared.ts index e7dfaf3fe481..b58bda278ff9 100644 --- a/clients/client-cloudformation/runtimeConfig.shared.ts +++ b/clients/client-cloudformation/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "CloudFormation", + urlParser: parseUrl, }; diff --git a/clients/client-cloudformation/runtimeConfig.ts b/clients/client-cloudformation/runtimeConfig.ts index 328cda274e52..fd9218edcd4e 100644 --- a/clients/client-cloudformation/runtimeConfig.ts +++ b/clients/client-cloudformation/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-cloudfront/package.json b/clients/client-cloudfront/package.json index 7c9a3d7df3c7..b5b2524097d9 100644 --- a/clients/client-cloudfront/package.json +++ b/clients/client-cloudfront/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-cloudfront/runtimeConfig.browser.ts b/clients/client-cloudfront/runtimeConfig.browser.ts index 3ab6cf9c74d7..28b7a7d2ec51 100644 --- a/clients/client-cloudfront/runtimeConfig.browser.ts +++ b/clients/client-cloudfront/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-cloudfront/runtimeConfig.native.ts b/clients/client-cloudfront/runtimeConfig.native.ts index efa94494b6f4..d36e120bc3a2 100644 --- a/clients/client-cloudfront/runtimeConfig.native.ts +++ b/clients/client-cloudfront/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./CloudFrontClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-cloudfront/runtimeConfig.shared.ts b/clients/client-cloudfront/runtimeConfig.shared.ts index e3071d0cc220..2a35df519d2c 100644 --- a/clients/client-cloudfront/runtimeConfig.shared.ts +++ b/clients/client-cloudfront/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "CloudFront", + urlParser: parseUrl, }; diff --git a/clients/client-cloudfront/runtimeConfig.ts b/clients/client-cloudfront/runtimeConfig.ts index a7f3f1aee5d3..9af3d28baeb2 100644 --- a/clients/client-cloudfront/runtimeConfig.ts +++ b/clients/client-cloudfront/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-cloudhsm-v2/package.json b/clients/client-cloudhsm-v2/package.json index 22306c20f83b..dd9826a82751 100644 --- a/clients/client-cloudhsm-v2/package.json +++ b/clients/client-cloudhsm-v2/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-cloudhsm-v2/runtimeConfig.browser.ts b/clients/client-cloudhsm-v2/runtimeConfig.browser.ts index 4db1b42ff9b9..061c9b8639fe 100644 --- a/clients/client-cloudhsm-v2/runtimeConfig.browser.ts +++ b/clients/client-cloudhsm-v2/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-cloudhsm-v2/runtimeConfig.native.ts b/clients/client-cloudhsm-v2/runtimeConfig.native.ts index cb4541187049..cb20ed54495c 100644 --- a/clients/client-cloudhsm-v2/runtimeConfig.native.ts +++ b/clients/client-cloudhsm-v2/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./CloudHSMV2Client"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-cloudhsm-v2/runtimeConfig.shared.ts b/clients/client-cloudhsm-v2/runtimeConfig.shared.ts index 2d9ef37c786f..f6765127fc69 100644 --- a/clients/client-cloudhsm-v2/runtimeConfig.shared.ts +++ b/clients/client-cloudhsm-v2/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "CloudHSM V2", + urlParser: parseUrl, }; diff --git a/clients/client-cloudhsm-v2/runtimeConfig.ts b/clients/client-cloudhsm-v2/runtimeConfig.ts index 944c365a6e50..3a4b74ca5253 100644 --- a/clients/client-cloudhsm-v2/runtimeConfig.ts +++ b/clients/client-cloudhsm-v2/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-cloudhsm/package.json b/clients/client-cloudhsm/package.json index 67cec2587069..79eef787d273 100644 --- a/clients/client-cloudhsm/package.json +++ b/clients/client-cloudhsm/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-cloudhsm/runtimeConfig.browser.ts b/clients/client-cloudhsm/runtimeConfig.browser.ts index 3d1af821974d..625c6609251b 100644 --- a/clients/client-cloudhsm/runtimeConfig.browser.ts +++ b/clients/client-cloudhsm/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-cloudhsm/runtimeConfig.native.ts b/clients/client-cloudhsm/runtimeConfig.native.ts index 522df7557937..4de79d9c5dcf 100644 --- a/clients/client-cloudhsm/runtimeConfig.native.ts +++ b/clients/client-cloudhsm/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./CloudHSMClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-cloudhsm/runtimeConfig.shared.ts b/clients/client-cloudhsm/runtimeConfig.shared.ts index 306f192a9b4f..bf88b243cf01 100644 --- a/clients/client-cloudhsm/runtimeConfig.shared.ts +++ b/clients/client-cloudhsm/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "CloudHSM", + urlParser: parseUrl, }; diff --git a/clients/client-cloudhsm/runtimeConfig.ts b/clients/client-cloudhsm/runtimeConfig.ts index caba4ae7bdb7..341991c776bb 100644 --- a/clients/client-cloudhsm/runtimeConfig.ts +++ b/clients/client-cloudhsm/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-cloudsearch-domain/package.json b/clients/client-cloudsearch-domain/package.json index 92b94ebc287a..bcc100ff11af 100644 --- a/clients/client-cloudsearch-domain/package.json +++ b/clients/client-cloudsearch-domain/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-cloudsearch-domain/runtimeConfig.browser.ts b/clients/client-cloudsearch-domain/runtimeConfig.browser.ts index 0c1db3af09e9..36b5eec0d348 100644 --- a/clients/client-cloudsearch-domain/runtimeConfig.browser.ts +++ b/clients/client-cloudsearch-domain/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-cloudsearch-domain/runtimeConfig.native.ts b/clients/client-cloudsearch-domain/runtimeConfig.native.ts index c6bbd7f137e3..7ac9a62a2227 100644 --- a/clients/client-cloudsearch-domain/runtimeConfig.native.ts +++ b/clients/client-cloudsearch-domain/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./CloudSearchDomainClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-cloudsearch-domain/runtimeConfig.shared.ts b/clients/client-cloudsearch-domain/runtimeConfig.shared.ts index fa45b263a328..c64436bd76cf 100644 --- a/clients/client-cloudsearch-domain/runtimeConfig.shared.ts +++ b/clients/client-cloudsearch-domain/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "CloudSearch Domain", + urlParser: parseUrl, }; diff --git a/clients/client-cloudsearch-domain/runtimeConfig.ts b/clients/client-cloudsearch-domain/runtimeConfig.ts index 5bcf87522cb0..852b2ca3734d 100644 --- a/clients/client-cloudsearch-domain/runtimeConfig.ts +++ b/clients/client-cloudsearch-domain/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-cloudsearch/package.json b/clients/client-cloudsearch/package.json index a1abb4f3a6d2..6b5de2c61c90 100644 --- a/clients/client-cloudsearch/package.json +++ b/clients/client-cloudsearch/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-cloudsearch/runtimeConfig.browser.ts b/clients/client-cloudsearch/runtimeConfig.browser.ts index 019424631002..84ec0128f254 100644 --- a/clients/client-cloudsearch/runtimeConfig.browser.ts +++ b/clients/client-cloudsearch/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-cloudsearch/runtimeConfig.native.ts b/clients/client-cloudsearch/runtimeConfig.native.ts index f6d8caa780a2..4290f8a8b987 100644 --- a/clients/client-cloudsearch/runtimeConfig.native.ts +++ b/clients/client-cloudsearch/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./CloudSearchClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-cloudsearch/runtimeConfig.shared.ts b/clients/client-cloudsearch/runtimeConfig.shared.ts index 43eb88a127db..852e6819ff3f 100644 --- a/clients/client-cloudsearch/runtimeConfig.shared.ts +++ b/clients/client-cloudsearch/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "CloudSearch", + urlParser: parseUrl, }; diff --git a/clients/client-cloudsearch/runtimeConfig.ts b/clients/client-cloudsearch/runtimeConfig.ts index 542ffe9d685a..383992fbdc23 100644 --- a/clients/client-cloudsearch/runtimeConfig.ts +++ b/clients/client-cloudsearch/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-cloudtrail/package.json b/clients/client-cloudtrail/package.json index f309523b5837..3b005a065460 100644 --- a/clients/client-cloudtrail/package.json +++ b/clients/client-cloudtrail/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-cloudtrail/runtimeConfig.browser.ts b/clients/client-cloudtrail/runtimeConfig.browser.ts index 8c525d5edd69..0c898f93b9da 100644 --- a/clients/client-cloudtrail/runtimeConfig.browser.ts +++ b/clients/client-cloudtrail/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-cloudtrail/runtimeConfig.native.ts b/clients/client-cloudtrail/runtimeConfig.native.ts index d1c8d93bc36b..46702087d3e6 100644 --- a/clients/client-cloudtrail/runtimeConfig.native.ts +++ b/clients/client-cloudtrail/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./CloudTrailClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-cloudtrail/runtimeConfig.shared.ts b/clients/client-cloudtrail/runtimeConfig.shared.ts index dc584e3ed932..9d4a42f38086 100644 --- a/clients/client-cloudtrail/runtimeConfig.shared.ts +++ b/clients/client-cloudtrail/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "CloudTrail", + urlParser: parseUrl, }; diff --git a/clients/client-cloudtrail/runtimeConfig.ts b/clients/client-cloudtrail/runtimeConfig.ts index 4d9070eba55e..522801a539e2 100644 --- a/clients/client-cloudtrail/runtimeConfig.ts +++ b/clients/client-cloudtrail/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-cloudwatch-events/package.json b/clients/client-cloudwatch-events/package.json index 3891cd0b8b8e..5cd3e9be10bb 100644 --- a/clients/client-cloudwatch-events/package.json +++ b/clients/client-cloudwatch-events/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-cloudwatch-events/runtimeConfig.browser.ts b/clients/client-cloudwatch-events/runtimeConfig.browser.ts index 93cf5a4b7c54..8929ac6c1427 100644 --- a/clients/client-cloudwatch-events/runtimeConfig.browser.ts +++ b/clients/client-cloudwatch-events/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-cloudwatch-events/runtimeConfig.native.ts b/clients/client-cloudwatch-events/runtimeConfig.native.ts index e67184f83892..39beb87b0a58 100644 --- a/clients/client-cloudwatch-events/runtimeConfig.native.ts +++ b/clients/client-cloudwatch-events/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./CloudWatchEventsClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-cloudwatch-events/runtimeConfig.shared.ts b/clients/client-cloudwatch-events/runtimeConfig.shared.ts index fabe765b1646..9a95c4c79057 100644 --- a/clients/client-cloudwatch-events/runtimeConfig.shared.ts +++ b/clients/client-cloudwatch-events/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "CloudWatch Events", + urlParser: parseUrl, }; diff --git a/clients/client-cloudwatch-events/runtimeConfig.ts b/clients/client-cloudwatch-events/runtimeConfig.ts index e7561fd407f6..6f17ba10202a 100644 --- a/clients/client-cloudwatch-events/runtimeConfig.ts +++ b/clients/client-cloudwatch-events/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-cloudwatch-logs/package.json b/clients/client-cloudwatch-logs/package.json index bf9a6981a2fc..06b8b00f45f8 100644 --- a/clients/client-cloudwatch-logs/package.json +++ b/clients/client-cloudwatch-logs/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-cloudwatch-logs/runtimeConfig.browser.ts b/clients/client-cloudwatch-logs/runtimeConfig.browser.ts index fdb7e48a57e2..d94979526ec6 100644 --- a/clients/client-cloudwatch-logs/runtimeConfig.browser.ts +++ b/clients/client-cloudwatch-logs/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-cloudwatch-logs/runtimeConfig.native.ts b/clients/client-cloudwatch-logs/runtimeConfig.native.ts index 51c69acdb689..6c043cf8bd43 100644 --- a/clients/client-cloudwatch-logs/runtimeConfig.native.ts +++ b/clients/client-cloudwatch-logs/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./CloudWatchLogsClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-cloudwatch-logs/runtimeConfig.shared.ts b/clients/client-cloudwatch-logs/runtimeConfig.shared.ts index 68728f86e8fd..d2c3370f544f 100644 --- a/clients/client-cloudwatch-logs/runtimeConfig.shared.ts +++ b/clients/client-cloudwatch-logs/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "CloudWatch Logs", + urlParser: parseUrl, }; diff --git a/clients/client-cloudwatch-logs/runtimeConfig.ts b/clients/client-cloudwatch-logs/runtimeConfig.ts index 8775531f639a..cd07a0c76540 100644 --- a/clients/client-cloudwatch-logs/runtimeConfig.ts +++ b/clients/client-cloudwatch-logs/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-cloudwatch/package.json b/clients/client-cloudwatch/package.json index 3d0026744d20..fe9e21a90c13 100644 --- a/clients/client-cloudwatch/package.json +++ b/clients/client-cloudwatch/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-cloudwatch/runtimeConfig.browser.ts b/clients/client-cloudwatch/runtimeConfig.browser.ts index 2eaf36a1c8d9..d94a938c4979 100644 --- a/clients/client-cloudwatch/runtimeConfig.browser.ts +++ b/clients/client-cloudwatch/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-cloudwatch/runtimeConfig.native.ts b/clients/client-cloudwatch/runtimeConfig.native.ts index 062d28f7b388..f49e5c8a372b 100644 --- a/clients/client-cloudwatch/runtimeConfig.native.ts +++ b/clients/client-cloudwatch/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./CloudWatchClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-cloudwatch/runtimeConfig.shared.ts b/clients/client-cloudwatch/runtimeConfig.shared.ts index 4bab3223930e..388025d25281 100644 --- a/clients/client-cloudwatch/runtimeConfig.shared.ts +++ b/clients/client-cloudwatch/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "CloudWatch", + urlParser: parseUrl, }; diff --git a/clients/client-cloudwatch/runtimeConfig.ts b/clients/client-cloudwatch/runtimeConfig.ts index 13c847ef37b5..b4909a4ec317 100644 --- a/clients/client-cloudwatch/runtimeConfig.ts +++ b/clients/client-cloudwatch/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-codeartifact/package.json b/clients/client-codeartifact/package.json index efb43ef9c756..f8a840764a4a 100644 --- a/clients/client-codeartifact/package.json +++ b/clients/client-codeartifact/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-codeartifact/runtimeConfig.browser.ts b/clients/client-codeartifact/runtimeConfig.browser.ts index a914d88b9cb9..1ccab4eb774b 100644 --- a/clients/client-codeartifact/runtimeConfig.browser.ts +++ b/clients/client-codeartifact/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-codeartifact/runtimeConfig.native.ts b/clients/client-codeartifact/runtimeConfig.native.ts index 0b860f18c482..6f9c8dc8a696 100644 --- a/clients/client-codeartifact/runtimeConfig.native.ts +++ b/clients/client-codeartifact/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./CodeartifactClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-codeartifact/runtimeConfig.shared.ts b/clients/client-codeartifact/runtimeConfig.shared.ts index 37bccc08033c..def84eea6166 100644 --- a/clients/client-codeartifact/runtimeConfig.shared.ts +++ b/clients/client-codeartifact/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "codeartifact", + urlParser: parseUrl, }; diff --git a/clients/client-codeartifact/runtimeConfig.ts b/clients/client-codeartifact/runtimeConfig.ts index f51a753ea3b0..bb732983895c 100644 --- a/clients/client-codeartifact/runtimeConfig.ts +++ b/clients/client-codeartifact/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-codebuild/package.json b/clients/client-codebuild/package.json index f0674b98863b..7e8ccf7f73cd 100644 --- a/clients/client-codebuild/package.json +++ b/clients/client-codebuild/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-codebuild/runtimeConfig.browser.ts b/clients/client-codebuild/runtimeConfig.browser.ts index 0888e2bf45b5..d60bfd3e1d78 100644 --- a/clients/client-codebuild/runtimeConfig.browser.ts +++ b/clients/client-codebuild/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-codebuild/runtimeConfig.native.ts b/clients/client-codebuild/runtimeConfig.native.ts index 7535c90ed473..064e69b325e0 100644 --- a/clients/client-codebuild/runtimeConfig.native.ts +++ b/clients/client-codebuild/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./CodeBuildClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-codebuild/runtimeConfig.shared.ts b/clients/client-codebuild/runtimeConfig.shared.ts index f62be56cb98f..910ff02aa6cc 100644 --- a/clients/client-codebuild/runtimeConfig.shared.ts +++ b/clients/client-codebuild/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "CodeBuild", + urlParser: parseUrl, }; diff --git a/clients/client-codebuild/runtimeConfig.ts b/clients/client-codebuild/runtimeConfig.ts index dc6c23eb61e2..43e422971328 100644 --- a/clients/client-codebuild/runtimeConfig.ts +++ b/clients/client-codebuild/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-codecommit/package.json b/clients/client-codecommit/package.json index fa3b21d51fc8..6ace9e59c7fc 100644 --- a/clients/client-codecommit/package.json +++ b/clients/client-codecommit/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-codecommit/runtimeConfig.browser.ts b/clients/client-codecommit/runtimeConfig.browser.ts index 579c5d72c91d..62bd2aca310f 100644 --- a/clients/client-codecommit/runtimeConfig.browser.ts +++ b/clients/client-codecommit/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-codecommit/runtimeConfig.native.ts b/clients/client-codecommit/runtimeConfig.native.ts index aa2ef6de1866..5ca936677544 100644 --- a/clients/client-codecommit/runtimeConfig.native.ts +++ b/clients/client-codecommit/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./CodeCommitClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-codecommit/runtimeConfig.shared.ts b/clients/client-codecommit/runtimeConfig.shared.ts index d4f98186bf8a..1a26140afa39 100644 --- a/clients/client-codecommit/runtimeConfig.shared.ts +++ b/clients/client-codecommit/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "CodeCommit", + urlParser: parseUrl, }; diff --git a/clients/client-codecommit/runtimeConfig.ts b/clients/client-codecommit/runtimeConfig.ts index d22eba618351..49526bd3b829 100644 --- a/clients/client-codecommit/runtimeConfig.ts +++ b/clients/client-codecommit/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-codedeploy/package.json b/clients/client-codedeploy/package.json index 85e4c78aca97..76634ab3895a 100644 --- a/clients/client-codedeploy/package.json +++ b/clients/client-codedeploy/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-codedeploy/runtimeConfig.browser.ts b/clients/client-codedeploy/runtimeConfig.browser.ts index 42983c6aa1b2..fa337ec14a05 100644 --- a/clients/client-codedeploy/runtimeConfig.browser.ts +++ b/clients/client-codedeploy/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-codedeploy/runtimeConfig.native.ts b/clients/client-codedeploy/runtimeConfig.native.ts index e2b10ba33076..535fb30896a3 100644 --- a/clients/client-codedeploy/runtimeConfig.native.ts +++ b/clients/client-codedeploy/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./CodeDeployClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-codedeploy/runtimeConfig.shared.ts b/clients/client-codedeploy/runtimeConfig.shared.ts index f9db11f5f394..12c1fddcb439 100644 --- a/clients/client-codedeploy/runtimeConfig.shared.ts +++ b/clients/client-codedeploy/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "CodeDeploy", + urlParser: parseUrl, }; diff --git a/clients/client-codedeploy/runtimeConfig.ts b/clients/client-codedeploy/runtimeConfig.ts index 6a914eed6926..71f74422d62c 100644 --- a/clients/client-codedeploy/runtimeConfig.ts +++ b/clients/client-codedeploy/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-codeguru-reviewer/package.json b/clients/client-codeguru-reviewer/package.json index 3311f1ebf5b9..7a7fe18d8cc1 100644 --- a/clients/client-codeguru-reviewer/package.json +++ b/clients/client-codeguru-reviewer/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-codeguru-reviewer/runtimeConfig.browser.ts b/clients/client-codeguru-reviewer/runtimeConfig.browser.ts index fac72750f042..2e9c92ebb49d 100644 --- a/clients/client-codeguru-reviewer/runtimeConfig.browser.ts +++ b/clients/client-codeguru-reviewer/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-codeguru-reviewer/runtimeConfig.native.ts b/clients/client-codeguru-reviewer/runtimeConfig.native.ts index 8300083647b6..bfb78b3aed84 100644 --- a/clients/client-codeguru-reviewer/runtimeConfig.native.ts +++ b/clients/client-codeguru-reviewer/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./CodeGuruReviewerClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-codeguru-reviewer/runtimeConfig.shared.ts b/clients/client-codeguru-reviewer/runtimeConfig.shared.ts index aa795ecd0c55..9c3c6e1b95c5 100644 --- a/clients/client-codeguru-reviewer/runtimeConfig.shared.ts +++ b/clients/client-codeguru-reviewer/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "CodeGuru Reviewer", + urlParser: parseUrl, }; diff --git a/clients/client-codeguru-reviewer/runtimeConfig.ts b/clients/client-codeguru-reviewer/runtimeConfig.ts index f82371128ad1..3f1211742110 100644 --- a/clients/client-codeguru-reviewer/runtimeConfig.ts +++ b/clients/client-codeguru-reviewer/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-codeguruprofiler/package.json b/clients/client-codeguruprofiler/package.json index 822b907544b6..9fbdc3605a90 100644 --- a/clients/client-codeguruprofiler/package.json +++ b/clients/client-codeguruprofiler/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-codeguruprofiler/runtimeConfig.browser.ts b/clients/client-codeguruprofiler/runtimeConfig.browser.ts index 2187e5afc054..8018ac3591f1 100644 --- a/clients/client-codeguruprofiler/runtimeConfig.browser.ts +++ b/clients/client-codeguruprofiler/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-codeguruprofiler/runtimeConfig.native.ts b/clients/client-codeguruprofiler/runtimeConfig.native.ts index f2cc2ba24dc0..db552ac8d7da 100644 --- a/clients/client-codeguruprofiler/runtimeConfig.native.ts +++ b/clients/client-codeguruprofiler/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./CodeGuruProfilerClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-codeguruprofiler/runtimeConfig.shared.ts b/clients/client-codeguruprofiler/runtimeConfig.shared.ts index 3f014a23b5e1..9bd6c3da16d1 100644 --- a/clients/client-codeguruprofiler/runtimeConfig.shared.ts +++ b/clients/client-codeguruprofiler/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "CodeGuruProfiler", + urlParser: parseUrl, }; diff --git a/clients/client-codeguruprofiler/runtimeConfig.ts b/clients/client-codeguruprofiler/runtimeConfig.ts index b969a33804f8..f9cc78e5d06c 100644 --- a/clients/client-codeguruprofiler/runtimeConfig.ts +++ b/clients/client-codeguruprofiler/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-codepipeline/package.json b/clients/client-codepipeline/package.json index 23b674da7148..1a5cd2133bdf 100644 --- a/clients/client-codepipeline/package.json +++ b/clients/client-codepipeline/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-codepipeline/runtimeConfig.browser.ts b/clients/client-codepipeline/runtimeConfig.browser.ts index c53aa8baca1a..e8b836b1d61a 100644 --- a/clients/client-codepipeline/runtimeConfig.browser.ts +++ b/clients/client-codepipeline/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-codepipeline/runtimeConfig.native.ts b/clients/client-codepipeline/runtimeConfig.native.ts index 9c0999d852c5..8df8bd9d147d 100644 --- a/clients/client-codepipeline/runtimeConfig.native.ts +++ b/clients/client-codepipeline/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./CodePipelineClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-codepipeline/runtimeConfig.shared.ts b/clients/client-codepipeline/runtimeConfig.shared.ts index 3128b02860fb..f33bdbfdb92e 100644 --- a/clients/client-codepipeline/runtimeConfig.shared.ts +++ b/clients/client-codepipeline/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "CodePipeline", + urlParser: parseUrl, }; diff --git a/clients/client-codepipeline/runtimeConfig.ts b/clients/client-codepipeline/runtimeConfig.ts index f5fab8e53529..9ce849817079 100644 --- a/clients/client-codepipeline/runtimeConfig.ts +++ b/clients/client-codepipeline/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-codestar-connections/package.json b/clients/client-codestar-connections/package.json index 8f55a76783fc..a0ada152f6ad 100644 --- a/clients/client-codestar-connections/package.json +++ b/clients/client-codestar-connections/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-codestar-connections/runtimeConfig.browser.ts b/clients/client-codestar-connections/runtimeConfig.browser.ts index 9e34eeff3073..545d809e92bb 100644 --- a/clients/client-codestar-connections/runtimeConfig.browser.ts +++ b/clients/client-codestar-connections/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-codestar-connections/runtimeConfig.native.ts b/clients/client-codestar-connections/runtimeConfig.native.ts index 17f7b3d69250..ee5d7db6d35c 100644 --- a/clients/client-codestar-connections/runtimeConfig.native.ts +++ b/clients/client-codestar-connections/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./CodeStarConnectionsClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-codestar-connections/runtimeConfig.shared.ts b/clients/client-codestar-connections/runtimeConfig.shared.ts index d8eca68626ba..1952b4759c6a 100644 --- a/clients/client-codestar-connections/runtimeConfig.shared.ts +++ b/clients/client-codestar-connections/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "CodeStar connections", + urlParser: parseUrl, }; diff --git a/clients/client-codestar-connections/runtimeConfig.ts b/clients/client-codestar-connections/runtimeConfig.ts index aa64791b9023..3c2c63e689c9 100644 --- a/clients/client-codestar-connections/runtimeConfig.ts +++ b/clients/client-codestar-connections/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-codestar-notifications/package.json b/clients/client-codestar-notifications/package.json index 401086a55985..10747c5bd49e 100644 --- a/clients/client-codestar-notifications/package.json +++ b/clients/client-codestar-notifications/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-codestar-notifications/runtimeConfig.browser.ts b/clients/client-codestar-notifications/runtimeConfig.browser.ts index 0de827f647b0..f1b05d12e141 100644 --- a/clients/client-codestar-notifications/runtimeConfig.browser.ts +++ b/clients/client-codestar-notifications/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-codestar-notifications/runtimeConfig.native.ts b/clients/client-codestar-notifications/runtimeConfig.native.ts index 9cdb5511d924..b5aab4a906a5 100644 --- a/clients/client-codestar-notifications/runtimeConfig.native.ts +++ b/clients/client-codestar-notifications/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./CodestarNotificationsClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-codestar-notifications/runtimeConfig.shared.ts b/clients/client-codestar-notifications/runtimeConfig.shared.ts index a293d8988554..be5a576ac0a8 100644 --- a/clients/client-codestar-notifications/runtimeConfig.shared.ts +++ b/clients/client-codestar-notifications/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "codestar notifications", + urlParser: parseUrl, }; diff --git a/clients/client-codestar-notifications/runtimeConfig.ts b/clients/client-codestar-notifications/runtimeConfig.ts index 7e1cf8d6a796..29e406fc6a38 100644 --- a/clients/client-codestar-notifications/runtimeConfig.ts +++ b/clients/client-codestar-notifications/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-codestar/package.json b/clients/client-codestar/package.json index fcf02af5bb95..d362c1815fbe 100644 --- a/clients/client-codestar/package.json +++ b/clients/client-codestar/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-codestar/runtimeConfig.browser.ts b/clients/client-codestar/runtimeConfig.browser.ts index 204a28074465..63111773036a 100644 --- a/clients/client-codestar/runtimeConfig.browser.ts +++ b/clients/client-codestar/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-codestar/runtimeConfig.native.ts b/clients/client-codestar/runtimeConfig.native.ts index 40c5bb753bf5..d871aa5aed3d 100644 --- a/clients/client-codestar/runtimeConfig.native.ts +++ b/clients/client-codestar/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./CodeStarClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-codestar/runtimeConfig.shared.ts b/clients/client-codestar/runtimeConfig.shared.ts index 0a539e45d3f4..a512f719919c 100644 --- a/clients/client-codestar/runtimeConfig.shared.ts +++ b/clients/client-codestar/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "CodeStar", + urlParser: parseUrl, }; diff --git a/clients/client-codestar/runtimeConfig.ts b/clients/client-codestar/runtimeConfig.ts index e31bd24475b2..0a6e90cf7ae8 100644 --- a/clients/client-codestar/runtimeConfig.ts +++ b/clients/client-codestar/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-cognito-identity-provider/package.json b/clients/client-cognito-identity-provider/package.json index 156be874e000..cac05da9bc83 100644 --- a/clients/client-cognito-identity-provider/package.json +++ b/clients/client-cognito-identity-provider/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-cognito-identity-provider/runtimeConfig.browser.ts b/clients/client-cognito-identity-provider/runtimeConfig.browser.ts index acb8c54d4318..0fe038858b08 100644 --- a/clients/client-cognito-identity-provider/runtimeConfig.browser.ts +++ b/clients/client-cognito-identity-provider/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-cognito-identity-provider/runtimeConfig.native.ts b/clients/client-cognito-identity-provider/runtimeConfig.native.ts index 3026a60425b3..e49f290009e3 100644 --- a/clients/client-cognito-identity-provider/runtimeConfig.native.ts +++ b/clients/client-cognito-identity-provider/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./CognitoIdentityProviderClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-cognito-identity-provider/runtimeConfig.shared.ts b/clients/client-cognito-identity-provider/runtimeConfig.shared.ts index d1d2083b7437..a744bd0180e4 100644 --- a/clients/client-cognito-identity-provider/runtimeConfig.shared.ts +++ b/clients/client-cognito-identity-provider/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Cognito Identity Provider", + urlParser: parseUrl, }; diff --git a/clients/client-cognito-identity-provider/runtimeConfig.ts b/clients/client-cognito-identity-provider/runtimeConfig.ts index 3242e7a8e33e..8743f5068f4c 100644 --- a/clients/client-cognito-identity-provider/runtimeConfig.ts +++ b/clients/client-cognito-identity-provider/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-cognito-identity/package.json b/clients/client-cognito-identity/package.json index ae3c32ee87eb..0e55675cbaa9 100644 --- a/clients/client-cognito-identity/package.json +++ b/clients/client-cognito-identity/package.json @@ -48,8 +48,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-cognito-identity/runtimeConfig.browser.ts b/clients/client-cognito-identity/runtimeConfig.browser.ts index d625b9c2dcbb..132d476740dd 100644 --- a/clients/client-cognito-identity/runtimeConfig.browser.ts +++ b/clients/client-cognito-identity/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-cognito-identity/runtimeConfig.native.ts b/clients/client-cognito-identity/runtimeConfig.native.ts index f33e0dec2ccf..0cee198de63a 100644 --- a/clients/client-cognito-identity/runtimeConfig.native.ts +++ b/clients/client-cognito-identity/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./CognitoIdentityClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-cognito-identity/runtimeConfig.shared.ts b/clients/client-cognito-identity/runtimeConfig.shared.ts index 955cf95f9b3d..3dd89173fb1e 100644 --- a/clients/client-cognito-identity/runtimeConfig.shared.ts +++ b/clients/client-cognito-identity/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Cognito Identity", + urlParser: parseUrl, }; diff --git a/clients/client-cognito-identity/runtimeConfig.ts b/clients/client-cognito-identity/runtimeConfig.ts index 5fedb2fe7564..8c8e99a9c5a1 100644 --- a/clients/client-cognito-identity/runtimeConfig.ts +++ b/clients/client-cognito-identity/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-cognito-sync/package.json b/clients/client-cognito-sync/package.json index 0a7e2e8ea2ca..39050ec7cff3 100644 --- a/clients/client-cognito-sync/package.json +++ b/clients/client-cognito-sync/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-cognito-sync/runtimeConfig.browser.ts b/clients/client-cognito-sync/runtimeConfig.browser.ts index b78197623a1b..ac3be56397b9 100644 --- a/clients/client-cognito-sync/runtimeConfig.browser.ts +++ b/clients/client-cognito-sync/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-cognito-sync/runtimeConfig.native.ts b/clients/client-cognito-sync/runtimeConfig.native.ts index d6bc203a42bb..dd7e33312440 100644 --- a/clients/client-cognito-sync/runtimeConfig.native.ts +++ b/clients/client-cognito-sync/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./CognitoSyncClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-cognito-sync/runtimeConfig.shared.ts b/clients/client-cognito-sync/runtimeConfig.shared.ts index b49493a5c535..e3cf8cc06d49 100644 --- a/clients/client-cognito-sync/runtimeConfig.shared.ts +++ b/clients/client-cognito-sync/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Cognito Sync", + urlParser: parseUrl, }; diff --git a/clients/client-cognito-sync/runtimeConfig.ts b/clients/client-cognito-sync/runtimeConfig.ts index 5535603f0a32..b74cd21bb74a 100644 --- a/clients/client-cognito-sync/runtimeConfig.ts +++ b/clients/client-cognito-sync/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-comprehend/package.json b/clients/client-comprehend/package.json index 52dd02fb4657..2a2916f2fe82 100644 --- a/clients/client-comprehend/package.json +++ b/clients/client-comprehend/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-comprehend/runtimeConfig.browser.ts b/clients/client-comprehend/runtimeConfig.browser.ts index 1f68b5df2fad..29ceb4894269 100644 --- a/clients/client-comprehend/runtimeConfig.browser.ts +++ b/clients/client-comprehend/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-comprehend/runtimeConfig.native.ts b/clients/client-comprehend/runtimeConfig.native.ts index 521b67e7a535..ad3cfb59bc70 100644 --- a/clients/client-comprehend/runtimeConfig.native.ts +++ b/clients/client-comprehend/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./ComprehendClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-comprehend/runtimeConfig.shared.ts b/clients/client-comprehend/runtimeConfig.shared.ts index 91457703d772..966396e7ce80 100644 --- a/clients/client-comprehend/runtimeConfig.shared.ts +++ b/clients/client-comprehend/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Comprehend", + urlParser: parseUrl, }; diff --git a/clients/client-comprehend/runtimeConfig.ts b/clients/client-comprehend/runtimeConfig.ts index a79969b1f8f4..56dd234c5f98 100644 --- a/clients/client-comprehend/runtimeConfig.ts +++ b/clients/client-comprehend/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-comprehendmedical/package.json b/clients/client-comprehendmedical/package.json index 34b1d69c9300..c910cfd8ff34 100644 --- a/clients/client-comprehendmedical/package.json +++ b/clients/client-comprehendmedical/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-comprehendmedical/runtimeConfig.browser.ts b/clients/client-comprehendmedical/runtimeConfig.browser.ts index c6e45e9ee9a0..2d4924510128 100644 --- a/clients/client-comprehendmedical/runtimeConfig.browser.ts +++ b/clients/client-comprehendmedical/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-comprehendmedical/runtimeConfig.native.ts b/clients/client-comprehendmedical/runtimeConfig.native.ts index 8e1a180c85c8..38a578f2e8f7 100644 --- a/clients/client-comprehendmedical/runtimeConfig.native.ts +++ b/clients/client-comprehendmedical/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./ComprehendMedicalClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-comprehendmedical/runtimeConfig.shared.ts b/clients/client-comprehendmedical/runtimeConfig.shared.ts index 6ea68d9c7150..8e44db532b0e 100644 --- a/clients/client-comprehendmedical/runtimeConfig.shared.ts +++ b/clients/client-comprehendmedical/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "ComprehendMedical", + urlParser: parseUrl, }; diff --git a/clients/client-comprehendmedical/runtimeConfig.ts b/clients/client-comprehendmedical/runtimeConfig.ts index 6d477a0c2978..7eab79da1c37 100644 --- a/clients/client-comprehendmedical/runtimeConfig.ts +++ b/clients/client-comprehendmedical/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-compute-optimizer/package.json b/clients/client-compute-optimizer/package.json index 66b716f6f26e..dd6dedb78d07 100644 --- a/clients/client-compute-optimizer/package.json +++ b/clients/client-compute-optimizer/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-compute-optimizer/runtimeConfig.browser.ts b/clients/client-compute-optimizer/runtimeConfig.browser.ts index d87057715835..6b068ea7e3f3 100644 --- a/clients/client-compute-optimizer/runtimeConfig.browser.ts +++ b/clients/client-compute-optimizer/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-compute-optimizer/runtimeConfig.native.ts b/clients/client-compute-optimizer/runtimeConfig.native.ts index 0bf60a2374bf..c5b88476283f 100644 --- a/clients/client-compute-optimizer/runtimeConfig.native.ts +++ b/clients/client-compute-optimizer/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./ComputeOptimizerClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-compute-optimizer/runtimeConfig.shared.ts b/clients/client-compute-optimizer/runtimeConfig.shared.ts index 42619fb25da8..d1ec02ce08e4 100644 --- a/clients/client-compute-optimizer/runtimeConfig.shared.ts +++ b/clients/client-compute-optimizer/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Compute Optimizer", + urlParser: parseUrl, }; diff --git a/clients/client-compute-optimizer/runtimeConfig.ts b/clients/client-compute-optimizer/runtimeConfig.ts index 05ac7e8560ad..f5031f970a2e 100644 --- a/clients/client-compute-optimizer/runtimeConfig.ts +++ b/clients/client-compute-optimizer/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-config-service/package.json b/clients/client-config-service/package.json index c8a708d81099..f8c686f324ea 100644 --- a/clients/client-config-service/package.json +++ b/clients/client-config-service/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-config-service/runtimeConfig.browser.ts b/clients/client-config-service/runtimeConfig.browser.ts index 92c2a624db4e..403955f50ae6 100644 --- a/clients/client-config-service/runtimeConfig.browser.ts +++ b/clients/client-config-service/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-config-service/runtimeConfig.native.ts b/clients/client-config-service/runtimeConfig.native.ts index 57b1619e574c..1c4f231313cd 100644 --- a/clients/client-config-service/runtimeConfig.native.ts +++ b/clients/client-config-service/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./ConfigServiceClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-config-service/runtimeConfig.shared.ts b/clients/client-config-service/runtimeConfig.shared.ts index ab52a3bd193d..2283c820e398 100644 --- a/clients/client-config-service/runtimeConfig.shared.ts +++ b/clients/client-config-service/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Config Service", + urlParser: parseUrl, }; diff --git a/clients/client-config-service/runtimeConfig.ts b/clients/client-config-service/runtimeConfig.ts index 76197a615544..438252242618 100644 --- a/clients/client-config-service/runtimeConfig.ts +++ b/clients/client-config-service/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-connect-contact-lens/package.json b/clients/client-connect-contact-lens/package.json index 5300eda66f8e..4a6585691e04 100644 --- a/clients/client-connect-contact-lens/package.json +++ b/clients/client-connect-contact-lens/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-connect-contact-lens/runtimeConfig.browser.ts b/clients/client-connect-contact-lens/runtimeConfig.browser.ts index 366d49bd320a..43ee2e05e95d 100644 --- a/clients/client-connect-contact-lens/runtimeConfig.browser.ts +++ b/clients/client-connect-contact-lens/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-connect-contact-lens/runtimeConfig.native.ts b/clients/client-connect-contact-lens/runtimeConfig.native.ts index 6b182dd756fd..01adfd5bd1b9 100644 --- a/clients/client-connect-contact-lens/runtimeConfig.native.ts +++ b/clients/client-connect-contact-lens/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./ConnectContactLensClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-connect-contact-lens/runtimeConfig.shared.ts b/clients/client-connect-contact-lens/runtimeConfig.shared.ts index f4deb8e5cc25..b0347f717fe3 100644 --- a/clients/client-connect-contact-lens/runtimeConfig.shared.ts +++ b/clients/client-connect-contact-lens/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Connect Contact Lens", + urlParser: parseUrl, }; diff --git a/clients/client-connect-contact-lens/runtimeConfig.ts b/clients/client-connect-contact-lens/runtimeConfig.ts index 03e36838adf8..99ab22ee2856 100644 --- a/clients/client-connect-contact-lens/runtimeConfig.ts +++ b/clients/client-connect-contact-lens/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-connect/package.json b/clients/client-connect/package.json index e3e4e378f721..92d69466d19a 100644 --- a/clients/client-connect/package.json +++ b/clients/client-connect/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-connect/runtimeConfig.browser.ts b/clients/client-connect/runtimeConfig.browser.ts index 7fd696cd40af..487eba2df357 100644 --- a/clients/client-connect/runtimeConfig.browser.ts +++ b/clients/client-connect/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-connect/runtimeConfig.native.ts b/clients/client-connect/runtimeConfig.native.ts index f07ce4c7c8ff..e86751148625 100644 --- a/clients/client-connect/runtimeConfig.native.ts +++ b/clients/client-connect/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./ConnectClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-connect/runtimeConfig.shared.ts b/clients/client-connect/runtimeConfig.shared.ts index d196a7a6d117..1ac6bb6741fe 100644 --- a/clients/client-connect/runtimeConfig.shared.ts +++ b/clients/client-connect/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Connect", + urlParser: parseUrl, }; diff --git a/clients/client-connect/runtimeConfig.ts b/clients/client-connect/runtimeConfig.ts index 206482c2f626..04f3c34be278 100644 --- a/clients/client-connect/runtimeConfig.ts +++ b/clients/client-connect/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-connectparticipant/package.json b/clients/client-connectparticipant/package.json index 00b086bb9f51..4ad4a98fc08a 100644 --- a/clients/client-connectparticipant/package.json +++ b/clients/client-connectparticipant/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-connectparticipant/runtimeConfig.browser.ts b/clients/client-connectparticipant/runtimeConfig.browser.ts index ffdff93581c7..c334640315f3 100644 --- a/clients/client-connectparticipant/runtimeConfig.browser.ts +++ b/clients/client-connectparticipant/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-connectparticipant/runtimeConfig.native.ts b/clients/client-connectparticipant/runtimeConfig.native.ts index 8ee1e2943c1b..1e5af0914a05 100644 --- a/clients/client-connectparticipant/runtimeConfig.native.ts +++ b/clients/client-connectparticipant/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./ConnectParticipantClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-connectparticipant/runtimeConfig.shared.ts b/clients/client-connectparticipant/runtimeConfig.shared.ts index 62f423fb9525..b5ce95df6dbe 100644 --- a/clients/client-connectparticipant/runtimeConfig.shared.ts +++ b/clients/client-connectparticipant/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "ConnectParticipant", + urlParser: parseUrl, }; diff --git a/clients/client-connectparticipant/runtimeConfig.ts b/clients/client-connectparticipant/runtimeConfig.ts index 68e335ffd5f4..1d8108d77cba 100644 --- a/clients/client-connectparticipant/runtimeConfig.ts +++ b/clients/client-connectparticipant/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-cost-and-usage-report-service/package.json b/clients/client-cost-and-usage-report-service/package.json index 06dc6a37a0c1..fa054ee015a7 100644 --- a/clients/client-cost-and-usage-report-service/package.json +++ b/clients/client-cost-and-usage-report-service/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-cost-and-usage-report-service/runtimeConfig.browser.ts b/clients/client-cost-and-usage-report-service/runtimeConfig.browser.ts index fb65ea470939..e4daa120fde6 100644 --- a/clients/client-cost-and-usage-report-service/runtimeConfig.browser.ts +++ b/clients/client-cost-and-usage-report-service/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-cost-and-usage-report-service/runtimeConfig.native.ts b/clients/client-cost-and-usage-report-service/runtimeConfig.native.ts index 020e837c44f4..6bc2ebc3a1c7 100644 --- a/clients/client-cost-and-usage-report-service/runtimeConfig.native.ts +++ b/clients/client-cost-and-usage-report-service/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./CostAndUsageReportServiceClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-cost-and-usage-report-service/runtimeConfig.shared.ts b/clients/client-cost-and-usage-report-service/runtimeConfig.shared.ts index 6abf8788e139..793f70a37c35 100644 --- a/clients/client-cost-and-usage-report-service/runtimeConfig.shared.ts +++ b/clients/client-cost-and-usage-report-service/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Cost and Usage Report Service", + urlParser: parseUrl, }; diff --git a/clients/client-cost-and-usage-report-service/runtimeConfig.ts b/clients/client-cost-and-usage-report-service/runtimeConfig.ts index 299ed76687b0..e9de0016a11c 100644 --- a/clients/client-cost-and-usage-report-service/runtimeConfig.ts +++ b/clients/client-cost-and-usage-report-service/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-cost-explorer/package.json b/clients/client-cost-explorer/package.json index f2b0ac6bb48c..c143ba519299 100644 --- a/clients/client-cost-explorer/package.json +++ b/clients/client-cost-explorer/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-cost-explorer/runtimeConfig.browser.ts b/clients/client-cost-explorer/runtimeConfig.browser.ts index 26359598197f..1482786aee65 100644 --- a/clients/client-cost-explorer/runtimeConfig.browser.ts +++ b/clients/client-cost-explorer/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-cost-explorer/runtimeConfig.native.ts b/clients/client-cost-explorer/runtimeConfig.native.ts index 10aadf852c4f..5d197b9d8918 100644 --- a/clients/client-cost-explorer/runtimeConfig.native.ts +++ b/clients/client-cost-explorer/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./CostExplorerClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-cost-explorer/runtimeConfig.shared.ts b/clients/client-cost-explorer/runtimeConfig.shared.ts index 49a317b40ae9..4cd5c7f91d7b 100644 --- a/clients/client-cost-explorer/runtimeConfig.shared.ts +++ b/clients/client-cost-explorer/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Cost Explorer", + urlParser: parseUrl, }; diff --git a/clients/client-cost-explorer/runtimeConfig.ts b/clients/client-cost-explorer/runtimeConfig.ts index e19ccfd9c368..22942b94f245 100644 --- a/clients/client-cost-explorer/runtimeConfig.ts +++ b/clients/client-cost-explorer/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-customer-profiles/package.json b/clients/client-customer-profiles/package.json index 7988ebea5512..49bd18bf97df 100644 --- a/clients/client-customer-profiles/package.json +++ b/clients/client-customer-profiles/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-customer-profiles/runtimeConfig.browser.ts b/clients/client-customer-profiles/runtimeConfig.browser.ts index 18fc50ab7f21..a852ccd9fd76 100644 --- a/clients/client-customer-profiles/runtimeConfig.browser.ts +++ b/clients/client-customer-profiles/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-customer-profiles/runtimeConfig.native.ts b/clients/client-customer-profiles/runtimeConfig.native.ts index e502d4e012b5..de4deec05a50 100644 --- a/clients/client-customer-profiles/runtimeConfig.native.ts +++ b/clients/client-customer-profiles/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./CustomerProfilesClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-customer-profiles/runtimeConfig.shared.ts b/clients/client-customer-profiles/runtimeConfig.shared.ts index 5676da209a21..c37bcaa95679 100644 --- a/clients/client-customer-profiles/runtimeConfig.shared.ts +++ b/clients/client-customer-profiles/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Customer Profiles", + urlParser: parseUrl, }; diff --git a/clients/client-customer-profiles/runtimeConfig.ts b/clients/client-customer-profiles/runtimeConfig.ts index 9efc526fae9e..eee540981c45 100644 --- a/clients/client-customer-profiles/runtimeConfig.ts +++ b/clients/client-customer-profiles/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-data-pipeline/package.json b/clients/client-data-pipeline/package.json index 4d1214c7a838..ca38234d69b1 100644 --- a/clients/client-data-pipeline/package.json +++ b/clients/client-data-pipeline/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-data-pipeline/runtimeConfig.browser.ts b/clients/client-data-pipeline/runtimeConfig.browser.ts index 31bd5fa4524b..58ddbcf95f4b 100644 --- a/clients/client-data-pipeline/runtimeConfig.browser.ts +++ b/clients/client-data-pipeline/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-data-pipeline/runtimeConfig.native.ts b/clients/client-data-pipeline/runtimeConfig.native.ts index 53680a029942..69a18609cd9f 100644 --- a/clients/client-data-pipeline/runtimeConfig.native.ts +++ b/clients/client-data-pipeline/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./DataPipelineClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-data-pipeline/runtimeConfig.shared.ts b/clients/client-data-pipeline/runtimeConfig.shared.ts index cc4b96655a0e..7c4d849c03e0 100644 --- a/clients/client-data-pipeline/runtimeConfig.shared.ts +++ b/clients/client-data-pipeline/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Data Pipeline", + urlParser: parseUrl, }; diff --git a/clients/client-data-pipeline/runtimeConfig.ts b/clients/client-data-pipeline/runtimeConfig.ts index d059d8a30cc1..129b60c0aa07 100644 --- a/clients/client-data-pipeline/runtimeConfig.ts +++ b/clients/client-data-pipeline/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-database-migration-service/package.json b/clients/client-database-migration-service/package.json index cf42dc077253..4de2149b85f4 100644 --- a/clients/client-database-migration-service/package.json +++ b/clients/client-database-migration-service/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-database-migration-service/runtimeConfig.browser.ts b/clients/client-database-migration-service/runtimeConfig.browser.ts index 049031658af0..1f168a4bd49e 100644 --- a/clients/client-database-migration-service/runtimeConfig.browser.ts +++ b/clients/client-database-migration-service/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-database-migration-service/runtimeConfig.native.ts b/clients/client-database-migration-service/runtimeConfig.native.ts index ae7ea57e683e..94a6e3a6b52a 100644 --- a/clients/client-database-migration-service/runtimeConfig.native.ts +++ b/clients/client-database-migration-service/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./DatabaseMigrationServiceClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-database-migration-service/runtimeConfig.shared.ts b/clients/client-database-migration-service/runtimeConfig.shared.ts index f633c45d0e39..e8b649446586 100644 --- a/clients/client-database-migration-service/runtimeConfig.shared.ts +++ b/clients/client-database-migration-service/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Database Migration Service", + urlParser: parseUrl, }; diff --git a/clients/client-database-migration-service/runtimeConfig.ts b/clients/client-database-migration-service/runtimeConfig.ts index 53648735faee..c732ded934d2 100644 --- a/clients/client-database-migration-service/runtimeConfig.ts +++ b/clients/client-database-migration-service/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-databrew/package.json b/clients/client-databrew/package.json index b6535f903298..731c004fe220 100644 --- a/clients/client-databrew/package.json +++ b/clients/client-databrew/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-databrew/runtimeConfig.browser.ts b/clients/client-databrew/runtimeConfig.browser.ts index 21ee8f2bcd37..6c8c8ff84e2e 100644 --- a/clients/client-databrew/runtimeConfig.browser.ts +++ b/clients/client-databrew/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-databrew/runtimeConfig.native.ts b/clients/client-databrew/runtimeConfig.native.ts index ed1e7c8d6f8c..97697ba18b00 100644 --- a/clients/client-databrew/runtimeConfig.native.ts +++ b/clients/client-databrew/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./DataBrewClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-databrew/runtimeConfig.shared.ts b/clients/client-databrew/runtimeConfig.shared.ts index 52a3b20d4bd3..5125d0b2b550 100644 --- a/clients/client-databrew/runtimeConfig.shared.ts +++ b/clients/client-databrew/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "DataBrew", + urlParser: parseUrl, }; diff --git a/clients/client-databrew/runtimeConfig.ts b/clients/client-databrew/runtimeConfig.ts index e2818435e983..df896d041ad6 100644 --- a/clients/client-databrew/runtimeConfig.ts +++ b/clients/client-databrew/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-dataexchange/package.json b/clients/client-dataexchange/package.json index c578ad9b6053..a14733ef7ba8 100644 --- a/clients/client-dataexchange/package.json +++ b/clients/client-dataexchange/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-dataexchange/runtimeConfig.browser.ts b/clients/client-dataexchange/runtimeConfig.browser.ts index 17ec047e8c0a..375a57e9c332 100644 --- a/clients/client-dataexchange/runtimeConfig.browser.ts +++ b/clients/client-dataexchange/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-dataexchange/runtimeConfig.native.ts b/clients/client-dataexchange/runtimeConfig.native.ts index 303b37f5f971..33ad3d6d18d7 100644 --- a/clients/client-dataexchange/runtimeConfig.native.ts +++ b/clients/client-dataexchange/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./DataExchangeClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-dataexchange/runtimeConfig.shared.ts b/clients/client-dataexchange/runtimeConfig.shared.ts index eb9dfc02a2cd..38aa43059167 100644 --- a/clients/client-dataexchange/runtimeConfig.shared.ts +++ b/clients/client-dataexchange/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "DataExchange", + urlParser: parseUrl, }; diff --git a/clients/client-dataexchange/runtimeConfig.ts b/clients/client-dataexchange/runtimeConfig.ts index 38dd1986de22..178fe7f11f68 100644 --- a/clients/client-dataexchange/runtimeConfig.ts +++ b/clients/client-dataexchange/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-datasync/package.json b/clients/client-datasync/package.json index af6c370dccfb..91d23e372146 100644 --- a/clients/client-datasync/package.json +++ b/clients/client-datasync/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-datasync/runtimeConfig.browser.ts b/clients/client-datasync/runtimeConfig.browser.ts index 5dc601b934aa..2c2df0b865d2 100644 --- a/clients/client-datasync/runtimeConfig.browser.ts +++ b/clients/client-datasync/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-datasync/runtimeConfig.native.ts b/clients/client-datasync/runtimeConfig.native.ts index e9d9c4fe1fd9..07effda3c1b1 100644 --- a/clients/client-datasync/runtimeConfig.native.ts +++ b/clients/client-datasync/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./DataSyncClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-datasync/runtimeConfig.shared.ts b/clients/client-datasync/runtimeConfig.shared.ts index b59483ada177..2a7b3a2967c7 100644 --- a/clients/client-datasync/runtimeConfig.shared.ts +++ b/clients/client-datasync/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "DataSync", + urlParser: parseUrl, }; diff --git a/clients/client-datasync/runtimeConfig.ts b/clients/client-datasync/runtimeConfig.ts index e37d79c79758..c39b8bf8bc44 100644 --- a/clients/client-datasync/runtimeConfig.ts +++ b/clients/client-datasync/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-dax/package.json b/clients/client-dax/package.json index d96f1445442e..1343e4320639 100644 --- a/clients/client-dax/package.json +++ b/clients/client-dax/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-dax/runtimeConfig.browser.ts b/clients/client-dax/runtimeConfig.browser.ts index d07393060ace..41e89b94ec83 100644 --- a/clients/client-dax/runtimeConfig.browser.ts +++ b/clients/client-dax/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-dax/runtimeConfig.native.ts b/clients/client-dax/runtimeConfig.native.ts index 15a4a4be0299..252cbea56b1f 100644 --- a/clients/client-dax/runtimeConfig.native.ts +++ b/clients/client-dax/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./DAXClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-dax/runtimeConfig.shared.ts b/clients/client-dax/runtimeConfig.shared.ts index 158a48990fd2..ed5ef0c8f7f6 100644 --- a/clients/client-dax/runtimeConfig.shared.ts +++ b/clients/client-dax/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "DAX", + urlParser: parseUrl, }; diff --git a/clients/client-dax/runtimeConfig.ts b/clients/client-dax/runtimeConfig.ts index 62c1c192d7e9..b0069fbb45df 100644 --- a/clients/client-dax/runtimeConfig.ts +++ b/clients/client-dax/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-detective/package.json b/clients/client-detective/package.json index 5f3b90b62c88..6c6cb58fed10 100644 --- a/clients/client-detective/package.json +++ b/clients/client-detective/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-detective/runtimeConfig.browser.ts b/clients/client-detective/runtimeConfig.browser.ts index 7b7119903b68..1639b1f52e3d 100644 --- a/clients/client-detective/runtimeConfig.browser.ts +++ b/clients/client-detective/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-detective/runtimeConfig.native.ts b/clients/client-detective/runtimeConfig.native.ts index ba265876a016..8a2263613598 100644 --- a/clients/client-detective/runtimeConfig.native.ts +++ b/clients/client-detective/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./DetectiveClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-detective/runtimeConfig.shared.ts b/clients/client-detective/runtimeConfig.shared.ts index ff5ff1b86982..13b6170c0267 100644 --- a/clients/client-detective/runtimeConfig.shared.ts +++ b/clients/client-detective/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Detective", + urlParser: parseUrl, }; diff --git a/clients/client-detective/runtimeConfig.ts b/clients/client-detective/runtimeConfig.ts index b222ffeeb941..c274b0b92f37 100644 --- a/clients/client-detective/runtimeConfig.ts +++ b/clients/client-detective/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-device-farm/package.json b/clients/client-device-farm/package.json index 0b5e75887f5b..a7313271cb79 100644 --- a/clients/client-device-farm/package.json +++ b/clients/client-device-farm/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-device-farm/runtimeConfig.browser.ts b/clients/client-device-farm/runtimeConfig.browser.ts index adba2e833d0b..752c6e09f623 100644 --- a/clients/client-device-farm/runtimeConfig.browser.ts +++ b/clients/client-device-farm/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-device-farm/runtimeConfig.native.ts b/clients/client-device-farm/runtimeConfig.native.ts index 855933af044d..ded757e1dde3 100644 --- a/clients/client-device-farm/runtimeConfig.native.ts +++ b/clients/client-device-farm/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./DeviceFarmClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-device-farm/runtimeConfig.shared.ts b/clients/client-device-farm/runtimeConfig.shared.ts index 54200f16421c..268a31a044c7 100644 --- a/clients/client-device-farm/runtimeConfig.shared.ts +++ b/clients/client-device-farm/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Device Farm", + urlParser: parseUrl, }; diff --git a/clients/client-device-farm/runtimeConfig.ts b/clients/client-device-farm/runtimeConfig.ts index 4fa27268382a..9bb849010d00 100644 --- a/clients/client-device-farm/runtimeConfig.ts +++ b/clients/client-device-farm/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-devops-guru/package.json b/clients/client-devops-guru/package.json index ea6e11316c3d..19ccd2fba839 100644 --- a/clients/client-devops-guru/package.json +++ b/clients/client-devops-guru/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-devops-guru/runtimeConfig.browser.ts b/clients/client-devops-guru/runtimeConfig.browser.ts index c9728351d669..ba63f5fab8ba 100644 --- a/clients/client-devops-guru/runtimeConfig.browser.ts +++ b/clients/client-devops-guru/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-devops-guru/runtimeConfig.native.ts b/clients/client-devops-guru/runtimeConfig.native.ts index 19a82d284c7b..812d9da56f09 100644 --- a/clients/client-devops-guru/runtimeConfig.native.ts +++ b/clients/client-devops-guru/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./DevOpsGuruClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-devops-guru/runtimeConfig.shared.ts b/clients/client-devops-guru/runtimeConfig.shared.ts index d19fbd42ede7..e397449f6b1e 100644 --- a/clients/client-devops-guru/runtimeConfig.shared.ts +++ b/clients/client-devops-guru/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "DevOps Guru", + urlParser: parseUrl, }; diff --git a/clients/client-devops-guru/runtimeConfig.ts b/clients/client-devops-guru/runtimeConfig.ts index 276af2af826a..38c722ebe20d 100644 --- a/clients/client-devops-guru/runtimeConfig.ts +++ b/clients/client-devops-guru/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-direct-connect/package.json b/clients/client-direct-connect/package.json index 5a3353a1672a..e76f58623ef7 100644 --- a/clients/client-direct-connect/package.json +++ b/clients/client-direct-connect/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-direct-connect/runtimeConfig.browser.ts b/clients/client-direct-connect/runtimeConfig.browser.ts index 4a52d918431f..3c04ccd16811 100644 --- a/clients/client-direct-connect/runtimeConfig.browser.ts +++ b/clients/client-direct-connect/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-direct-connect/runtimeConfig.native.ts b/clients/client-direct-connect/runtimeConfig.native.ts index 1a4b98cb32c8..eabc510f1138 100644 --- a/clients/client-direct-connect/runtimeConfig.native.ts +++ b/clients/client-direct-connect/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./DirectConnectClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-direct-connect/runtimeConfig.shared.ts b/clients/client-direct-connect/runtimeConfig.shared.ts index f162a2147905..5c79ef8e4ccd 100644 --- a/clients/client-direct-connect/runtimeConfig.shared.ts +++ b/clients/client-direct-connect/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Direct Connect", + urlParser: parseUrl, }; diff --git a/clients/client-direct-connect/runtimeConfig.ts b/clients/client-direct-connect/runtimeConfig.ts index 2217c1c6a46c..a63908c6ef01 100644 --- a/clients/client-direct-connect/runtimeConfig.ts +++ b/clients/client-direct-connect/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-directory-service/package.json b/clients/client-directory-service/package.json index 4f24bae44417..2b89734b07e0 100644 --- a/clients/client-directory-service/package.json +++ b/clients/client-directory-service/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-directory-service/runtimeConfig.browser.ts b/clients/client-directory-service/runtimeConfig.browser.ts index d54971e87753..db94386fe6e3 100644 --- a/clients/client-directory-service/runtimeConfig.browser.ts +++ b/clients/client-directory-service/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-directory-service/runtimeConfig.native.ts b/clients/client-directory-service/runtimeConfig.native.ts index e82655bb667f..86cb9cef16d2 100644 --- a/clients/client-directory-service/runtimeConfig.native.ts +++ b/clients/client-directory-service/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./DirectoryServiceClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-directory-service/runtimeConfig.shared.ts b/clients/client-directory-service/runtimeConfig.shared.ts index 22ae28db812c..07d7a1e9e7a5 100644 --- a/clients/client-directory-service/runtimeConfig.shared.ts +++ b/clients/client-directory-service/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Directory Service", + urlParser: parseUrl, }; diff --git a/clients/client-directory-service/runtimeConfig.ts b/clients/client-directory-service/runtimeConfig.ts index b1e8271a5cc1..8ffaf741d583 100644 --- a/clients/client-directory-service/runtimeConfig.ts +++ b/clients/client-directory-service/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-dlm/package.json b/clients/client-dlm/package.json index 2f91114d23e4..5ad44648467a 100644 --- a/clients/client-dlm/package.json +++ b/clients/client-dlm/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-dlm/runtimeConfig.browser.ts b/clients/client-dlm/runtimeConfig.browser.ts index dd2e229dc2fe..3704c4075ef8 100644 --- a/clients/client-dlm/runtimeConfig.browser.ts +++ b/clients/client-dlm/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-dlm/runtimeConfig.native.ts b/clients/client-dlm/runtimeConfig.native.ts index 2bef215b6595..320ca38031d6 100644 --- a/clients/client-dlm/runtimeConfig.native.ts +++ b/clients/client-dlm/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./DLMClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-dlm/runtimeConfig.shared.ts b/clients/client-dlm/runtimeConfig.shared.ts index 3e21abbeefa3..981e364b33bf 100644 --- a/clients/client-dlm/runtimeConfig.shared.ts +++ b/clients/client-dlm/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "DLM", + urlParser: parseUrl, }; diff --git a/clients/client-dlm/runtimeConfig.ts b/clients/client-dlm/runtimeConfig.ts index 74995b2aea80..01bcfbca136f 100644 --- a/clients/client-dlm/runtimeConfig.ts +++ b/clients/client-dlm/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-docdb/package.json b/clients/client-docdb/package.json index 7f489a9aaeec..04a1c4456c1e 100644 --- a/clients/client-docdb/package.json +++ b/clients/client-docdb/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-docdb/runtimeConfig.browser.ts b/clients/client-docdb/runtimeConfig.browser.ts index f4c390685ce5..92d492f54c9d 100644 --- a/clients/client-docdb/runtimeConfig.browser.ts +++ b/clients/client-docdb/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-docdb/runtimeConfig.native.ts b/clients/client-docdb/runtimeConfig.native.ts index bf5339ed2558..2ba48f3b31dd 100644 --- a/clients/client-docdb/runtimeConfig.native.ts +++ b/clients/client-docdb/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./DocDBClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-docdb/runtimeConfig.shared.ts b/clients/client-docdb/runtimeConfig.shared.ts index 91249dcc37a4..4dde6e3728c1 100644 --- a/clients/client-docdb/runtimeConfig.shared.ts +++ b/clients/client-docdb/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "DocDB", + urlParser: parseUrl, }; diff --git a/clients/client-docdb/runtimeConfig.ts b/clients/client-docdb/runtimeConfig.ts index e045fafaeb63..409888356569 100644 --- a/clients/client-docdb/runtimeConfig.ts +++ b/clients/client-docdb/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-dynamodb-streams/package.json b/clients/client-dynamodb-streams/package.json index 3fba40bd3798..59a0c37696cb 100644 --- a/clients/client-dynamodb-streams/package.json +++ b/clients/client-dynamodb-streams/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-dynamodb-streams/runtimeConfig.browser.ts b/clients/client-dynamodb-streams/runtimeConfig.browser.ts index 9dc4d84b1f8e..47871bfb3a25 100644 --- a/clients/client-dynamodb-streams/runtimeConfig.browser.ts +++ b/clients/client-dynamodb-streams/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-dynamodb-streams/runtimeConfig.native.ts b/clients/client-dynamodb-streams/runtimeConfig.native.ts index 9e84dfbab8f5..c69998555937 100644 --- a/clients/client-dynamodb-streams/runtimeConfig.native.ts +++ b/clients/client-dynamodb-streams/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./DynamoDBStreamsClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-dynamodb-streams/runtimeConfig.shared.ts b/clients/client-dynamodb-streams/runtimeConfig.shared.ts index 4204aa4af760..66dafc22a41b 100644 --- a/clients/client-dynamodb-streams/runtimeConfig.shared.ts +++ b/clients/client-dynamodb-streams/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "DynamoDB Streams", + urlParser: parseUrl, }; diff --git a/clients/client-dynamodb-streams/runtimeConfig.ts b/clients/client-dynamodb-streams/runtimeConfig.ts index 69a230c523b7..f3911e990f59 100644 --- a/clients/client-dynamodb-streams/runtimeConfig.ts +++ b/clients/client-dynamodb-streams/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-dynamodb/package.json b/clients/client-dynamodb/package.json index dd0433ad6306..a07813c643b5 100644 --- a/clients/client-dynamodb/package.json +++ b/clients/client-dynamodb/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-dynamodb/runtimeConfig.browser.ts b/clients/client-dynamodb/runtimeConfig.browser.ts index 44fffd134eb3..44bdf9022581 100644 --- a/clients/client-dynamodb/runtimeConfig.browser.ts +++ b/clients/client-dynamodb/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-dynamodb/runtimeConfig.native.ts b/clients/client-dynamodb/runtimeConfig.native.ts index 4435dd96ded2..65461cc7e573 100644 --- a/clients/client-dynamodb/runtimeConfig.native.ts +++ b/clients/client-dynamodb/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./DynamoDBClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-dynamodb/runtimeConfig.shared.ts b/clients/client-dynamodb/runtimeConfig.shared.ts index f0efe735b001..fb606da58f17 100644 --- a/clients/client-dynamodb/runtimeConfig.shared.ts +++ b/clients/client-dynamodb/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "DynamoDB", + urlParser: parseUrl, }; diff --git a/clients/client-dynamodb/runtimeConfig.ts b/clients/client-dynamodb/runtimeConfig.ts index 14681c204b66..6ec2de1c67b4 100644 --- a/clients/client-dynamodb/runtimeConfig.ts +++ b/clients/client-dynamodb/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-ebs/package.json b/clients/client-ebs/package.json index b076ec7807fa..0a9877900082 100644 --- a/clients/client-ebs/package.json +++ b/clients/client-ebs/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-ebs/runtimeConfig.browser.ts b/clients/client-ebs/runtimeConfig.browser.ts index 468c92392ac0..4cd0ea223a93 100644 --- a/clients/client-ebs/runtimeConfig.browser.ts +++ b/clients/client-ebs/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-ebs/runtimeConfig.native.ts b/clients/client-ebs/runtimeConfig.native.ts index d33457a7b13c..e077ac030f44 100644 --- a/clients/client-ebs/runtimeConfig.native.ts +++ b/clients/client-ebs/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./EBSClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-ebs/runtimeConfig.shared.ts b/clients/client-ebs/runtimeConfig.shared.ts index 126b2ea49ae4..a89212ea7a92 100644 --- a/clients/client-ebs/runtimeConfig.shared.ts +++ b/clients/client-ebs/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "EBS", + urlParser: parseUrl, }; diff --git a/clients/client-ebs/runtimeConfig.ts b/clients/client-ebs/runtimeConfig.ts index 09ab2fbae7d4..4e732b916533 100644 --- a/clients/client-ebs/runtimeConfig.ts +++ b/clients/client-ebs/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-ec2-instance-connect/package.json b/clients/client-ec2-instance-connect/package.json index a99d3121d4ed..d19b9d320c93 100644 --- a/clients/client-ec2-instance-connect/package.json +++ b/clients/client-ec2-instance-connect/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-ec2-instance-connect/runtimeConfig.browser.ts b/clients/client-ec2-instance-connect/runtimeConfig.browser.ts index f327d58e137d..c5b0a9791bf8 100644 --- a/clients/client-ec2-instance-connect/runtimeConfig.browser.ts +++ b/clients/client-ec2-instance-connect/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-ec2-instance-connect/runtimeConfig.native.ts b/clients/client-ec2-instance-connect/runtimeConfig.native.ts index ac0aa39a7d0a..0d6bb473c8e8 100644 --- a/clients/client-ec2-instance-connect/runtimeConfig.native.ts +++ b/clients/client-ec2-instance-connect/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./EC2InstanceConnectClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-ec2-instance-connect/runtimeConfig.shared.ts b/clients/client-ec2-instance-connect/runtimeConfig.shared.ts index 78297f15aafd..b58e602477ed 100644 --- a/clients/client-ec2-instance-connect/runtimeConfig.shared.ts +++ b/clients/client-ec2-instance-connect/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "EC2 Instance Connect", + urlParser: parseUrl, }; diff --git a/clients/client-ec2-instance-connect/runtimeConfig.ts b/clients/client-ec2-instance-connect/runtimeConfig.ts index d4b27beeb062..fb2ee0e7e0ca 100644 --- a/clients/client-ec2-instance-connect/runtimeConfig.ts +++ b/clients/client-ec2-instance-connect/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-ec2/package.json b/clients/client-ec2/package.json index d71fd93d1e4e..ebd943e7b21a 100644 --- a/clients/client-ec2/package.json +++ b/clients/client-ec2/package.json @@ -47,8 +47,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-ec2/runtimeConfig.browser.ts b/clients/client-ec2/runtimeConfig.browser.ts index 4c4b2259f445..315f9bbfd5a7 100644 --- a/clients/client-ec2/runtimeConfig.browser.ts +++ b/clients/client-ec2/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-ec2/runtimeConfig.native.ts b/clients/client-ec2/runtimeConfig.native.ts index 8f7c4b5e6994..0477184d6f3e 100644 --- a/clients/client-ec2/runtimeConfig.native.ts +++ b/clients/client-ec2/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./EC2Client"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-ec2/runtimeConfig.shared.ts b/clients/client-ec2/runtimeConfig.shared.ts index f1ed3cf58dfe..5bd79b8d34cf 100644 --- a/clients/client-ec2/runtimeConfig.shared.ts +++ b/clients/client-ec2/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "EC2", + urlParser: parseUrl, }; diff --git a/clients/client-ec2/runtimeConfig.ts b/clients/client-ec2/runtimeConfig.ts index 684c522fe20c..6d7a2026687a 100644 --- a/clients/client-ec2/runtimeConfig.ts +++ b/clients/client-ec2/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-ecr-public/package.json b/clients/client-ecr-public/package.json index f919f5ed546e..c317a89091d6 100644 --- a/clients/client-ecr-public/package.json +++ b/clients/client-ecr-public/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-ecr-public/runtimeConfig.browser.ts b/clients/client-ecr-public/runtimeConfig.browser.ts index d414db647ba6..35eeb0ad7eb8 100644 --- a/clients/client-ecr-public/runtimeConfig.browser.ts +++ b/clients/client-ecr-public/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-ecr-public/runtimeConfig.native.ts b/clients/client-ecr-public/runtimeConfig.native.ts index a772a48bb7d3..cf96c3372cbc 100644 --- a/clients/client-ecr-public/runtimeConfig.native.ts +++ b/clients/client-ecr-public/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./ECRPUBLICClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-ecr-public/runtimeConfig.shared.ts b/clients/client-ecr-public/runtimeConfig.shared.ts index de27fb2f22f3..7b93255f9d11 100644 --- a/clients/client-ecr-public/runtimeConfig.shared.ts +++ b/clients/client-ecr-public/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "ECR PUBLIC", + urlParser: parseUrl, }; diff --git a/clients/client-ecr-public/runtimeConfig.ts b/clients/client-ecr-public/runtimeConfig.ts index e6f9ec166110..fe5a80ac2733 100644 --- a/clients/client-ecr-public/runtimeConfig.ts +++ b/clients/client-ecr-public/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-ecr/package.json b/clients/client-ecr/package.json index 37078679c06b..8c192fb5e5fe 100644 --- a/clients/client-ecr/package.json +++ b/clients/client-ecr/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-ecr/runtimeConfig.browser.ts b/clients/client-ecr/runtimeConfig.browser.ts index a1ffa1bd96e7..5b3132df8172 100644 --- a/clients/client-ecr/runtimeConfig.browser.ts +++ b/clients/client-ecr/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-ecr/runtimeConfig.native.ts b/clients/client-ecr/runtimeConfig.native.ts index a4e6e46a060f..99b312325cd5 100644 --- a/clients/client-ecr/runtimeConfig.native.ts +++ b/clients/client-ecr/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./ECRClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-ecr/runtimeConfig.shared.ts b/clients/client-ecr/runtimeConfig.shared.ts index ce2cc1eb1734..abb836a2f0c8 100644 --- a/clients/client-ecr/runtimeConfig.shared.ts +++ b/clients/client-ecr/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "ECR", + urlParser: parseUrl, }; diff --git a/clients/client-ecr/runtimeConfig.ts b/clients/client-ecr/runtimeConfig.ts index 43f649852ff0..1b5b82b7176d 100644 --- a/clients/client-ecr/runtimeConfig.ts +++ b/clients/client-ecr/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-ecs/package.json b/clients/client-ecs/package.json index ab3f7efa21db..a1061dc0837e 100644 --- a/clients/client-ecs/package.json +++ b/clients/client-ecs/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-ecs/runtimeConfig.browser.ts b/clients/client-ecs/runtimeConfig.browser.ts index aa35b806aaf6..ac2bf9c25b9a 100644 --- a/clients/client-ecs/runtimeConfig.browser.ts +++ b/clients/client-ecs/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-ecs/runtimeConfig.native.ts b/clients/client-ecs/runtimeConfig.native.ts index f7fadafb3219..56d159f7036f 100644 --- a/clients/client-ecs/runtimeConfig.native.ts +++ b/clients/client-ecs/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./ECSClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-ecs/runtimeConfig.shared.ts b/clients/client-ecs/runtimeConfig.shared.ts index ebb907fa88d2..47013405c702 100644 --- a/clients/client-ecs/runtimeConfig.shared.ts +++ b/clients/client-ecs/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "ECS", + urlParser: parseUrl, }; diff --git a/clients/client-ecs/runtimeConfig.ts b/clients/client-ecs/runtimeConfig.ts index 6ca77ee96dbb..7b6bf826d4a5 100644 --- a/clients/client-ecs/runtimeConfig.ts +++ b/clients/client-ecs/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-efs/package.json b/clients/client-efs/package.json index 89a1a455cb70..547063626e03 100644 --- a/clients/client-efs/package.json +++ b/clients/client-efs/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-efs/runtimeConfig.browser.ts b/clients/client-efs/runtimeConfig.browser.ts index 96b057e2f47c..9850cf1eb2f3 100644 --- a/clients/client-efs/runtimeConfig.browser.ts +++ b/clients/client-efs/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-efs/runtimeConfig.native.ts b/clients/client-efs/runtimeConfig.native.ts index bdaa689854fe..acd420de2db3 100644 --- a/clients/client-efs/runtimeConfig.native.ts +++ b/clients/client-efs/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./EFSClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-efs/runtimeConfig.shared.ts b/clients/client-efs/runtimeConfig.shared.ts index c060dfc734ca..2b9348ba2715 100644 --- a/clients/client-efs/runtimeConfig.shared.ts +++ b/clients/client-efs/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "EFS", + urlParser: parseUrl, }; diff --git a/clients/client-efs/runtimeConfig.ts b/clients/client-efs/runtimeConfig.ts index a5776084f7c8..f4615c44476a 100644 --- a/clients/client-efs/runtimeConfig.ts +++ b/clients/client-efs/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-eks/package.json b/clients/client-eks/package.json index 2a2d3cdaae7c..a2b14004f5ce 100644 --- a/clients/client-eks/package.json +++ b/clients/client-eks/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-eks/runtimeConfig.browser.ts b/clients/client-eks/runtimeConfig.browser.ts index 128955113e9d..2ac226c1d198 100644 --- a/clients/client-eks/runtimeConfig.browser.ts +++ b/clients/client-eks/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-eks/runtimeConfig.native.ts b/clients/client-eks/runtimeConfig.native.ts index 25e1dd390425..b5238339cced 100644 --- a/clients/client-eks/runtimeConfig.native.ts +++ b/clients/client-eks/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./EKSClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-eks/runtimeConfig.shared.ts b/clients/client-eks/runtimeConfig.shared.ts index 1a410e01565a..1006e99f8447 100644 --- a/clients/client-eks/runtimeConfig.shared.ts +++ b/clients/client-eks/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "EKS", + urlParser: parseUrl, }; diff --git a/clients/client-eks/runtimeConfig.ts b/clients/client-eks/runtimeConfig.ts index 0eb66798a845..9a3c86c49208 100644 --- a/clients/client-eks/runtimeConfig.ts +++ b/clients/client-eks/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-elastic-beanstalk/package.json b/clients/client-elastic-beanstalk/package.json index 34a2a64b5e34..1ee39b6687e6 100644 --- a/clients/client-elastic-beanstalk/package.json +++ b/clients/client-elastic-beanstalk/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-elastic-beanstalk/runtimeConfig.browser.ts b/clients/client-elastic-beanstalk/runtimeConfig.browser.ts index 4aabede81499..1ad6373a54f7 100644 --- a/clients/client-elastic-beanstalk/runtimeConfig.browser.ts +++ b/clients/client-elastic-beanstalk/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-elastic-beanstalk/runtimeConfig.native.ts b/clients/client-elastic-beanstalk/runtimeConfig.native.ts index b51ffcdb93fe..b85276b5fde0 100644 --- a/clients/client-elastic-beanstalk/runtimeConfig.native.ts +++ b/clients/client-elastic-beanstalk/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./ElasticBeanstalkClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-elastic-beanstalk/runtimeConfig.shared.ts b/clients/client-elastic-beanstalk/runtimeConfig.shared.ts index 3c7079bf8e36..dc6f4c0fa904 100644 --- a/clients/client-elastic-beanstalk/runtimeConfig.shared.ts +++ b/clients/client-elastic-beanstalk/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Elastic Beanstalk", + urlParser: parseUrl, }; diff --git a/clients/client-elastic-beanstalk/runtimeConfig.ts b/clients/client-elastic-beanstalk/runtimeConfig.ts index 1ef80ff67bec..9b07f51482a5 100644 --- a/clients/client-elastic-beanstalk/runtimeConfig.ts +++ b/clients/client-elastic-beanstalk/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-elastic-inference/package.json b/clients/client-elastic-inference/package.json index 2cca1dd9349a..994ff4ce3bb1 100644 --- a/clients/client-elastic-inference/package.json +++ b/clients/client-elastic-inference/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-elastic-inference/runtimeConfig.browser.ts b/clients/client-elastic-inference/runtimeConfig.browser.ts index 77558932d13b..03f5d9d5b94a 100644 --- a/clients/client-elastic-inference/runtimeConfig.browser.ts +++ b/clients/client-elastic-inference/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-elastic-inference/runtimeConfig.native.ts b/clients/client-elastic-inference/runtimeConfig.native.ts index ffa246b21f4d..506ea0f87256 100644 --- a/clients/client-elastic-inference/runtimeConfig.native.ts +++ b/clients/client-elastic-inference/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./ElasticInferenceClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-elastic-inference/runtimeConfig.shared.ts b/clients/client-elastic-inference/runtimeConfig.shared.ts index 70aa3e7b2aa5..1e7a6a1ff6ac 100644 --- a/clients/client-elastic-inference/runtimeConfig.shared.ts +++ b/clients/client-elastic-inference/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Elastic Inference", + urlParser: parseUrl, }; diff --git a/clients/client-elastic-inference/runtimeConfig.ts b/clients/client-elastic-inference/runtimeConfig.ts index bb011ced5b63..ac2df7146b01 100644 --- a/clients/client-elastic-inference/runtimeConfig.ts +++ b/clients/client-elastic-inference/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-elastic-load-balancing-v2/package.json b/clients/client-elastic-load-balancing-v2/package.json index 27d40ff070a4..f963338ba3d0 100644 --- a/clients/client-elastic-load-balancing-v2/package.json +++ b/clients/client-elastic-load-balancing-v2/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-elastic-load-balancing-v2/runtimeConfig.browser.ts b/clients/client-elastic-load-balancing-v2/runtimeConfig.browser.ts index fdc17f289488..8a9e91212177 100644 --- a/clients/client-elastic-load-balancing-v2/runtimeConfig.browser.ts +++ b/clients/client-elastic-load-balancing-v2/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-elastic-load-balancing-v2/runtimeConfig.native.ts b/clients/client-elastic-load-balancing-v2/runtimeConfig.native.ts index 2597bd5ec848..f04b320b6cc4 100644 --- a/clients/client-elastic-load-balancing-v2/runtimeConfig.native.ts +++ b/clients/client-elastic-load-balancing-v2/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./ElasticLoadBalancingV2Client"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-elastic-load-balancing-v2/runtimeConfig.shared.ts b/clients/client-elastic-load-balancing-v2/runtimeConfig.shared.ts index 7a7b7d0d5cac..2033f47ae204 100644 --- a/clients/client-elastic-load-balancing-v2/runtimeConfig.shared.ts +++ b/clients/client-elastic-load-balancing-v2/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Elastic Load Balancing v2", + urlParser: parseUrl, }; diff --git a/clients/client-elastic-load-balancing-v2/runtimeConfig.ts b/clients/client-elastic-load-balancing-v2/runtimeConfig.ts index 05db6ebf3a75..32e238034d86 100644 --- a/clients/client-elastic-load-balancing-v2/runtimeConfig.ts +++ b/clients/client-elastic-load-balancing-v2/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-elastic-load-balancing/package.json b/clients/client-elastic-load-balancing/package.json index e8788ab2f7c3..e37630ecad98 100644 --- a/clients/client-elastic-load-balancing/package.json +++ b/clients/client-elastic-load-balancing/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-elastic-load-balancing/runtimeConfig.browser.ts b/clients/client-elastic-load-balancing/runtimeConfig.browser.ts index 76bcaa376b6c..9286781a6df9 100644 --- a/clients/client-elastic-load-balancing/runtimeConfig.browser.ts +++ b/clients/client-elastic-load-balancing/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-elastic-load-balancing/runtimeConfig.native.ts b/clients/client-elastic-load-balancing/runtimeConfig.native.ts index 059b51de5f3b..adb80d249e0f 100644 --- a/clients/client-elastic-load-balancing/runtimeConfig.native.ts +++ b/clients/client-elastic-load-balancing/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./ElasticLoadBalancingClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-elastic-load-balancing/runtimeConfig.shared.ts b/clients/client-elastic-load-balancing/runtimeConfig.shared.ts index bab6a26aa751..6767433cba88 100644 --- a/clients/client-elastic-load-balancing/runtimeConfig.shared.ts +++ b/clients/client-elastic-load-balancing/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Elastic Load Balancing", + urlParser: parseUrl, }; diff --git a/clients/client-elastic-load-balancing/runtimeConfig.ts b/clients/client-elastic-load-balancing/runtimeConfig.ts index 491bd5a3d3b2..22768876702b 100644 --- a/clients/client-elastic-load-balancing/runtimeConfig.ts +++ b/clients/client-elastic-load-balancing/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-elastic-transcoder/package.json b/clients/client-elastic-transcoder/package.json index f1fa23baba41..395e60b20652 100644 --- a/clients/client-elastic-transcoder/package.json +++ b/clients/client-elastic-transcoder/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-elastic-transcoder/runtimeConfig.browser.ts b/clients/client-elastic-transcoder/runtimeConfig.browser.ts index 27b651045025..44414e47f867 100644 --- a/clients/client-elastic-transcoder/runtimeConfig.browser.ts +++ b/clients/client-elastic-transcoder/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-elastic-transcoder/runtimeConfig.native.ts b/clients/client-elastic-transcoder/runtimeConfig.native.ts index 7508161f4411..6e67564a455c 100644 --- a/clients/client-elastic-transcoder/runtimeConfig.native.ts +++ b/clients/client-elastic-transcoder/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./ElasticTranscoderClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-elastic-transcoder/runtimeConfig.shared.ts b/clients/client-elastic-transcoder/runtimeConfig.shared.ts index d0b3bd604a3e..c6c6f37b8aa2 100644 --- a/clients/client-elastic-transcoder/runtimeConfig.shared.ts +++ b/clients/client-elastic-transcoder/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Elastic Transcoder", + urlParser: parseUrl, }; diff --git a/clients/client-elastic-transcoder/runtimeConfig.ts b/clients/client-elastic-transcoder/runtimeConfig.ts index beb232943384..41ed7785b60d 100644 --- a/clients/client-elastic-transcoder/runtimeConfig.ts +++ b/clients/client-elastic-transcoder/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-elasticache/package.json b/clients/client-elasticache/package.json index 94c893d4baee..13f9051e2341 100644 --- a/clients/client-elasticache/package.json +++ b/clients/client-elasticache/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-elasticache/runtimeConfig.browser.ts b/clients/client-elasticache/runtimeConfig.browser.ts index b688fe6e0c04..2ec2dd420ef4 100644 --- a/clients/client-elasticache/runtimeConfig.browser.ts +++ b/clients/client-elasticache/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-elasticache/runtimeConfig.native.ts b/clients/client-elasticache/runtimeConfig.native.ts index 5a2513da9eb9..e9ab94ce2ab8 100644 --- a/clients/client-elasticache/runtimeConfig.native.ts +++ b/clients/client-elasticache/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./ElastiCacheClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-elasticache/runtimeConfig.shared.ts b/clients/client-elasticache/runtimeConfig.shared.ts index 7ae89bf3e37f..0761a94a376a 100644 --- a/clients/client-elasticache/runtimeConfig.shared.ts +++ b/clients/client-elasticache/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "ElastiCache", + urlParser: parseUrl, }; diff --git a/clients/client-elasticache/runtimeConfig.ts b/clients/client-elasticache/runtimeConfig.ts index ae388c85f809..e3be49ac6122 100644 --- a/clients/client-elasticache/runtimeConfig.ts +++ b/clients/client-elasticache/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-elasticsearch-service/package.json b/clients/client-elasticsearch-service/package.json index 28d0d29448b9..5d8c2db961d5 100644 --- a/clients/client-elasticsearch-service/package.json +++ b/clients/client-elasticsearch-service/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-elasticsearch-service/runtimeConfig.browser.ts b/clients/client-elasticsearch-service/runtimeConfig.browser.ts index aa03d60d61e8..eef5d816e00e 100644 --- a/clients/client-elasticsearch-service/runtimeConfig.browser.ts +++ b/clients/client-elasticsearch-service/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-elasticsearch-service/runtimeConfig.native.ts b/clients/client-elasticsearch-service/runtimeConfig.native.ts index a3c881d65a17..6a08f1577303 100644 --- a/clients/client-elasticsearch-service/runtimeConfig.native.ts +++ b/clients/client-elasticsearch-service/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./ElasticsearchServiceClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-elasticsearch-service/runtimeConfig.shared.ts b/clients/client-elasticsearch-service/runtimeConfig.shared.ts index 3210c87bad23..c224b2177221 100644 --- a/clients/client-elasticsearch-service/runtimeConfig.shared.ts +++ b/clients/client-elasticsearch-service/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Elasticsearch Service", + urlParser: parseUrl, }; diff --git a/clients/client-elasticsearch-service/runtimeConfig.ts b/clients/client-elasticsearch-service/runtimeConfig.ts index e13164eaf863..a38357819640 100644 --- a/clients/client-elasticsearch-service/runtimeConfig.ts +++ b/clients/client-elasticsearch-service/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-emr-containers/package.json b/clients/client-emr-containers/package.json index a0917a44aa5a..28f779e806ea 100644 --- a/clients/client-emr-containers/package.json +++ b/clients/client-emr-containers/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-emr-containers/runtimeConfig.browser.ts b/clients/client-emr-containers/runtimeConfig.browser.ts index b3649cafbb49..4adfe5244fe2 100644 --- a/clients/client-emr-containers/runtimeConfig.browser.ts +++ b/clients/client-emr-containers/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-emr-containers/runtimeConfig.native.ts b/clients/client-emr-containers/runtimeConfig.native.ts index 622b9b9b986c..6b75d7556546 100644 --- a/clients/client-emr-containers/runtimeConfig.native.ts +++ b/clients/client-emr-containers/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./EMRContainersClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-emr-containers/runtimeConfig.shared.ts b/clients/client-emr-containers/runtimeConfig.shared.ts index bffb648d891c..f09d04e16714 100644 --- a/clients/client-emr-containers/runtimeConfig.shared.ts +++ b/clients/client-emr-containers/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "EMR containers", + urlParser: parseUrl, }; diff --git a/clients/client-emr-containers/runtimeConfig.ts b/clients/client-emr-containers/runtimeConfig.ts index da96716ffe2d..38cd858869f6 100644 --- a/clients/client-emr-containers/runtimeConfig.ts +++ b/clients/client-emr-containers/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-emr/package.json b/clients/client-emr/package.json index 3a92fbe10704..190a93979983 100644 --- a/clients/client-emr/package.json +++ b/clients/client-emr/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-emr/runtimeConfig.browser.ts b/clients/client-emr/runtimeConfig.browser.ts index 7ee0e664ce55..a3005913362a 100644 --- a/clients/client-emr/runtimeConfig.browser.ts +++ b/clients/client-emr/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-emr/runtimeConfig.native.ts b/clients/client-emr/runtimeConfig.native.ts index 5c15ca853b4a..6b8edae07fcd 100644 --- a/clients/client-emr/runtimeConfig.native.ts +++ b/clients/client-emr/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./EMRClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-emr/runtimeConfig.shared.ts b/clients/client-emr/runtimeConfig.shared.ts index b9821bf171bc..592e6876ad66 100644 --- a/clients/client-emr/runtimeConfig.shared.ts +++ b/clients/client-emr/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "EMR", + urlParser: parseUrl, }; diff --git a/clients/client-emr/runtimeConfig.ts b/clients/client-emr/runtimeConfig.ts index 3c11e1b39eee..1c70f8d49d06 100644 --- a/clients/client-emr/runtimeConfig.ts +++ b/clients/client-emr/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-eventbridge/package.json b/clients/client-eventbridge/package.json index 0262f39b965f..fda8a8dfb0a1 100644 --- a/clients/client-eventbridge/package.json +++ b/clients/client-eventbridge/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-eventbridge/runtimeConfig.browser.ts b/clients/client-eventbridge/runtimeConfig.browser.ts index 256e18cfcde8..20fdb79c7f6c 100644 --- a/clients/client-eventbridge/runtimeConfig.browser.ts +++ b/clients/client-eventbridge/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-eventbridge/runtimeConfig.native.ts b/clients/client-eventbridge/runtimeConfig.native.ts index 11ea8c309629..014226d9962d 100644 --- a/clients/client-eventbridge/runtimeConfig.native.ts +++ b/clients/client-eventbridge/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./EventBridgeClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-eventbridge/runtimeConfig.shared.ts b/clients/client-eventbridge/runtimeConfig.shared.ts index a8899ad49336..c3011b606dc8 100644 --- a/clients/client-eventbridge/runtimeConfig.shared.ts +++ b/clients/client-eventbridge/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "EventBridge", + urlParser: parseUrl, }; diff --git a/clients/client-eventbridge/runtimeConfig.ts b/clients/client-eventbridge/runtimeConfig.ts index 020563b9044b..ec53a7d4c59d 100644 --- a/clients/client-eventbridge/runtimeConfig.ts +++ b/clients/client-eventbridge/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-firehose/package.json b/clients/client-firehose/package.json index 8dfedc901719..e51f85e64ac7 100644 --- a/clients/client-firehose/package.json +++ b/clients/client-firehose/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-firehose/runtimeConfig.browser.ts b/clients/client-firehose/runtimeConfig.browser.ts index d7161b43ca3a..77e08ae242c7 100644 --- a/clients/client-firehose/runtimeConfig.browser.ts +++ b/clients/client-firehose/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-firehose/runtimeConfig.native.ts b/clients/client-firehose/runtimeConfig.native.ts index 85ff7de04da0..6e352fadbb7f 100644 --- a/clients/client-firehose/runtimeConfig.native.ts +++ b/clients/client-firehose/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./FirehoseClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-firehose/runtimeConfig.shared.ts b/clients/client-firehose/runtimeConfig.shared.ts index 57a9fd5f593f..22577e7431a1 100644 --- a/clients/client-firehose/runtimeConfig.shared.ts +++ b/clients/client-firehose/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Firehose", + urlParser: parseUrl, }; diff --git a/clients/client-firehose/runtimeConfig.ts b/clients/client-firehose/runtimeConfig.ts index 69e3291faf57..abc2bf117f25 100644 --- a/clients/client-firehose/runtimeConfig.ts +++ b/clients/client-firehose/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-fms/package.json b/clients/client-fms/package.json index a4842d097ab2..ad99543cdaa5 100644 --- a/clients/client-fms/package.json +++ b/clients/client-fms/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-fms/runtimeConfig.browser.ts b/clients/client-fms/runtimeConfig.browser.ts index fff3246fcab3..a0b038f4a4d9 100644 --- a/clients/client-fms/runtimeConfig.browser.ts +++ b/clients/client-fms/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-fms/runtimeConfig.native.ts b/clients/client-fms/runtimeConfig.native.ts index 06fae71ba3bf..566e4182c9a1 100644 --- a/clients/client-fms/runtimeConfig.native.ts +++ b/clients/client-fms/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./FMSClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-fms/runtimeConfig.shared.ts b/clients/client-fms/runtimeConfig.shared.ts index 954f3c0c7c20..2f823752aa96 100644 --- a/clients/client-fms/runtimeConfig.shared.ts +++ b/clients/client-fms/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "FMS", + urlParser: parseUrl, }; diff --git a/clients/client-fms/runtimeConfig.ts b/clients/client-fms/runtimeConfig.ts index 274b16144f9d..73a7da2038e4 100644 --- a/clients/client-fms/runtimeConfig.ts +++ b/clients/client-fms/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-forecast/package.json b/clients/client-forecast/package.json index 57cb15d58346..7db257336249 100644 --- a/clients/client-forecast/package.json +++ b/clients/client-forecast/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-forecast/runtimeConfig.browser.ts b/clients/client-forecast/runtimeConfig.browser.ts index 7499e355265c..667429a801dd 100644 --- a/clients/client-forecast/runtimeConfig.browser.ts +++ b/clients/client-forecast/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-forecast/runtimeConfig.native.ts b/clients/client-forecast/runtimeConfig.native.ts index 8fc2abba31ea..33b0129f9393 100644 --- a/clients/client-forecast/runtimeConfig.native.ts +++ b/clients/client-forecast/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./ForecastClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-forecast/runtimeConfig.shared.ts b/clients/client-forecast/runtimeConfig.shared.ts index 9dd94e54d800..dca83477eba3 100644 --- a/clients/client-forecast/runtimeConfig.shared.ts +++ b/clients/client-forecast/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "forecast", + urlParser: parseUrl, }; diff --git a/clients/client-forecast/runtimeConfig.ts b/clients/client-forecast/runtimeConfig.ts index 7b5ea3dfdd9f..f2935b70ede8 100644 --- a/clients/client-forecast/runtimeConfig.ts +++ b/clients/client-forecast/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-forecastquery/package.json b/clients/client-forecastquery/package.json index 6e53bb55f88a..ec4cdfeda4ba 100644 --- a/clients/client-forecastquery/package.json +++ b/clients/client-forecastquery/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-forecastquery/runtimeConfig.browser.ts b/clients/client-forecastquery/runtimeConfig.browser.ts index 2bed73624251..32ef56c9f81c 100644 --- a/clients/client-forecastquery/runtimeConfig.browser.ts +++ b/clients/client-forecastquery/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-forecastquery/runtimeConfig.native.ts b/clients/client-forecastquery/runtimeConfig.native.ts index 5a99514c36bf..9737a05b4350 100644 --- a/clients/client-forecastquery/runtimeConfig.native.ts +++ b/clients/client-forecastquery/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./ForecastqueryClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-forecastquery/runtimeConfig.shared.ts b/clients/client-forecastquery/runtimeConfig.shared.ts index c7d587055624..aaa9839f3b15 100644 --- a/clients/client-forecastquery/runtimeConfig.shared.ts +++ b/clients/client-forecastquery/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "forecastquery", + urlParser: parseUrl, }; diff --git a/clients/client-forecastquery/runtimeConfig.ts b/clients/client-forecastquery/runtimeConfig.ts index d72cd6e6dedf..1f6e7d9c6820 100644 --- a/clients/client-forecastquery/runtimeConfig.ts +++ b/clients/client-forecastquery/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-frauddetector/package.json b/clients/client-frauddetector/package.json index 1f2e1e3705a4..8b8411f9c3fe 100644 --- a/clients/client-frauddetector/package.json +++ b/clients/client-frauddetector/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-frauddetector/runtimeConfig.browser.ts b/clients/client-frauddetector/runtimeConfig.browser.ts index 84c8d695f4a5..f1e26caa8620 100644 --- a/clients/client-frauddetector/runtimeConfig.browser.ts +++ b/clients/client-frauddetector/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-frauddetector/runtimeConfig.native.ts b/clients/client-frauddetector/runtimeConfig.native.ts index ffeddbcfa558..bd8217d563eb 100644 --- a/clients/client-frauddetector/runtimeConfig.native.ts +++ b/clients/client-frauddetector/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./FraudDetectorClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-frauddetector/runtimeConfig.shared.ts b/clients/client-frauddetector/runtimeConfig.shared.ts index 0cb9bc05f3cf..a0fdf469c306 100644 --- a/clients/client-frauddetector/runtimeConfig.shared.ts +++ b/clients/client-frauddetector/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "FraudDetector", + urlParser: parseUrl, }; diff --git a/clients/client-frauddetector/runtimeConfig.ts b/clients/client-frauddetector/runtimeConfig.ts index f81aeea6b0cd..fdb583c2f36d 100644 --- a/clients/client-frauddetector/runtimeConfig.ts +++ b/clients/client-frauddetector/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-fsx/package.json b/clients/client-fsx/package.json index c43d1f80434d..255d5e6a1e1b 100644 --- a/clients/client-fsx/package.json +++ b/clients/client-fsx/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-fsx/runtimeConfig.browser.ts b/clients/client-fsx/runtimeConfig.browser.ts index 60224eef505c..9f895cb2c151 100644 --- a/clients/client-fsx/runtimeConfig.browser.ts +++ b/clients/client-fsx/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-fsx/runtimeConfig.native.ts b/clients/client-fsx/runtimeConfig.native.ts index 667d2d75c583..2aa3a7d48994 100644 --- a/clients/client-fsx/runtimeConfig.native.ts +++ b/clients/client-fsx/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./FSxClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-fsx/runtimeConfig.shared.ts b/clients/client-fsx/runtimeConfig.shared.ts index 5ad5ba70f3e7..b6a86561d7d3 100644 --- a/clients/client-fsx/runtimeConfig.shared.ts +++ b/clients/client-fsx/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "FSx", + urlParser: parseUrl, }; diff --git a/clients/client-fsx/runtimeConfig.ts b/clients/client-fsx/runtimeConfig.ts index 295dbf41cce2..326c08bc98fe 100644 --- a/clients/client-fsx/runtimeConfig.ts +++ b/clients/client-fsx/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-gamelift/package.json b/clients/client-gamelift/package.json index 1fa19e9ade98..bec6dfa34232 100644 --- a/clients/client-gamelift/package.json +++ b/clients/client-gamelift/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-gamelift/runtimeConfig.browser.ts b/clients/client-gamelift/runtimeConfig.browser.ts index e6f736468816..be91b8baaf57 100644 --- a/clients/client-gamelift/runtimeConfig.browser.ts +++ b/clients/client-gamelift/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-gamelift/runtimeConfig.native.ts b/clients/client-gamelift/runtimeConfig.native.ts index d7c948f5a470..8eb335173617 100644 --- a/clients/client-gamelift/runtimeConfig.native.ts +++ b/clients/client-gamelift/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./GameLiftClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-gamelift/runtimeConfig.shared.ts b/clients/client-gamelift/runtimeConfig.shared.ts index 6a1684c86671..c4561104679f 100644 --- a/clients/client-gamelift/runtimeConfig.shared.ts +++ b/clients/client-gamelift/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "GameLift", + urlParser: parseUrl, }; diff --git a/clients/client-gamelift/runtimeConfig.ts b/clients/client-gamelift/runtimeConfig.ts index 3df467d66969..6fa24ab42b1a 100644 --- a/clients/client-gamelift/runtimeConfig.ts +++ b/clients/client-gamelift/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-glacier/package.json b/clients/client-glacier/package.json index 4d4a65f70611..9473f97bfc91 100644 --- a/clients/client-glacier/package.json +++ b/clients/client-glacier/package.json @@ -49,8 +49,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-glacier/runtimeConfig.browser.ts b/clients/client-glacier/runtimeConfig.browser.ts index 54b7288bfe44..5bac26b0fb1d 100644 --- a/clients/client-glacier/runtimeConfig.browser.ts +++ b/clients/client-glacier/runtimeConfig.browser.ts @@ -5,7 +5,6 @@ import { bodyChecksumGenerator } from "@aws-sdk/body-checksum-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-glacier/runtimeConfig.native.ts b/clients/client-glacier/runtimeConfig.native.ts index d9be63dceac0..503f5edb7150 100644 --- a/clients/client-glacier/runtimeConfig.native.ts +++ b/clients/client-glacier/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./GlacierClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-glacier/runtimeConfig.shared.ts b/clients/client-glacier/runtimeConfig.shared.ts index 5f59b596429d..f1d783406304 100644 --- a/clients/client-glacier/runtimeConfig.shared.ts +++ b/clients/client-glacier/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Glacier", + urlParser: parseUrl, }; diff --git a/clients/client-glacier/runtimeConfig.ts b/clients/client-glacier/runtimeConfig.ts index 05e3d9bd597c..efc562e76ffe 100644 --- a/clients/client-glacier/runtimeConfig.ts +++ b/clients/client-glacier/runtimeConfig.ts @@ -7,7 +7,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -35,7 +34,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-global-accelerator/package.json b/clients/client-global-accelerator/package.json index d55276de2c7b..17d160c31ca1 100644 --- a/clients/client-global-accelerator/package.json +++ b/clients/client-global-accelerator/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-global-accelerator/runtimeConfig.browser.ts b/clients/client-global-accelerator/runtimeConfig.browser.ts index 8b80f1505851..dc903434b1c9 100644 --- a/clients/client-global-accelerator/runtimeConfig.browser.ts +++ b/clients/client-global-accelerator/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-global-accelerator/runtimeConfig.native.ts b/clients/client-global-accelerator/runtimeConfig.native.ts index e88df1cf0063..dd768a9b6647 100644 --- a/clients/client-global-accelerator/runtimeConfig.native.ts +++ b/clients/client-global-accelerator/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./GlobalAcceleratorClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-global-accelerator/runtimeConfig.shared.ts b/clients/client-global-accelerator/runtimeConfig.shared.ts index ea2e109d9ce6..cfd534b4bedb 100644 --- a/clients/client-global-accelerator/runtimeConfig.shared.ts +++ b/clients/client-global-accelerator/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Global Accelerator", + urlParser: parseUrl, }; diff --git a/clients/client-global-accelerator/runtimeConfig.ts b/clients/client-global-accelerator/runtimeConfig.ts index 5929fb47bb14..41b479ae98bb 100644 --- a/clients/client-global-accelerator/runtimeConfig.ts +++ b/clients/client-global-accelerator/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-glue/package.json b/clients/client-glue/package.json index c62362de3048..881fda7fb4d2 100644 --- a/clients/client-glue/package.json +++ b/clients/client-glue/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-glue/runtimeConfig.browser.ts b/clients/client-glue/runtimeConfig.browser.ts index 423b72ed802b..a2ee9038b310 100644 --- a/clients/client-glue/runtimeConfig.browser.ts +++ b/clients/client-glue/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-glue/runtimeConfig.native.ts b/clients/client-glue/runtimeConfig.native.ts index 02a575596094..bb22e391ab6f 100644 --- a/clients/client-glue/runtimeConfig.native.ts +++ b/clients/client-glue/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./GlueClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-glue/runtimeConfig.shared.ts b/clients/client-glue/runtimeConfig.shared.ts index 6591d8fad2f2..791a1f632bd5 100644 --- a/clients/client-glue/runtimeConfig.shared.ts +++ b/clients/client-glue/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Glue", + urlParser: parseUrl, }; diff --git a/clients/client-glue/runtimeConfig.ts b/clients/client-glue/runtimeConfig.ts index 510af72737e1..d7f4e110751a 100644 --- a/clients/client-glue/runtimeConfig.ts +++ b/clients/client-glue/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-greengrass/package.json b/clients/client-greengrass/package.json index 791864392856..2a94fb782ab1 100644 --- a/clients/client-greengrass/package.json +++ b/clients/client-greengrass/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-greengrass/runtimeConfig.browser.ts b/clients/client-greengrass/runtimeConfig.browser.ts index a0f8a7d88f7e..1e7f31410789 100644 --- a/clients/client-greengrass/runtimeConfig.browser.ts +++ b/clients/client-greengrass/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-greengrass/runtimeConfig.native.ts b/clients/client-greengrass/runtimeConfig.native.ts index a87dc5ee17b0..7102081a582a 100644 --- a/clients/client-greengrass/runtimeConfig.native.ts +++ b/clients/client-greengrass/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./GreengrassClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-greengrass/runtimeConfig.shared.ts b/clients/client-greengrass/runtimeConfig.shared.ts index ba093c677148..764e7bb793ec 100644 --- a/clients/client-greengrass/runtimeConfig.shared.ts +++ b/clients/client-greengrass/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Greengrass", + urlParser: parseUrl, }; diff --git a/clients/client-greengrass/runtimeConfig.ts b/clients/client-greengrass/runtimeConfig.ts index 4207efcc191d..b53231f95f32 100644 --- a/clients/client-greengrass/runtimeConfig.ts +++ b/clients/client-greengrass/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-groundstation/package.json b/clients/client-groundstation/package.json index 700268d34b3f..ead7bf07f365 100644 --- a/clients/client-groundstation/package.json +++ b/clients/client-groundstation/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-groundstation/runtimeConfig.browser.ts b/clients/client-groundstation/runtimeConfig.browser.ts index 1b2cab366b2d..76f117c9f06b 100644 --- a/clients/client-groundstation/runtimeConfig.browser.ts +++ b/clients/client-groundstation/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-groundstation/runtimeConfig.native.ts b/clients/client-groundstation/runtimeConfig.native.ts index 52aa8d6e8455..49a4f1368539 100644 --- a/clients/client-groundstation/runtimeConfig.native.ts +++ b/clients/client-groundstation/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./GroundStationClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-groundstation/runtimeConfig.shared.ts b/clients/client-groundstation/runtimeConfig.shared.ts index 5e26f0347e21..b87b24d801e0 100644 --- a/clients/client-groundstation/runtimeConfig.shared.ts +++ b/clients/client-groundstation/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "GroundStation", + urlParser: parseUrl, }; diff --git a/clients/client-groundstation/runtimeConfig.ts b/clients/client-groundstation/runtimeConfig.ts index d0973ebe24e4..7bb7f79b6b83 100644 --- a/clients/client-groundstation/runtimeConfig.ts +++ b/clients/client-groundstation/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-guardduty/package.json b/clients/client-guardduty/package.json index 03ab91747dd9..bab566058dfe 100644 --- a/clients/client-guardduty/package.json +++ b/clients/client-guardduty/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-guardduty/runtimeConfig.browser.ts b/clients/client-guardduty/runtimeConfig.browser.ts index 6824e82ff9ef..6d3590d757a1 100644 --- a/clients/client-guardduty/runtimeConfig.browser.ts +++ b/clients/client-guardduty/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-guardduty/runtimeConfig.native.ts b/clients/client-guardduty/runtimeConfig.native.ts index 9267548ef263..b03a00f869b2 100644 --- a/clients/client-guardduty/runtimeConfig.native.ts +++ b/clients/client-guardduty/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./GuardDutyClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-guardduty/runtimeConfig.shared.ts b/clients/client-guardduty/runtimeConfig.shared.ts index 917088c3b75c..3115234dc118 100644 --- a/clients/client-guardduty/runtimeConfig.shared.ts +++ b/clients/client-guardduty/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "GuardDuty", + urlParser: parseUrl, }; diff --git a/clients/client-guardduty/runtimeConfig.ts b/clients/client-guardduty/runtimeConfig.ts index 0384f0376b40..ec786fb3e049 100644 --- a/clients/client-guardduty/runtimeConfig.ts +++ b/clients/client-guardduty/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-health/package.json b/clients/client-health/package.json index dead2228e67a..82cae108d242 100644 --- a/clients/client-health/package.json +++ b/clients/client-health/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-health/runtimeConfig.browser.ts b/clients/client-health/runtimeConfig.browser.ts index 0f6d60d9f918..0b47e28b92b7 100644 --- a/clients/client-health/runtimeConfig.browser.ts +++ b/clients/client-health/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-health/runtimeConfig.native.ts b/clients/client-health/runtimeConfig.native.ts index 1134bd9e518d..2058629b41cc 100644 --- a/clients/client-health/runtimeConfig.native.ts +++ b/clients/client-health/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./HealthClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-health/runtimeConfig.shared.ts b/clients/client-health/runtimeConfig.shared.ts index 4d74d7e31ed0..9d0902421b6f 100644 --- a/clients/client-health/runtimeConfig.shared.ts +++ b/clients/client-health/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Health", + urlParser: parseUrl, }; diff --git a/clients/client-health/runtimeConfig.ts b/clients/client-health/runtimeConfig.ts index 6b44381d4914..9d4c2042334d 100644 --- a/clients/client-health/runtimeConfig.ts +++ b/clients/client-health/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-healthlake/package.json b/clients/client-healthlake/package.json index 19fec7765aff..a91bd95d4eeb 100644 --- a/clients/client-healthlake/package.json +++ b/clients/client-healthlake/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-healthlake/runtimeConfig.browser.ts b/clients/client-healthlake/runtimeConfig.browser.ts index 0a2bc5584732..d0b191cc5e73 100644 --- a/clients/client-healthlake/runtimeConfig.browser.ts +++ b/clients/client-healthlake/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-healthlake/runtimeConfig.native.ts b/clients/client-healthlake/runtimeConfig.native.ts index 4ae36a662ffc..2598e28854ca 100644 --- a/clients/client-healthlake/runtimeConfig.native.ts +++ b/clients/client-healthlake/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./HealthLakeClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-healthlake/runtimeConfig.shared.ts b/clients/client-healthlake/runtimeConfig.shared.ts index 0d6229f38a35..ebeb423d7821 100644 --- a/clients/client-healthlake/runtimeConfig.shared.ts +++ b/clients/client-healthlake/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "HealthLake", + urlParser: parseUrl, }; diff --git a/clients/client-healthlake/runtimeConfig.ts b/clients/client-healthlake/runtimeConfig.ts index 6d913c7aca0f..c3569fb977f6 100644 --- a/clients/client-healthlake/runtimeConfig.ts +++ b/clients/client-healthlake/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-honeycode/package.json b/clients/client-honeycode/package.json index 5f220add086c..3c2d097a7647 100644 --- a/clients/client-honeycode/package.json +++ b/clients/client-honeycode/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-honeycode/runtimeConfig.browser.ts b/clients/client-honeycode/runtimeConfig.browser.ts index cbc616c22790..8dc4bc42982f 100644 --- a/clients/client-honeycode/runtimeConfig.browser.ts +++ b/clients/client-honeycode/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-honeycode/runtimeConfig.native.ts b/clients/client-honeycode/runtimeConfig.native.ts index 58470e9f41cd..c994509db49f 100644 --- a/clients/client-honeycode/runtimeConfig.native.ts +++ b/clients/client-honeycode/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./HoneycodeClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-honeycode/runtimeConfig.shared.ts b/clients/client-honeycode/runtimeConfig.shared.ts index 89943dadf888..bcf52ce37bcc 100644 --- a/clients/client-honeycode/runtimeConfig.shared.ts +++ b/clients/client-honeycode/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Honeycode", + urlParser: parseUrl, }; diff --git a/clients/client-honeycode/runtimeConfig.ts b/clients/client-honeycode/runtimeConfig.ts index 4360401c5559..1ed3f243fcdb 100644 --- a/clients/client-honeycode/runtimeConfig.ts +++ b/clients/client-honeycode/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-iam/package.json b/clients/client-iam/package.json index 3e331c02924a..04048ba26770 100644 --- a/clients/client-iam/package.json +++ b/clients/client-iam/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-iam/runtimeConfig.browser.ts b/clients/client-iam/runtimeConfig.browser.ts index 4d7d7fdd5dce..a14132e86fbd 100644 --- a/clients/client-iam/runtimeConfig.browser.ts +++ b/clients/client-iam/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-iam/runtimeConfig.native.ts b/clients/client-iam/runtimeConfig.native.ts index f15d8cf5ef8d..84b4d5809f74 100644 --- a/clients/client-iam/runtimeConfig.native.ts +++ b/clients/client-iam/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./IAMClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-iam/runtimeConfig.shared.ts b/clients/client-iam/runtimeConfig.shared.ts index adadfb55479a..71f47458a42f 100644 --- a/clients/client-iam/runtimeConfig.shared.ts +++ b/clients/client-iam/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "IAM", + urlParser: parseUrl, }; diff --git a/clients/client-iam/runtimeConfig.ts b/clients/client-iam/runtimeConfig.ts index 35d5c8c0e38a..5754e922a73e 100644 --- a/clients/client-iam/runtimeConfig.ts +++ b/clients/client-iam/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-identitystore/package.json b/clients/client-identitystore/package.json index 1582686c3c64..b4b60488812a 100644 --- a/clients/client-identitystore/package.json +++ b/clients/client-identitystore/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-identitystore/runtimeConfig.browser.ts b/clients/client-identitystore/runtimeConfig.browser.ts index aae356565e76..565dc3ea9a88 100644 --- a/clients/client-identitystore/runtimeConfig.browser.ts +++ b/clients/client-identitystore/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-identitystore/runtimeConfig.native.ts b/clients/client-identitystore/runtimeConfig.native.ts index 614b2deec496..3b8de737baf9 100644 --- a/clients/client-identitystore/runtimeConfig.native.ts +++ b/clients/client-identitystore/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./IdentitystoreClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-identitystore/runtimeConfig.shared.ts b/clients/client-identitystore/runtimeConfig.shared.ts index 624f0fa427fc..677413ef79e7 100644 --- a/clients/client-identitystore/runtimeConfig.shared.ts +++ b/clients/client-identitystore/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "identitystore", + urlParser: parseUrl, }; diff --git a/clients/client-identitystore/runtimeConfig.ts b/clients/client-identitystore/runtimeConfig.ts index a11e26c35853..852e34f14adf 100644 --- a/clients/client-identitystore/runtimeConfig.ts +++ b/clients/client-identitystore/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-imagebuilder/package.json b/clients/client-imagebuilder/package.json index e7f61fa966eb..308b571d431a 100644 --- a/clients/client-imagebuilder/package.json +++ b/clients/client-imagebuilder/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-imagebuilder/runtimeConfig.browser.ts b/clients/client-imagebuilder/runtimeConfig.browser.ts index e55f75064944..620efbf88cf9 100644 --- a/clients/client-imagebuilder/runtimeConfig.browser.ts +++ b/clients/client-imagebuilder/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-imagebuilder/runtimeConfig.native.ts b/clients/client-imagebuilder/runtimeConfig.native.ts index 3f695e2f0715..238121aadd33 100644 --- a/clients/client-imagebuilder/runtimeConfig.native.ts +++ b/clients/client-imagebuilder/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./ImagebuilderClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-imagebuilder/runtimeConfig.shared.ts b/clients/client-imagebuilder/runtimeConfig.shared.ts index 703cc9363f3f..bdaedaa5555b 100644 --- a/clients/client-imagebuilder/runtimeConfig.shared.ts +++ b/clients/client-imagebuilder/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "imagebuilder", + urlParser: parseUrl, }; diff --git a/clients/client-imagebuilder/runtimeConfig.ts b/clients/client-imagebuilder/runtimeConfig.ts index 0727f6902aa1..0194b5eca7c2 100644 --- a/clients/client-imagebuilder/runtimeConfig.ts +++ b/clients/client-imagebuilder/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-inspector/package.json b/clients/client-inspector/package.json index 76d878e10b86..d55626bd58f1 100644 --- a/clients/client-inspector/package.json +++ b/clients/client-inspector/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-inspector/runtimeConfig.browser.ts b/clients/client-inspector/runtimeConfig.browser.ts index 4535c9032e08..e87ec5af404c 100644 --- a/clients/client-inspector/runtimeConfig.browser.ts +++ b/clients/client-inspector/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-inspector/runtimeConfig.native.ts b/clients/client-inspector/runtimeConfig.native.ts index 925dd30f5e86..5ed9b5905706 100644 --- a/clients/client-inspector/runtimeConfig.native.ts +++ b/clients/client-inspector/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./InspectorClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-inspector/runtimeConfig.shared.ts b/clients/client-inspector/runtimeConfig.shared.ts index dd05a67999b1..c190603cd03c 100644 --- a/clients/client-inspector/runtimeConfig.shared.ts +++ b/clients/client-inspector/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Inspector", + urlParser: parseUrl, }; diff --git a/clients/client-inspector/runtimeConfig.ts b/clients/client-inspector/runtimeConfig.ts index 7ef1a40da6af..a6380ee51cbd 100644 --- a/clients/client-inspector/runtimeConfig.ts +++ b/clients/client-inspector/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-iot-1click-devices-service/package.json b/clients/client-iot-1click-devices-service/package.json index 1b5f0c88956a..5820b7e62c27 100644 --- a/clients/client-iot-1click-devices-service/package.json +++ b/clients/client-iot-1click-devices-service/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-iot-1click-devices-service/runtimeConfig.browser.ts b/clients/client-iot-1click-devices-service/runtimeConfig.browser.ts index aaabaf27f431..6fa5a946586c 100644 --- a/clients/client-iot-1click-devices-service/runtimeConfig.browser.ts +++ b/clients/client-iot-1click-devices-service/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-iot-1click-devices-service/runtimeConfig.native.ts b/clients/client-iot-1click-devices-service/runtimeConfig.native.ts index aa8a1e5bc377..50b14dc7d79b 100644 --- a/clients/client-iot-1click-devices-service/runtimeConfig.native.ts +++ b/clients/client-iot-1click-devices-service/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./IoT1ClickDevicesServiceClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-iot-1click-devices-service/runtimeConfig.shared.ts b/clients/client-iot-1click-devices-service/runtimeConfig.shared.ts index ea617420e1ce..0aec62bf3300 100644 --- a/clients/client-iot-1click-devices-service/runtimeConfig.shared.ts +++ b/clients/client-iot-1click-devices-service/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "IoT 1Click Devices Service", + urlParser: parseUrl, }; diff --git a/clients/client-iot-1click-devices-service/runtimeConfig.ts b/clients/client-iot-1click-devices-service/runtimeConfig.ts index 6065d59bea9f..11bf46135c98 100644 --- a/clients/client-iot-1click-devices-service/runtimeConfig.ts +++ b/clients/client-iot-1click-devices-service/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-iot-1click-projects/package.json b/clients/client-iot-1click-projects/package.json index 253d5a4d50bf..f00f08691b50 100644 --- a/clients/client-iot-1click-projects/package.json +++ b/clients/client-iot-1click-projects/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-iot-1click-projects/runtimeConfig.browser.ts b/clients/client-iot-1click-projects/runtimeConfig.browser.ts index 7736b8307427..25286a9e4c33 100644 --- a/clients/client-iot-1click-projects/runtimeConfig.browser.ts +++ b/clients/client-iot-1click-projects/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-iot-1click-projects/runtimeConfig.native.ts b/clients/client-iot-1click-projects/runtimeConfig.native.ts index ed52b2091d01..3d4a296674a0 100644 --- a/clients/client-iot-1click-projects/runtimeConfig.native.ts +++ b/clients/client-iot-1click-projects/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./IoT1ClickProjectsClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-iot-1click-projects/runtimeConfig.shared.ts b/clients/client-iot-1click-projects/runtimeConfig.shared.ts index 112b482b80b1..106d4272c5c6 100644 --- a/clients/client-iot-1click-projects/runtimeConfig.shared.ts +++ b/clients/client-iot-1click-projects/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "IoT 1Click Projects", + urlParser: parseUrl, }; diff --git a/clients/client-iot-1click-projects/runtimeConfig.ts b/clients/client-iot-1click-projects/runtimeConfig.ts index 7035d8943f0a..b14844e7f239 100644 --- a/clients/client-iot-1click-projects/runtimeConfig.ts +++ b/clients/client-iot-1click-projects/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-iot-data-plane/package.json b/clients/client-iot-data-plane/package.json index ed9c4eb0b6b7..bef650400d88 100644 --- a/clients/client-iot-data-plane/package.json +++ b/clients/client-iot-data-plane/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-iot-data-plane/runtimeConfig.browser.ts b/clients/client-iot-data-plane/runtimeConfig.browser.ts index ec8b152a7734..95484c9f8bcc 100644 --- a/clients/client-iot-data-plane/runtimeConfig.browser.ts +++ b/clients/client-iot-data-plane/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-iot-data-plane/runtimeConfig.native.ts b/clients/client-iot-data-plane/runtimeConfig.native.ts index 4e4ea28faab2..4ce97d3a5d5b 100644 --- a/clients/client-iot-data-plane/runtimeConfig.native.ts +++ b/clients/client-iot-data-plane/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./IoTDataPlaneClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-iot-data-plane/runtimeConfig.shared.ts b/clients/client-iot-data-plane/runtimeConfig.shared.ts index 885d681aa667..d4d649112fb1 100644 --- a/clients/client-iot-data-plane/runtimeConfig.shared.ts +++ b/clients/client-iot-data-plane/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "IoT Data Plane", + urlParser: parseUrl, }; diff --git a/clients/client-iot-data-plane/runtimeConfig.ts b/clients/client-iot-data-plane/runtimeConfig.ts index f10ae5116251..87e9441addbc 100644 --- a/clients/client-iot-data-plane/runtimeConfig.ts +++ b/clients/client-iot-data-plane/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-iot-events-data/package.json b/clients/client-iot-events-data/package.json index b52f47c8868f..9462c8a3833f 100644 --- a/clients/client-iot-events-data/package.json +++ b/clients/client-iot-events-data/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-iot-events-data/runtimeConfig.browser.ts b/clients/client-iot-events-data/runtimeConfig.browser.ts index f0333ad8ca54..078b42df3334 100644 --- a/clients/client-iot-events-data/runtimeConfig.browser.ts +++ b/clients/client-iot-events-data/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-iot-events-data/runtimeConfig.native.ts b/clients/client-iot-events-data/runtimeConfig.native.ts index 0aeb7db1ce3c..37171928635e 100644 --- a/clients/client-iot-events-data/runtimeConfig.native.ts +++ b/clients/client-iot-events-data/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./IoTEventsDataClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-iot-events-data/runtimeConfig.shared.ts b/clients/client-iot-events-data/runtimeConfig.shared.ts index 480ac4228925..0980ab6b1eb4 100644 --- a/clients/client-iot-events-data/runtimeConfig.shared.ts +++ b/clients/client-iot-events-data/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "IoT Events Data", + urlParser: parseUrl, }; diff --git a/clients/client-iot-events-data/runtimeConfig.ts b/clients/client-iot-events-data/runtimeConfig.ts index e6ba6e800c88..c87fab7bf38f 100644 --- a/clients/client-iot-events-data/runtimeConfig.ts +++ b/clients/client-iot-events-data/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-iot-events/package.json b/clients/client-iot-events/package.json index 34f2e40bca89..685cf6a5a1e4 100644 --- a/clients/client-iot-events/package.json +++ b/clients/client-iot-events/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-iot-events/runtimeConfig.browser.ts b/clients/client-iot-events/runtimeConfig.browser.ts index f449203087c7..f1849b7d7f17 100644 --- a/clients/client-iot-events/runtimeConfig.browser.ts +++ b/clients/client-iot-events/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-iot-events/runtimeConfig.native.ts b/clients/client-iot-events/runtimeConfig.native.ts index eaa85451d4b6..9567ebb8c829 100644 --- a/clients/client-iot-events/runtimeConfig.native.ts +++ b/clients/client-iot-events/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./IoTEventsClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-iot-events/runtimeConfig.shared.ts b/clients/client-iot-events/runtimeConfig.shared.ts index 49415827b369..3134862075ee 100644 --- a/clients/client-iot-events/runtimeConfig.shared.ts +++ b/clients/client-iot-events/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "IoT Events", + urlParser: parseUrl, }; diff --git a/clients/client-iot-events/runtimeConfig.ts b/clients/client-iot-events/runtimeConfig.ts index 12b412636e5a..786202929ff9 100644 --- a/clients/client-iot-events/runtimeConfig.ts +++ b/clients/client-iot-events/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-iot-jobs-data-plane/package.json b/clients/client-iot-jobs-data-plane/package.json index 9232a2c86d18..5a3b1195c07a 100644 --- a/clients/client-iot-jobs-data-plane/package.json +++ b/clients/client-iot-jobs-data-plane/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-iot-jobs-data-plane/runtimeConfig.browser.ts b/clients/client-iot-jobs-data-plane/runtimeConfig.browser.ts index bdda4ab924fe..c70c5b144745 100644 --- a/clients/client-iot-jobs-data-plane/runtimeConfig.browser.ts +++ b/clients/client-iot-jobs-data-plane/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-iot-jobs-data-plane/runtimeConfig.native.ts b/clients/client-iot-jobs-data-plane/runtimeConfig.native.ts index abad19f8dc8d..f92435d07e73 100644 --- a/clients/client-iot-jobs-data-plane/runtimeConfig.native.ts +++ b/clients/client-iot-jobs-data-plane/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./IoTJobsDataPlaneClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-iot-jobs-data-plane/runtimeConfig.shared.ts b/clients/client-iot-jobs-data-plane/runtimeConfig.shared.ts index f32dc4293388..ad8282653df1 100644 --- a/clients/client-iot-jobs-data-plane/runtimeConfig.shared.ts +++ b/clients/client-iot-jobs-data-plane/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "IoT Jobs Data Plane", + urlParser: parseUrl, }; diff --git a/clients/client-iot-jobs-data-plane/runtimeConfig.ts b/clients/client-iot-jobs-data-plane/runtimeConfig.ts index 165ab5067b59..139c16135946 100644 --- a/clients/client-iot-jobs-data-plane/runtimeConfig.ts +++ b/clients/client-iot-jobs-data-plane/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-iot/package.json b/clients/client-iot/package.json index bb6355c4d829..1c7e31a3fdce 100644 --- a/clients/client-iot/package.json +++ b/clients/client-iot/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-iot/runtimeConfig.browser.ts b/clients/client-iot/runtimeConfig.browser.ts index 5226d6679de6..90c8cfda44e3 100644 --- a/clients/client-iot/runtimeConfig.browser.ts +++ b/clients/client-iot/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-iot/runtimeConfig.native.ts b/clients/client-iot/runtimeConfig.native.ts index defb8198e3d5..30e2d8c45d7d 100644 --- a/clients/client-iot/runtimeConfig.native.ts +++ b/clients/client-iot/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./IoTClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-iot/runtimeConfig.shared.ts b/clients/client-iot/runtimeConfig.shared.ts index ccacbb4e9dde..f52edc8e582d 100644 --- a/clients/client-iot/runtimeConfig.shared.ts +++ b/clients/client-iot/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "IoT", + urlParser: parseUrl, }; diff --git a/clients/client-iot/runtimeConfig.ts b/clients/client-iot/runtimeConfig.ts index a32b9249b455..ab856a64e8a8 100644 --- a/clients/client-iot/runtimeConfig.ts +++ b/clients/client-iot/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-iotanalytics/package.json b/clients/client-iotanalytics/package.json index 174ed7fc54cf..bd86c2ef0fb5 100644 --- a/clients/client-iotanalytics/package.json +++ b/clients/client-iotanalytics/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-iotanalytics/runtimeConfig.browser.ts b/clients/client-iotanalytics/runtimeConfig.browser.ts index 9ff5a29f69e3..016d73d69e3e 100644 --- a/clients/client-iotanalytics/runtimeConfig.browser.ts +++ b/clients/client-iotanalytics/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-iotanalytics/runtimeConfig.native.ts b/clients/client-iotanalytics/runtimeConfig.native.ts index 23b40c4c1168..ba07810fc29a 100644 --- a/clients/client-iotanalytics/runtimeConfig.native.ts +++ b/clients/client-iotanalytics/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./IoTAnalyticsClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-iotanalytics/runtimeConfig.shared.ts b/clients/client-iotanalytics/runtimeConfig.shared.ts index 1fb7bcf86d55..6664dbd7f083 100644 --- a/clients/client-iotanalytics/runtimeConfig.shared.ts +++ b/clients/client-iotanalytics/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "IoTAnalytics", + urlParser: parseUrl, }; diff --git a/clients/client-iotanalytics/runtimeConfig.ts b/clients/client-iotanalytics/runtimeConfig.ts index 94fee36290de..d2b65ba56cc4 100644 --- a/clients/client-iotanalytics/runtimeConfig.ts +++ b/clients/client-iotanalytics/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-iotsecuretunneling/package.json b/clients/client-iotsecuretunneling/package.json index 5ad7276c6aba..fbc2fa3509d5 100644 --- a/clients/client-iotsecuretunneling/package.json +++ b/clients/client-iotsecuretunneling/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-iotsecuretunneling/runtimeConfig.browser.ts b/clients/client-iotsecuretunneling/runtimeConfig.browser.ts index 612b852628b2..292cdff209b2 100644 --- a/clients/client-iotsecuretunneling/runtimeConfig.browser.ts +++ b/clients/client-iotsecuretunneling/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-iotsecuretunneling/runtimeConfig.native.ts b/clients/client-iotsecuretunneling/runtimeConfig.native.ts index 775e2c3dfe3f..f7160d296b8f 100644 --- a/clients/client-iotsecuretunneling/runtimeConfig.native.ts +++ b/clients/client-iotsecuretunneling/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./IoTSecureTunnelingClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-iotsecuretunneling/runtimeConfig.shared.ts b/clients/client-iotsecuretunneling/runtimeConfig.shared.ts index 6d5326822250..509b7db828f3 100644 --- a/clients/client-iotsecuretunneling/runtimeConfig.shared.ts +++ b/clients/client-iotsecuretunneling/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "IoTSecureTunneling", + urlParser: parseUrl, }; diff --git a/clients/client-iotsecuretunneling/runtimeConfig.ts b/clients/client-iotsecuretunneling/runtimeConfig.ts index 2b1313e03c3c..e1e6ee1f6b12 100644 --- a/clients/client-iotsecuretunneling/runtimeConfig.ts +++ b/clients/client-iotsecuretunneling/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-iotsitewise/package.json b/clients/client-iotsitewise/package.json index c9480b867780..9b72dac60ce8 100644 --- a/clients/client-iotsitewise/package.json +++ b/clients/client-iotsitewise/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-iotsitewise/runtimeConfig.browser.ts b/clients/client-iotsitewise/runtimeConfig.browser.ts index e7ddfe61c787..ec17e7bc283b 100644 --- a/clients/client-iotsitewise/runtimeConfig.browser.ts +++ b/clients/client-iotsitewise/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-iotsitewise/runtimeConfig.native.ts b/clients/client-iotsitewise/runtimeConfig.native.ts index 4be83e5b6441..438171269e65 100644 --- a/clients/client-iotsitewise/runtimeConfig.native.ts +++ b/clients/client-iotsitewise/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./IoTSiteWiseClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-iotsitewise/runtimeConfig.shared.ts b/clients/client-iotsitewise/runtimeConfig.shared.ts index b0ff04d4b7b3..6a8ceaf5fb75 100644 --- a/clients/client-iotsitewise/runtimeConfig.shared.ts +++ b/clients/client-iotsitewise/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "IoTSiteWise", + urlParser: parseUrl, }; diff --git a/clients/client-iotsitewise/runtimeConfig.ts b/clients/client-iotsitewise/runtimeConfig.ts index 6ffd6ace2c74..8232bafd4336 100644 --- a/clients/client-iotsitewise/runtimeConfig.ts +++ b/clients/client-iotsitewise/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-iotthingsgraph/package.json b/clients/client-iotthingsgraph/package.json index 52b6f37bfed0..9f7bd08b3556 100644 --- a/clients/client-iotthingsgraph/package.json +++ b/clients/client-iotthingsgraph/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-iotthingsgraph/runtimeConfig.browser.ts b/clients/client-iotthingsgraph/runtimeConfig.browser.ts index 5cc83f3d0b8f..496456722541 100644 --- a/clients/client-iotthingsgraph/runtimeConfig.browser.ts +++ b/clients/client-iotthingsgraph/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-iotthingsgraph/runtimeConfig.native.ts b/clients/client-iotthingsgraph/runtimeConfig.native.ts index 245cc397926d..15ce134621f9 100644 --- a/clients/client-iotthingsgraph/runtimeConfig.native.ts +++ b/clients/client-iotthingsgraph/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./IoTThingsGraphClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-iotthingsgraph/runtimeConfig.shared.ts b/clients/client-iotthingsgraph/runtimeConfig.shared.ts index 21c7b1cae3e5..0ff116ff72e1 100644 --- a/clients/client-iotthingsgraph/runtimeConfig.shared.ts +++ b/clients/client-iotthingsgraph/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "IoTThingsGraph", + urlParser: parseUrl, }; diff --git a/clients/client-iotthingsgraph/runtimeConfig.ts b/clients/client-iotthingsgraph/runtimeConfig.ts index 1ef947bdc995..340ca0b4c06f 100644 --- a/clients/client-iotthingsgraph/runtimeConfig.ts +++ b/clients/client-iotthingsgraph/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-ivs/package.json b/clients/client-ivs/package.json index 6d67423cf33e..ec3f79a42802 100644 --- a/clients/client-ivs/package.json +++ b/clients/client-ivs/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-ivs/runtimeConfig.browser.ts b/clients/client-ivs/runtimeConfig.browser.ts index ff0467ac8149..c535bcf3843d 100644 --- a/clients/client-ivs/runtimeConfig.browser.ts +++ b/clients/client-ivs/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-ivs/runtimeConfig.native.ts b/clients/client-ivs/runtimeConfig.native.ts index 4b1a6f4af45e..0992aecd3c5c 100644 --- a/clients/client-ivs/runtimeConfig.native.ts +++ b/clients/client-ivs/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./IvsClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-ivs/runtimeConfig.shared.ts b/clients/client-ivs/runtimeConfig.shared.ts index 3bbdf279c800..3f31538acfed 100644 --- a/clients/client-ivs/runtimeConfig.shared.ts +++ b/clients/client-ivs/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "ivs", + urlParser: parseUrl, }; diff --git a/clients/client-ivs/runtimeConfig.ts b/clients/client-ivs/runtimeConfig.ts index 0a12439b0934..8cf06e2c4fb6 100644 --- a/clients/client-ivs/runtimeConfig.ts +++ b/clients/client-ivs/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-kafka/package.json b/clients/client-kafka/package.json index 99df6441a1d6..c763f6b2a879 100644 --- a/clients/client-kafka/package.json +++ b/clients/client-kafka/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-kafka/runtimeConfig.browser.ts b/clients/client-kafka/runtimeConfig.browser.ts index d47e8a142225..c21fb1800639 100644 --- a/clients/client-kafka/runtimeConfig.browser.ts +++ b/clients/client-kafka/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-kafka/runtimeConfig.native.ts b/clients/client-kafka/runtimeConfig.native.ts index d07a4bd8f655..1d3d9a748cea 100644 --- a/clients/client-kafka/runtimeConfig.native.ts +++ b/clients/client-kafka/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./KafkaClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-kafka/runtimeConfig.shared.ts b/clients/client-kafka/runtimeConfig.shared.ts index 60bfd63d7fe9..fcc86fce55ec 100644 --- a/clients/client-kafka/runtimeConfig.shared.ts +++ b/clients/client-kafka/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Kafka", + urlParser: parseUrl, }; diff --git a/clients/client-kafka/runtimeConfig.ts b/clients/client-kafka/runtimeConfig.ts index 5bbe2256b697..52602d6c651d 100644 --- a/clients/client-kafka/runtimeConfig.ts +++ b/clients/client-kafka/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-kendra/package.json b/clients/client-kendra/package.json index 1983b5961d73..0ddeb653423f 100644 --- a/clients/client-kendra/package.json +++ b/clients/client-kendra/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-kendra/runtimeConfig.browser.ts b/clients/client-kendra/runtimeConfig.browser.ts index 704697825d35..54e6f49ab98f 100644 --- a/clients/client-kendra/runtimeConfig.browser.ts +++ b/clients/client-kendra/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-kendra/runtimeConfig.native.ts b/clients/client-kendra/runtimeConfig.native.ts index 755249dcd233..7558f48b3abb 100644 --- a/clients/client-kendra/runtimeConfig.native.ts +++ b/clients/client-kendra/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./KendraClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-kendra/runtimeConfig.shared.ts b/clients/client-kendra/runtimeConfig.shared.ts index c05fa359a2ca..90d3816a49d7 100644 --- a/clients/client-kendra/runtimeConfig.shared.ts +++ b/clients/client-kendra/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "kendra", + urlParser: parseUrl, }; diff --git a/clients/client-kendra/runtimeConfig.ts b/clients/client-kendra/runtimeConfig.ts index 3b185671504a..8e88ad32f680 100644 --- a/clients/client-kendra/runtimeConfig.ts +++ b/clients/client-kendra/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-kinesis-analytics-v2/package.json b/clients/client-kinesis-analytics-v2/package.json index 258da1f6be79..ab3ab6762719 100644 --- a/clients/client-kinesis-analytics-v2/package.json +++ b/clients/client-kinesis-analytics-v2/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-kinesis-analytics-v2/runtimeConfig.browser.ts b/clients/client-kinesis-analytics-v2/runtimeConfig.browser.ts index fdd21508a7e4..7067c0984693 100644 --- a/clients/client-kinesis-analytics-v2/runtimeConfig.browser.ts +++ b/clients/client-kinesis-analytics-v2/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-kinesis-analytics-v2/runtimeConfig.native.ts b/clients/client-kinesis-analytics-v2/runtimeConfig.native.ts index 99b3f7a09ee3..07cf8728dbdf 100644 --- a/clients/client-kinesis-analytics-v2/runtimeConfig.native.ts +++ b/clients/client-kinesis-analytics-v2/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./KinesisAnalyticsV2Client"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-kinesis-analytics-v2/runtimeConfig.shared.ts b/clients/client-kinesis-analytics-v2/runtimeConfig.shared.ts index 4bdf8dfd094f..65c074f0e9b5 100644 --- a/clients/client-kinesis-analytics-v2/runtimeConfig.shared.ts +++ b/clients/client-kinesis-analytics-v2/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Kinesis Analytics V2", + urlParser: parseUrl, }; diff --git a/clients/client-kinesis-analytics-v2/runtimeConfig.ts b/clients/client-kinesis-analytics-v2/runtimeConfig.ts index 7c9c33b7ab47..1040f10ef42e 100644 --- a/clients/client-kinesis-analytics-v2/runtimeConfig.ts +++ b/clients/client-kinesis-analytics-v2/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-kinesis-analytics/package.json b/clients/client-kinesis-analytics/package.json index 66e1479325f2..89bed7e2c3e4 100644 --- a/clients/client-kinesis-analytics/package.json +++ b/clients/client-kinesis-analytics/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-kinesis-analytics/runtimeConfig.browser.ts b/clients/client-kinesis-analytics/runtimeConfig.browser.ts index 93cd9ea746fb..9712b64c83a6 100644 --- a/clients/client-kinesis-analytics/runtimeConfig.browser.ts +++ b/clients/client-kinesis-analytics/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-kinesis-analytics/runtimeConfig.native.ts b/clients/client-kinesis-analytics/runtimeConfig.native.ts index 8e2002dedfb3..8a1e446e4e59 100644 --- a/clients/client-kinesis-analytics/runtimeConfig.native.ts +++ b/clients/client-kinesis-analytics/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./KinesisAnalyticsClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-kinesis-analytics/runtimeConfig.shared.ts b/clients/client-kinesis-analytics/runtimeConfig.shared.ts index 41329fbc9892..3b336c22da69 100644 --- a/clients/client-kinesis-analytics/runtimeConfig.shared.ts +++ b/clients/client-kinesis-analytics/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Kinesis Analytics", + urlParser: parseUrl, }; diff --git a/clients/client-kinesis-analytics/runtimeConfig.ts b/clients/client-kinesis-analytics/runtimeConfig.ts index 9a36a75e0f55..a1d05e0fb2cf 100644 --- a/clients/client-kinesis-analytics/runtimeConfig.ts +++ b/clients/client-kinesis-analytics/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-kinesis-video-archived-media/package.json b/clients/client-kinesis-video-archived-media/package.json index 26be7a5b0f85..7d589de58617 100644 --- a/clients/client-kinesis-video-archived-media/package.json +++ b/clients/client-kinesis-video-archived-media/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-kinesis-video-archived-media/runtimeConfig.browser.ts b/clients/client-kinesis-video-archived-media/runtimeConfig.browser.ts index 806b0bc395c2..bb1e4b0b53b2 100644 --- a/clients/client-kinesis-video-archived-media/runtimeConfig.browser.ts +++ b/clients/client-kinesis-video-archived-media/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-kinesis-video-archived-media/runtimeConfig.native.ts b/clients/client-kinesis-video-archived-media/runtimeConfig.native.ts index a989d29c4357..02c2029a9b96 100644 --- a/clients/client-kinesis-video-archived-media/runtimeConfig.native.ts +++ b/clients/client-kinesis-video-archived-media/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./KinesisVideoArchivedMediaClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-kinesis-video-archived-media/runtimeConfig.shared.ts b/clients/client-kinesis-video-archived-media/runtimeConfig.shared.ts index 694c018c8f4a..f1eb004ec059 100644 --- a/clients/client-kinesis-video-archived-media/runtimeConfig.shared.ts +++ b/clients/client-kinesis-video-archived-media/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Kinesis Video Archived Media", + urlParser: parseUrl, }; diff --git a/clients/client-kinesis-video-archived-media/runtimeConfig.ts b/clients/client-kinesis-video-archived-media/runtimeConfig.ts index 5f54109f79d4..ef7b9d0382e7 100644 --- a/clients/client-kinesis-video-archived-media/runtimeConfig.ts +++ b/clients/client-kinesis-video-archived-media/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-kinesis-video-media/package.json b/clients/client-kinesis-video-media/package.json index 398f9d566a2d..c7114d4ff3d8 100644 --- a/clients/client-kinesis-video-media/package.json +++ b/clients/client-kinesis-video-media/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-kinesis-video-media/runtimeConfig.browser.ts b/clients/client-kinesis-video-media/runtimeConfig.browser.ts index 11a18ecbc761..6d52e21b470d 100644 --- a/clients/client-kinesis-video-media/runtimeConfig.browser.ts +++ b/clients/client-kinesis-video-media/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-kinesis-video-media/runtimeConfig.native.ts b/clients/client-kinesis-video-media/runtimeConfig.native.ts index d96c0cda321b..4405afa23d82 100644 --- a/clients/client-kinesis-video-media/runtimeConfig.native.ts +++ b/clients/client-kinesis-video-media/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./KinesisVideoMediaClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-kinesis-video-media/runtimeConfig.shared.ts b/clients/client-kinesis-video-media/runtimeConfig.shared.ts index 70944139363e..a3cd541e6db5 100644 --- a/clients/client-kinesis-video-media/runtimeConfig.shared.ts +++ b/clients/client-kinesis-video-media/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Kinesis Video Media", + urlParser: parseUrl, }; diff --git a/clients/client-kinesis-video-media/runtimeConfig.ts b/clients/client-kinesis-video-media/runtimeConfig.ts index f99959ebf39f..79495d8206cb 100644 --- a/clients/client-kinesis-video-media/runtimeConfig.ts +++ b/clients/client-kinesis-video-media/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-kinesis-video-signaling/package.json b/clients/client-kinesis-video-signaling/package.json index ef0de71a0c5f..0bee9249ba6a 100644 --- a/clients/client-kinesis-video-signaling/package.json +++ b/clients/client-kinesis-video-signaling/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-kinesis-video-signaling/runtimeConfig.browser.ts b/clients/client-kinesis-video-signaling/runtimeConfig.browser.ts index e5ee4073f546..ea1638cada8c 100644 --- a/clients/client-kinesis-video-signaling/runtimeConfig.browser.ts +++ b/clients/client-kinesis-video-signaling/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-kinesis-video-signaling/runtimeConfig.native.ts b/clients/client-kinesis-video-signaling/runtimeConfig.native.ts index cad8c52fe0a2..72164878124d 100644 --- a/clients/client-kinesis-video-signaling/runtimeConfig.native.ts +++ b/clients/client-kinesis-video-signaling/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./KinesisVideoSignalingClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-kinesis-video-signaling/runtimeConfig.shared.ts b/clients/client-kinesis-video-signaling/runtimeConfig.shared.ts index 3082ed4a6371..bd634dd75302 100644 --- a/clients/client-kinesis-video-signaling/runtimeConfig.shared.ts +++ b/clients/client-kinesis-video-signaling/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Kinesis Video Signaling", + urlParser: parseUrl, }; diff --git a/clients/client-kinesis-video-signaling/runtimeConfig.ts b/clients/client-kinesis-video-signaling/runtimeConfig.ts index 41f2b8d1653a..dba62747076c 100644 --- a/clients/client-kinesis-video-signaling/runtimeConfig.ts +++ b/clients/client-kinesis-video-signaling/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-kinesis-video/package.json b/clients/client-kinesis-video/package.json index f6c313a03a88..37a4099dff67 100644 --- a/clients/client-kinesis-video/package.json +++ b/clients/client-kinesis-video/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-kinesis-video/runtimeConfig.browser.ts b/clients/client-kinesis-video/runtimeConfig.browser.ts index b36f16642b0a..1cebaed77c16 100644 --- a/clients/client-kinesis-video/runtimeConfig.browser.ts +++ b/clients/client-kinesis-video/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-kinesis-video/runtimeConfig.native.ts b/clients/client-kinesis-video/runtimeConfig.native.ts index 111673a8627f..498878442b1e 100644 --- a/clients/client-kinesis-video/runtimeConfig.native.ts +++ b/clients/client-kinesis-video/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./KinesisVideoClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-kinesis-video/runtimeConfig.shared.ts b/clients/client-kinesis-video/runtimeConfig.shared.ts index 7c0d827f0ef8..6e3a5bc49597 100644 --- a/clients/client-kinesis-video/runtimeConfig.shared.ts +++ b/clients/client-kinesis-video/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Kinesis Video", + urlParser: parseUrl, }; diff --git a/clients/client-kinesis-video/runtimeConfig.ts b/clients/client-kinesis-video/runtimeConfig.ts index 675f608c296f..58143f44e723 100644 --- a/clients/client-kinesis-video/runtimeConfig.ts +++ b/clients/client-kinesis-video/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-kinesis/package.json b/clients/client-kinesis/package.json index 24c78fb8d899..39a7f6a95cab 100644 --- a/clients/client-kinesis/package.json +++ b/clients/client-kinesis/package.json @@ -49,8 +49,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-kinesis/runtimeConfig.browser.ts b/clients/client-kinesis/runtimeConfig.browser.ts index 1df440a4f658..cfb2703a9e63 100644 --- a/clients/client-kinesis/runtimeConfig.browser.ts +++ b/clients/client-kinesis/runtimeConfig.browser.ts @@ -5,7 +5,6 @@ import { eventStreamSerdeProvider } from "@aws-sdk/eventstream-serde-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-kinesis/runtimeConfig.native.ts b/clients/client-kinesis/runtimeConfig.native.ts index 6db24364702c..40f87972536e 100644 --- a/clients/client-kinesis/runtimeConfig.native.ts +++ b/clients/client-kinesis/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./KinesisClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-kinesis/runtimeConfig.shared.ts b/clients/client-kinesis/runtimeConfig.shared.ts index 98f38f800226..0fd263095326 100644 --- a/clients/client-kinesis/runtimeConfig.shared.ts +++ b/clients/client-kinesis/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Kinesis", + urlParser: parseUrl, }; diff --git a/clients/client-kinesis/runtimeConfig.ts b/clients/client-kinesis/runtimeConfig.ts index 918ea23b8e79..3802c98345c2 100644 --- a/clients/client-kinesis/runtimeConfig.ts +++ b/clients/client-kinesis/runtimeConfig.ts @@ -7,7 +7,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -35,7 +34,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-kms/package.json b/clients/client-kms/package.json index f7bb5b4998cc..6c95a8215185 100644 --- a/clients/client-kms/package.json +++ b/clients/client-kms/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-kms/runtimeConfig.browser.ts b/clients/client-kms/runtimeConfig.browser.ts index 8bc086334e31..3d857ae08f2b 100644 --- a/clients/client-kms/runtimeConfig.browser.ts +++ b/clients/client-kms/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-kms/runtimeConfig.native.ts b/clients/client-kms/runtimeConfig.native.ts index 9f37a196e9a6..c45806291372 100644 --- a/clients/client-kms/runtimeConfig.native.ts +++ b/clients/client-kms/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./KMSClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-kms/runtimeConfig.shared.ts b/clients/client-kms/runtimeConfig.shared.ts index 475576c6d838..e84ede33c9ea 100644 --- a/clients/client-kms/runtimeConfig.shared.ts +++ b/clients/client-kms/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "KMS", + urlParser: parseUrl, }; diff --git a/clients/client-kms/runtimeConfig.ts b/clients/client-kms/runtimeConfig.ts index 2d2f1327c837..7e0fdcf849ea 100644 --- a/clients/client-kms/runtimeConfig.ts +++ b/clients/client-kms/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-lakeformation/package.json b/clients/client-lakeformation/package.json index 95a29ca3ca06..d59450447cac 100644 --- a/clients/client-lakeformation/package.json +++ b/clients/client-lakeformation/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-lakeformation/runtimeConfig.browser.ts b/clients/client-lakeformation/runtimeConfig.browser.ts index eac313394a23..072a834a888a 100644 --- a/clients/client-lakeformation/runtimeConfig.browser.ts +++ b/clients/client-lakeformation/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-lakeformation/runtimeConfig.native.ts b/clients/client-lakeformation/runtimeConfig.native.ts index cc112c366196..82489b99774c 100644 --- a/clients/client-lakeformation/runtimeConfig.native.ts +++ b/clients/client-lakeformation/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./LakeFormationClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-lakeformation/runtimeConfig.shared.ts b/clients/client-lakeformation/runtimeConfig.shared.ts index 2637ef9655f2..186e0225540f 100644 --- a/clients/client-lakeformation/runtimeConfig.shared.ts +++ b/clients/client-lakeformation/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "LakeFormation", + urlParser: parseUrl, }; diff --git a/clients/client-lakeformation/runtimeConfig.ts b/clients/client-lakeformation/runtimeConfig.ts index 28f26047522d..0cedf26f6231 100644 --- a/clients/client-lakeformation/runtimeConfig.ts +++ b/clients/client-lakeformation/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-lambda/package.json b/clients/client-lambda/package.json index 97b5627ff97c..2102b88ab879 100644 --- a/clients/client-lambda/package.json +++ b/clients/client-lambda/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-lambda/runtimeConfig.browser.ts b/clients/client-lambda/runtimeConfig.browser.ts index a76383f47445..76540ae0b50d 100644 --- a/clients/client-lambda/runtimeConfig.browser.ts +++ b/clients/client-lambda/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-lambda/runtimeConfig.native.ts b/clients/client-lambda/runtimeConfig.native.ts index 294305bfb6eb..5aca15803d3a 100644 --- a/clients/client-lambda/runtimeConfig.native.ts +++ b/clients/client-lambda/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./LambdaClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-lambda/runtimeConfig.shared.ts b/clients/client-lambda/runtimeConfig.shared.ts index 5a23dbd5ffce..b5eb623f00b7 100644 --- a/clients/client-lambda/runtimeConfig.shared.ts +++ b/clients/client-lambda/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Lambda", + urlParser: parseUrl, }; diff --git a/clients/client-lambda/runtimeConfig.ts b/clients/client-lambda/runtimeConfig.ts index df5a968474ea..207f20222989 100644 --- a/clients/client-lambda/runtimeConfig.ts +++ b/clients/client-lambda/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-lex-model-building-service/package.json b/clients/client-lex-model-building-service/package.json index 22a0bf91ed8a..4756319691df 100644 --- a/clients/client-lex-model-building-service/package.json +++ b/clients/client-lex-model-building-service/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-lex-model-building-service/runtimeConfig.browser.ts b/clients/client-lex-model-building-service/runtimeConfig.browser.ts index 8574d540eed5..b2ec4a13dbde 100644 --- a/clients/client-lex-model-building-service/runtimeConfig.browser.ts +++ b/clients/client-lex-model-building-service/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-lex-model-building-service/runtimeConfig.native.ts b/clients/client-lex-model-building-service/runtimeConfig.native.ts index f972a1b1781e..a90cc33be7e4 100644 --- a/clients/client-lex-model-building-service/runtimeConfig.native.ts +++ b/clients/client-lex-model-building-service/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./LexModelBuildingServiceClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-lex-model-building-service/runtimeConfig.shared.ts b/clients/client-lex-model-building-service/runtimeConfig.shared.ts index 1ff322249e01..1b7e3955744c 100644 --- a/clients/client-lex-model-building-service/runtimeConfig.shared.ts +++ b/clients/client-lex-model-building-service/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Lex Model Building Service", + urlParser: parseUrl, }; diff --git a/clients/client-lex-model-building-service/runtimeConfig.ts b/clients/client-lex-model-building-service/runtimeConfig.ts index 8b7e4273e607..d52eb87b0549 100644 --- a/clients/client-lex-model-building-service/runtimeConfig.ts +++ b/clients/client-lex-model-building-service/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-lex-runtime-service/package.json b/clients/client-lex-runtime-service/package.json index 3ba39dd2c40d..fdfd4f170d7d 100644 --- a/clients/client-lex-runtime-service/package.json +++ b/clients/client-lex-runtime-service/package.json @@ -47,8 +47,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-lex-runtime-service/runtimeConfig.browser.ts b/clients/client-lex-runtime-service/runtimeConfig.browser.ts index 1b5cc12c8218..d771e5e920f4 100644 --- a/clients/client-lex-runtime-service/runtimeConfig.browser.ts +++ b/clients/client-lex-runtime-service/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-lex-runtime-service/runtimeConfig.native.ts b/clients/client-lex-runtime-service/runtimeConfig.native.ts index 2dafe4e39ae0..5e485b9e0c99 100644 --- a/clients/client-lex-runtime-service/runtimeConfig.native.ts +++ b/clients/client-lex-runtime-service/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./LexRuntimeServiceClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-lex-runtime-service/runtimeConfig.shared.ts b/clients/client-lex-runtime-service/runtimeConfig.shared.ts index edcb03292bf7..bd722efdcc3d 100644 --- a/clients/client-lex-runtime-service/runtimeConfig.shared.ts +++ b/clients/client-lex-runtime-service/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Lex Runtime Service", + urlParser: parseUrl, }; diff --git a/clients/client-lex-runtime-service/runtimeConfig.ts b/clients/client-lex-runtime-service/runtimeConfig.ts index 934d12d5411e..c5d0845cd54f 100644 --- a/clients/client-lex-runtime-service/runtimeConfig.ts +++ b/clients/client-lex-runtime-service/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-license-manager/package.json b/clients/client-license-manager/package.json index f6c7067d0627..959a85fc5865 100644 --- a/clients/client-license-manager/package.json +++ b/clients/client-license-manager/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-license-manager/runtimeConfig.browser.ts b/clients/client-license-manager/runtimeConfig.browser.ts index 7ac131938c2b..e65b71775a98 100644 --- a/clients/client-license-manager/runtimeConfig.browser.ts +++ b/clients/client-license-manager/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-license-manager/runtimeConfig.native.ts b/clients/client-license-manager/runtimeConfig.native.ts index 40aba5fecaee..9093ecd8a28f 100644 --- a/clients/client-license-manager/runtimeConfig.native.ts +++ b/clients/client-license-manager/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./LicenseManagerClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-license-manager/runtimeConfig.shared.ts b/clients/client-license-manager/runtimeConfig.shared.ts index 35f0821bc1b2..5e116a37df73 100644 --- a/clients/client-license-manager/runtimeConfig.shared.ts +++ b/clients/client-license-manager/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "License Manager", + urlParser: parseUrl, }; diff --git a/clients/client-license-manager/runtimeConfig.ts b/clients/client-license-manager/runtimeConfig.ts index 4af0572dd20d..8823c0708b9f 100644 --- a/clients/client-license-manager/runtimeConfig.ts +++ b/clients/client-license-manager/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-lightsail/package.json b/clients/client-lightsail/package.json index 1386decf304f..4c40e8e55bd5 100644 --- a/clients/client-lightsail/package.json +++ b/clients/client-lightsail/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-lightsail/runtimeConfig.browser.ts b/clients/client-lightsail/runtimeConfig.browser.ts index edeb18667b72..37c10c7a8ac4 100644 --- a/clients/client-lightsail/runtimeConfig.browser.ts +++ b/clients/client-lightsail/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-lightsail/runtimeConfig.native.ts b/clients/client-lightsail/runtimeConfig.native.ts index 591ab77bd51d..f585967aa277 100644 --- a/clients/client-lightsail/runtimeConfig.native.ts +++ b/clients/client-lightsail/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./LightsailClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-lightsail/runtimeConfig.shared.ts b/clients/client-lightsail/runtimeConfig.shared.ts index 75f096b5f201..2c47929bec5f 100644 --- a/clients/client-lightsail/runtimeConfig.shared.ts +++ b/clients/client-lightsail/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Lightsail", + urlParser: parseUrl, }; diff --git a/clients/client-lightsail/runtimeConfig.ts b/clients/client-lightsail/runtimeConfig.ts index 48f8022b21db..c9fd998f0e53 100644 --- a/clients/client-lightsail/runtimeConfig.ts +++ b/clients/client-lightsail/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-lookoutvision/package.json b/clients/client-lookoutvision/package.json index 1734a4795f4e..a7d96a735d21 100644 --- a/clients/client-lookoutvision/package.json +++ b/clients/client-lookoutvision/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-lookoutvision/runtimeConfig.browser.ts b/clients/client-lookoutvision/runtimeConfig.browser.ts index 8417a8a5e001..b3eea0e88a2e 100644 --- a/clients/client-lookoutvision/runtimeConfig.browser.ts +++ b/clients/client-lookoutvision/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-lookoutvision/runtimeConfig.native.ts b/clients/client-lookoutvision/runtimeConfig.native.ts index dbd3e5d33f27..8fcbd3749273 100644 --- a/clients/client-lookoutvision/runtimeConfig.native.ts +++ b/clients/client-lookoutvision/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./LookoutVisionClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-lookoutvision/runtimeConfig.shared.ts b/clients/client-lookoutvision/runtimeConfig.shared.ts index 632b467b14f4..dd3d2158fe7e 100644 --- a/clients/client-lookoutvision/runtimeConfig.shared.ts +++ b/clients/client-lookoutvision/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "LookoutVision", + urlParser: parseUrl, }; diff --git a/clients/client-lookoutvision/runtimeConfig.ts b/clients/client-lookoutvision/runtimeConfig.ts index 485b5ab26e06..3e045b0010b2 100644 --- a/clients/client-lookoutvision/runtimeConfig.ts +++ b/clients/client-lookoutvision/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-machine-learning/package.json b/clients/client-machine-learning/package.json index 3a42fe8df5af..4b2d01f749da 100644 --- a/clients/client-machine-learning/package.json +++ b/clients/client-machine-learning/package.json @@ -47,8 +47,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-machine-learning/runtimeConfig.browser.ts b/clients/client-machine-learning/runtimeConfig.browser.ts index a9c27f695658..79c1e019c956 100644 --- a/clients/client-machine-learning/runtimeConfig.browser.ts +++ b/clients/client-machine-learning/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-machine-learning/runtimeConfig.native.ts b/clients/client-machine-learning/runtimeConfig.native.ts index b84819bb1280..48d99381b89e 100644 --- a/clients/client-machine-learning/runtimeConfig.native.ts +++ b/clients/client-machine-learning/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./MachineLearningClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-machine-learning/runtimeConfig.shared.ts b/clients/client-machine-learning/runtimeConfig.shared.ts index 8fc9b550548f..2e9cf58b899a 100644 --- a/clients/client-machine-learning/runtimeConfig.shared.ts +++ b/clients/client-machine-learning/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Machine Learning", + urlParser: parseUrl, }; diff --git a/clients/client-machine-learning/runtimeConfig.ts b/clients/client-machine-learning/runtimeConfig.ts index f1f1ad56bf86..94cc23a0c51f 100644 --- a/clients/client-machine-learning/runtimeConfig.ts +++ b/clients/client-machine-learning/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-macie/package.json b/clients/client-macie/package.json index fdd379dda9c2..6735536f5d58 100644 --- a/clients/client-macie/package.json +++ b/clients/client-macie/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-macie/runtimeConfig.browser.ts b/clients/client-macie/runtimeConfig.browser.ts index b5e2a3b915a7..85f3692030cb 100644 --- a/clients/client-macie/runtimeConfig.browser.ts +++ b/clients/client-macie/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-macie/runtimeConfig.native.ts b/clients/client-macie/runtimeConfig.native.ts index 8af081227fcb..17e2af737d5d 100644 --- a/clients/client-macie/runtimeConfig.native.ts +++ b/clients/client-macie/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./MacieClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-macie/runtimeConfig.shared.ts b/clients/client-macie/runtimeConfig.shared.ts index 4eefb23fbca1..5b577b77e595 100644 --- a/clients/client-macie/runtimeConfig.shared.ts +++ b/clients/client-macie/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Macie", + urlParser: parseUrl, }; diff --git a/clients/client-macie/runtimeConfig.ts b/clients/client-macie/runtimeConfig.ts index 314b5cda946c..ae8de6934730 100644 --- a/clients/client-macie/runtimeConfig.ts +++ b/clients/client-macie/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-macie2/package.json b/clients/client-macie2/package.json index 567acbf087ce..6d2938db23f6 100644 --- a/clients/client-macie2/package.json +++ b/clients/client-macie2/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-macie2/runtimeConfig.browser.ts b/clients/client-macie2/runtimeConfig.browser.ts index 2314a7f95d90..b699ac8eb146 100644 --- a/clients/client-macie2/runtimeConfig.browser.ts +++ b/clients/client-macie2/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-macie2/runtimeConfig.native.ts b/clients/client-macie2/runtimeConfig.native.ts index 56aa2e97b888..9fe8e779dce0 100644 --- a/clients/client-macie2/runtimeConfig.native.ts +++ b/clients/client-macie2/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./Macie2Client"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-macie2/runtimeConfig.shared.ts b/clients/client-macie2/runtimeConfig.shared.ts index 09d4e687c5f5..5872b92bbddc 100644 --- a/clients/client-macie2/runtimeConfig.shared.ts +++ b/clients/client-macie2/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Macie2", + urlParser: parseUrl, }; diff --git a/clients/client-macie2/runtimeConfig.ts b/clients/client-macie2/runtimeConfig.ts index 288773103701..be44ab17c25d 100644 --- a/clients/client-macie2/runtimeConfig.ts +++ b/clients/client-macie2/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-managedblockchain/package.json b/clients/client-managedblockchain/package.json index 4af44666255c..756b0840798f 100644 --- a/clients/client-managedblockchain/package.json +++ b/clients/client-managedblockchain/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-managedblockchain/runtimeConfig.browser.ts b/clients/client-managedblockchain/runtimeConfig.browser.ts index 948697afae0f..54e3d6793b80 100644 --- a/clients/client-managedblockchain/runtimeConfig.browser.ts +++ b/clients/client-managedblockchain/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-managedblockchain/runtimeConfig.native.ts b/clients/client-managedblockchain/runtimeConfig.native.ts index faeead11e077..9f49b85f8662 100644 --- a/clients/client-managedblockchain/runtimeConfig.native.ts +++ b/clients/client-managedblockchain/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./ManagedBlockchainClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-managedblockchain/runtimeConfig.shared.ts b/clients/client-managedblockchain/runtimeConfig.shared.ts index b9d03b106d92..dc908d2f68ce 100644 --- a/clients/client-managedblockchain/runtimeConfig.shared.ts +++ b/clients/client-managedblockchain/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "ManagedBlockchain", + urlParser: parseUrl, }; diff --git a/clients/client-managedblockchain/runtimeConfig.ts b/clients/client-managedblockchain/runtimeConfig.ts index 36dbcb9871cb..19261cb606a0 100644 --- a/clients/client-managedblockchain/runtimeConfig.ts +++ b/clients/client-managedblockchain/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-marketplace-catalog/package.json b/clients/client-marketplace-catalog/package.json index 9fc73873877a..7f2d99e8f35b 100644 --- a/clients/client-marketplace-catalog/package.json +++ b/clients/client-marketplace-catalog/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-marketplace-catalog/runtimeConfig.browser.ts b/clients/client-marketplace-catalog/runtimeConfig.browser.ts index fe3f6565ec58..aeeed76b378f 100644 --- a/clients/client-marketplace-catalog/runtimeConfig.browser.ts +++ b/clients/client-marketplace-catalog/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-marketplace-catalog/runtimeConfig.native.ts b/clients/client-marketplace-catalog/runtimeConfig.native.ts index e2dfdfb7bd7c..ea337dfd6f38 100644 --- a/clients/client-marketplace-catalog/runtimeConfig.native.ts +++ b/clients/client-marketplace-catalog/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./MarketplaceCatalogClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-marketplace-catalog/runtimeConfig.shared.ts b/clients/client-marketplace-catalog/runtimeConfig.shared.ts index c28fa1a41acc..d8db0c6ab4c0 100644 --- a/clients/client-marketplace-catalog/runtimeConfig.shared.ts +++ b/clients/client-marketplace-catalog/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Marketplace Catalog", + urlParser: parseUrl, }; diff --git a/clients/client-marketplace-catalog/runtimeConfig.ts b/clients/client-marketplace-catalog/runtimeConfig.ts index 21e9f856e862..80a3751686b0 100644 --- a/clients/client-marketplace-catalog/runtimeConfig.ts +++ b/clients/client-marketplace-catalog/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-marketplace-commerce-analytics/package.json b/clients/client-marketplace-commerce-analytics/package.json index 846e7287d83f..587d306244f7 100644 --- a/clients/client-marketplace-commerce-analytics/package.json +++ b/clients/client-marketplace-commerce-analytics/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-marketplace-commerce-analytics/runtimeConfig.browser.ts b/clients/client-marketplace-commerce-analytics/runtimeConfig.browser.ts index 8156ebc88e9d..157532897408 100644 --- a/clients/client-marketplace-commerce-analytics/runtimeConfig.browser.ts +++ b/clients/client-marketplace-commerce-analytics/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-marketplace-commerce-analytics/runtimeConfig.native.ts b/clients/client-marketplace-commerce-analytics/runtimeConfig.native.ts index 1ff4198d6d66..834a7ebf4090 100644 --- a/clients/client-marketplace-commerce-analytics/runtimeConfig.native.ts +++ b/clients/client-marketplace-commerce-analytics/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./MarketplaceCommerceAnalyticsClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-marketplace-commerce-analytics/runtimeConfig.shared.ts b/clients/client-marketplace-commerce-analytics/runtimeConfig.shared.ts index 1a111a0cad20..14908724025a 100644 --- a/clients/client-marketplace-commerce-analytics/runtimeConfig.shared.ts +++ b/clients/client-marketplace-commerce-analytics/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Marketplace Commerce Analytics", + urlParser: parseUrl, }; diff --git a/clients/client-marketplace-commerce-analytics/runtimeConfig.ts b/clients/client-marketplace-commerce-analytics/runtimeConfig.ts index 2441510ef22c..49d0a56c66aa 100644 --- a/clients/client-marketplace-commerce-analytics/runtimeConfig.ts +++ b/clients/client-marketplace-commerce-analytics/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-marketplace-entitlement-service/package.json b/clients/client-marketplace-entitlement-service/package.json index c945d1bd081d..020130e69a24 100644 --- a/clients/client-marketplace-entitlement-service/package.json +++ b/clients/client-marketplace-entitlement-service/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-marketplace-entitlement-service/runtimeConfig.browser.ts b/clients/client-marketplace-entitlement-service/runtimeConfig.browser.ts index 474219a9d6ed..f9ac58e0203d 100644 --- a/clients/client-marketplace-entitlement-service/runtimeConfig.browser.ts +++ b/clients/client-marketplace-entitlement-service/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-marketplace-entitlement-service/runtimeConfig.native.ts b/clients/client-marketplace-entitlement-service/runtimeConfig.native.ts index 9a05824b6595..3272d6ce0888 100644 --- a/clients/client-marketplace-entitlement-service/runtimeConfig.native.ts +++ b/clients/client-marketplace-entitlement-service/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./MarketplaceEntitlementServiceClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-marketplace-entitlement-service/runtimeConfig.shared.ts b/clients/client-marketplace-entitlement-service/runtimeConfig.shared.ts index e1705afc6b03..b2d72441a1a7 100644 --- a/clients/client-marketplace-entitlement-service/runtimeConfig.shared.ts +++ b/clients/client-marketplace-entitlement-service/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Marketplace Entitlement Service", + urlParser: parseUrl, }; diff --git a/clients/client-marketplace-entitlement-service/runtimeConfig.ts b/clients/client-marketplace-entitlement-service/runtimeConfig.ts index 7ab8df905576..e1349c5c1b00 100644 --- a/clients/client-marketplace-entitlement-service/runtimeConfig.ts +++ b/clients/client-marketplace-entitlement-service/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-marketplace-metering/package.json b/clients/client-marketplace-metering/package.json index 1b69b7009804..9c54465bea03 100644 --- a/clients/client-marketplace-metering/package.json +++ b/clients/client-marketplace-metering/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-marketplace-metering/runtimeConfig.browser.ts b/clients/client-marketplace-metering/runtimeConfig.browser.ts index 78e3d4be7d3c..6087c5c6fff1 100644 --- a/clients/client-marketplace-metering/runtimeConfig.browser.ts +++ b/clients/client-marketplace-metering/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-marketplace-metering/runtimeConfig.native.ts b/clients/client-marketplace-metering/runtimeConfig.native.ts index 822a898b4f80..47afe271be11 100644 --- a/clients/client-marketplace-metering/runtimeConfig.native.ts +++ b/clients/client-marketplace-metering/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./MarketplaceMeteringClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-marketplace-metering/runtimeConfig.shared.ts b/clients/client-marketplace-metering/runtimeConfig.shared.ts index b6db3a89b734..20d06e231452 100644 --- a/clients/client-marketplace-metering/runtimeConfig.shared.ts +++ b/clients/client-marketplace-metering/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Marketplace Metering", + urlParser: parseUrl, }; diff --git a/clients/client-marketplace-metering/runtimeConfig.ts b/clients/client-marketplace-metering/runtimeConfig.ts index f99392ef440a..8ddbe34bac01 100644 --- a/clients/client-marketplace-metering/runtimeConfig.ts +++ b/clients/client-marketplace-metering/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-mediaconnect/package.json b/clients/client-mediaconnect/package.json index b45706cf6bbd..c21ad979a51c 100644 --- a/clients/client-mediaconnect/package.json +++ b/clients/client-mediaconnect/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-mediaconnect/runtimeConfig.browser.ts b/clients/client-mediaconnect/runtimeConfig.browser.ts index 29b489c1eae8..148f35a1edc2 100644 --- a/clients/client-mediaconnect/runtimeConfig.browser.ts +++ b/clients/client-mediaconnect/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-mediaconnect/runtimeConfig.native.ts b/clients/client-mediaconnect/runtimeConfig.native.ts index 65480d3e2865..b5f33afddb77 100644 --- a/clients/client-mediaconnect/runtimeConfig.native.ts +++ b/clients/client-mediaconnect/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./MediaConnectClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-mediaconnect/runtimeConfig.shared.ts b/clients/client-mediaconnect/runtimeConfig.shared.ts index ed7216a66bb0..1eb706d414fe 100644 --- a/clients/client-mediaconnect/runtimeConfig.shared.ts +++ b/clients/client-mediaconnect/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "MediaConnect", + urlParser: parseUrl, }; diff --git a/clients/client-mediaconnect/runtimeConfig.ts b/clients/client-mediaconnect/runtimeConfig.ts index 5078e3a32a8f..d49ab69d67b6 100644 --- a/clients/client-mediaconnect/runtimeConfig.ts +++ b/clients/client-mediaconnect/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-mediaconvert/package.json b/clients/client-mediaconvert/package.json index b57a37d44492..6be56b5c9af1 100644 --- a/clients/client-mediaconvert/package.json +++ b/clients/client-mediaconvert/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-mediaconvert/runtimeConfig.browser.ts b/clients/client-mediaconvert/runtimeConfig.browser.ts index a96286eba8ed..f728bae36a47 100644 --- a/clients/client-mediaconvert/runtimeConfig.browser.ts +++ b/clients/client-mediaconvert/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-mediaconvert/runtimeConfig.native.ts b/clients/client-mediaconvert/runtimeConfig.native.ts index 384cb42f0b1d..a248916853e6 100644 --- a/clients/client-mediaconvert/runtimeConfig.native.ts +++ b/clients/client-mediaconvert/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./MediaConvertClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-mediaconvert/runtimeConfig.shared.ts b/clients/client-mediaconvert/runtimeConfig.shared.ts index 5c48ef8531ba..f21a70321a52 100644 --- a/clients/client-mediaconvert/runtimeConfig.shared.ts +++ b/clients/client-mediaconvert/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "MediaConvert", + urlParser: parseUrl, }; diff --git a/clients/client-mediaconvert/runtimeConfig.ts b/clients/client-mediaconvert/runtimeConfig.ts index b613a8a25a88..f0c439703c1d 100644 --- a/clients/client-mediaconvert/runtimeConfig.ts +++ b/clients/client-mediaconvert/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-medialive/package.json b/clients/client-medialive/package.json index 1003c6dbda33..6dc3f19be959 100644 --- a/clients/client-medialive/package.json +++ b/clients/client-medialive/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-medialive/runtimeConfig.browser.ts b/clients/client-medialive/runtimeConfig.browser.ts index 74ee478b9ab6..abf2ad60c38c 100644 --- a/clients/client-medialive/runtimeConfig.browser.ts +++ b/clients/client-medialive/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-medialive/runtimeConfig.native.ts b/clients/client-medialive/runtimeConfig.native.ts index 1c811ff93104..f45e69e956ff 100644 --- a/clients/client-medialive/runtimeConfig.native.ts +++ b/clients/client-medialive/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./MediaLiveClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-medialive/runtimeConfig.shared.ts b/clients/client-medialive/runtimeConfig.shared.ts index 2d0615f663c9..fe37478106c6 100644 --- a/clients/client-medialive/runtimeConfig.shared.ts +++ b/clients/client-medialive/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "MediaLive", + urlParser: parseUrl, }; diff --git a/clients/client-medialive/runtimeConfig.ts b/clients/client-medialive/runtimeConfig.ts index bb43c1f54091..4c040a087442 100644 --- a/clients/client-medialive/runtimeConfig.ts +++ b/clients/client-medialive/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-mediapackage-vod/package.json b/clients/client-mediapackage-vod/package.json index 62d2138faa49..6c0ea4683686 100644 --- a/clients/client-mediapackage-vod/package.json +++ b/clients/client-mediapackage-vod/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-mediapackage-vod/runtimeConfig.browser.ts b/clients/client-mediapackage-vod/runtimeConfig.browser.ts index 5132bf7b79db..ed20e7cd292a 100644 --- a/clients/client-mediapackage-vod/runtimeConfig.browser.ts +++ b/clients/client-mediapackage-vod/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-mediapackage-vod/runtimeConfig.native.ts b/clients/client-mediapackage-vod/runtimeConfig.native.ts index ebf00bea258a..03e2115e458f 100644 --- a/clients/client-mediapackage-vod/runtimeConfig.native.ts +++ b/clients/client-mediapackage-vod/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./MediaPackageVodClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-mediapackage-vod/runtimeConfig.shared.ts b/clients/client-mediapackage-vod/runtimeConfig.shared.ts index bac9e45f79fc..21ec29fcdf59 100644 --- a/clients/client-mediapackage-vod/runtimeConfig.shared.ts +++ b/clients/client-mediapackage-vod/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "MediaPackage Vod", + urlParser: parseUrl, }; diff --git a/clients/client-mediapackage-vod/runtimeConfig.ts b/clients/client-mediapackage-vod/runtimeConfig.ts index d680695ae8c4..072331c55c06 100644 --- a/clients/client-mediapackage-vod/runtimeConfig.ts +++ b/clients/client-mediapackage-vod/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-mediapackage/package.json b/clients/client-mediapackage/package.json index b21c88af99e4..ccf20c6637b4 100644 --- a/clients/client-mediapackage/package.json +++ b/clients/client-mediapackage/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-mediapackage/runtimeConfig.browser.ts b/clients/client-mediapackage/runtimeConfig.browser.ts index a37d44937c10..a6deda9a03bc 100644 --- a/clients/client-mediapackage/runtimeConfig.browser.ts +++ b/clients/client-mediapackage/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-mediapackage/runtimeConfig.native.ts b/clients/client-mediapackage/runtimeConfig.native.ts index 54d8667e228c..344329c381af 100644 --- a/clients/client-mediapackage/runtimeConfig.native.ts +++ b/clients/client-mediapackage/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./MediaPackageClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-mediapackage/runtimeConfig.shared.ts b/clients/client-mediapackage/runtimeConfig.shared.ts index 4c7b20918bee..8204142818b7 100644 --- a/clients/client-mediapackage/runtimeConfig.shared.ts +++ b/clients/client-mediapackage/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "MediaPackage", + urlParser: parseUrl, }; diff --git a/clients/client-mediapackage/runtimeConfig.ts b/clients/client-mediapackage/runtimeConfig.ts index a23854c3e3c3..81fb82ffe82b 100644 --- a/clients/client-mediapackage/runtimeConfig.ts +++ b/clients/client-mediapackage/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-mediastore-data/package.json b/clients/client-mediastore-data/package.json index 18491cb19913..e612b6729cc4 100644 --- a/clients/client-mediastore-data/package.json +++ b/clients/client-mediastore-data/package.json @@ -47,8 +47,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-mediastore-data/runtimeConfig.browser.ts b/clients/client-mediastore-data/runtimeConfig.browser.ts index 75525bee5919..e12e5d9a8be7 100644 --- a/clients/client-mediastore-data/runtimeConfig.browser.ts +++ b/clients/client-mediastore-data/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-mediastore-data/runtimeConfig.native.ts b/clients/client-mediastore-data/runtimeConfig.native.ts index 45b59a450dc2..32a657ef821a 100644 --- a/clients/client-mediastore-data/runtimeConfig.native.ts +++ b/clients/client-mediastore-data/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./MediaStoreDataClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-mediastore-data/runtimeConfig.shared.ts b/clients/client-mediastore-data/runtimeConfig.shared.ts index 3334e533018e..c3dd7797b3de 100644 --- a/clients/client-mediastore-data/runtimeConfig.shared.ts +++ b/clients/client-mediastore-data/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "MediaStore Data", + urlParser: parseUrl, }; diff --git a/clients/client-mediastore-data/runtimeConfig.ts b/clients/client-mediastore-data/runtimeConfig.ts index 299816ab913a..7a2f837a5805 100644 --- a/clients/client-mediastore-data/runtimeConfig.ts +++ b/clients/client-mediastore-data/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-mediastore/package.json b/clients/client-mediastore/package.json index 6a0f1b315997..6ba167e9b324 100644 --- a/clients/client-mediastore/package.json +++ b/clients/client-mediastore/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-mediastore/runtimeConfig.browser.ts b/clients/client-mediastore/runtimeConfig.browser.ts index 7300e889b592..87260100735f 100644 --- a/clients/client-mediastore/runtimeConfig.browser.ts +++ b/clients/client-mediastore/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-mediastore/runtimeConfig.native.ts b/clients/client-mediastore/runtimeConfig.native.ts index 1086d5038f18..7d02a2eee150 100644 --- a/clients/client-mediastore/runtimeConfig.native.ts +++ b/clients/client-mediastore/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./MediaStoreClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-mediastore/runtimeConfig.shared.ts b/clients/client-mediastore/runtimeConfig.shared.ts index 79efa42e708a..0e5e9666075e 100644 --- a/clients/client-mediastore/runtimeConfig.shared.ts +++ b/clients/client-mediastore/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "MediaStore", + urlParser: parseUrl, }; diff --git a/clients/client-mediastore/runtimeConfig.ts b/clients/client-mediastore/runtimeConfig.ts index cd483c7b9127..088338c53931 100644 --- a/clients/client-mediastore/runtimeConfig.ts +++ b/clients/client-mediastore/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-mediatailor/package.json b/clients/client-mediatailor/package.json index f0011dab6c89..ca57522e1576 100644 --- a/clients/client-mediatailor/package.json +++ b/clients/client-mediatailor/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-mediatailor/runtimeConfig.browser.ts b/clients/client-mediatailor/runtimeConfig.browser.ts index 7a04824b759d..bbe09a60228c 100644 --- a/clients/client-mediatailor/runtimeConfig.browser.ts +++ b/clients/client-mediatailor/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-mediatailor/runtimeConfig.native.ts b/clients/client-mediatailor/runtimeConfig.native.ts index e55085eac7ae..9c5725f7dca1 100644 --- a/clients/client-mediatailor/runtimeConfig.native.ts +++ b/clients/client-mediatailor/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./MediaTailorClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-mediatailor/runtimeConfig.shared.ts b/clients/client-mediatailor/runtimeConfig.shared.ts index 93f20fa8c765..4f9e972d8aab 100644 --- a/clients/client-mediatailor/runtimeConfig.shared.ts +++ b/clients/client-mediatailor/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "MediaTailor", + urlParser: parseUrl, }; diff --git a/clients/client-mediatailor/runtimeConfig.ts b/clients/client-mediatailor/runtimeConfig.ts index 663e496d7200..ac32df7acaed 100644 --- a/clients/client-mediatailor/runtimeConfig.ts +++ b/clients/client-mediatailor/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-migration-hub/package.json b/clients/client-migration-hub/package.json index 797958bb03e4..6112d4bcfb25 100644 --- a/clients/client-migration-hub/package.json +++ b/clients/client-migration-hub/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-migration-hub/runtimeConfig.browser.ts b/clients/client-migration-hub/runtimeConfig.browser.ts index 7d7b823a65f9..ef13279c8918 100644 --- a/clients/client-migration-hub/runtimeConfig.browser.ts +++ b/clients/client-migration-hub/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-migration-hub/runtimeConfig.native.ts b/clients/client-migration-hub/runtimeConfig.native.ts index 8a79f34c301e..edf18339416c 100644 --- a/clients/client-migration-hub/runtimeConfig.native.ts +++ b/clients/client-migration-hub/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./MigrationHubClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-migration-hub/runtimeConfig.shared.ts b/clients/client-migration-hub/runtimeConfig.shared.ts index af1a9fb42c3c..7d2900672fb2 100644 --- a/clients/client-migration-hub/runtimeConfig.shared.ts +++ b/clients/client-migration-hub/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Migration Hub", + urlParser: parseUrl, }; diff --git a/clients/client-migration-hub/runtimeConfig.ts b/clients/client-migration-hub/runtimeConfig.ts index 7a920bd7d5fe..0f07438b877f 100644 --- a/clients/client-migration-hub/runtimeConfig.ts +++ b/clients/client-migration-hub/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-migrationhub-config/package.json b/clients/client-migrationhub-config/package.json index bbc3d5d00041..c19a28cbd739 100644 --- a/clients/client-migrationhub-config/package.json +++ b/clients/client-migrationhub-config/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-migrationhub-config/runtimeConfig.browser.ts b/clients/client-migrationhub-config/runtimeConfig.browser.ts index 9dd7a76d8b97..b5dc0328066f 100644 --- a/clients/client-migrationhub-config/runtimeConfig.browser.ts +++ b/clients/client-migrationhub-config/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-migrationhub-config/runtimeConfig.native.ts b/clients/client-migrationhub-config/runtimeConfig.native.ts index a747856aa20d..e09500cfc05f 100644 --- a/clients/client-migrationhub-config/runtimeConfig.native.ts +++ b/clients/client-migrationhub-config/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./MigrationHubConfigClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-migrationhub-config/runtimeConfig.shared.ts b/clients/client-migrationhub-config/runtimeConfig.shared.ts index 9e49ad29fa05..ac0403d961f5 100644 --- a/clients/client-migrationhub-config/runtimeConfig.shared.ts +++ b/clients/client-migrationhub-config/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "MigrationHub Config", + urlParser: parseUrl, }; diff --git a/clients/client-migrationhub-config/runtimeConfig.ts b/clients/client-migrationhub-config/runtimeConfig.ts index dce3549104ac..dbbe0655b352 100644 --- a/clients/client-migrationhub-config/runtimeConfig.ts +++ b/clients/client-migrationhub-config/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-mobile/package.json b/clients/client-mobile/package.json index 6305cab4e0d0..404c497a0740 100644 --- a/clients/client-mobile/package.json +++ b/clients/client-mobile/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-mobile/runtimeConfig.browser.ts b/clients/client-mobile/runtimeConfig.browser.ts index 09db2b54df52..f88c325ecc54 100644 --- a/clients/client-mobile/runtimeConfig.browser.ts +++ b/clients/client-mobile/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-mobile/runtimeConfig.native.ts b/clients/client-mobile/runtimeConfig.native.ts index 17e2209140c7..729cf3e0f51e 100644 --- a/clients/client-mobile/runtimeConfig.native.ts +++ b/clients/client-mobile/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./MobileClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-mobile/runtimeConfig.shared.ts b/clients/client-mobile/runtimeConfig.shared.ts index 4672bd02c810..5cb5a4b86f6b 100644 --- a/clients/client-mobile/runtimeConfig.shared.ts +++ b/clients/client-mobile/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Mobile", + urlParser: parseUrl, }; diff --git a/clients/client-mobile/runtimeConfig.ts b/clients/client-mobile/runtimeConfig.ts index 022252616e08..8f6db1138a4c 100644 --- a/clients/client-mobile/runtimeConfig.ts +++ b/clients/client-mobile/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-mq/package.json b/clients/client-mq/package.json index 33450922d056..d59d213193a6 100644 --- a/clients/client-mq/package.json +++ b/clients/client-mq/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-mq/runtimeConfig.browser.ts b/clients/client-mq/runtimeConfig.browser.ts index ee657b921310..a44740dd3052 100644 --- a/clients/client-mq/runtimeConfig.browser.ts +++ b/clients/client-mq/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-mq/runtimeConfig.native.ts b/clients/client-mq/runtimeConfig.native.ts index 95a55aa5e437..e37843395ea2 100644 --- a/clients/client-mq/runtimeConfig.native.ts +++ b/clients/client-mq/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./MqClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-mq/runtimeConfig.shared.ts b/clients/client-mq/runtimeConfig.shared.ts index daff5a886ab6..de251006887e 100644 --- a/clients/client-mq/runtimeConfig.shared.ts +++ b/clients/client-mq/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "mq", + urlParser: parseUrl, }; diff --git a/clients/client-mq/runtimeConfig.ts b/clients/client-mq/runtimeConfig.ts index 9862396080bb..13ffa0ee6d96 100644 --- a/clients/client-mq/runtimeConfig.ts +++ b/clients/client-mq/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-mturk/package.json b/clients/client-mturk/package.json index 8243b03509c1..05672e5e20e8 100644 --- a/clients/client-mturk/package.json +++ b/clients/client-mturk/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-mturk/runtimeConfig.browser.ts b/clients/client-mturk/runtimeConfig.browser.ts index 30619b070dc8..4c1ea82e7cec 100644 --- a/clients/client-mturk/runtimeConfig.browser.ts +++ b/clients/client-mturk/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-mturk/runtimeConfig.native.ts b/clients/client-mturk/runtimeConfig.native.ts index f87ecc7df4fa..8ab84c3eda41 100644 --- a/clients/client-mturk/runtimeConfig.native.ts +++ b/clients/client-mturk/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./MTurkClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-mturk/runtimeConfig.shared.ts b/clients/client-mturk/runtimeConfig.shared.ts index e9701c7bb055..c59369fe59cc 100644 --- a/clients/client-mturk/runtimeConfig.shared.ts +++ b/clients/client-mturk/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "MTurk", + urlParser: parseUrl, }; diff --git a/clients/client-mturk/runtimeConfig.ts b/clients/client-mturk/runtimeConfig.ts index aabda4f54d98..758c0355fdd2 100644 --- a/clients/client-mturk/runtimeConfig.ts +++ b/clients/client-mturk/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-neptune/package.json b/clients/client-neptune/package.json index 7fdddabd1270..b69ea71ea491 100644 --- a/clients/client-neptune/package.json +++ b/clients/client-neptune/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-neptune/runtimeConfig.browser.ts b/clients/client-neptune/runtimeConfig.browser.ts index 0d9aaae703b7..efeba8cb32af 100644 --- a/clients/client-neptune/runtimeConfig.browser.ts +++ b/clients/client-neptune/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-neptune/runtimeConfig.native.ts b/clients/client-neptune/runtimeConfig.native.ts index 72d1508cda8b..9a3414b3bc43 100644 --- a/clients/client-neptune/runtimeConfig.native.ts +++ b/clients/client-neptune/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./NeptuneClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-neptune/runtimeConfig.shared.ts b/clients/client-neptune/runtimeConfig.shared.ts index 7903bf360362..f637fe5cfd84 100644 --- a/clients/client-neptune/runtimeConfig.shared.ts +++ b/clients/client-neptune/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Neptune", + urlParser: parseUrl, }; diff --git a/clients/client-neptune/runtimeConfig.ts b/clients/client-neptune/runtimeConfig.ts index 1e09d36f386b..df92a15ceced 100644 --- a/clients/client-neptune/runtimeConfig.ts +++ b/clients/client-neptune/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-network-firewall/package.json b/clients/client-network-firewall/package.json index c3fdefeb9021..71882737118a 100644 --- a/clients/client-network-firewall/package.json +++ b/clients/client-network-firewall/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-network-firewall/runtimeConfig.browser.ts b/clients/client-network-firewall/runtimeConfig.browser.ts index bfe70813e581..b37dd3b13acf 100644 --- a/clients/client-network-firewall/runtimeConfig.browser.ts +++ b/clients/client-network-firewall/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-network-firewall/runtimeConfig.native.ts b/clients/client-network-firewall/runtimeConfig.native.ts index de9e7ea510f2..1cbdfb8fb482 100644 --- a/clients/client-network-firewall/runtimeConfig.native.ts +++ b/clients/client-network-firewall/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./NetworkFirewallClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-network-firewall/runtimeConfig.shared.ts b/clients/client-network-firewall/runtimeConfig.shared.ts index 5d2db21b49a9..192535a96cf3 100644 --- a/clients/client-network-firewall/runtimeConfig.shared.ts +++ b/clients/client-network-firewall/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Network Firewall", + urlParser: parseUrl, }; diff --git a/clients/client-network-firewall/runtimeConfig.ts b/clients/client-network-firewall/runtimeConfig.ts index 7b1d2e26f1f2..2ef04052828c 100644 --- a/clients/client-network-firewall/runtimeConfig.ts +++ b/clients/client-network-firewall/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-networkmanager/package.json b/clients/client-networkmanager/package.json index 1cdb831cb470..587180cb4b39 100644 --- a/clients/client-networkmanager/package.json +++ b/clients/client-networkmanager/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-networkmanager/runtimeConfig.browser.ts b/clients/client-networkmanager/runtimeConfig.browser.ts index 2b784fc780d9..b7d260e0d340 100644 --- a/clients/client-networkmanager/runtimeConfig.browser.ts +++ b/clients/client-networkmanager/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-networkmanager/runtimeConfig.native.ts b/clients/client-networkmanager/runtimeConfig.native.ts index 9f36f057a7a6..5436f64c067b 100644 --- a/clients/client-networkmanager/runtimeConfig.native.ts +++ b/clients/client-networkmanager/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./NetworkManagerClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-networkmanager/runtimeConfig.shared.ts b/clients/client-networkmanager/runtimeConfig.shared.ts index 3a704de02ad2..448df95ccc0b 100644 --- a/clients/client-networkmanager/runtimeConfig.shared.ts +++ b/clients/client-networkmanager/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "NetworkManager", + urlParser: parseUrl, }; diff --git a/clients/client-networkmanager/runtimeConfig.ts b/clients/client-networkmanager/runtimeConfig.ts index e2d52d6a5a04..b0793e4a6ec8 100644 --- a/clients/client-networkmanager/runtimeConfig.ts +++ b/clients/client-networkmanager/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-opsworks/package.json b/clients/client-opsworks/package.json index 98fbf0228db8..06e7694ba413 100644 --- a/clients/client-opsworks/package.json +++ b/clients/client-opsworks/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-opsworks/runtimeConfig.browser.ts b/clients/client-opsworks/runtimeConfig.browser.ts index 91630ce4b085..605341cb67b3 100644 --- a/clients/client-opsworks/runtimeConfig.browser.ts +++ b/clients/client-opsworks/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-opsworks/runtimeConfig.native.ts b/clients/client-opsworks/runtimeConfig.native.ts index 4e1e13b3eeba..4d84276b1ea7 100644 --- a/clients/client-opsworks/runtimeConfig.native.ts +++ b/clients/client-opsworks/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./OpsWorksClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-opsworks/runtimeConfig.shared.ts b/clients/client-opsworks/runtimeConfig.shared.ts index d031a67bdb62..c740e4848da2 100644 --- a/clients/client-opsworks/runtimeConfig.shared.ts +++ b/clients/client-opsworks/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "OpsWorks", + urlParser: parseUrl, }; diff --git a/clients/client-opsworks/runtimeConfig.ts b/clients/client-opsworks/runtimeConfig.ts index 7c7a47fbc09f..0aa7c335d4ea 100644 --- a/clients/client-opsworks/runtimeConfig.ts +++ b/clients/client-opsworks/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-opsworkscm/package.json b/clients/client-opsworkscm/package.json index 428b18b217c2..0ed439979e99 100644 --- a/clients/client-opsworkscm/package.json +++ b/clients/client-opsworkscm/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-opsworkscm/runtimeConfig.browser.ts b/clients/client-opsworkscm/runtimeConfig.browser.ts index 3641accbc789..89319088fe78 100644 --- a/clients/client-opsworkscm/runtimeConfig.browser.ts +++ b/clients/client-opsworkscm/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-opsworkscm/runtimeConfig.native.ts b/clients/client-opsworkscm/runtimeConfig.native.ts index 136b8193f32c..385590b54843 100644 --- a/clients/client-opsworkscm/runtimeConfig.native.ts +++ b/clients/client-opsworkscm/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./OpsWorksCMClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-opsworkscm/runtimeConfig.shared.ts b/clients/client-opsworkscm/runtimeConfig.shared.ts index 0a78d465d640..2c3cee5f6b14 100644 --- a/clients/client-opsworkscm/runtimeConfig.shared.ts +++ b/clients/client-opsworkscm/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "OpsWorksCM", + urlParser: parseUrl, }; diff --git a/clients/client-opsworkscm/runtimeConfig.ts b/clients/client-opsworkscm/runtimeConfig.ts index 2e2c70a40401..68d6285ab3a4 100644 --- a/clients/client-opsworkscm/runtimeConfig.ts +++ b/clients/client-opsworkscm/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-organizations/package.json b/clients/client-organizations/package.json index 54fe35b7d2cc..6acf2520cb8b 100644 --- a/clients/client-organizations/package.json +++ b/clients/client-organizations/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-organizations/runtimeConfig.browser.ts b/clients/client-organizations/runtimeConfig.browser.ts index 7ba5808c1496..4020e767732f 100644 --- a/clients/client-organizations/runtimeConfig.browser.ts +++ b/clients/client-organizations/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-organizations/runtimeConfig.native.ts b/clients/client-organizations/runtimeConfig.native.ts index e8e94b4f2b0a..12a2d758f0e9 100644 --- a/clients/client-organizations/runtimeConfig.native.ts +++ b/clients/client-organizations/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./OrganizationsClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-organizations/runtimeConfig.shared.ts b/clients/client-organizations/runtimeConfig.shared.ts index 036a34502f8d..f725decd1dce 100644 --- a/clients/client-organizations/runtimeConfig.shared.ts +++ b/clients/client-organizations/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Organizations", + urlParser: parseUrl, }; diff --git a/clients/client-organizations/runtimeConfig.ts b/clients/client-organizations/runtimeConfig.ts index fd5cbad4b727..7bf03b91efc1 100644 --- a/clients/client-organizations/runtimeConfig.ts +++ b/clients/client-organizations/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-outposts/package.json b/clients/client-outposts/package.json index a887f5148221..83f73aba8b3a 100644 --- a/clients/client-outposts/package.json +++ b/clients/client-outposts/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-outposts/runtimeConfig.browser.ts b/clients/client-outposts/runtimeConfig.browser.ts index f69b029622a5..12e9ebece1dc 100644 --- a/clients/client-outposts/runtimeConfig.browser.ts +++ b/clients/client-outposts/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-outposts/runtimeConfig.native.ts b/clients/client-outposts/runtimeConfig.native.ts index b79a1ac2d391..070345626c98 100644 --- a/clients/client-outposts/runtimeConfig.native.ts +++ b/clients/client-outposts/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./OutpostsClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-outposts/runtimeConfig.shared.ts b/clients/client-outposts/runtimeConfig.shared.ts index 7c851d545dcf..3ed0690de81e 100644 --- a/clients/client-outposts/runtimeConfig.shared.ts +++ b/clients/client-outposts/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Outposts", + urlParser: parseUrl, }; diff --git a/clients/client-outposts/runtimeConfig.ts b/clients/client-outposts/runtimeConfig.ts index 85d94e67e8fd..793a70993b08 100644 --- a/clients/client-outposts/runtimeConfig.ts +++ b/clients/client-outposts/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-personalize-events/package.json b/clients/client-personalize-events/package.json index 2dbf2d7dd559..d8bfe40f5da9 100644 --- a/clients/client-personalize-events/package.json +++ b/clients/client-personalize-events/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-personalize-events/runtimeConfig.browser.ts b/clients/client-personalize-events/runtimeConfig.browser.ts index 8619ed6e2951..b98fb7f86736 100644 --- a/clients/client-personalize-events/runtimeConfig.browser.ts +++ b/clients/client-personalize-events/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-personalize-events/runtimeConfig.native.ts b/clients/client-personalize-events/runtimeConfig.native.ts index fa4b108562d0..96fb60814914 100644 --- a/clients/client-personalize-events/runtimeConfig.native.ts +++ b/clients/client-personalize-events/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./PersonalizeEventsClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-personalize-events/runtimeConfig.shared.ts b/clients/client-personalize-events/runtimeConfig.shared.ts index a57f81108e12..6a5ee1d5e1b0 100644 --- a/clients/client-personalize-events/runtimeConfig.shared.ts +++ b/clients/client-personalize-events/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Personalize Events", + urlParser: parseUrl, }; diff --git a/clients/client-personalize-events/runtimeConfig.ts b/clients/client-personalize-events/runtimeConfig.ts index fb7047407c17..eafa784a9d51 100644 --- a/clients/client-personalize-events/runtimeConfig.ts +++ b/clients/client-personalize-events/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-personalize-runtime/package.json b/clients/client-personalize-runtime/package.json index da257430a2ea..ce50200f9b23 100644 --- a/clients/client-personalize-runtime/package.json +++ b/clients/client-personalize-runtime/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-personalize-runtime/runtimeConfig.browser.ts b/clients/client-personalize-runtime/runtimeConfig.browser.ts index 908e0005a0b9..aa7411746cac 100644 --- a/clients/client-personalize-runtime/runtimeConfig.browser.ts +++ b/clients/client-personalize-runtime/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-personalize-runtime/runtimeConfig.native.ts b/clients/client-personalize-runtime/runtimeConfig.native.ts index d3639a5e6f11..e47c5c0037b0 100644 --- a/clients/client-personalize-runtime/runtimeConfig.native.ts +++ b/clients/client-personalize-runtime/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./PersonalizeRuntimeClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-personalize-runtime/runtimeConfig.shared.ts b/clients/client-personalize-runtime/runtimeConfig.shared.ts index 63565f91d070..63abb2f86f7c 100644 --- a/clients/client-personalize-runtime/runtimeConfig.shared.ts +++ b/clients/client-personalize-runtime/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Personalize Runtime", + urlParser: parseUrl, }; diff --git a/clients/client-personalize-runtime/runtimeConfig.ts b/clients/client-personalize-runtime/runtimeConfig.ts index b8e0ac87b530..c9626a7e1eb4 100644 --- a/clients/client-personalize-runtime/runtimeConfig.ts +++ b/clients/client-personalize-runtime/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-personalize/package.json b/clients/client-personalize/package.json index 3f2069e180b5..9086df7268a4 100644 --- a/clients/client-personalize/package.json +++ b/clients/client-personalize/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-personalize/runtimeConfig.browser.ts b/clients/client-personalize/runtimeConfig.browser.ts index 8492a6936e30..c6479cf68c8e 100644 --- a/clients/client-personalize/runtimeConfig.browser.ts +++ b/clients/client-personalize/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-personalize/runtimeConfig.native.ts b/clients/client-personalize/runtimeConfig.native.ts index d04e00fcec44..8eff664ad494 100644 --- a/clients/client-personalize/runtimeConfig.native.ts +++ b/clients/client-personalize/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./PersonalizeClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-personalize/runtimeConfig.shared.ts b/clients/client-personalize/runtimeConfig.shared.ts index e45643267a25..32ffd761726c 100644 --- a/clients/client-personalize/runtimeConfig.shared.ts +++ b/clients/client-personalize/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Personalize", + urlParser: parseUrl, }; diff --git a/clients/client-personalize/runtimeConfig.ts b/clients/client-personalize/runtimeConfig.ts index a7685f8cd27f..489f55f1be47 100644 --- a/clients/client-personalize/runtimeConfig.ts +++ b/clients/client-personalize/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-pi/package.json b/clients/client-pi/package.json index 9cf13a2e0984..09c2c121b010 100644 --- a/clients/client-pi/package.json +++ b/clients/client-pi/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-pi/runtimeConfig.browser.ts b/clients/client-pi/runtimeConfig.browser.ts index 5cdca135bf0e..4bb1b851dbbd 100644 --- a/clients/client-pi/runtimeConfig.browser.ts +++ b/clients/client-pi/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-pi/runtimeConfig.native.ts b/clients/client-pi/runtimeConfig.native.ts index 8f1728634593..5e2725e5591a 100644 --- a/clients/client-pi/runtimeConfig.native.ts +++ b/clients/client-pi/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./PIClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-pi/runtimeConfig.shared.ts b/clients/client-pi/runtimeConfig.shared.ts index fa1318b757b8..9fb214f4a757 100644 --- a/clients/client-pi/runtimeConfig.shared.ts +++ b/clients/client-pi/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "PI", + urlParser: parseUrl, }; diff --git a/clients/client-pi/runtimeConfig.ts b/clients/client-pi/runtimeConfig.ts index f1b2e8d5f41f..a9e3a9958030 100644 --- a/clients/client-pi/runtimeConfig.ts +++ b/clients/client-pi/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-pinpoint-email/package.json b/clients/client-pinpoint-email/package.json index 6ffe58ee8fe2..b4c7a81bec22 100644 --- a/clients/client-pinpoint-email/package.json +++ b/clients/client-pinpoint-email/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-pinpoint-email/runtimeConfig.browser.ts b/clients/client-pinpoint-email/runtimeConfig.browser.ts index 3c74648bbb2c..ba3046b7f73a 100644 --- a/clients/client-pinpoint-email/runtimeConfig.browser.ts +++ b/clients/client-pinpoint-email/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-pinpoint-email/runtimeConfig.native.ts b/clients/client-pinpoint-email/runtimeConfig.native.ts index 24013a65d121..aa2f1d6a866d 100644 --- a/clients/client-pinpoint-email/runtimeConfig.native.ts +++ b/clients/client-pinpoint-email/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./PinpointEmailClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-pinpoint-email/runtimeConfig.shared.ts b/clients/client-pinpoint-email/runtimeConfig.shared.ts index 008965c48e84..de8852d9f20c 100644 --- a/clients/client-pinpoint-email/runtimeConfig.shared.ts +++ b/clients/client-pinpoint-email/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Pinpoint Email", + urlParser: parseUrl, }; diff --git a/clients/client-pinpoint-email/runtimeConfig.ts b/clients/client-pinpoint-email/runtimeConfig.ts index dd64e28c2b25..ddee3af808c1 100644 --- a/clients/client-pinpoint-email/runtimeConfig.ts +++ b/clients/client-pinpoint-email/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-pinpoint-sms-voice/package.json b/clients/client-pinpoint-sms-voice/package.json index ff3b8ffa2893..93ca9d02a68a 100644 --- a/clients/client-pinpoint-sms-voice/package.json +++ b/clients/client-pinpoint-sms-voice/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-pinpoint-sms-voice/runtimeConfig.browser.ts b/clients/client-pinpoint-sms-voice/runtimeConfig.browser.ts index f81e48b3b52b..0b1e8cb72f63 100644 --- a/clients/client-pinpoint-sms-voice/runtimeConfig.browser.ts +++ b/clients/client-pinpoint-sms-voice/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-pinpoint-sms-voice/runtimeConfig.native.ts b/clients/client-pinpoint-sms-voice/runtimeConfig.native.ts index e97a34cebcca..221620539f9b 100644 --- a/clients/client-pinpoint-sms-voice/runtimeConfig.native.ts +++ b/clients/client-pinpoint-sms-voice/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./PinpointSMSVoiceClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-pinpoint-sms-voice/runtimeConfig.shared.ts b/clients/client-pinpoint-sms-voice/runtimeConfig.shared.ts index 2a4e76b36b81..63c7ba5d404f 100644 --- a/clients/client-pinpoint-sms-voice/runtimeConfig.shared.ts +++ b/clients/client-pinpoint-sms-voice/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Pinpoint SMS Voice", + urlParser: parseUrl, }; diff --git a/clients/client-pinpoint-sms-voice/runtimeConfig.ts b/clients/client-pinpoint-sms-voice/runtimeConfig.ts index 8ba8ff15275e..948006ebdd7e 100644 --- a/clients/client-pinpoint-sms-voice/runtimeConfig.ts +++ b/clients/client-pinpoint-sms-voice/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-pinpoint/package.json b/clients/client-pinpoint/package.json index 27c51481c1c1..587a897d859b 100644 --- a/clients/client-pinpoint/package.json +++ b/clients/client-pinpoint/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-pinpoint/runtimeConfig.browser.ts b/clients/client-pinpoint/runtimeConfig.browser.ts index 4d0bf08f5df7..6eef03220949 100644 --- a/clients/client-pinpoint/runtimeConfig.browser.ts +++ b/clients/client-pinpoint/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-pinpoint/runtimeConfig.native.ts b/clients/client-pinpoint/runtimeConfig.native.ts index 2f202ac7dc1d..cee6f0b751b1 100644 --- a/clients/client-pinpoint/runtimeConfig.native.ts +++ b/clients/client-pinpoint/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./PinpointClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-pinpoint/runtimeConfig.shared.ts b/clients/client-pinpoint/runtimeConfig.shared.ts index 7e9873df43ca..37fa0bdfa688 100644 --- a/clients/client-pinpoint/runtimeConfig.shared.ts +++ b/clients/client-pinpoint/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Pinpoint", + urlParser: parseUrl, }; diff --git a/clients/client-pinpoint/runtimeConfig.ts b/clients/client-pinpoint/runtimeConfig.ts index 694292a36224..1de3a430e07e 100644 --- a/clients/client-pinpoint/runtimeConfig.ts +++ b/clients/client-pinpoint/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-polly/package.json b/clients/client-polly/package.json index 0d3dd388fd08..b0f120f2df76 100644 --- a/clients/client-polly/package.json +++ b/clients/client-polly/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-polly/runtimeConfig.browser.ts b/clients/client-polly/runtimeConfig.browser.ts index 3f65667b8940..1d63bd3f8b9c 100644 --- a/clients/client-polly/runtimeConfig.browser.ts +++ b/clients/client-polly/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-polly/runtimeConfig.native.ts b/clients/client-polly/runtimeConfig.native.ts index 247aeafab705..c7bf820dbc04 100644 --- a/clients/client-polly/runtimeConfig.native.ts +++ b/clients/client-polly/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./PollyClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-polly/runtimeConfig.shared.ts b/clients/client-polly/runtimeConfig.shared.ts index 3a3031e5d0b1..e0d76344686d 100644 --- a/clients/client-polly/runtimeConfig.shared.ts +++ b/clients/client-polly/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Polly", + urlParser: parseUrl, }; diff --git a/clients/client-polly/runtimeConfig.ts b/clients/client-polly/runtimeConfig.ts index 3e55dc929b66..2ab19b517465 100644 --- a/clients/client-polly/runtimeConfig.ts +++ b/clients/client-polly/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-pricing/package.json b/clients/client-pricing/package.json index 49e6d5b5af27..f0b65ec11034 100644 --- a/clients/client-pricing/package.json +++ b/clients/client-pricing/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-pricing/runtimeConfig.browser.ts b/clients/client-pricing/runtimeConfig.browser.ts index bcce66740e73..bfd29f42df0f 100644 --- a/clients/client-pricing/runtimeConfig.browser.ts +++ b/clients/client-pricing/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-pricing/runtimeConfig.native.ts b/clients/client-pricing/runtimeConfig.native.ts index 4792ba1e56e2..9d951f421b06 100644 --- a/clients/client-pricing/runtimeConfig.native.ts +++ b/clients/client-pricing/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./PricingClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-pricing/runtimeConfig.shared.ts b/clients/client-pricing/runtimeConfig.shared.ts index 65df757d0fc6..df1013512902 100644 --- a/clients/client-pricing/runtimeConfig.shared.ts +++ b/clients/client-pricing/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Pricing", + urlParser: parseUrl, }; diff --git a/clients/client-pricing/runtimeConfig.ts b/clients/client-pricing/runtimeConfig.ts index db7b72ba2607..8934fa6c7507 100644 --- a/clients/client-pricing/runtimeConfig.ts +++ b/clients/client-pricing/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-qldb-session/package.json b/clients/client-qldb-session/package.json index de2d73ec6349..9d23af9fa1a9 100644 --- a/clients/client-qldb-session/package.json +++ b/clients/client-qldb-session/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-qldb-session/runtimeConfig.browser.ts b/clients/client-qldb-session/runtimeConfig.browser.ts index d2d8ac7b9884..30c8bf854f66 100644 --- a/clients/client-qldb-session/runtimeConfig.browser.ts +++ b/clients/client-qldb-session/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-qldb-session/runtimeConfig.native.ts b/clients/client-qldb-session/runtimeConfig.native.ts index 9eadf3401b96..f360a26467c9 100644 --- a/clients/client-qldb-session/runtimeConfig.native.ts +++ b/clients/client-qldb-session/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./QLDBSessionClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-qldb-session/runtimeConfig.shared.ts b/clients/client-qldb-session/runtimeConfig.shared.ts index 1248c87b7f6b..6bc14536a485 100644 --- a/clients/client-qldb-session/runtimeConfig.shared.ts +++ b/clients/client-qldb-session/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "QLDB Session", + urlParser: parseUrl, }; diff --git a/clients/client-qldb-session/runtimeConfig.ts b/clients/client-qldb-session/runtimeConfig.ts index 23954907193a..c8030230076c 100644 --- a/clients/client-qldb-session/runtimeConfig.ts +++ b/clients/client-qldb-session/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-qldb/package.json b/clients/client-qldb/package.json index 04ab57d263a6..2bdbdf2759c0 100644 --- a/clients/client-qldb/package.json +++ b/clients/client-qldb/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-qldb/runtimeConfig.browser.ts b/clients/client-qldb/runtimeConfig.browser.ts index e09e79b14454..cefbfea740eb 100644 --- a/clients/client-qldb/runtimeConfig.browser.ts +++ b/clients/client-qldb/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-qldb/runtimeConfig.native.ts b/clients/client-qldb/runtimeConfig.native.ts index fee104745edf..c4ada6e1b497 100644 --- a/clients/client-qldb/runtimeConfig.native.ts +++ b/clients/client-qldb/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./QLDBClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-qldb/runtimeConfig.shared.ts b/clients/client-qldb/runtimeConfig.shared.ts index b7ef40e6577f..2ff37bf3087a 100644 --- a/clients/client-qldb/runtimeConfig.shared.ts +++ b/clients/client-qldb/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "QLDB", + urlParser: parseUrl, }; diff --git a/clients/client-qldb/runtimeConfig.ts b/clients/client-qldb/runtimeConfig.ts index b720880168bd..d47766f9a1f1 100644 --- a/clients/client-qldb/runtimeConfig.ts +++ b/clients/client-qldb/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-quicksight/package.json b/clients/client-quicksight/package.json index 9011927c3fa0..e25b3441741c 100644 --- a/clients/client-quicksight/package.json +++ b/clients/client-quicksight/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-quicksight/runtimeConfig.browser.ts b/clients/client-quicksight/runtimeConfig.browser.ts index 11c0040a0338..4f26f5109397 100644 --- a/clients/client-quicksight/runtimeConfig.browser.ts +++ b/clients/client-quicksight/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-quicksight/runtimeConfig.native.ts b/clients/client-quicksight/runtimeConfig.native.ts index c140fe2890a5..48b4d2dcc887 100644 --- a/clients/client-quicksight/runtimeConfig.native.ts +++ b/clients/client-quicksight/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./QuickSightClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-quicksight/runtimeConfig.shared.ts b/clients/client-quicksight/runtimeConfig.shared.ts index 5fb6f3ba8601..ddcb54d0b773 100644 --- a/clients/client-quicksight/runtimeConfig.shared.ts +++ b/clients/client-quicksight/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "QuickSight", + urlParser: parseUrl, }; diff --git a/clients/client-quicksight/runtimeConfig.ts b/clients/client-quicksight/runtimeConfig.ts index 06e408843312..3c2c653d2c16 100644 --- a/clients/client-quicksight/runtimeConfig.ts +++ b/clients/client-quicksight/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-ram/package.json b/clients/client-ram/package.json index 17a68d75509d..7941f2d30a63 100644 --- a/clients/client-ram/package.json +++ b/clients/client-ram/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-ram/runtimeConfig.browser.ts b/clients/client-ram/runtimeConfig.browser.ts index f954f29e9354..9689da721486 100644 --- a/clients/client-ram/runtimeConfig.browser.ts +++ b/clients/client-ram/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-ram/runtimeConfig.native.ts b/clients/client-ram/runtimeConfig.native.ts index e90e29b19f8e..85bf1c92eb10 100644 --- a/clients/client-ram/runtimeConfig.native.ts +++ b/clients/client-ram/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./RAMClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-ram/runtimeConfig.shared.ts b/clients/client-ram/runtimeConfig.shared.ts index 48ad259cb7db..fa901e5e4091 100644 --- a/clients/client-ram/runtimeConfig.shared.ts +++ b/clients/client-ram/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "RAM", + urlParser: parseUrl, }; diff --git a/clients/client-ram/runtimeConfig.ts b/clients/client-ram/runtimeConfig.ts index 45df96b74d89..5fccdc933790 100644 --- a/clients/client-ram/runtimeConfig.ts +++ b/clients/client-ram/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-rds-data/package.json b/clients/client-rds-data/package.json index 64841c55bfc7..90c01b47e341 100644 --- a/clients/client-rds-data/package.json +++ b/clients/client-rds-data/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-rds-data/runtimeConfig.browser.ts b/clients/client-rds-data/runtimeConfig.browser.ts index dcb7e151db6c..f6a648403172 100644 --- a/clients/client-rds-data/runtimeConfig.browser.ts +++ b/clients/client-rds-data/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-rds-data/runtimeConfig.native.ts b/clients/client-rds-data/runtimeConfig.native.ts index 67e12ed55cd6..12a409b21ffe 100644 --- a/clients/client-rds-data/runtimeConfig.native.ts +++ b/clients/client-rds-data/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./RDSDataClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-rds-data/runtimeConfig.shared.ts b/clients/client-rds-data/runtimeConfig.shared.ts index 238355c761cb..3ff2a8d7f423 100644 --- a/clients/client-rds-data/runtimeConfig.shared.ts +++ b/clients/client-rds-data/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "RDS Data", + urlParser: parseUrl, }; diff --git a/clients/client-rds-data/runtimeConfig.ts b/clients/client-rds-data/runtimeConfig.ts index 93c2a3186956..f51853d6d733 100644 --- a/clients/client-rds-data/runtimeConfig.ts +++ b/clients/client-rds-data/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-rds/package.json b/clients/client-rds/package.json index 92de54602b74..b390d32d36eb 100644 --- a/clients/client-rds/package.json +++ b/clients/client-rds/package.json @@ -47,8 +47,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-rds/runtimeConfig.browser.ts b/clients/client-rds/runtimeConfig.browser.ts index b7315f96e578..25a1598a734c 100644 --- a/clients/client-rds/runtimeConfig.browser.ts +++ b/clients/client-rds/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-rds/runtimeConfig.native.ts b/clients/client-rds/runtimeConfig.native.ts index 10be77159956..872574bea3b6 100644 --- a/clients/client-rds/runtimeConfig.native.ts +++ b/clients/client-rds/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./RDSClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-rds/runtimeConfig.shared.ts b/clients/client-rds/runtimeConfig.shared.ts index b6f67d038e85..ebe09a0fbab3 100644 --- a/clients/client-rds/runtimeConfig.shared.ts +++ b/clients/client-rds/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "RDS", + urlParser: parseUrl, }; diff --git a/clients/client-rds/runtimeConfig.ts b/clients/client-rds/runtimeConfig.ts index 5c42388c6891..4626e23db09f 100644 --- a/clients/client-rds/runtimeConfig.ts +++ b/clients/client-rds/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-redshift-data/package.json b/clients/client-redshift-data/package.json index 41f8fd68ead4..01b63b05a043 100644 --- a/clients/client-redshift-data/package.json +++ b/clients/client-redshift-data/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-redshift-data/runtimeConfig.browser.ts b/clients/client-redshift-data/runtimeConfig.browser.ts index c2de75494ebd..c50aa56d0fcd 100644 --- a/clients/client-redshift-data/runtimeConfig.browser.ts +++ b/clients/client-redshift-data/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-redshift-data/runtimeConfig.native.ts b/clients/client-redshift-data/runtimeConfig.native.ts index 1c8f8e313b9c..14252e45e881 100644 --- a/clients/client-redshift-data/runtimeConfig.native.ts +++ b/clients/client-redshift-data/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./RedshiftDataClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-redshift-data/runtimeConfig.shared.ts b/clients/client-redshift-data/runtimeConfig.shared.ts index 4f98b1c73893..98335d33cf7b 100644 --- a/clients/client-redshift-data/runtimeConfig.shared.ts +++ b/clients/client-redshift-data/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Redshift Data", + urlParser: parseUrl, }; diff --git a/clients/client-redshift-data/runtimeConfig.ts b/clients/client-redshift-data/runtimeConfig.ts index dba7e470be4d..96da023ecbd4 100644 --- a/clients/client-redshift-data/runtimeConfig.ts +++ b/clients/client-redshift-data/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-redshift/package.json b/clients/client-redshift/package.json index 017f4e5a81a4..b273b862ae85 100644 --- a/clients/client-redshift/package.json +++ b/clients/client-redshift/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-redshift/runtimeConfig.browser.ts b/clients/client-redshift/runtimeConfig.browser.ts index 9f165a8763db..592dc940ed64 100644 --- a/clients/client-redshift/runtimeConfig.browser.ts +++ b/clients/client-redshift/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-redshift/runtimeConfig.native.ts b/clients/client-redshift/runtimeConfig.native.ts index d0ff8a798c01..667392962fa8 100644 --- a/clients/client-redshift/runtimeConfig.native.ts +++ b/clients/client-redshift/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./RedshiftClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-redshift/runtimeConfig.shared.ts b/clients/client-redshift/runtimeConfig.shared.ts index 07a225fa6625..a6684b231004 100644 --- a/clients/client-redshift/runtimeConfig.shared.ts +++ b/clients/client-redshift/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Redshift", + urlParser: parseUrl, }; diff --git a/clients/client-redshift/runtimeConfig.ts b/clients/client-redshift/runtimeConfig.ts index 0c47c88843d8..f4c2f0518600 100644 --- a/clients/client-redshift/runtimeConfig.ts +++ b/clients/client-redshift/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-rekognition/package.json b/clients/client-rekognition/package.json index 1ee7aafd6cf9..933fdfbd729a 100644 --- a/clients/client-rekognition/package.json +++ b/clients/client-rekognition/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-rekognition/runtimeConfig.browser.ts b/clients/client-rekognition/runtimeConfig.browser.ts index 6309afc83091..3db2fb777249 100644 --- a/clients/client-rekognition/runtimeConfig.browser.ts +++ b/clients/client-rekognition/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-rekognition/runtimeConfig.native.ts b/clients/client-rekognition/runtimeConfig.native.ts index 66912db06ab3..d4542997c65b 100644 --- a/clients/client-rekognition/runtimeConfig.native.ts +++ b/clients/client-rekognition/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./RekognitionClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-rekognition/runtimeConfig.shared.ts b/clients/client-rekognition/runtimeConfig.shared.ts index b462f10ebf17..900a789ddb7f 100644 --- a/clients/client-rekognition/runtimeConfig.shared.ts +++ b/clients/client-rekognition/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Rekognition", + urlParser: parseUrl, }; diff --git a/clients/client-rekognition/runtimeConfig.ts b/clients/client-rekognition/runtimeConfig.ts index 01c3d544c839..e142c7ffb998 100644 --- a/clients/client-rekognition/runtimeConfig.ts +++ b/clients/client-rekognition/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-resource-groups-tagging-api/package.json b/clients/client-resource-groups-tagging-api/package.json index 9d01d51f5e65..054512493c0c 100644 --- a/clients/client-resource-groups-tagging-api/package.json +++ b/clients/client-resource-groups-tagging-api/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-resource-groups-tagging-api/runtimeConfig.browser.ts b/clients/client-resource-groups-tagging-api/runtimeConfig.browser.ts index 04f1f82ddc18..c9c5594e0ec9 100644 --- a/clients/client-resource-groups-tagging-api/runtimeConfig.browser.ts +++ b/clients/client-resource-groups-tagging-api/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-resource-groups-tagging-api/runtimeConfig.native.ts b/clients/client-resource-groups-tagging-api/runtimeConfig.native.ts index 94081e75c64a..85eda47e40a9 100644 --- a/clients/client-resource-groups-tagging-api/runtimeConfig.native.ts +++ b/clients/client-resource-groups-tagging-api/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./ResourceGroupsTaggingAPIClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-resource-groups-tagging-api/runtimeConfig.shared.ts b/clients/client-resource-groups-tagging-api/runtimeConfig.shared.ts index 0a267e8bceea..c6e15322eae7 100644 --- a/clients/client-resource-groups-tagging-api/runtimeConfig.shared.ts +++ b/clients/client-resource-groups-tagging-api/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Resource Groups Tagging API", + urlParser: parseUrl, }; diff --git a/clients/client-resource-groups-tagging-api/runtimeConfig.ts b/clients/client-resource-groups-tagging-api/runtimeConfig.ts index b3b7a948f886..68345b3444fa 100644 --- a/clients/client-resource-groups-tagging-api/runtimeConfig.ts +++ b/clients/client-resource-groups-tagging-api/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-resource-groups/package.json b/clients/client-resource-groups/package.json index 7f5196217f66..06361b787481 100644 --- a/clients/client-resource-groups/package.json +++ b/clients/client-resource-groups/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-resource-groups/runtimeConfig.browser.ts b/clients/client-resource-groups/runtimeConfig.browser.ts index 8d102e54216b..df06e7a09e28 100644 --- a/clients/client-resource-groups/runtimeConfig.browser.ts +++ b/clients/client-resource-groups/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-resource-groups/runtimeConfig.native.ts b/clients/client-resource-groups/runtimeConfig.native.ts index 2372597f2969..09482254279f 100644 --- a/clients/client-resource-groups/runtimeConfig.native.ts +++ b/clients/client-resource-groups/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./ResourceGroupsClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-resource-groups/runtimeConfig.shared.ts b/clients/client-resource-groups/runtimeConfig.shared.ts index 08ab1ad57375..065e0dd5ddc9 100644 --- a/clients/client-resource-groups/runtimeConfig.shared.ts +++ b/clients/client-resource-groups/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Resource Groups", + urlParser: parseUrl, }; diff --git a/clients/client-resource-groups/runtimeConfig.ts b/clients/client-resource-groups/runtimeConfig.ts index cf0b2e270b14..eab9b77b24e3 100644 --- a/clients/client-resource-groups/runtimeConfig.ts +++ b/clients/client-resource-groups/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-robomaker/package.json b/clients/client-robomaker/package.json index ea4146a2bebf..8181413c1a6c 100644 --- a/clients/client-robomaker/package.json +++ b/clients/client-robomaker/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-robomaker/runtimeConfig.browser.ts b/clients/client-robomaker/runtimeConfig.browser.ts index bc5fbff7b662..b6ffb3bf324a 100644 --- a/clients/client-robomaker/runtimeConfig.browser.ts +++ b/clients/client-robomaker/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-robomaker/runtimeConfig.native.ts b/clients/client-robomaker/runtimeConfig.native.ts index a94796711ac8..bc950f6b5ab4 100644 --- a/clients/client-robomaker/runtimeConfig.native.ts +++ b/clients/client-robomaker/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./RoboMakerClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-robomaker/runtimeConfig.shared.ts b/clients/client-robomaker/runtimeConfig.shared.ts index b2a6cec5f8d0..d1feef1c5614 100644 --- a/clients/client-robomaker/runtimeConfig.shared.ts +++ b/clients/client-robomaker/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "RoboMaker", + urlParser: parseUrl, }; diff --git a/clients/client-robomaker/runtimeConfig.ts b/clients/client-robomaker/runtimeConfig.ts index 96c7359faea3..d2605551e72e 100644 --- a/clients/client-robomaker/runtimeConfig.ts +++ b/clients/client-robomaker/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-route-53-domains/package.json b/clients/client-route-53-domains/package.json index b1af76080eda..fe3dbb143354 100644 --- a/clients/client-route-53-domains/package.json +++ b/clients/client-route-53-domains/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-route-53-domains/runtimeConfig.browser.ts b/clients/client-route-53-domains/runtimeConfig.browser.ts index 5b8bfe285977..4133ccd4278e 100644 --- a/clients/client-route-53-domains/runtimeConfig.browser.ts +++ b/clients/client-route-53-domains/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-route-53-domains/runtimeConfig.native.ts b/clients/client-route-53-domains/runtimeConfig.native.ts index bc2a62428f65..21133332ab7b 100644 --- a/clients/client-route-53-domains/runtimeConfig.native.ts +++ b/clients/client-route-53-domains/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./Route53DomainsClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-route-53-domains/runtimeConfig.shared.ts b/clients/client-route-53-domains/runtimeConfig.shared.ts index 3c6c03c2c259..820f242fb8ba 100644 --- a/clients/client-route-53-domains/runtimeConfig.shared.ts +++ b/clients/client-route-53-domains/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Route 53 Domains", + urlParser: parseUrl, }; diff --git a/clients/client-route-53-domains/runtimeConfig.ts b/clients/client-route-53-domains/runtimeConfig.ts index 5351d2be3d7f..ad3547ecb363 100644 --- a/clients/client-route-53-domains/runtimeConfig.ts +++ b/clients/client-route-53-domains/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-route-53/package.json b/clients/client-route-53/package.json index 53bca99063d5..9ae5dda3d843 100644 --- a/clients/client-route-53/package.json +++ b/clients/client-route-53/package.json @@ -47,8 +47,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-route-53/runtimeConfig.browser.ts b/clients/client-route-53/runtimeConfig.browser.ts index 9f965ce2ceb8..1bead0a0d0d7 100644 --- a/clients/client-route-53/runtimeConfig.browser.ts +++ b/clients/client-route-53/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-route-53/runtimeConfig.native.ts b/clients/client-route-53/runtimeConfig.native.ts index 2b2235c56777..05df8f006549 100644 --- a/clients/client-route-53/runtimeConfig.native.ts +++ b/clients/client-route-53/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./Route53Client"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-route-53/runtimeConfig.shared.ts b/clients/client-route-53/runtimeConfig.shared.ts index d793df60f0de..87be3e97e761 100644 --- a/clients/client-route-53/runtimeConfig.shared.ts +++ b/clients/client-route-53/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Route 53", + urlParser: parseUrl, }; diff --git a/clients/client-route-53/runtimeConfig.ts b/clients/client-route-53/runtimeConfig.ts index aa26b0a45f48..2b776fd73ee3 100644 --- a/clients/client-route-53/runtimeConfig.ts +++ b/clients/client-route-53/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-route53resolver/package.json b/clients/client-route53resolver/package.json index 5ccd4dfe3fed..b3954061220f 100644 --- a/clients/client-route53resolver/package.json +++ b/clients/client-route53resolver/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-route53resolver/runtimeConfig.browser.ts b/clients/client-route53resolver/runtimeConfig.browser.ts index dd2525fb87a5..fe7a4d5c25d3 100644 --- a/clients/client-route53resolver/runtimeConfig.browser.ts +++ b/clients/client-route53resolver/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-route53resolver/runtimeConfig.native.ts b/clients/client-route53resolver/runtimeConfig.native.ts index d1646c2c7e28..5ac45421ba9a 100644 --- a/clients/client-route53resolver/runtimeConfig.native.ts +++ b/clients/client-route53resolver/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./Route53ResolverClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-route53resolver/runtimeConfig.shared.ts b/clients/client-route53resolver/runtimeConfig.shared.ts index aa21ca350160..2a1f9b2fc333 100644 --- a/clients/client-route53resolver/runtimeConfig.shared.ts +++ b/clients/client-route53resolver/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Route53Resolver", + urlParser: parseUrl, }; diff --git a/clients/client-route53resolver/runtimeConfig.ts b/clients/client-route53resolver/runtimeConfig.ts index 53af4680828b..b3a280ab7bd6 100644 --- a/clients/client-route53resolver/runtimeConfig.ts +++ b/clients/client-route53resolver/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-s3-control/package.json b/clients/client-s3-control/package.json index 8c03ab80aa9d..8d233396699f 100644 --- a/clients/client-s3-control/package.json +++ b/clients/client-s3-control/package.json @@ -48,8 +48,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-s3-control/runtimeConfig.browser.ts b/clients/client-s3-control/runtimeConfig.browser.ts index f5587dcd2bc0..8b408e19582e 100644 --- a/clients/client-s3-control/runtimeConfig.browser.ts +++ b/clients/client-s3-control/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-s3-control/runtimeConfig.native.ts b/clients/client-s3-control/runtimeConfig.native.ts index 3b6f6952f670..cb59dfa4fc44 100644 --- a/clients/client-s3-control/runtimeConfig.native.ts +++ b/clients/client-s3-control/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./S3ControlClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-s3-control/runtimeConfig.shared.ts b/clients/client-s3-control/runtimeConfig.shared.ts index 8c3f0ba0800f..8c5a64d60848 100644 --- a/clients/client-s3-control/runtimeConfig.shared.ts +++ b/clients/client-s3-control/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "S3 Control", + urlParser: parseUrl, }; diff --git a/clients/client-s3-control/runtimeConfig.ts b/clients/client-s3-control/runtimeConfig.ts index 088d314337b6..8377db0deba3 100644 --- a/clients/client-s3-control/runtimeConfig.ts +++ b/clients/client-s3-control/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-s3/package.json b/clients/client-s3/package.json index 3e88521dd486..4a6849385cff 100644 --- a/clients/client-s3/package.json +++ b/clients/client-s3/package.json @@ -60,8 +60,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-s3/runtimeConfig.browser.ts b/clients/client-s3/runtimeConfig.browser.ts index 9a2fd4388181..526e62fb1dee 100644 --- a/clients/client-s3/runtimeConfig.browser.ts +++ b/clients/client-s3/runtimeConfig.browser.ts @@ -7,7 +7,6 @@ import { blobHasher as streamHasher } from "@aws-sdk/hash-blob-browser"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { Md5 } from "@aws-sdk/md5-js"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -37,7 +36,6 @@ export const ClientDefaultValues: Required = { sha256: Sha256, streamCollector, streamHasher, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-s3/runtimeConfig.native.ts b/clients/client-s3/runtimeConfig.native.ts index 3982fdd7d24b..f0a98ca65e8c 100644 --- a/clients/client-s3/runtimeConfig.native.ts +++ b/clients/client-s3/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./S3Client"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-s3/runtimeConfig.shared.ts b/clients/client-s3/runtimeConfig.shared.ts index 6c4bb7ded67d..7e2a09ffe840 100644 --- a/clients/client-s3/runtimeConfig.shared.ts +++ b/clients/client-s3/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -11,5 +12,6 @@ export const ClientSharedValues = { regionInfoProvider: defaultRegionInfoProvider, serviceId: "S3", signingEscapePath: false, + urlParser: parseUrl, useArnRegion: false, }; diff --git a/clients/client-s3/runtimeConfig.ts b/clients/client-s3/runtimeConfig.ts index 3278b5f89d8d..38d94ed145e7 100644 --- a/clients/client-s3/runtimeConfig.ts +++ b/clients/client-s3/runtimeConfig.ts @@ -10,7 +10,6 @@ import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; import { HashConstructor as __HashConstructor } from "@aws-sdk/types"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -40,7 +39,6 @@ export const ClientDefaultValues: Required = { sha256: Hash.bind(null, "sha256"), streamCollector, streamHasher, - urlParser: parseUrl, useArnRegion: loadNodeConfig(NODE_USE_ARN_REGION_CONFIG_OPTIONS), utf8Decoder: fromUtf8, utf8Encoder: toUtf8, diff --git a/clients/client-s3outposts/package.json b/clients/client-s3outposts/package.json index ddcf32295400..3596a03ba342 100644 --- a/clients/client-s3outposts/package.json +++ b/clients/client-s3outposts/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-s3outposts/runtimeConfig.browser.ts b/clients/client-s3outposts/runtimeConfig.browser.ts index 9bce86dc465a..8e4cd8ede49f 100644 --- a/clients/client-s3outposts/runtimeConfig.browser.ts +++ b/clients/client-s3outposts/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-s3outposts/runtimeConfig.native.ts b/clients/client-s3outposts/runtimeConfig.native.ts index dace87cef6b2..9f1b587e39b3 100644 --- a/clients/client-s3outposts/runtimeConfig.native.ts +++ b/clients/client-s3outposts/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./S3OutpostsClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-s3outposts/runtimeConfig.shared.ts b/clients/client-s3outposts/runtimeConfig.shared.ts index 8ab030e8bef1..d9c795291721 100644 --- a/clients/client-s3outposts/runtimeConfig.shared.ts +++ b/clients/client-s3outposts/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "S3Outposts", + urlParser: parseUrl, }; diff --git a/clients/client-s3outposts/runtimeConfig.ts b/clients/client-s3outposts/runtimeConfig.ts index a82b2c81d9af..86e0fa53467a 100644 --- a/clients/client-s3outposts/runtimeConfig.ts +++ b/clients/client-s3outposts/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-sagemaker-a2i-runtime/package.json b/clients/client-sagemaker-a2i-runtime/package.json index 8792c1a88d4b..3b6dc235522d 100644 --- a/clients/client-sagemaker-a2i-runtime/package.json +++ b/clients/client-sagemaker-a2i-runtime/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-sagemaker-a2i-runtime/runtimeConfig.browser.ts b/clients/client-sagemaker-a2i-runtime/runtimeConfig.browser.ts index c35f1d39b67e..2201706cad98 100644 --- a/clients/client-sagemaker-a2i-runtime/runtimeConfig.browser.ts +++ b/clients/client-sagemaker-a2i-runtime/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-sagemaker-a2i-runtime/runtimeConfig.native.ts b/clients/client-sagemaker-a2i-runtime/runtimeConfig.native.ts index 80117347da1d..10a1d1c97d6c 100644 --- a/clients/client-sagemaker-a2i-runtime/runtimeConfig.native.ts +++ b/clients/client-sagemaker-a2i-runtime/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./SageMakerA2IRuntimeClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-sagemaker-a2i-runtime/runtimeConfig.shared.ts b/clients/client-sagemaker-a2i-runtime/runtimeConfig.shared.ts index b20bbad7670b..e40c60915db1 100644 --- a/clients/client-sagemaker-a2i-runtime/runtimeConfig.shared.ts +++ b/clients/client-sagemaker-a2i-runtime/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "SageMaker A2I Runtime", + urlParser: parseUrl, }; diff --git a/clients/client-sagemaker-a2i-runtime/runtimeConfig.ts b/clients/client-sagemaker-a2i-runtime/runtimeConfig.ts index 1f989b86a8db..4d17716fbe9c 100644 --- a/clients/client-sagemaker-a2i-runtime/runtimeConfig.ts +++ b/clients/client-sagemaker-a2i-runtime/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-sagemaker-edge/package.json b/clients/client-sagemaker-edge/package.json index 5d2bdf3df266..c6b6dc60cd88 100644 --- a/clients/client-sagemaker-edge/package.json +++ b/clients/client-sagemaker-edge/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-sagemaker-edge/runtimeConfig.browser.ts b/clients/client-sagemaker-edge/runtimeConfig.browser.ts index ff0cdc908172..a4ee55145216 100644 --- a/clients/client-sagemaker-edge/runtimeConfig.browser.ts +++ b/clients/client-sagemaker-edge/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-sagemaker-edge/runtimeConfig.native.ts b/clients/client-sagemaker-edge/runtimeConfig.native.ts index 6ca52bb341ed..e5c8c64defa7 100644 --- a/clients/client-sagemaker-edge/runtimeConfig.native.ts +++ b/clients/client-sagemaker-edge/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./SagemakerEdgeClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-sagemaker-edge/runtimeConfig.shared.ts b/clients/client-sagemaker-edge/runtimeConfig.shared.ts index 1d9154c3bc20..3e1755c52b82 100644 --- a/clients/client-sagemaker-edge/runtimeConfig.shared.ts +++ b/clients/client-sagemaker-edge/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Sagemaker Edge", + urlParser: parseUrl, }; diff --git a/clients/client-sagemaker-edge/runtimeConfig.ts b/clients/client-sagemaker-edge/runtimeConfig.ts index b31960f514b1..a54677ac41a0 100644 --- a/clients/client-sagemaker-edge/runtimeConfig.ts +++ b/clients/client-sagemaker-edge/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-sagemaker-featurestore-runtime/package.json b/clients/client-sagemaker-featurestore-runtime/package.json index c3f78b50c095..bf6654a2518f 100644 --- a/clients/client-sagemaker-featurestore-runtime/package.json +++ b/clients/client-sagemaker-featurestore-runtime/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-sagemaker-featurestore-runtime/runtimeConfig.browser.ts b/clients/client-sagemaker-featurestore-runtime/runtimeConfig.browser.ts index dcde1335e351..fec109c63f11 100644 --- a/clients/client-sagemaker-featurestore-runtime/runtimeConfig.browser.ts +++ b/clients/client-sagemaker-featurestore-runtime/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-sagemaker-featurestore-runtime/runtimeConfig.native.ts b/clients/client-sagemaker-featurestore-runtime/runtimeConfig.native.ts index ed2f094a6ab9..be4929948108 100644 --- a/clients/client-sagemaker-featurestore-runtime/runtimeConfig.native.ts +++ b/clients/client-sagemaker-featurestore-runtime/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./SageMakerFeatureStoreRuntimeClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-sagemaker-featurestore-runtime/runtimeConfig.shared.ts b/clients/client-sagemaker-featurestore-runtime/runtimeConfig.shared.ts index e5be5c2820e3..c0eb819f6060 100644 --- a/clients/client-sagemaker-featurestore-runtime/runtimeConfig.shared.ts +++ b/clients/client-sagemaker-featurestore-runtime/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "SageMaker FeatureStore Runtime", + urlParser: parseUrl, }; diff --git a/clients/client-sagemaker-featurestore-runtime/runtimeConfig.ts b/clients/client-sagemaker-featurestore-runtime/runtimeConfig.ts index 431e4229dc58..562307bdf4d0 100644 --- a/clients/client-sagemaker-featurestore-runtime/runtimeConfig.ts +++ b/clients/client-sagemaker-featurestore-runtime/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-sagemaker-runtime/package.json b/clients/client-sagemaker-runtime/package.json index 811a4e92dc14..e56219b45bb2 100644 --- a/clients/client-sagemaker-runtime/package.json +++ b/clients/client-sagemaker-runtime/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-sagemaker-runtime/runtimeConfig.browser.ts b/clients/client-sagemaker-runtime/runtimeConfig.browser.ts index c56c19772c86..818db249dc07 100644 --- a/clients/client-sagemaker-runtime/runtimeConfig.browser.ts +++ b/clients/client-sagemaker-runtime/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-sagemaker-runtime/runtimeConfig.native.ts b/clients/client-sagemaker-runtime/runtimeConfig.native.ts index cdaeb8c508c4..dc8c7434c623 100644 --- a/clients/client-sagemaker-runtime/runtimeConfig.native.ts +++ b/clients/client-sagemaker-runtime/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./SageMakerRuntimeClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-sagemaker-runtime/runtimeConfig.shared.ts b/clients/client-sagemaker-runtime/runtimeConfig.shared.ts index f08677c552d1..997ccd3d0cdc 100644 --- a/clients/client-sagemaker-runtime/runtimeConfig.shared.ts +++ b/clients/client-sagemaker-runtime/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "SageMaker Runtime", + urlParser: parseUrl, }; diff --git a/clients/client-sagemaker-runtime/runtimeConfig.ts b/clients/client-sagemaker-runtime/runtimeConfig.ts index 4b0ad0de0063..9ccdc3334e43 100644 --- a/clients/client-sagemaker-runtime/runtimeConfig.ts +++ b/clients/client-sagemaker-runtime/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-sagemaker/package.json b/clients/client-sagemaker/package.json index 948a22d89b96..b09b5d2f57c1 100644 --- a/clients/client-sagemaker/package.json +++ b/clients/client-sagemaker/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-sagemaker/runtimeConfig.browser.ts b/clients/client-sagemaker/runtimeConfig.browser.ts index 1e7e80c238c6..29bc3b517688 100644 --- a/clients/client-sagemaker/runtimeConfig.browser.ts +++ b/clients/client-sagemaker/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-sagemaker/runtimeConfig.native.ts b/clients/client-sagemaker/runtimeConfig.native.ts index 3741f42cc11e..3e0e679f7407 100644 --- a/clients/client-sagemaker/runtimeConfig.native.ts +++ b/clients/client-sagemaker/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./SageMakerClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-sagemaker/runtimeConfig.shared.ts b/clients/client-sagemaker/runtimeConfig.shared.ts index d4336d44cda9..155d6a2849e8 100644 --- a/clients/client-sagemaker/runtimeConfig.shared.ts +++ b/clients/client-sagemaker/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "SageMaker", + urlParser: parseUrl, }; diff --git a/clients/client-sagemaker/runtimeConfig.ts b/clients/client-sagemaker/runtimeConfig.ts index 32aa3687d7fc..3bb2146247b7 100644 --- a/clients/client-sagemaker/runtimeConfig.ts +++ b/clients/client-sagemaker/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-savingsplans/package.json b/clients/client-savingsplans/package.json index 9452eecd2aa6..464af971127d 100644 --- a/clients/client-savingsplans/package.json +++ b/clients/client-savingsplans/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-savingsplans/runtimeConfig.browser.ts b/clients/client-savingsplans/runtimeConfig.browser.ts index f77615378ec6..1017dd02cecd 100644 --- a/clients/client-savingsplans/runtimeConfig.browser.ts +++ b/clients/client-savingsplans/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-savingsplans/runtimeConfig.native.ts b/clients/client-savingsplans/runtimeConfig.native.ts index c91d78dd62dc..619923338098 100644 --- a/clients/client-savingsplans/runtimeConfig.native.ts +++ b/clients/client-savingsplans/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./SavingsplansClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-savingsplans/runtimeConfig.shared.ts b/clients/client-savingsplans/runtimeConfig.shared.ts index b6c84a93bc9e..d1267e3c9b70 100644 --- a/clients/client-savingsplans/runtimeConfig.shared.ts +++ b/clients/client-savingsplans/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "savingsplans", + urlParser: parseUrl, }; diff --git a/clients/client-savingsplans/runtimeConfig.ts b/clients/client-savingsplans/runtimeConfig.ts index 0e91dc5e9069..0c8f536cf0c2 100644 --- a/clients/client-savingsplans/runtimeConfig.ts +++ b/clients/client-savingsplans/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-schemas/package.json b/clients/client-schemas/package.json index 92b63ca88a99..4c71af529e16 100644 --- a/clients/client-schemas/package.json +++ b/clients/client-schemas/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-schemas/runtimeConfig.browser.ts b/clients/client-schemas/runtimeConfig.browser.ts index 2832222223cb..6ab26413489e 100644 --- a/clients/client-schemas/runtimeConfig.browser.ts +++ b/clients/client-schemas/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-schemas/runtimeConfig.native.ts b/clients/client-schemas/runtimeConfig.native.ts index 51138d369373..db6a199cd9a8 100644 --- a/clients/client-schemas/runtimeConfig.native.ts +++ b/clients/client-schemas/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./SchemasClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-schemas/runtimeConfig.shared.ts b/clients/client-schemas/runtimeConfig.shared.ts index b1ad261647d6..f0ce6be7b356 100644 --- a/clients/client-schemas/runtimeConfig.shared.ts +++ b/clients/client-schemas/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "schemas", + urlParser: parseUrl, }; diff --git a/clients/client-schemas/runtimeConfig.ts b/clients/client-schemas/runtimeConfig.ts index 45636e8a830d..207e6a929412 100644 --- a/clients/client-schemas/runtimeConfig.ts +++ b/clients/client-schemas/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-secrets-manager/package.json b/clients/client-secrets-manager/package.json index 6220a262e052..f62c251cb1b1 100644 --- a/clients/client-secrets-manager/package.json +++ b/clients/client-secrets-manager/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-secrets-manager/runtimeConfig.browser.ts b/clients/client-secrets-manager/runtimeConfig.browser.ts index 8e5c607a8b04..2a061f4c1b24 100644 --- a/clients/client-secrets-manager/runtimeConfig.browser.ts +++ b/clients/client-secrets-manager/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-secrets-manager/runtimeConfig.native.ts b/clients/client-secrets-manager/runtimeConfig.native.ts index ceed11dc98bf..1093722b50ce 100644 --- a/clients/client-secrets-manager/runtimeConfig.native.ts +++ b/clients/client-secrets-manager/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./SecretsManagerClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-secrets-manager/runtimeConfig.shared.ts b/clients/client-secrets-manager/runtimeConfig.shared.ts index 13f7d804a942..1b9a2be6bb44 100644 --- a/clients/client-secrets-manager/runtimeConfig.shared.ts +++ b/clients/client-secrets-manager/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Secrets Manager", + urlParser: parseUrl, }; diff --git a/clients/client-secrets-manager/runtimeConfig.ts b/clients/client-secrets-manager/runtimeConfig.ts index fecf768159e7..fdaa0d9f08f6 100644 --- a/clients/client-secrets-manager/runtimeConfig.ts +++ b/clients/client-secrets-manager/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-securityhub/package.json b/clients/client-securityhub/package.json index 44cc7e36282a..ab07a9554e4e 100644 --- a/clients/client-securityhub/package.json +++ b/clients/client-securityhub/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-securityhub/runtimeConfig.browser.ts b/clients/client-securityhub/runtimeConfig.browser.ts index 5bbd93e119bc..11606f13749e 100644 --- a/clients/client-securityhub/runtimeConfig.browser.ts +++ b/clients/client-securityhub/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-securityhub/runtimeConfig.native.ts b/clients/client-securityhub/runtimeConfig.native.ts index dd9d2e7caab3..bd43ab69e3e4 100644 --- a/clients/client-securityhub/runtimeConfig.native.ts +++ b/clients/client-securityhub/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./SecurityHubClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-securityhub/runtimeConfig.shared.ts b/clients/client-securityhub/runtimeConfig.shared.ts index 2889d78f761a..fdbffa7c17d2 100644 --- a/clients/client-securityhub/runtimeConfig.shared.ts +++ b/clients/client-securityhub/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "SecurityHub", + urlParser: parseUrl, }; diff --git a/clients/client-securityhub/runtimeConfig.ts b/clients/client-securityhub/runtimeConfig.ts index 0eebedf88d71..272ddb8e3937 100644 --- a/clients/client-securityhub/runtimeConfig.ts +++ b/clients/client-securityhub/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-serverlessapplicationrepository/package.json b/clients/client-serverlessapplicationrepository/package.json index 8156cef8a894..6cc55d91be4c 100644 --- a/clients/client-serverlessapplicationrepository/package.json +++ b/clients/client-serverlessapplicationrepository/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-serverlessapplicationrepository/runtimeConfig.browser.ts b/clients/client-serverlessapplicationrepository/runtimeConfig.browser.ts index 980d7a24ff5a..f036d4c55e25 100644 --- a/clients/client-serverlessapplicationrepository/runtimeConfig.browser.ts +++ b/clients/client-serverlessapplicationrepository/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-serverlessapplicationrepository/runtimeConfig.native.ts b/clients/client-serverlessapplicationrepository/runtimeConfig.native.ts index 1c230fb24295..c5a3c87a534f 100644 --- a/clients/client-serverlessapplicationrepository/runtimeConfig.native.ts +++ b/clients/client-serverlessapplicationrepository/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./ServerlessApplicationRepositoryClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-serverlessapplicationrepository/runtimeConfig.shared.ts b/clients/client-serverlessapplicationrepository/runtimeConfig.shared.ts index b5e7260a5799..da6791b1fb10 100644 --- a/clients/client-serverlessapplicationrepository/runtimeConfig.shared.ts +++ b/clients/client-serverlessapplicationrepository/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "ServerlessApplicationRepository", + urlParser: parseUrl, }; diff --git a/clients/client-serverlessapplicationrepository/runtimeConfig.ts b/clients/client-serverlessapplicationrepository/runtimeConfig.ts index 8fb70a7d4499..c42df378077e 100644 --- a/clients/client-serverlessapplicationrepository/runtimeConfig.ts +++ b/clients/client-serverlessapplicationrepository/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-service-catalog-appregistry/package.json b/clients/client-service-catalog-appregistry/package.json index 828beeb705f4..a54b38921bee 100644 --- a/clients/client-service-catalog-appregistry/package.json +++ b/clients/client-service-catalog-appregistry/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-service-catalog-appregistry/runtimeConfig.browser.ts b/clients/client-service-catalog-appregistry/runtimeConfig.browser.ts index 5b130f27ffd5..db162edb5f4e 100644 --- a/clients/client-service-catalog-appregistry/runtimeConfig.browser.ts +++ b/clients/client-service-catalog-appregistry/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-service-catalog-appregistry/runtimeConfig.native.ts b/clients/client-service-catalog-appregistry/runtimeConfig.native.ts index 9f3a125df0ee..5d9f98689222 100644 --- a/clients/client-service-catalog-appregistry/runtimeConfig.native.ts +++ b/clients/client-service-catalog-appregistry/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./ServiceCatalogAppRegistryClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-service-catalog-appregistry/runtimeConfig.shared.ts b/clients/client-service-catalog-appregistry/runtimeConfig.shared.ts index cdf1803027e5..0d37aa8a2d6d 100644 --- a/clients/client-service-catalog-appregistry/runtimeConfig.shared.ts +++ b/clients/client-service-catalog-appregistry/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Service Catalog AppRegistry", + urlParser: parseUrl, }; diff --git a/clients/client-service-catalog-appregistry/runtimeConfig.ts b/clients/client-service-catalog-appregistry/runtimeConfig.ts index 6b90b5bba3da..01136ab93700 100644 --- a/clients/client-service-catalog-appregistry/runtimeConfig.ts +++ b/clients/client-service-catalog-appregistry/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-service-catalog/package.json b/clients/client-service-catalog/package.json index 3c800fbf9421..212c07f5cf21 100644 --- a/clients/client-service-catalog/package.json +++ b/clients/client-service-catalog/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-service-catalog/runtimeConfig.browser.ts b/clients/client-service-catalog/runtimeConfig.browser.ts index bb0e84695f5b..55fdbe1d382d 100644 --- a/clients/client-service-catalog/runtimeConfig.browser.ts +++ b/clients/client-service-catalog/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-service-catalog/runtimeConfig.native.ts b/clients/client-service-catalog/runtimeConfig.native.ts index 6e6b7c049f12..59041c9e996b 100644 --- a/clients/client-service-catalog/runtimeConfig.native.ts +++ b/clients/client-service-catalog/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./ServiceCatalogClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-service-catalog/runtimeConfig.shared.ts b/clients/client-service-catalog/runtimeConfig.shared.ts index bec761d0e9e3..9be408d6c060 100644 --- a/clients/client-service-catalog/runtimeConfig.shared.ts +++ b/clients/client-service-catalog/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Service Catalog", + urlParser: parseUrl, }; diff --git a/clients/client-service-catalog/runtimeConfig.ts b/clients/client-service-catalog/runtimeConfig.ts index 8017131b4ba4..28d96bf734cb 100644 --- a/clients/client-service-catalog/runtimeConfig.ts +++ b/clients/client-service-catalog/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-service-quotas/package.json b/clients/client-service-quotas/package.json index e32a102bf0e4..07cf997f2a87 100644 --- a/clients/client-service-quotas/package.json +++ b/clients/client-service-quotas/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-service-quotas/runtimeConfig.browser.ts b/clients/client-service-quotas/runtimeConfig.browser.ts index db33a88213dc..5cdf25b27bec 100644 --- a/clients/client-service-quotas/runtimeConfig.browser.ts +++ b/clients/client-service-quotas/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-service-quotas/runtimeConfig.native.ts b/clients/client-service-quotas/runtimeConfig.native.ts index 48a66cb351d5..3c9da573f66a 100644 --- a/clients/client-service-quotas/runtimeConfig.native.ts +++ b/clients/client-service-quotas/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./ServiceQuotasClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-service-quotas/runtimeConfig.shared.ts b/clients/client-service-quotas/runtimeConfig.shared.ts index 4469ce39a7d6..61479b937ae8 100644 --- a/clients/client-service-quotas/runtimeConfig.shared.ts +++ b/clients/client-service-quotas/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Service Quotas", + urlParser: parseUrl, }; diff --git a/clients/client-service-quotas/runtimeConfig.ts b/clients/client-service-quotas/runtimeConfig.ts index ab0506d45e8d..4612be5506eb 100644 --- a/clients/client-service-quotas/runtimeConfig.ts +++ b/clients/client-service-quotas/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-servicediscovery/package.json b/clients/client-servicediscovery/package.json index 9ca052ee986d..36f2f48039d5 100644 --- a/clients/client-servicediscovery/package.json +++ b/clients/client-servicediscovery/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-servicediscovery/runtimeConfig.browser.ts b/clients/client-servicediscovery/runtimeConfig.browser.ts index 90af5ff1b25a..a47b884964df 100644 --- a/clients/client-servicediscovery/runtimeConfig.browser.ts +++ b/clients/client-servicediscovery/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-servicediscovery/runtimeConfig.native.ts b/clients/client-servicediscovery/runtimeConfig.native.ts index acaccf3a0df3..4e8c9db6797a 100644 --- a/clients/client-servicediscovery/runtimeConfig.native.ts +++ b/clients/client-servicediscovery/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./ServiceDiscoveryClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-servicediscovery/runtimeConfig.shared.ts b/clients/client-servicediscovery/runtimeConfig.shared.ts index a48f73220c67..022e47be9679 100644 --- a/clients/client-servicediscovery/runtimeConfig.shared.ts +++ b/clients/client-servicediscovery/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "ServiceDiscovery", + urlParser: parseUrl, }; diff --git a/clients/client-servicediscovery/runtimeConfig.ts b/clients/client-servicediscovery/runtimeConfig.ts index ba756b546b2a..ef0d80da2228 100644 --- a/clients/client-servicediscovery/runtimeConfig.ts +++ b/clients/client-servicediscovery/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-ses/package.json b/clients/client-ses/package.json index c644fdcc3082..53fd70812304 100644 --- a/clients/client-ses/package.json +++ b/clients/client-ses/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-ses/runtimeConfig.browser.ts b/clients/client-ses/runtimeConfig.browser.ts index ecdd41afbcdf..6296bcfb1241 100644 --- a/clients/client-ses/runtimeConfig.browser.ts +++ b/clients/client-ses/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-ses/runtimeConfig.native.ts b/clients/client-ses/runtimeConfig.native.ts index 1bb017439ca7..a26e23f4b04f 100644 --- a/clients/client-ses/runtimeConfig.native.ts +++ b/clients/client-ses/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./SESClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-ses/runtimeConfig.shared.ts b/clients/client-ses/runtimeConfig.shared.ts index 4da81034030f..442c6b43a06a 100644 --- a/clients/client-ses/runtimeConfig.shared.ts +++ b/clients/client-ses/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "SES", + urlParser: parseUrl, }; diff --git a/clients/client-ses/runtimeConfig.ts b/clients/client-ses/runtimeConfig.ts index 5c1ed47b84d8..748c72f322f5 100644 --- a/clients/client-ses/runtimeConfig.ts +++ b/clients/client-ses/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-sesv2/package.json b/clients/client-sesv2/package.json index 3023287f0df6..35bfee130fba 100644 --- a/clients/client-sesv2/package.json +++ b/clients/client-sesv2/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-sesv2/runtimeConfig.browser.ts b/clients/client-sesv2/runtimeConfig.browser.ts index 1948881d710b..2c1fd497c711 100644 --- a/clients/client-sesv2/runtimeConfig.browser.ts +++ b/clients/client-sesv2/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-sesv2/runtimeConfig.native.ts b/clients/client-sesv2/runtimeConfig.native.ts index de4ce746efe7..5de2ff6ad1e2 100644 --- a/clients/client-sesv2/runtimeConfig.native.ts +++ b/clients/client-sesv2/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./SESv2Client"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-sesv2/runtimeConfig.shared.ts b/clients/client-sesv2/runtimeConfig.shared.ts index 8dfd5f683b17..2c62b8fbd2ea 100644 --- a/clients/client-sesv2/runtimeConfig.shared.ts +++ b/clients/client-sesv2/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "SESv2", + urlParser: parseUrl, }; diff --git a/clients/client-sesv2/runtimeConfig.ts b/clients/client-sesv2/runtimeConfig.ts index c10e43d09c7c..75b7137f422b 100644 --- a/clients/client-sesv2/runtimeConfig.ts +++ b/clients/client-sesv2/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-sfn/package.json b/clients/client-sfn/package.json index 36f2ab39352f..849980a15ef1 100644 --- a/clients/client-sfn/package.json +++ b/clients/client-sfn/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-sfn/runtimeConfig.browser.ts b/clients/client-sfn/runtimeConfig.browser.ts index 96e716d73f7b..24d2fd28ce67 100644 --- a/clients/client-sfn/runtimeConfig.browser.ts +++ b/clients/client-sfn/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-sfn/runtimeConfig.native.ts b/clients/client-sfn/runtimeConfig.native.ts index 00d159d01f9d..1d5399516a1b 100644 --- a/clients/client-sfn/runtimeConfig.native.ts +++ b/clients/client-sfn/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./SFNClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-sfn/runtimeConfig.shared.ts b/clients/client-sfn/runtimeConfig.shared.ts index e9abf5b7b82f..86e6407f13d8 100644 --- a/clients/client-sfn/runtimeConfig.shared.ts +++ b/clients/client-sfn/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "SFN", + urlParser: parseUrl, }; diff --git a/clients/client-sfn/runtimeConfig.ts b/clients/client-sfn/runtimeConfig.ts index f8216174433f..d1cede70ce4c 100644 --- a/clients/client-sfn/runtimeConfig.ts +++ b/clients/client-sfn/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-shield/package.json b/clients/client-shield/package.json index ca1658ee49b2..2c387b0c9727 100644 --- a/clients/client-shield/package.json +++ b/clients/client-shield/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-shield/runtimeConfig.browser.ts b/clients/client-shield/runtimeConfig.browser.ts index 279e231ab501..d72bb696a2dc 100644 --- a/clients/client-shield/runtimeConfig.browser.ts +++ b/clients/client-shield/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-shield/runtimeConfig.native.ts b/clients/client-shield/runtimeConfig.native.ts index 0ec8cbf92b19..ba21a9e7ef4d 100644 --- a/clients/client-shield/runtimeConfig.native.ts +++ b/clients/client-shield/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./ShieldClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-shield/runtimeConfig.shared.ts b/clients/client-shield/runtimeConfig.shared.ts index 2b567abbdc22..1feca7d0e269 100644 --- a/clients/client-shield/runtimeConfig.shared.ts +++ b/clients/client-shield/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Shield", + urlParser: parseUrl, }; diff --git a/clients/client-shield/runtimeConfig.ts b/clients/client-shield/runtimeConfig.ts index 720c6456ac9d..50ae0943e8c6 100644 --- a/clients/client-shield/runtimeConfig.ts +++ b/clients/client-shield/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-signer/package.json b/clients/client-signer/package.json index a8facb20aac8..da2db5765c01 100644 --- a/clients/client-signer/package.json +++ b/clients/client-signer/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-signer/runtimeConfig.browser.ts b/clients/client-signer/runtimeConfig.browser.ts index 91209cfa2fcc..623fcf62ea20 100644 --- a/clients/client-signer/runtimeConfig.browser.ts +++ b/clients/client-signer/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-signer/runtimeConfig.native.ts b/clients/client-signer/runtimeConfig.native.ts index a4baf366b894..59ccf985d2b1 100644 --- a/clients/client-signer/runtimeConfig.native.ts +++ b/clients/client-signer/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./SignerClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-signer/runtimeConfig.shared.ts b/clients/client-signer/runtimeConfig.shared.ts index 5db5b0dbb51e..678ffa649151 100644 --- a/clients/client-signer/runtimeConfig.shared.ts +++ b/clients/client-signer/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "signer", + urlParser: parseUrl, }; diff --git a/clients/client-signer/runtimeConfig.ts b/clients/client-signer/runtimeConfig.ts index bfa850d4e9cc..915f3d0489b2 100644 --- a/clients/client-signer/runtimeConfig.ts +++ b/clients/client-signer/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-sms/package.json b/clients/client-sms/package.json index 8b45f321e44c..aefe89bc8b8e 100644 --- a/clients/client-sms/package.json +++ b/clients/client-sms/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-sms/runtimeConfig.browser.ts b/clients/client-sms/runtimeConfig.browser.ts index 0c01cf825442..61b0f66af819 100644 --- a/clients/client-sms/runtimeConfig.browser.ts +++ b/clients/client-sms/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-sms/runtimeConfig.native.ts b/clients/client-sms/runtimeConfig.native.ts index c95fc3ed6760..a9acec521245 100644 --- a/clients/client-sms/runtimeConfig.native.ts +++ b/clients/client-sms/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./SMSClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-sms/runtimeConfig.shared.ts b/clients/client-sms/runtimeConfig.shared.ts index 61b678279384..caea43a95dac 100644 --- a/clients/client-sms/runtimeConfig.shared.ts +++ b/clients/client-sms/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "SMS", + urlParser: parseUrl, }; diff --git a/clients/client-sms/runtimeConfig.ts b/clients/client-sms/runtimeConfig.ts index 75b1b996e8aa..de89897908a5 100644 --- a/clients/client-sms/runtimeConfig.ts +++ b/clients/client-sms/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-snowball/package.json b/clients/client-snowball/package.json index c832f71e8f4c..06186edf6f06 100644 --- a/clients/client-snowball/package.json +++ b/clients/client-snowball/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-snowball/runtimeConfig.browser.ts b/clients/client-snowball/runtimeConfig.browser.ts index 8035356dd780..4f76dd180b94 100644 --- a/clients/client-snowball/runtimeConfig.browser.ts +++ b/clients/client-snowball/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-snowball/runtimeConfig.native.ts b/clients/client-snowball/runtimeConfig.native.ts index 2d91706b1deb..994ecea4f3db 100644 --- a/clients/client-snowball/runtimeConfig.native.ts +++ b/clients/client-snowball/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./SnowballClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-snowball/runtimeConfig.shared.ts b/clients/client-snowball/runtimeConfig.shared.ts index ffa780566d37..2b9cc5106185 100644 --- a/clients/client-snowball/runtimeConfig.shared.ts +++ b/clients/client-snowball/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Snowball", + urlParser: parseUrl, }; diff --git a/clients/client-snowball/runtimeConfig.ts b/clients/client-snowball/runtimeConfig.ts index 0f406bd951a7..fc04558bf278 100644 --- a/clients/client-snowball/runtimeConfig.ts +++ b/clients/client-snowball/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-sns/package.json b/clients/client-sns/package.json index 02a7501aa46e..0f5041757688 100644 --- a/clients/client-sns/package.json +++ b/clients/client-sns/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-sns/runtimeConfig.browser.ts b/clients/client-sns/runtimeConfig.browser.ts index 889cf3a3ab22..52e5c5765e9a 100644 --- a/clients/client-sns/runtimeConfig.browser.ts +++ b/clients/client-sns/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-sns/runtimeConfig.native.ts b/clients/client-sns/runtimeConfig.native.ts index d2f5fa43ba09..f8497431f4ae 100644 --- a/clients/client-sns/runtimeConfig.native.ts +++ b/clients/client-sns/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./SNSClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-sns/runtimeConfig.shared.ts b/clients/client-sns/runtimeConfig.shared.ts index f1c9d1505eb1..218eaa024923 100644 --- a/clients/client-sns/runtimeConfig.shared.ts +++ b/clients/client-sns/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "SNS", + urlParser: parseUrl, }; diff --git a/clients/client-sns/runtimeConfig.ts b/clients/client-sns/runtimeConfig.ts index 44bc42336700..68cfd3dc1ffe 100644 --- a/clients/client-sns/runtimeConfig.ts +++ b/clients/client-sns/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-sqs/package.json b/clients/client-sqs/package.json index ec726842f785..966abd28c939 100644 --- a/clients/client-sqs/package.json +++ b/clients/client-sqs/package.json @@ -48,8 +48,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-sqs/runtimeConfig.browser.ts b/clients/client-sqs/runtimeConfig.browser.ts index 6a8cf15353dd..c4e60d8c7eae 100644 --- a/clients/client-sqs/runtimeConfig.browser.ts +++ b/clients/client-sqs/runtimeConfig.browser.ts @@ -5,7 +5,6 @@ import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { Md5 } from "@aws-sdk/md5-js"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-sqs/runtimeConfig.native.ts b/clients/client-sqs/runtimeConfig.native.ts index 747f3fc27b68..38b3a00d6efd 100644 --- a/clients/client-sqs/runtimeConfig.native.ts +++ b/clients/client-sqs/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./SQSClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-sqs/runtimeConfig.shared.ts b/clients/client-sqs/runtimeConfig.shared.ts index fcfe48b3b5a2..6358558e47f3 100644 --- a/clients/client-sqs/runtimeConfig.shared.ts +++ b/clients/client-sqs/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "SQS", + urlParser: parseUrl, }; diff --git a/clients/client-sqs/runtimeConfig.ts b/clients/client-sqs/runtimeConfig.ts index 856c80d245c4..7095377ef71e 100644 --- a/clients/client-sqs/runtimeConfig.ts +++ b/clients/client-sqs/runtimeConfig.ts @@ -7,7 +7,6 @@ import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; import { HashConstructor as __HashConstructor } from "@aws-sdk/types"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -35,7 +34,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-ssm/package.json b/clients/client-ssm/package.json index 7065057af11d..09bc73fe8af0 100644 --- a/clients/client-ssm/package.json +++ b/clients/client-ssm/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-ssm/runtimeConfig.browser.ts b/clients/client-ssm/runtimeConfig.browser.ts index 8b386fc9db5e..add23c7c7fbe 100644 --- a/clients/client-ssm/runtimeConfig.browser.ts +++ b/clients/client-ssm/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-ssm/runtimeConfig.native.ts b/clients/client-ssm/runtimeConfig.native.ts index 9152a78f57a4..3708444197ed 100644 --- a/clients/client-ssm/runtimeConfig.native.ts +++ b/clients/client-ssm/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./SSMClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-ssm/runtimeConfig.shared.ts b/clients/client-ssm/runtimeConfig.shared.ts index 0213b7f7cac8..e68ef2d4588d 100644 --- a/clients/client-ssm/runtimeConfig.shared.ts +++ b/clients/client-ssm/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "SSM", + urlParser: parseUrl, }; diff --git a/clients/client-ssm/runtimeConfig.ts b/clients/client-ssm/runtimeConfig.ts index c35b49f5dcb3..5d3b4e7dea0d 100644 --- a/clients/client-ssm/runtimeConfig.ts +++ b/clients/client-ssm/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-sso-admin/package.json b/clients/client-sso-admin/package.json index f30a76af9216..ea883ab26975 100644 --- a/clients/client-sso-admin/package.json +++ b/clients/client-sso-admin/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-sso-admin/runtimeConfig.browser.ts b/clients/client-sso-admin/runtimeConfig.browser.ts index 84092553b86a..ea45ee4ff7ca 100644 --- a/clients/client-sso-admin/runtimeConfig.browser.ts +++ b/clients/client-sso-admin/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-sso-admin/runtimeConfig.native.ts b/clients/client-sso-admin/runtimeConfig.native.ts index 7f6c1a49eb89..79c4ab49be3e 100644 --- a/clients/client-sso-admin/runtimeConfig.native.ts +++ b/clients/client-sso-admin/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./SSOAdminClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-sso-admin/runtimeConfig.shared.ts b/clients/client-sso-admin/runtimeConfig.shared.ts index 7ab21e24018f..d98ef24df79a 100644 --- a/clients/client-sso-admin/runtimeConfig.shared.ts +++ b/clients/client-sso-admin/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "SSO Admin", + urlParser: parseUrl, }; diff --git a/clients/client-sso-admin/runtimeConfig.ts b/clients/client-sso-admin/runtimeConfig.ts index 69f0205fd625..ffbb67d81cf8 100644 --- a/clients/client-sso-admin/runtimeConfig.ts +++ b/clients/client-sso-admin/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-sso-oidc/package.json b/clients/client-sso-oidc/package.json index 061d113858d0..23700810134b 100644 --- a/clients/client-sso-oidc/package.json +++ b/clients/client-sso-oidc/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-sso-oidc/runtimeConfig.browser.ts b/clients/client-sso-oidc/runtimeConfig.browser.ts index f0465cfbe5be..4961199994ae 100644 --- a/clients/client-sso-oidc/runtimeConfig.browser.ts +++ b/clients/client-sso-oidc/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-sso-oidc/runtimeConfig.native.ts b/clients/client-sso-oidc/runtimeConfig.native.ts index ca0e0299d2f0..e25c1a943b87 100644 --- a/clients/client-sso-oidc/runtimeConfig.native.ts +++ b/clients/client-sso-oidc/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./SSOOIDCClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-sso-oidc/runtimeConfig.shared.ts b/clients/client-sso-oidc/runtimeConfig.shared.ts index f43a075b48a3..53c7e6d9ec44 100644 --- a/clients/client-sso-oidc/runtimeConfig.shared.ts +++ b/clients/client-sso-oidc/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "SSO OIDC", + urlParser: parseUrl, }; diff --git a/clients/client-sso-oidc/runtimeConfig.ts b/clients/client-sso-oidc/runtimeConfig.ts index 2007407b2752..1d788cf22abc 100644 --- a/clients/client-sso-oidc/runtimeConfig.ts +++ b/clients/client-sso-oidc/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-sso/package.json b/clients/client-sso/package.json index b8f029cf9465..1545ff7e47ac 100644 --- a/clients/client-sso/package.json +++ b/clients/client-sso/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-sso/runtimeConfig.browser.ts b/clients/client-sso/runtimeConfig.browser.ts index f33ccd8984bb..7b50171171d7 100644 --- a/clients/client-sso/runtimeConfig.browser.ts +++ b/clients/client-sso/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-sso/runtimeConfig.native.ts b/clients/client-sso/runtimeConfig.native.ts index 3ad0db426b84..5c35a9f8aeb5 100644 --- a/clients/client-sso/runtimeConfig.native.ts +++ b/clients/client-sso/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./SSOClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-sso/runtimeConfig.shared.ts b/clients/client-sso/runtimeConfig.shared.ts index a679770b681c..c24c6080fa13 100644 --- a/clients/client-sso/runtimeConfig.shared.ts +++ b/clients/client-sso/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "SSO", + urlParser: parseUrl, }; diff --git a/clients/client-sso/runtimeConfig.ts b/clients/client-sso/runtimeConfig.ts index 3d0de7113633..88fc6adf0320 100644 --- a/clients/client-sso/runtimeConfig.ts +++ b/clients/client-sso/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-storage-gateway/package.json b/clients/client-storage-gateway/package.json index 87f8004c487c..a3798582fc14 100644 --- a/clients/client-storage-gateway/package.json +++ b/clients/client-storage-gateway/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-storage-gateway/runtimeConfig.browser.ts b/clients/client-storage-gateway/runtimeConfig.browser.ts index df32c43b2b1e..dcd633099c84 100644 --- a/clients/client-storage-gateway/runtimeConfig.browser.ts +++ b/clients/client-storage-gateway/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-storage-gateway/runtimeConfig.native.ts b/clients/client-storage-gateway/runtimeConfig.native.ts index ce154893764f..a4524cbcb324 100644 --- a/clients/client-storage-gateway/runtimeConfig.native.ts +++ b/clients/client-storage-gateway/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./StorageGatewayClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-storage-gateway/runtimeConfig.shared.ts b/clients/client-storage-gateway/runtimeConfig.shared.ts index 3deb4d1924c8..f4ff10870399 100644 --- a/clients/client-storage-gateway/runtimeConfig.shared.ts +++ b/clients/client-storage-gateway/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Storage Gateway", + urlParser: parseUrl, }; diff --git a/clients/client-storage-gateway/runtimeConfig.ts b/clients/client-storage-gateway/runtimeConfig.ts index 05ca1184f758..c280028cd2e6 100644 --- a/clients/client-storage-gateway/runtimeConfig.ts +++ b/clients/client-storage-gateway/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-sts/package.json b/clients/client-sts/package.json index 1f95955e033c..482e76da705d 100644 --- a/clients/client-sts/package.json +++ b/clients/client-sts/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-sts/runtimeConfig.browser.ts b/clients/client-sts/runtimeConfig.browser.ts index 1671f641cacc..e86658c74cb1 100644 --- a/clients/client-sts/runtimeConfig.browser.ts +++ b/clients/client-sts/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-sts/runtimeConfig.native.ts b/clients/client-sts/runtimeConfig.native.ts index 18c5e144a2e0..6ea3c92b6aa8 100644 --- a/clients/client-sts/runtimeConfig.native.ts +++ b/clients/client-sts/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./STSClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-sts/runtimeConfig.shared.ts b/clients/client-sts/runtimeConfig.shared.ts index 1192ee39a833..cb7e89e11f3e 100644 --- a/clients/client-sts/runtimeConfig.shared.ts +++ b/clients/client-sts/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "STS", + urlParser: parseUrl, }; diff --git a/clients/client-sts/runtimeConfig.ts b/clients/client-sts/runtimeConfig.ts index 742e5a0e0532..29204604ee44 100644 --- a/clients/client-sts/runtimeConfig.ts +++ b/clients/client-sts/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-support/package.json b/clients/client-support/package.json index 8da4656de2af..7f6092665f1b 100644 --- a/clients/client-support/package.json +++ b/clients/client-support/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-support/runtimeConfig.browser.ts b/clients/client-support/runtimeConfig.browser.ts index 068c11953e42..e7c7f9d36876 100644 --- a/clients/client-support/runtimeConfig.browser.ts +++ b/clients/client-support/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-support/runtimeConfig.native.ts b/clients/client-support/runtimeConfig.native.ts index dc58990668d1..f75917dab4a3 100644 --- a/clients/client-support/runtimeConfig.native.ts +++ b/clients/client-support/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./SupportClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-support/runtimeConfig.shared.ts b/clients/client-support/runtimeConfig.shared.ts index 5e07e9dfd9af..2a7996708ec7 100644 --- a/clients/client-support/runtimeConfig.shared.ts +++ b/clients/client-support/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Support", + urlParser: parseUrl, }; diff --git a/clients/client-support/runtimeConfig.ts b/clients/client-support/runtimeConfig.ts index 5ba10887af15..6bc6d6126d13 100644 --- a/clients/client-support/runtimeConfig.ts +++ b/clients/client-support/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-swf/package.json b/clients/client-swf/package.json index 5600dbb14f15..d54229c7561d 100644 --- a/clients/client-swf/package.json +++ b/clients/client-swf/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-swf/runtimeConfig.browser.ts b/clients/client-swf/runtimeConfig.browser.ts index d5c46041b0bc..6f2ab4681383 100644 --- a/clients/client-swf/runtimeConfig.browser.ts +++ b/clients/client-swf/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-swf/runtimeConfig.native.ts b/clients/client-swf/runtimeConfig.native.ts index 2049ed2381d6..a951889a01db 100644 --- a/clients/client-swf/runtimeConfig.native.ts +++ b/clients/client-swf/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./SWFClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-swf/runtimeConfig.shared.ts b/clients/client-swf/runtimeConfig.shared.ts index 998ba0a1d038..5c4ec0776c76 100644 --- a/clients/client-swf/runtimeConfig.shared.ts +++ b/clients/client-swf/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "SWF", + urlParser: parseUrl, }; diff --git a/clients/client-swf/runtimeConfig.ts b/clients/client-swf/runtimeConfig.ts index 957d607a73b2..75c56b530e33 100644 --- a/clients/client-swf/runtimeConfig.ts +++ b/clients/client-swf/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-synthetics/package.json b/clients/client-synthetics/package.json index f5011efd6761..767c9cf76754 100644 --- a/clients/client-synthetics/package.json +++ b/clients/client-synthetics/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-synthetics/runtimeConfig.browser.ts b/clients/client-synthetics/runtimeConfig.browser.ts index fde554ed3db2..4753b637e075 100644 --- a/clients/client-synthetics/runtimeConfig.browser.ts +++ b/clients/client-synthetics/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-synthetics/runtimeConfig.native.ts b/clients/client-synthetics/runtimeConfig.native.ts index 4710dc382000..3ab674f21aa7 100644 --- a/clients/client-synthetics/runtimeConfig.native.ts +++ b/clients/client-synthetics/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./SyntheticsClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-synthetics/runtimeConfig.shared.ts b/clients/client-synthetics/runtimeConfig.shared.ts index 085d38b14dcf..487e1b5b2c31 100644 --- a/clients/client-synthetics/runtimeConfig.shared.ts +++ b/clients/client-synthetics/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "synthetics", + urlParser: parseUrl, }; diff --git a/clients/client-synthetics/runtimeConfig.ts b/clients/client-synthetics/runtimeConfig.ts index 8fb6861a42c2..172246403f79 100644 --- a/clients/client-synthetics/runtimeConfig.ts +++ b/clients/client-synthetics/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-textract/package.json b/clients/client-textract/package.json index 6f0431560d3b..8ef92330e922 100644 --- a/clients/client-textract/package.json +++ b/clients/client-textract/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-textract/runtimeConfig.browser.ts b/clients/client-textract/runtimeConfig.browser.ts index ca69670db9aa..202fb533921d 100644 --- a/clients/client-textract/runtimeConfig.browser.ts +++ b/clients/client-textract/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-textract/runtimeConfig.native.ts b/clients/client-textract/runtimeConfig.native.ts index fed2a54e79dc..d6c5d5685d4e 100644 --- a/clients/client-textract/runtimeConfig.native.ts +++ b/clients/client-textract/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./TextractClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-textract/runtimeConfig.shared.ts b/clients/client-textract/runtimeConfig.shared.ts index f6790dd0d958..f49487ba7baf 100644 --- a/clients/client-textract/runtimeConfig.shared.ts +++ b/clients/client-textract/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Textract", + urlParser: parseUrl, }; diff --git a/clients/client-textract/runtimeConfig.ts b/clients/client-textract/runtimeConfig.ts index 954379f3b33d..49dd6a8d236e 100644 --- a/clients/client-textract/runtimeConfig.ts +++ b/clients/client-textract/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-timestream-query/package.json b/clients/client-timestream-query/package.json index 8a231324cf4b..3390b855e4c3 100644 --- a/clients/client-timestream-query/package.json +++ b/clients/client-timestream-query/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-timestream-query/runtimeConfig.browser.ts b/clients/client-timestream-query/runtimeConfig.browser.ts index f25b557f88a3..3fe09aa715c6 100644 --- a/clients/client-timestream-query/runtimeConfig.browser.ts +++ b/clients/client-timestream-query/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-timestream-query/runtimeConfig.native.ts b/clients/client-timestream-query/runtimeConfig.native.ts index f1dc5f589115..ee741a41130f 100644 --- a/clients/client-timestream-query/runtimeConfig.native.ts +++ b/clients/client-timestream-query/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./TimestreamQueryClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-timestream-query/runtimeConfig.shared.ts b/clients/client-timestream-query/runtimeConfig.shared.ts index 5cd26714146f..60b5c56ddff7 100644 --- a/clients/client-timestream-query/runtimeConfig.shared.ts +++ b/clients/client-timestream-query/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Timestream Query", + urlParser: parseUrl, }; diff --git a/clients/client-timestream-query/runtimeConfig.ts b/clients/client-timestream-query/runtimeConfig.ts index f3122f7b721d..134c01c20ec6 100644 --- a/clients/client-timestream-query/runtimeConfig.ts +++ b/clients/client-timestream-query/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-timestream-write/package.json b/clients/client-timestream-write/package.json index f0bf50a8864c..c62f94d8d60b 100644 --- a/clients/client-timestream-write/package.json +++ b/clients/client-timestream-write/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-timestream-write/runtimeConfig.browser.ts b/clients/client-timestream-write/runtimeConfig.browser.ts index 35589f940b83..c890b6da7a2c 100644 --- a/clients/client-timestream-write/runtimeConfig.browser.ts +++ b/clients/client-timestream-write/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-timestream-write/runtimeConfig.native.ts b/clients/client-timestream-write/runtimeConfig.native.ts index 764bd1a27223..853537800042 100644 --- a/clients/client-timestream-write/runtimeConfig.native.ts +++ b/clients/client-timestream-write/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./TimestreamWriteClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-timestream-write/runtimeConfig.shared.ts b/clients/client-timestream-write/runtimeConfig.shared.ts index ebd37a060f9b..b6246f8087fc 100644 --- a/clients/client-timestream-write/runtimeConfig.shared.ts +++ b/clients/client-timestream-write/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Timestream Write", + urlParser: parseUrl, }; diff --git a/clients/client-timestream-write/runtimeConfig.ts b/clients/client-timestream-write/runtimeConfig.ts index da2ac11edbf3..6b71900f463a 100644 --- a/clients/client-timestream-write/runtimeConfig.ts +++ b/clients/client-timestream-write/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-transcribe-streaming/package.json b/clients/client-transcribe-streaming/package.json index 5eb4723df4df..11a524e4fd37 100644 --- a/clients/client-transcribe-streaming/package.json +++ b/clients/client-transcribe-streaming/package.json @@ -54,8 +54,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-transcribe-streaming/runtimeConfig.browser.ts b/clients/client-transcribe-streaming/runtimeConfig.browser.ts index 49a30816b923..2c0794060072 100644 --- a/clients/client-transcribe-streaming/runtimeConfig.browser.ts +++ b/clients/client-transcribe-streaming/runtimeConfig.browser.ts @@ -6,7 +6,6 @@ import { streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; import { WebSocketHandler, eventStreamPayloadHandler } from "@aws-sdk/middleware-sdk-transcribe-streaming"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -35,7 +34,6 @@ export const ClientDefaultValues: Required = { requestHandler: new WebSocketHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-transcribe-streaming/runtimeConfig.native.ts b/clients/client-transcribe-streaming/runtimeConfig.native.ts index c5de4261d573..0ed13a1e215a 100644 --- a/clients/client-transcribe-streaming/runtimeConfig.native.ts +++ b/clients/client-transcribe-streaming/runtimeConfig.native.ts @@ -1,6 +1,6 @@ import { Sha256 } from "@aws-crypto/sha256-js"; import { WebSocketHandler, eventStreamPayloadHandler } from "@aws-sdk/middleware-sdk-transcribe-streaming"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./TranscribeStreamingClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-transcribe-streaming/runtimeConfig.shared.ts b/clients/client-transcribe-streaming/runtimeConfig.shared.ts index 58baaf4d6c6a..cbbfedfca61b 100644 --- a/clients/client-transcribe-streaming/runtimeConfig.shared.ts +++ b/clients/client-transcribe-streaming/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Transcribe Streaming", + urlParser: parseUrl, }; diff --git a/clients/client-transcribe-streaming/runtimeConfig.ts b/clients/client-transcribe-streaming/runtimeConfig.ts index 26e5f5bec386..6126b1fe28ec 100644 --- a/clients/client-transcribe-streaming/runtimeConfig.ts +++ b/clients/client-transcribe-streaming/runtimeConfig.ts @@ -8,7 +8,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttp2Handler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -37,7 +36,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttp2Handler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-transcribe/package.json b/clients/client-transcribe/package.json index 16d1cd79872e..8fa9cb863223 100644 --- a/clients/client-transcribe/package.json +++ b/clients/client-transcribe/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-transcribe/runtimeConfig.browser.ts b/clients/client-transcribe/runtimeConfig.browser.ts index 126301c9d2f2..479ac5b1f96c 100644 --- a/clients/client-transcribe/runtimeConfig.browser.ts +++ b/clients/client-transcribe/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-transcribe/runtimeConfig.native.ts b/clients/client-transcribe/runtimeConfig.native.ts index 2e3c754e7de3..b6ebd48cdbd6 100644 --- a/clients/client-transcribe/runtimeConfig.native.ts +++ b/clients/client-transcribe/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./TranscribeClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-transcribe/runtimeConfig.shared.ts b/clients/client-transcribe/runtimeConfig.shared.ts index 980b46575ce5..1b6d28ac0752 100644 --- a/clients/client-transcribe/runtimeConfig.shared.ts +++ b/clients/client-transcribe/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Transcribe", + urlParser: parseUrl, }; diff --git a/clients/client-transcribe/runtimeConfig.ts b/clients/client-transcribe/runtimeConfig.ts index 8a6f385abcb0..2e19875a2e12 100644 --- a/clients/client-transcribe/runtimeConfig.ts +++ b/clients/client-transcribe/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-transfer/package.json b/clients/client-transfer/package.json index 601ebf1cbf52..dd35cc0b9f83 100644 --- a/clients/client-transfer/package.json +++ b/clients/client-transfer/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-transfer/runtimeConfig.browser.ts b/clients/client-transfer/runtimeConfig.browser.ts index 595e62e64b1f..6dd1df07ff6e 100644 --- a/clients/client-transfer/runtimeConfig.browser.ts +++ b/clients/client-transfer/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-transfer/runtimeConfig.native.ts b/clients/client-transfer/runtimeConfig.native.ts index b92ae70576e4..17305bd723af 100644 --- a/clients/client-transfer/runtimeConfig.native.ts +++ b/clients/client-transfer/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./TransferClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-transfer/runtimeConfig.shared.ts b/clients/client-transfer/runtimeConfig.shared.ts index 53698e1db9a9..aed65606afba 100644 --- a/clients/client-transfer/runtimeConfig.shared.ts +++ b/clients/client-transfer/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Transfer", + urlParser: parseUrl, }; diff --git a/clients/client-transfer/runtimeConfig.ts b/clients/client-transfer/runtimeConfig.ts index a7f7a04ff9f7..fef7a3aa4038 100644 --- a/clients/client-transfer/runtimeConfig.ts +++ b/clients/client-transfer/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-translate/package.json b/clients/client-translate/package.json index 8c18a55977b4..be2e42d091bb 100644 --- a/clients/client-translate/package.json +++ b/clients/client-translate/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-translate/runtimeConfig.browser.ts b/clients/client-translate/runtimeConfig.browser.ts index d95fec94cd4d..365ad5b5ce89 100644 --- a/clients/client-translate/runtimeConfig.browser.ts +++ b/clients/client-translate/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-translate/runtimeConfig.native.ts b/clients/client-translate/runtimeConfig.native.ts index 6fdd202c6526..cd0301ec7368 100644 --- a/clients/client-translate/runtimeConfig.native.ts +++ b/clients/client-translate/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./TranslateClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-translate/runtimeConfig.shared.ts b/clients/client-translate/runtimeConfig.shared.ts index 34c58a0451f8..f0456b167716 100644 --- a/clients/client-translate/runtimeConfig.shared.ts +++ b/clients/client-translate/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Translate", + urlParser: parseUrl, }; diff --git a/clients/client-translate/runtimeConfig.ts b/clients/client-translate/runtimeConfig.ts index abc996f0c3ad..efb14576bbab 100644 --- a/clients/client-translate/runtimeConfig.ts +++ b/clients/client-translate/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-waf-regional/package.json b/clients/client-waf-regional/package.json index 989a5a9b9964..0fb16f771393 100644 --- a/clients/client-waf-regional/package.json +++ b/clients/client-waf-regional/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-waf-regional/runtimeConfig.browser.ts b/clients/client-waf-regional/runtimeConfig.browser.ts index 7b6d221840f0..f5b7b2a31510 100644 --- a/clients/client-waf-regional/runtimeConfig.browser.ts +++ b/clients/client-waf-regional/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-waf-regional/runtimeConfig.native.ts b/clients/client-waf-regional/runtimeConfig.native.ts index bc6f447ea9be..a428b204f626 100644 --- a/clients/client-waf-regional/runtimeConfig.native.ts +++ b/clients/client-waf-regional/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./WAFRegionalClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-waf-regional/runtimeConfig.shared.ts b/clients/client-waf-regional/runtimeConfig.shared.ts index c1197bf85dd5..ff1647e0167c 100644 --- a/clients/client-waf-regional/runtimeConfig.shared.ts +++ b/clients/client-waf-regional/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "WAF Regional", + urlParser: parseUrl, }; diff --git a/clients/client-waf-regional/runtimeConfig.ts b/clients/client-waf-regional/runtimeConfig.ts index b4aae97be0bc..aaf9061c1e92 100644 --- a/clients/client-waf-regional/runtimeConfig.ts +++ b/clients/client-waf-regional/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-waf/package.json b/clients/client-waf/package.json index f7a85079b303..63774a368614 100644 --- a/clients/client-waf/package.json +++ b/clients/client-waf/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-waf/runtimeConfig.browser.ts b/clients/client-waf/runtimeConfig.browser.ts index 96a7b91e5dcb..ef5d9250163b 100644 --- a/clients/client-waf/runtimeConfig.browser.ts +++ b/clients/client-waf/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-waf/runtimeConfig.native.ts b/clients/client-waf/runtimeConfig.native.ts index c1e3c02236bb..e3dee92eab6a 100644 --- a/clients/client-waf/runtimeConfig.native.ts +++ b/clients/client-waf/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./WAFClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-waf/runtimeConfig.shared.ts b/clients/client-waf/runtimeConfig.shared.ts index dd87a79e5657..1e4920f7b72c 100644 --- a/clients/client-waf/runtimeConfig.shared.ts +++ b/clients/client-waf/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "WAF", + urlParser: parseUrl, }; diff --git a/clients/client-waf/runtimeConfig.ts b/clients/client-waf/runtimeConfig.ts index 685211865b97..773f8d6dc161 100644 --- a/clients/client-waf/runtimeConfig.ts +++ b/clients/client-waf/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-wafv2/package.json b/clients/client-wafv2/package.json index 07cd2129ac53..4f972e35ada6 100644 --- a/clients/client-wafv2/package.json +++ b/clients/client-wafv2/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-wafv2/runtimeConfig.browser.ts b/clients/client-wafv2/runtimeConfig.browser.ts index ca5fc4956637..f59964b6f20f 100644 --- a/clients/client-wafv2/runtimeConfig.browser.ts +++ b/clients/client-wafv2/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-wafv2/runtimeConfig.native.ts b/clients/client-wafv2/runtimeConfig.native.ts index e8f9e21c4f94..6006b4896d96 100644 --- a/clients/client-wafv2/runtimeConfig.native.ts +++ b/clients/client-wafv2/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./WAFV2Client"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-wafv2/runtimeConfig.shared.ts b/clients/client-wafv2/runtimeConfig.shared.ts index 91db81609025..f96f861d5c3e 100644 --- a/clients/client-wafv2/runtimeConfig.shared.ts +++ b/clients/client-wafv2/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "WAFV2", + urlParser: parseUrl, }; diff --git a/clients/client-wafv2/runtimeConfig.ts b/clients/client-wafv2/runtimeConfig.ts index 89a685ab2985..fccc049628be 100644 --- a/clients/client-wafv2/runtimeConfig.ts +++ b/clients/client-wafv2/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-workdocs/package.json b/clients/client-workdocs/package.json index 5727b611c085..96c8a3fecc44 100644 --- a/clients/client-workdocs/package.json +++ b/clients/client-workdocs/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-workdocs/runtimeConfig.browser.ts b/clients/client-workdocs/runtimeConfig.browser.ts index f90f3a53e420..aa3e7d2c9fee 100644 --- a/clients/client-workdocs/runtimeConfig.browser.ts +++ b/clients/client-workdocs/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-workdocs/runtimeConfig.native.ts b/clients/client-workdocs/runtimeConfig.native.ts index 5c9b238d1b67..36c24d451508 100644 --- a/clients/client-workdocs/runtimeConfig.native.ts +++ b/clients/client-workdocs/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./WorkDocsClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-workdocs/runtimeConfig.shared.ts b/clients/client-workdocs/runtimeConfig.shared.ts index ed8b77b21d3d..1c9be0d0d5d2 100644 --- a/clients/client-workdocs/runtimeConfig.shared.ts +++ b/clients/client-workdocs/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "WorkDocs", + urlParser: parseUrl, }; diff --git a/clients/client-workdocs/runtimeConfig.ts b/clients/client-workdocs/runtimeConfig.ts index 48473183c7c2..b25874a7f58d 100644 --- a/clients/client-workdocs/runtimeConfig.ts +++ b/clients/client-workdocs/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-worklink/package.json b/clients/client-worklink/package.json index b1fa7c3e6efd..4e1d241ad507 100644 --- a/clients/client-worklink/package.json +++ b/clients/client-worklink/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-worklink/runtimeConfig.browser.ts b/clients/client-worklink/runtimeConfig.browser.ts index a64c8dfafb0d..d2a12e3a7485 100644 --- a/clients/client-worklink/runtimeConfig.browser.ts +++ b/clients/client-worklink/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-worklink/runtimeConfig.native.ts b/clients/client-worklink/runtimeConfig.native.ts index b34e35b0027f..252064ff7aaf 100644 --- a/clients/client-worklink/runtimeConfig.native.ts +++ b/clients/client-worklink/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./WorkLinkClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-worklink/runtimeConfig.shared.ts b/clients/client-worklink/runtimeConfig.shared.ts index d3594b667fb0..c54853fcbc5e 100644 --- a/clients/client-worklink/runtimeConfig.shared.ts +++ b/clients/client-worklink/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "WorkLink", + urlParser: parseUrl, }; diff --git a/clients/client-worklink/runtimeConfig.ts b/clients/client-worklink/runtimeConfig.ts index 803f7ec2bccf..fc0e83ac3ba6 100644 --- a/clients/client-worklink/runtimeConfig.ts +++ b/clients/client-worklink/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-workmail/package.json b/clients/client-workmail/package.json index 5b7dc9c5efd7..201a5e22f22d 100644 --- a/clients/client-workmail/package.json +++ b/clients/client-workmail/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-workmail/runtimeConfig.browser.ts b/clients/client-workmail/runtimeConfig.browser.ts index 3ba26dc6d692..eaea63cb2577 100644 --- a/clients/client-workmail/runtimeConfig.browser.ts +++ b/clients/client-workmail/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-workmail/runtimeConfig.native.ts b/clients/client-workmail/runtimeConfig.native.ts index c4a1cc49ca21..3c6095d22aaa 100644 --- a/clients/client-workmail/runtimeConfig.native.ts +++ b/clients/client-workmail/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./WorkMailClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-workmail/runtimeConfig.shared.ts b/clients/client-workmail/runtimeConfig.shared.ts index 74a9ed9c2a02..92fae30e87a7 100644 --- a/clients/client-workmail/runtimeConfig.shared.ts +++ b/clients/client-workmail/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "WorkMail", + urlParser: parseUrl, }; diff --git a/clients/client-workmail/runtimeConfig.ts b/clients/client-workmail/runtimeConfig.ts index 730636127777..db3aa5f2b391 100644 --- a/clients/client-workmail/runtimeConfig.ts +++ b/clients/client-workmail/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-workmailmessageflow/package.json b/clients/client-workmailmessageflow/package.json index 658c38b013a1..ab88260706f2 100644 --- a/clients/client-workmailmessageflow/package.json +++ b/clients/client-workmailmessageflow/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-workmailmessageflow/runtimeConfig.browser.ts b/clients/client-workmailmessageflow/runtimeConfig.browser.ts index 5fd7543281d6..90163615f451 100644 --- a/clients/client-workmailmessageflow/runtimeConfig.browser.ts +++ b/clients/client-workmailmessageflow/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-workmailmessageflow/runtimeConfig.native.ts b/clients/client-workmailmessageflow/runtimeConfig.native.ts index a7338b76ceaa..d3d008491e5f 100644 --- a/clients/client-workmailmessageflow/runtimeConfig.native.ts +++ b/clients/client-workmailmessageflow/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./WorkMailMessageFlowClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-workmailmessageflow/runtimeConfig.shared.ts b/clients/client-workmailmessageflow/runtimeConfig.shared.ts index bd55264f80d1..99b9acd30dab 100644 --- a/clients/client-workmailmessageflow/runtimeConfig.shared.ts +++ b/clients/client-workmailmessageflow/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "WorkMailMessageFlow", + urlParser: parseUrl, }; diff --git a/clients/client-workmailmessageflow/runtimeConfig.ts b/clients/client-workmailmessageflow/runtimeConfig.ts index 4e9d7f9e77f4..084644387e33 100644 --- a/clients/client-workmailmessageflow/runtimeConfig.ts +++ b/clients/client-workmailmessageflow/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-workspaces/package.json b/clients/client-workspaces/package.json index 5a3f43c783b9..3b2e3c776c3d 100644 --- a/clients/client-workspaces/package.json +++ b/clients/client-workspaces/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-workspaces/runtimeConfig.browser.ts b/clients/client-workspaces/runtimeConfig.browser.ts index 4bd11708b6bb..dc03eb4766bb 100644 --- a/clients/client-workspaces/runtimeConfig.browser.ts +++ b/clients/client-workspaces/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-workspaces/runtimeConfig.native.ts b/clients/client-workspaces/runtimeConfig.native.ts index cbd244f45cc8..3da8a84ced5d 100644 --- a/clients/client-workspaces/runtimeConfig.native.ts +++ b/clients/client-workspaces/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./WorkSpacesClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-workspaces/runtimeConfig.shared.ts b/clients/client-workspaces/runtimeConfig.shared.ts index e84e3555f65d..f8b5cca5b27e 100644 --- a/clients/client-workspaces/runtimeConfig.shared.ts +++ b/clients/client-workspaces/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "WorkSpaces", + urlParser: parseUrl, }; diff --git a/clients/client-workspaces/runtimeConfig.ts b/clients/client-workspaces/runtimeConfig.ts index 4bf4a2c63574..8c90847d864d 100644 --- a/clients/client-workspaces/runtimeConfig.ts +++ b/clients/client-workspaces/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-xray/package.json b/clients/client-xray/package.json index 0eb5876c5772..3ae144545ae0 100644 --- a/clients/client-xray/package.json +++ b/clients/client-xray/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-xray/runtimeConfig.browser.ts b/clients/client-xray/runtimeConfig.browser.ts index 5e45d4680e5a..aa398b7a804f 100644 --- a/clients/client-xray/runtimeConfig.browser.ts +++ b/clients/client-xray/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-xray/runtimeConfig.native.ts b/clients/client-xray/runtimeConfig.native.ts index 3bae662eef74..46d7d1492841 100644 --- a/clients/client-xray/runtimeConfig.native.ts +++ b/clients/client-xray/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./XRayClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-xray/runtimeConfig.shared.ts b/clients/client-xray/runtimeConfig.shared.ts index aa6e5a17c088..b4652b2f84e4 100644 --- a/clients/client-xray/runtimeConfig.shared.ts +++ b/clients/client-xray/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "XRay", + urlParser: parseUrl, }; diff --git a/clients/client-xray/runtimeConfig.ts b/clients/client-xray/runtimeConfig.ts index eb7fd3d789e4..dfb1f0f65889 100644 --- a/clients/client-xray/runtimeConfig.ts +++ b/clients/client-xray/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/packages/url-parser-browser/CHANGELOG.md b/packages/url-parser-browser/CHANGELOG.md deleted file mode 100644 index aa6f7e903688..000000000000 --- a/packages/url-parser-browser/CHANGELOG.md +++ /dev/null @@ -1,960 +0,0 @@ -# Change Log - -All notable changes to this project will be documented in this file. -See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. - -# [3.1.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.0.0...v3.1.0) (2020-12-23) - -**Note:** Version bump only for package @aws-sdk/url-parser-browser - - - - - -# [3.0.0](https://github.com/aws/aws-sdk-js-v3/compare/v1.0.0-rc.10...v3.0.0) (2020-12-15) - - -### Features - -* bump version to 3.0.0 ([#1793](https://github.com/aws/aws-sdk-js-v3/issues/1793)) ([d8475f8](https://github.com/aws/aws-sdk-js-v3/commit/d8475f8d972d28fbc15cd7e23abfe18f9eab0644)) - - - - - -# [1.0.0-rc.10](https://github.com/aws/aws-sdk-js-v3/compare/v1.0.0-rc.9...v1.0.0-rc.10) (2020-12-15) - -**Note:** Version bump only for package @aws-sdk/url-parser-browser - - - - - -# [1.0.0-rc.8](https://github.com/aws/aws-sdk-js-v3/compare/v1.0.0-rc.7...v1.0.0-rc.8) (2020-12-05) - -**Note:** Version bump only for package @aws-sdk/url-parser-browser - - - - - -# [1.0.0-rc.7](https://github.com/aws/aws-sdk-js-v3/compare/v1.0.0-rc.6...v1.0.0-rc.7) (2020-11-20) - -**Note:** Version bump only for package @aws-sdk/url-parser-browser - - - - - -# [1.0.0-rc.5](https://github.com/aws/aws-sdk-js-v3/compare/v1.0.0-rc.4...v1.0.0-rc.5) (2020-11-09) - - -### Bug Fixes - -* migrate dev types for packages and lib into package.json devDeps ([#1654](https://github.com/aws/aws-sdk-js-v3/issues/1654)) ([16d7030](https://github.com/aws/aws-sdk-js-v3/commit/16d7030a5976d6671c7346c7fb945fefb547ae0d)) - - - - - -# [1.0.0-rc.3](https://github.com/aws/aws-sdk-js-v3/compare/v1.0.0-rc.2...v1.0.0-rc.3) (2020-10-27) - -**Note:** Version bump only for package @aws-sdk/url-parser-browser - - - - - -# [1.0.0-rc.2](https://github.com/aws/aws-sdk-js-v3/compare/v1.0.0-rc.1...v1.0.0-rc.2) (2020-10-22) - -**Note:** Version bump only for package @aws-sdk/url-parser-browser - - - - - -# [1.0.0-rc.1](https://github.com/aws/aws-sdk-js-v3/compare/v1.0.0-gamma.11...v1.0.0-rc.1) (2020-10-19) - - -### Features - -* ready for release candidate ([#1578](https://github.com/aws/aws-sdk-js-v3/issues/1578)) ([519f66c](https://github.com/aws/aws-sdk-js-v3/commit/519f66c6388b91d0bd750a511e6d1af56196835e)) - - - - - -# [1.0.0-gamma.8](https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-browser@1.0.0-gamma.7...@aws-sdk/url-parser-browser@1.0.0-gamma.8) (2020-10-07) - -**Note:** Version bump only for package @aws-sdk/url-parser-browser - - - - - -# [1.0.0-gamma.7](https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-browser@1.0.0-gamma.6...@aws-sdk/url-parser-browser@1.0.0-gamma.7) (2020-09-01) - -**Note:** Version bump only for package @aws-sdk/url-parser-browser - - - - - -# [1.0.0-gamma.6](https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-browser@1.0.0-gamma.5...@aws-sdk/url-parser-browser@1.0.0-gamma.6) (2020-08-25) - -**Note:** Version bump only for package @aws-sdk/url-parser-browser - - - - - -# [1.0.0-gamma.5](https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-browser@1.0.0-gamma.4...@aws-sdk/url-parser-browser@1.0.0-gamma.5) (2020-08-04) - - -### Features - -* build command ([#1407](https://github.com/aws/aws-sdk-js-v3/issues/1407)) ([81b2e87](https://github.com/aws/aws-sdk-js-v3/commit/81b2e87067642a8cea8649cbdb2c342ca9fb6ac6)) - - - - - -# [1.0.0-gamma.4](https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-browser@1.0.0-gamma.3...@aws-sdk/url-parser-browser@1.0.0-gamma.4) (2020-07-21) - -**Note:** Version bump only for package @aws-sdk/url-parser-browser - - - - - -# [1.0.0-gamma.3](https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-browser@1.0.0-gamma.2...@aws-sdk/url-parser-browser@1.0.0-gamma.3) (2020-07-13) - - -### Features - -* add code linting and prettify ([#1350](https://github.com/aws/aws-sdk-js-v3/issues/1350)) ([47770fa](https://github.com/aws/aws-sdk-js-v3/commit/47770fa493c3405f193069cd18319882529ff484)) - - - - - -# [1.0.0-gamma.2](https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-browser@0.1.0-preview.2...@aws-sdk/url-parser-browser@1.0.0-gamma.2) (2020-07-08) - - -### Features - -* use a common tsconfig for the monorepo ([#1297](https://github.com/aws/aws-sdk-js-v3/issues/1297)) ([16aea66](https://github.com/aws/aws-sdk-js-v3/commit/16aea66d1fc5386680d3e6da9b7dcde78e178bd3)) - - - -# 1.0.0-gamma.1 (2020-05-21) - - -### Features - -* bump up to gamma version ([#1192](https://github.com/aws/aws-sdk-js-v3/issues/1192)) ([a609075](https://github.com/aws/aws-sdk-js-v3/commit/a6090754f2a6c21e5b70bf0c8782cc0fbe59ee12)) - - - -# 1.0.0-beta.4 (2020-04-25) - - - -# 1.0.0-beta.2 (2020-03-28) - - - -# 1.0.0-beta.1 (2020-03-25) - - -### Features - -* bump packages to beta ([#1050](https://github.com/aws/aws-sdk-js-v3/issues/1050)) ([40501d4](https://github.com/aws/aws-sdk-js-v3/commit/40501d4394d04bc1bc91c10136fa48b1d3a67d8f)) - - - -# 1.0.0-alpha.28 (2020-03-20) - - - -# 1.0.0-alpha.24 (2020-02-19) - - - -# 1.0.0-alpha.13 (2020-01-24) - - - -# 1.0.0-alpha.12 (2020-01-22) - - - -# 0.9.0 (2020-01-09) - - -### Features - -* add pluggable runtime specific config ([#404](https://github.com/aws/aws-sdk-js-v3/issues/404)) ([8be08fc](https://github.com/aws/aws-sdk-js-v3/commit/8be08fcc49251dc03c5d79a70eed0aefe2786731)) - - - -# 0.6.0 (2019-10-30) - - - -# 0.3.0 (2019-09-09) - - -### Features - -* commit all clients ([#324](https://github.com/aws/aws-sdk-js-v3/issues/324)) ([cb268ed](https://github.com/aws/aws-sdk-js-v3/commit/cb268ed45fd5580ef9633da78f13aaa6aa472805)) - - - -# 0.2.0 (2019-07-12) - - -### Features - -* add npm badges for individual packages ([#251](https://github.com/aws/aws-sdk-js-v3/issues/251)) ([8adc10c](https://github.com/aws/aws-sdk-js-v3/commit/8adc10cb6b0ebc32004b797556bfc171c96bbf16)) -* update jest v20 to v24 ([#243](https://github.com/aws/aws-sdk-js-v3/issues/243)) ([1e156ab](https://github.com/aws/aws-sdk-js-v3/commit/1e156ab4ac5343058eaf7d448a428d8c4b72c844)) - - - -# 0.1.0 (2019-04-19) - - - - - -# [1.0.0-gamma.1](https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-browser@0.1.0-preview.2...@aws-sdk/url-parser-browser@1.0.0-gamma.1) (2020-05-21) - - -### Features - -* bump up to gamma version ([#1192](https://github.com/aws/aws-sdk-js-v3/issues/1192)) ([a609075](https://github.com/aws/aws-sdk-js-v3/commit/a6090754f2a6c21e5b70bf0c8782cc0fbe59ee12)) - - - -# 1.0.0-beta.4 (2020-04-25) - - - -# 1.0.0-beta.2 (2020-03-28) - - - -# 1.0.0-beta.1 (2020-03-25) - - -### Features - -* bump packages to beta ([#1050](https://github.com/aws/aws-sdk-js-v3/issues/1050)) ([40501d4](https://github.com/aws/aws-sdk-js-v3/commit/40501d4394d04bc1bc91c10136fa48b1d3a67d8f)) - - - -# 1.0.0-alpha.28 (2020-03-20) - - - -# 1.0.0-alpha.24 (2020-02-19) - - - -# 1.0.0-alpha.13 (2020-01-24) - - - -# 1.0.0-alpha.12 (2020-01-22) - - - -# 0.9.0 (2020-01-09) - - -### Features - -* add pluggable runtime specific config ([#404](https://github.com/aws/aws-sdk-js-v3/issues/404)) ([8be08fc](https://github.com/aws/aws-sdk-js-v3/commit/8be08fcc49251dc03c5d79a70eed0aefe2786731)) - - - -# 0.6.0 (2019-10-30) - - - -# 0.3.0 (2019-09-09) - - -### Features - -* commit all clients ([#324](https://github.com/aws/aws-sdk-js-v3/issues/324)) ([cb268ed](https://github.com/aws/aws-sdk-js-v3/commit/cb268ed45fd5580ef9633da78f13aaa6aa472805)) - - - -# 0.2.0 (2019-07-12) - - -### Features - -* add npm badges for individual packages ([#251](https://github.com/aws/aws-sdk-js-v3/issues/251)) ([8adc10c](https://github.com/aws/aws-sdk-js-v3/commit/8adc10cb6b0ebc32004b797556bfc171c96bbf16)) -* update jest v20 to v24 ([#243](https://github.com/aws/aws-sdk-js-v3/issues/243)) ([1e156ab](https://github.com/aws/aws-sdk-js-v3/commit/1e156ab4ac5343058eaf7d448a428d8c4b72c844)) - - - -# 0.1.0 (2019-04-19) - - - - - -# [1.0.0-beta.4](https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-browser@0.1.0-preview.2...@aws-sdk/url-parser-browser@1.0.0-beta.4) (2020-04-27) - - -### Features - -* use exact @aws-sdk/* dependencies ([#1110](https://github.com/aws/aws-sdk-js-v3/issues/1110)) ([bcfd7a2](https://github.com/aws/aws-sdk-js-v3/commit/bcfd7a2faeca3a2605057fd4736d710aa4902b62)) - - - -# 1.0.0-beta.2 (2020-03-28) - - - -# 1.0.0-beta.1 (2020-03-25) - - -### Features - -* bump packages to beta ([#1050](https://github.com/aws/aws-sdk-js-v3/issues/1050)) ([40501d4](https://github.com/aws/aws-sdk-js-v3/commit/40501d4394d04bc1bc91c10136fa48b1d3a67d8f)) - - - -# 1.0.0-alpha.28 (2020-03-20) - - - -# 1.0.0-alpha.24 (2020-02-19) - - - -# 1.0.0-alpha.13 (2020-01-24) - - - -# 1.0.0-alpha.12 (2020-01-22) - - - -# 0.9.0 (2020-01-09) - - -### Features - -* add pluggable runtime specific config ([#404](https://github.com/aws/aws-sdk-js-v3/issues/404)) ([8be08fc](https://github.com/aws/aws-sdk-js-v3/commit/8be08fcc49251dc03c5d79a70eed0aefe2786731)) - - - -# 0.6.0 (2019-10-30) - - - -# 0.3.0 (2019-09-09) - - -### Features - -* commit all clients ([#324](https://github.com/aws/aws-sdk-js-v3/issues/324)) ([cb268ed](https://github.com/aws/aws-sdk-js-v3/commit/cb268ed45fd5580ef9633da78f13aaa6aa472805)) - - - -# 0.2.0 (2019-07-12) - - -### Features - -* add npm badges for individual packages ([#251](https://github.com/aws/aws-sdk-js-v3/issues/251)) ([8adc10c](https://github.com/aws/aws-sdk-js-v3/commit/8adc10cb6b0ebc32004b797556bfc171c96bbf16)) -* update jest v20 to v24 ([#243](https://github.com/aws/aws-sdk-js-v3/issues/243)) ([1e156ab](https://github.com/aws/aws-sdk-js-v3/commit/1e156ab4ac5343058eaf7d448a428d8c4b72c844)) - - - -# 0.1.0 (2019-04-19) - - - - - -# [1.0.0-beta.3](https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-browser@0.1.0-preview.2...@aws-sdk/url-parser-browser@1.0.0-beta.3) (2020-04-25) - - - -# 1.0.0-beta.2 (2020-03-28) - - - -# 1.0.0-beta.1 (2020-03-25) - - -### Features - -* bump packages to beta ([#1050](https://github.com/aws/aws-sdk-js-v3/issues/1050)) ([40501d4](https://github.com/aws/aws-sdk-js-v3/commit/40501d4394d04bc1bc91c10136fa48b1d3a67d8f)) - - - -# 1.0.0-alpha.28 (2020-03-20) - - - -# 1.0.0-alpha.24 (2020-02-19) - - - -# 1.0.0-alpha.13 (2020-01-24) - - - -# 1.0.0-alpha.12 (2020-01-22) - - - -# 0.9.0 (2020-01-09) - - -### Features - -* add pluggable runtime specific config ([#404](https://github.com/aws/aws-sdk-js-v3/issues/404)) ([8be08fc](https://github.com/aws/aws-sdk-js-v3/commit/8be08fcc49251dc03c5d79a70eed0aefe2786731)) - - - -# 0.6.0 (2019-10-30) - - - -# 0.3.0 (2019-09-09) - - -### Features - -* commit all clients ([#324](https://github.com/aws/aws-sdk-js-v3/issues/324)) ([cb268ed](https://github.com/aws/aws-sdk-js-v3/commit/cb268ed45fd5580ef9633da78f13aaa6aa472805)) - - - -# 0.2.0 (2019-07-12) - - -### Features - -* add npm badges for individual packages ([#251](https://github.com/aws/aws-sdk-js-v3/issues/251)) ([8adc10c](https://github.com/aws/aws-sdk-js-v3/commit/8adc10cb6b0ebc32004b797556bfc171c96bbf16)) -* update jest v20 to v24 ([#243](https://github.com/aws/aws-sdk-js-v3/issues/243)) ([1e156ab](https://github.com/aws/aws-sdk-js-v3/commit/1e156ab4ac5343058eaf7d448a428d8c4b72c844)) - - - -# 0.1.0 (2019-04-19) - - - - - -# [1.0.0-beta.2](https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-browser@0.1.0-preview.2...@aws-sdk/url-parser-browser@1.0.0-beta.2) (2020-03-28) - - - -# 1.0.0-beta.1 (2020-03-25) - - -### Features - -* bump packages to beta ([#1050](https://github.com/aws/aws-sdk-js-v3/issues/1050)) ([40501d4](https://github.com/aws/aws-sdk-js-v3/commit/40501d4394d04bc1bc91c10136fa48b1d3a67d8f)) - - - -# 1.0.0-alpha.28 (2020-03-20) - - - -# 1.0.0-alpha.24 (2020-02-19) - - - -# 1.0.0-alpha.13 (2020-01-24) - - - -# 1.0.0-alpha.12 (2020-01-22) - - - -# 0.9.0 (2020-01-09) - - -### Features - -* add pluggable runtime specific config ([#404](https://github.com/aws/aws-sdk-js-v3/issues/404)) ([8be08fc](https://github.com/aws/aws-sdk-js-v3/commit/8be08fcc49251dc03c5d79a70eed0aefe2786731)) - - - -# 0.6.0 (2019-10-30) - - - -# 0.3.0 (2019-09-09) - - -### Features - -* commit all clients ([#324](https://github.com/aws/aws-sdk-js-v3/issues/324)) ([cb268ed](https://github.com/aws/aws-sdk-js-v3/commit/cb268ed45fd5580ef9633da78f13aaa6aa472805)) - - - -# 0.2.0 (2019-07-12) - - -### Features - -* add npm badges for individual packages ([#251](https://github.com/aws/aws-sdk-js-v3/issues/251)) ([8adc10c](https://github.com/aws/aws-sdk-js-v3/commit/8adc10cb6b0ebc32004b797556bfc171c96bbf16)) -* update jest v20 to v24 ([#243](https://github.com/aws/aws-sdk-js-v3/issues/243)) ([1e156ab](https://github.com/aws/aws-sdk-js-v3/commit/1e156ab4ac5343058eaf7d448a428d8c4b72c844)) - - - -# 0.1.0 (2019-04-19) - - - - - -# [1.0.0-beta.1](https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-browser@0.1.0-preview.2...@aws-sdk/url-parser-browser@1.0.0-beta.1) (2020-03-25) - - -### Features - -* bump packages to beta ([#1050](https://github.com/aws/aws-sdk-js-v3/issues/1050)) ([40501d4](https://github.com/aws/aws-sdk-js-v3/commit/40501d4394d04bc1bc91c10136fa48b1d3a67d8f)) - - - -# 1.0.0-alpha.28 (2020-03-20) - - - -# 1.0.0-alpha.24 (2020-02-19) - - - -# 1.0.0-alpha.13 (2020-01-24) - - - -# 1.0.0-alpha.12 (2020-01-22) - - - -# 0.9.0 (2020-01-09) - - -### Features - -* add pluggable runtime specific config ([#404](https://github.com/aws/aws-sdk-js-v3/issues/404)) ([8be08fc](https://github.com/aws/aws-sdk-js-v3/commit/8be08fcc49251dc03c5d79a70eed0aefe2786731)) - - - -# 0.6.0 (2019-10-30) - - - -# 0.3.0 (2019-09-09) - - -### Features - -* commit all clients ([#324](https://github.com/aws/aws-sdk-js-v3/issues/324)) ([cb268ed](https://github.com/aws/aws-sdk-js-v3/commit/cb268ed45fd5580ef9633da78f13aaa6aa472805)) - - - -# 0.2.0 (2019-07-12) - - -### Features - -* add npm badges for individual packages ([#251](https://github.com/aws/aws-sdk-js-v3/issues/251)) ([8adc10c](https://github.com/aws/aws-sdk-js-v3/commit/8adc10cb6b0ebc32004b797556bfc171c96bbf16)) -* update jest v20 to v24 ([#243](https://github.com/aws/aws-sdk-js-v3/issues/243)) ([1e156ab](https://github.com/aws/aws-sdk-js-v3/commit/1e156ab4ac5343058eaf7d448a428d8c4b72c844)) - - - -# 0.1.0 (2019-04-19) - - - - - -# [1.0.0-alpha.6](https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-browser@0.1.0-preview.2...@aws-sdk/url-parser-browser@1.0.0-alpha.6) (2020-03-20) - - - -# 1.0.0-alpha.24 (2020-02-19) - - - -# 1.0.0-alpha.13 (2020-01-24) - - - -# 1.0.0-alpha.12 (2020-01-22) - - - -# 0.9.0 (2020-01-09) - - -### Features - -* add pluggable runtime specific config ([#404](https://github.com/aws/aws-sdk-js-v3/issues/404)) ([8be08fc](https://github.com/aws/aws-sdk-js-v3/commit/8be08fcc49251dc03c5d79a70eed0aefe2786731)) - - - -# 0.6.0 (2019-10-30) - - - -# 0.3.0 (2019-09-09) - - -### Features - -* commit all clients ([#324](https://github.com/aws/aws-sdk-js-v3/issues/324)) ([cb268ed](https://github.com/aws/aws-sdk-js-v3/commit/cb268ed45fd5580ef9633da78f13aaa6aa472805)) - - - -# 0.2.0 (2019-07-12) - - -### Features - -* add npm badges for individual packages ([#251](https://github.com/aws/aws-sdk-js-v3/issues/251)) ([8adc10c](https://github.com/aws/aws-sdk-js-v3/commit/8adc10cb6b0ebc32004b797556bfc171c96bbf16)) -* update jest v20 to v24 ([#243](https://github.com/aws/aws-sdk-js-v3/issues/243)) ([1e156ab](https://github.com/aws/aws-sdk-js-v3/commit/1e156ab4ac5343058eaf7d448a428d8c4b72c844)) - - - -# 0.1.0 (2019-04-19) - - - - - -# [1.0.0-alpha.5](https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-browser@0.1.0-preview.2...@aws-sdk/url-parser-browser@1.0.0-alpha.5) (2020-02-19) - - - -# 1.0.0-alpha.13 (2020-01-24) - - - -# 1.0.0-alpha.12 (2020-01-22) - - - -# 0.9.0 (2020-01-09) - - -### Features - -* add pluggable runtime specific config ([#404](https://github.com/aws/aws-sdk-js-v3/issues/404)) ([8be08fc](https://github.com/aws/aws-sdk-js-v3/commit/8be08fc)) - - - -# 0.6.0 (2019-10-30) - - - -# 0.3.0 (2019-09-09) - - -### Features - -* commit all clients ([#324](https://github.com/aws/aws-sdk-js-v3/issues/324)) ([cb268ed](https://github.com/aws/aws-sdk-js-v3/commit/cb268ed)) - - - -# 0.2.0 (2019-07-12) - - -### Features - -* add npm badges for individual packages ([#251](https://github.com/aws/aws-sdk-js-v3/issues/251)) ([8adc10c](https://github.com/aws/aws-sdk-js-v3/commit/8adc10c)) -* update jest v20 to v24 ([#243](https://github.com/aws/aws-sdk-js-v3/issues/243)) ([1e156ab](https://github.com/aws/aws-sdk-js-v3/commit/1e156ab)) - - - -# 0.1.0 (2019-04-19) - - - - - -# [1.0.0-alpha.4](https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-browser@0.1.0-preview.2...@aws-sdk/url-parser-browser@1.0.0-alpha.4) (2020-01-24) - - - -# 1.0.0-alpha.12 (2020-01-22) - - - -# 0.9.0 (2020-01-09) - - -### Features - -* add pluggable runtime specific config ([#404](https://github.com/aws/aws-sdk-js-v3/issues/404)) ([8be08fc](https://github.com/aws/aws-sdk-js-v3/commit/8be08fc)) - - - -# 0.6.0 (2019-10-30) - - - -# 0.3.0 (2019-09-09) - - -### Features - -* commit all clients ([#324](https://github.com/aws/aws-sdk-js-v3/issues/324)) ([cb268ed](https://github.com/aws/aws-sdk-js-v3/commit/cb268ed)) - - - -# 0.2.0 (2019-07-12) - - -### Features - -* add npm badges for individual packages ([#251](https://github.com/aws/aws-sdk-js-v3/issues/251)) ([8adc10c](https://github.com/aws/aws-sdk-js-v3/commit/8adc10c)) -* update jest v20 to v24 ([#243](https://github.com/aws/aws-sdk-js-v3/issues/243)) ([1e156ab](https://github.com/aws/aws-sdk-js-v3/commit/1e156ab)) - - - -# 0.1.0 (2019-04-19) - - - - - -# [1.0.0-alpha.3](https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-browser@0.1.0-preview.2...@aws-sdk/url-parser-browser@1.0.0-alpha.3) (2020-01-22) - - - -# 0.9.0 (2020-01-09) - - -### Features - -* add pluggable runtime specific config ([#404](https://github.com/aws/aws-sdk-js-v3/issues/404)) ([8be08fc](https://github.com/aws/aws-sdk-js-v3/commit/8be08fc)) - - - -# 0.6.0 (2019-10-30) - - - -# 0.3.0 (2019-09-09) - - -### Features - -* commit all clients ([#324](https://github.com/aws/aws-sdk-js-v3/issues/324)) ([cb268ed](https://github.com/aws/aws-sdk-js-v3/commit/cb268ed)) - - - -# 0.2.0 (2019-07-12) - - -### Features - -* add npm badges for individual packages ([#251](https://github.com/aws/aws-sdk-js-v3/issues/251)) ([8adc10c](https://github.com/aws/aws-sdk-js-v3/commit/8adc10c)) -* update jest v20 to v24 ([#243](https://github.com/aws/aws-sdk-js-v3/issues/243)) ([1e156ab](https://github.com/aws/aws-sdk-js-v3/commit/1e156ab)) - - - -# 0.1.0 (2019-04-19) - - - - - -# [1.0.0-alpha.2](https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-browser@0.1.0-preview.2...@aws-sdk/url-parser-browser@1.0.0-alpha.2) (2020-01-09) - - -### Features - -* add pluggable runtime specific config ([#404](https://github.com/aws/aws-sdk-js-v3/issues/404)) ([8be08fc](https://github.com/aws/aws-sdk-js-v3/commit/8be08fc)) - - - -# 0.6.0 (2019-10-30) - - - -# 0.3.0 (2019-09-09) - - -### Features - -* commit all clients ([#324](https://github.com/aws/aws-sdk-js-v3/issues/324)) ([cb268ed](https://github.com/aws/aws-sdk-js-v3/commit/cb268ed)) - - - -# 0.2.0 (2019-07-12) - - -### Features - -* add npm badges for individual packages ([#251](https://github.com/aws/aws-sdk-js-v3/issues/251)) ([8adc10c](https://github.com/aws/aws-sdk-js-v3/commit/8adc10c)) -* update jest v20 to v24 ([#243](https://github.com/aws/aws-sdk-js-v3/issues/243)) ([1e156ab](https://github.com/aws/aws-sdk-js-v3/commit/1e156ab)) - - - -# 0.1.0 (2019-04-19) - - - - - -# [1.0.0-alpha.1](https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-browser@0.1.0-preview.2...@aws-sdk/url-parser-browser@1.0.0-alpha.1) (2020-01-08) - - -### Features - -* add pluggable runtime specific config ([#404](https://github.com/aws/aws-sdk-js-v3/issues/404)) ([8be08fc](https://github.com/aws/aws-sdk-js-v3/commit/8be08fc)) - - - -# 0.6.0 (2019-10-30) - - - -# 0.3.0 (2019-09-09) - - -### Features - -* commit all clients ([#324](https://github.com/aws/aws-sdk-js-v3/issues/324)) ([cb268ed](https://github.com/aws/aws-sdk-js-v3/commit/cb268ed)) - - - -# 0.2.0 (2019-07-12) - - -### Features - -* add npm badges for individual packages ([#251](https://github.com/aws/aws-sdk-js-v3/issues/251)) ([8adc10c](https://github.com/aws/aws-sdk-js-v3/commit/8adc10c)) -* update jest v20 to v24 ([#243](https://github.com/aws/aws-sdk-js-v3/issues/243)) ([1e156ab](https://github.com/aws/aws-sdk-js-v3/commit/1e156ab)) - - - -# 0.1.0 (2019-04-19) - - - - - -# [0.1.0-preview.7](https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-browser@0.1.0-preview.2...@aws-sdk/url-parser-browser@0.1.0-preview.7) (2019-10-30) - - - -# 0.3.0 (2019-09-09) - - -### Features - -* commit all clients ([#324](https://github.com/aws/aws-sdk-js-v3/issues/324)) ([cb268ed](https://github.com/aws/aws-sdk-js-v3/commit/cb268ed)) - - - -# 0.2.0 (2019-07-12) - - -### Features - -* add npm badges for individual packages ([#251](https://github.com/aws/aws-sdk-js-v3/issues/251)) ([8adc10c](https://github.com/aws/aws-sdk-js-v3/commit/8adc10c)) -* update jest v20 to v24 ([#243](https://github.com/aws/aws-sdk-js-v3/issues/243)) ([1e156ab](https://github.com/aws/aws-sdk-js-v3/commit/1e156ab)) - - - -# 0.1.0 (2019-04-19) - - - - - -# [0.1.0-preview.6](https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-browser@0.1.0-preview.2...@aws-sdk/url-parser-browser@0.1.0-preview.6) (2019-10-29) - - - -# 0.3.0 (2019-09-09) - - -### Features - -* commit all clients ([#324](https://github.com/aws/aws-sdk-js-v3/issues/324)) ([cb268ed](https://github.com/aws/aws-sdk-js-v3/commit/cb268ed)) - - - -# 0.2.0 (2019-07-12) - - -### Features - -* add npm badges for individual packages ([#251](https://github.com/aws/aws-sdk-js-v3/issues/251)) ([8adc10c](https://github.com/aws/aws-sdk-js-v3/commit/8adc10c)) -* update jest v20 to v24 ([#243](https://github.com/aws/aws-sdk-js-v3/issues/243)) ([1e156ab](https://github.com/aws/aws-sdk-js-v3/commit/1e156ab)) - - - -# 0.1.0 (2019-04-19) - - - - - -# [0.1.0-preview.5](https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-browser@0.1.0-preview.2...@aws-sdk/url-parser-browser@0.1.0-preview.5) (2019-09-09) - - -### Features - -* commit all clients ([#324](https://github.com/aws/aws-sdk-js-v3/issues/324)) ([cb268ed](https://github.com/aws/aws-sdk-js-v3/commit/cb268ed)) - - - -# 0.2.0 (2019-07-12) - - -### Features - -* add npm badges for individual packages ([#251](https://github.com/aws/aws-sdk-js-v3/issues/251)) ([8adc10c](https://github.com/aws/aws-sdk-js-v3/commit/8adc10c)) -* update jest v20 to v24 ([#243](https://github.com/aws/aws-sdk-js-v3/issues/243)) ([1e156ab](https://github.com/aws/aws-sdk-js-v3/commit/1e156ab)) - - - -# 0.1.0 (2019-04-19) - - - - - -# [0.1.0-preview.4](https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-browser@0.1.0-preview.2...@aws-sdk/url-parser-browser@0.1.0-preview.4) (2019-07-12) - - -### Features - -* add npm badges for individual packages ([#251](https://github.com/aws/aws-sdk-js-v3/issues/251)) ([8adc10c](https://github.com/aws/aws-sdk-js-v3/commit/8adc10c)) -* update jest v20 to v24 ([#243](https://github.com/aws/aws-sdk-js-v3/issues/243)) ([1e156ab](https://github.com/aws/aws-sdk-js-v3/commit/1e156ab)) - - - -# 0.1.0 (2019-04-19) - - - - - -# [0.1.0-preview.3](https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-browser@0.1.0-preview.2...@aws-sdk/url-parser-browser@0.1.0-preview.3) (2019-04-19) - -**Note:** Version bump only for package @aws-sdk/url-parser-browser - -# [0.1.0-preview.2](https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-browser@0.1.0-preview.1...@aws-sdk/url-parser-browser@0.1.0-preview.2) (2019-03-27) - -**Note:** Version bump only for package @aws-sdk/url-parser-browser diff --git a/packages/url-parser-browser/.gitignore b/packages/url-parser-native/.gitignore similarity index 100% rename from packages/url-parser-browser/.gitignore rename to packages/url-parser-native/.gitignore diff --git a/packages/url-parser-browser/.npmignore b/packages/url-parser-native/.npmignore similarity index 100% rename from packages/url-parser-browser/.npmignore rename to packages/url-parser-native/.npmignore diff --git a/packages/url-parser-browser/LICENSE b/packages/url-parser-native/LICENSE similarity index 100% rename from packages/url-parser-browser/LICENSE rename to packages/url-parser-native/LICENSE diff --git a/packages/url-parser-node/README.md b/packages/url-parser-native/README.md similarity index 100% rename from packages/url-parser-node/README.md rename to packages/url-parser-native/README.md diff --git a/packages/url-parser-browser/jest.config.js b/packages/url-parser-native/jest.config.js similarity index 100% rename from packages/url-parser-browser/jest.config.js rename to packages/url-parser-native/jest.config.js diff --git a/packages/url-parser-node/package.json b/packages/url-parser-native/package.json similarity index 94% rename from packages/url-parser-node/package.json rename to packages/url-parser-native/package.json index dd960d3553dc..92f72ae774e1 100644 --- a/packages/url-parser-node/package.json +++ b/packages/url-parser-native/package.json @@ -1,6 +1,6 @@ { - "name": "@aws-sdk/url-parser-node", - "version": "3.1.0", + "name": "@aws-sdk/url-parser-native", + "version": "3.0.0", "scripts": { "prepublishOnly": "yarn build:cjs && yarn build:es", "pretest": "yarn build:cjs", diff --git a/packages/url-parser-node/src/index.spec.ts b/packages/url-parser-native/src/index.spec.ts similarity index 71% rename from packages/url-parser-node/src/index.spec.ts rename to packages/url-parser-native/src/index.spec.ts index 40bea00149a6..47757c5e9b02 100644 --- a/packages/url-parser-node/src/index.spec.ts +++ b/packages/url-parser-native/src/index.spec.ts @@ -44,20 +44,4 @@ describe("parseUrl", () => { }); }); }); - - describe("should throw error", () => { - const failureCases: [string, Error][] = [ - ["example.com", new TypeError("Invalid URL: example.com")], - ["endpoint", new TypeError("Invalid URL: endpoint")], - ]; - - failureCases.forEach(([url, error]) => { - it(url, () => { - expect(() => { - const output = parseUrl(url); - console.log(output); - }).toThrow(error); - }); - }); - }); }); diff --git a/packages/url-parser-node/src/index.ts b/packages/url-parser-native/src/index.ts similarity index 88% rename from packages/url-parser-node/src/index.ts rename to packages/url-parser-native/src/index.ts index 18836e4446d5..5c69ee79bff0 100644 --- a/packages/url-parser-node/src/index.ts +++ b/packages/url-parser-native/src/index.ts @@ -1,8 +1,9 @@ import { parseQueryString } from "@aws-sdk/querystring-parser"; import { Endpoint, QueryParameterBag, UrlParser } from "@aws-sdk/types"; +import { parse } from "url"; export const parseUrl: UrlParser = (url: string): Endpoint => { - const { hostname = "localhost", pathname = "/", port, protocol = "https:", search } = new URL(url); + const { hostname = "localhost", pathname = "/", port, protocol = "https:", search } = parse(url); let query: QueryParameterBag | undefined; if (search) { diff --git a/packages/url-parser-browser/tsconfig.cjs.json b/packages/url-parser-native/tsconfig.cjs.json similarity index 100% rename from packages/url-parser-browser/tsconfig.cjs.json rename to packages/url-parser-native/tsconfig.cjs.json diff --git a/packages/url-parser-node/tsconfig.es.json b/packages/url-parser-native/tsconfig.es.json similarity index 100% rename from packages/url-parser-node/tsconfig.es.json rename to packages/url-parser-native/tsconfig.es.json diff --git a/packages/url-parser-node/CHANGELOG.md b/packages/url-parser-node/CHANGELOG.md deleted file mode 100644 index cfaea2cef5a4..000000000000 --- a/packages/url-parser-node/CHANGELOG.md +++ /dev/null @@ -1,1184 +0,0 @@ -# Change Log - -All notable changes to this project will be documented in this file. -See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. - -# [3.1.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.0.0...v3.1.0) (2020-12-23) - -**Note:** Version bump only for package @aws-sdk/url-parser-node - - - - - -# [3.0.0](https://github.com/aws/aws-sdk-js-v3/compare/v1.0.0-rc.10...v3.0.0) (2020-12-15) - - -### Features - -* bump version to 3.0.0 ([#1793](https://github.com/aws/aws-sdk-js-v3/issues/1793)) ([d8475f8](https://github.com/aws/aws-sdk-js-v3/commit/d8475f8d972d28fbc15cd7e23abfe18f9eab0644)) - - - - - -# [1.0.0-rc.10](https://github.com/aws/aws-sdk-js-v3/compare/v1.0.0-rc.9...v1.0.0-rc.10) (2020-12-15) - -**Note:** Version bump only for package @aws-sdk/url-parser-node - - - - - -# [1.0.0-rc.9](https://github.com/aws/aws-sdk-js-v3/compare/v1.0.0-rc.8...v1.0.0-rc.9) (2020-12-11) - -**Note:** Version bump only for package @aws-sdk/url-parser-node - - - - - -# [1.0.0-rc.8](https://github.com/aws/aws-sdk-js-v3/compare/v1.0.0-rc.7...v1.0.0-rc.8) (2020-12-05) - -**Note:** Version bump only for package @aws-sdk/url-parser-node - - - - - -# [1.0.0-rc.7](https://github.com/aws/aws-sdk-js-v3/compare/v1.0.0-rc.6...v1.0.0-rc.7) (2020-11-20) - -**Note:** Version bump only for package @aws-sdk/url-parser-node - - - - - -# [1.0.0-rc.5](https://github.com/aws/aws-sdk-js-v3/compare/v1.0.0-rc.4...v1.0.0-rc.5) (2020-11-09) - - -### Bug Fixes - -* migrate dev types for packages and lib into package.json devDeps ([#1654](https://github.com/aws/aws-sdk-js-v3/issues/1654)) ([16d7030](https://github.com/aws/aws-sdk-js-v3/commit/16d7030a5976d6671c7346c7fb945fefb547ae0d)) - - - - - -# [1.0.0-rc.3](https://github.com/aws/aws-sdk-js-v3/compare/v1.0.0-rc.2...v1.0.0-rc.3) (2020-10-27) - -**Note:** Version bump only for package @aws-sdk/url-parser-node - - - - - -# [1.0.0-rc.2](https://github.com/aws/aws-sdk-js-v3/compare/v1.0.0-rc.1...v1.0.0-rc.2) (2020-10-22) - -**Note:** Version bump only for package @aws-sdk/url-parser-node - - - - - -# [1.0.0-rc.1](https://github.com/aws/aws-sdk-js-v3/compare/v1.0.0-gamma.11...v1.0.0-rc.1) (2020-10-19) - - -### Features - -* ready for release candidate ([#1578](https://github.com/aws/aws-sdk-js-v3/issues/1578)) ([519f66c](https://github.com/aws/aws-sdk-js-v3/commit/519f66c6388b91d0bd750a511e6d1af56196835e)) - - - - - -# [1.0.0-gamma.8](https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-node@1.0.0-gamma.7...@aws-sdk/url-parser-node@1.0.0-gamma.8) (2020-10-07) - -**Note:** Version bump only for package @aws-sdk/url-parser-node - - - - - -# [1.0.0-gamma.7](https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-node@1.0.0-gamma.6...@aws-sdk/url-parser-node@1.0.0-gamma.7) (2020-09-01) - -**Note:** Version bump only for package @aws-sdk/url-parser-node - - - - - -# [1.0.0-gamma.6](https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-node@1.0.0-gamma.5...@aws-sdk/url-parser-node@1.0.0-gamma.6) (2020-08-25) - -**Note:** Version bump only for package @aws-sdk/url-parser-node - - - - - -# [1.0.0-gamma.5](https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-node@1.0.0-gamma.4...@aws-sdk/url-parser-node@1.0.0-gamma.5) (2020-08-04) - - -### Features - -* build command ([#1407](https://github.com/aws/aws-sdk-js-v3/issues/1407)) ([81b2e87](https://github.com/aws/aws-sdk-js-v3/commit/81b2e87067642a8cea8649cbdb2c342ca9fb6ac6)) - - - - - -# [1.0.0-gamma.4](https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-node@1.0.0-gamma.3...@aws-sdk/url-parser-node@1.0.0-gamma.4) (2020-07-21) - -**Note:** Version bump only for package @aws-sdk/url-parser-node - - - - - -# [1.0.0-gamma.3](https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-node@1.0.0-gamma.2...@aws-sdk/url-parser-node@1.0.0-gamma.3) (2020-07-13) - - -### Features - -* add code linting and prettify ([#1350](https://github.com/aws/aws-sdk-js-v3/issues/1350)) ([47770fa](https://github.com/aws/aws-sdk-js-v3/commit/47770fa493c3405f193069cd18319882529ff484)) - - - - - -# [1.0.0-gamma.2](https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-node@0.1.0-preview.2...@aws-sdk/url-parser-node@1.0.0-gamma.2) (2020-07-08) - - -### Features - -* use a common tsconfig for the monorepo ([#1297](https://github.com/aws/aws-sdk-js-v3/issues/1297)) ([16aea66](https://github.com/aws/aws-sdk-js-v3/commit/16aea66d1fc5386680d3e6da9b7dcde78e178bd3)) - - - -# 1.0.0-gamma.1 (2020-05-21) - - -### Features - -* bump up to gamma version ([#1192](https://github.com/aws/aws-sdk-js-v3/issues/1192)) ([a609075](https://github.com/aws/aws-sdk-js-v3/commit/a6090754f2a6c21e5b70bf0c8782cc0fbe59ee12)) - - - -# 1.0.0-beta.4 (2020-04-25) - - - -# 1.0.0-beta.2 (2020-03-28) - - - -# 1.0.0-beta.1 (2020-03-25) - - -### Features - -* bump packages to beta ([#1050](https://github.com/aws/aws-sdk-js-v3/issues/1050)) ([40501d4](https://github.com/aws/aws-sdk-js-v3/commit/40501d4394d04bc1bc91c10136fa48b1d3a67d8f)) - - - -# 1.0.0-alpha.28 (2020-03-20) - - - -# 1.0.0-alpha.24 (2020-02-19) - - - -# 1.0.0-alpha.21 (2020-02-11) - - -### Features - -* update streaming dependencies to support react-native ([#895](https://github.com/aws/aws-sdk-js-v3/issues/895)) ([634b3f6](https://github.com/aws/aws-sdk-js-v3/commit/634b3f69dd9733c5db6036787189a41b1b36f37d)) - - - -# 1.0.0-alpha.13 (2020-01-24) - - - -# 1.0.0-alpha.12 (2020-01-22) - - - -# 0.9.0 (2020-01-09) - - -### Features - -* add pluggable runtime specific config ([#404](https://github.com/aws/aws-sdk-js-v3/issues/404)) ([8be08fc](https://github.com/aws/aws-sdk-js-v3/commit/8be08fcc49251dc03c5d79a70eed0aefe2786731)) - - - -# 0.6.0 (2019-10-30) - - - -# 0.4.0 (2019-09-19) - - - -# 0.3.0 (2019-09-09) - - -### Features - -* commit all clients ([#324](https://github.com/aws/aws-sdk-js-v3/issues/324)) ([cb268ed](https://github.com/aws/aws-sdk-js-v3/commit/cb268ed45fd5580ef9633da78f13aaa6aa472805)) - - - -# 0.2.0 (2019-07-12) - - -### Features - -* add npm badges for individual packages ([#251](https://github.com/aws/aws-sdk-js-v3/issues/251)) ([8adc10c](https://github.com/aws/aws-sdk-js-v3/commit/8adc10cb6b0ebc32004b797556bfc171c96bbf16)) -* update jest v20 to v24 ([#243](https://github.com/aws/aws-sdk-js-v3/issues/243)) ([1e156ab](https://github.com/aws/aws-sdk-js-v3/commit/1e156ab4ac5343058eaf7d448a428d8c4b72c844)) - - - -# 0.1.0 (2019-04-19) - - - - - -# [1.0.0-gamma.1](https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-node@0.1.0-preview.2...@aws-sdk/url-parser-node@1.0.0-gamma.1) (2020-05-21) - - -### Features - -* bump up to gamma version ([#1192](https://github.com/aws/aws-sdk-js-v3/issues/1192)) ([a609075](https://github.com/aws/aws-sdk-js-v3/commit/a6090754f2a6c21e5b70bf0c8782cc0fbe59ee12)) - - - -# 1.0.0-beta.4 (2020-04-25) - - - -# 1.0.0-beta.2 (2020-03-28) - - - -# 1.0.0-beta.1 (2020-03-25) - - -### Features - -* bump packages to beta ([#1050](https://github.com/aws/aws-sdk-js-v3/issues/1050)) ([40501d4](https://github.com/aws/aws-sdk-js-v3/commit/40501d4394d04bc1bc91c10136fa48b1d3a67d8f)) - - - -# 1.0.0-alpha.28 (2020-03-20) - - - -# 1.0.0-alpha.24 (2020-02-19) - - - -# 1.0.0-alpha.21 (2020-02-11) - - -### Features - -* update streaming dependencies to support react-native ([#895](https://github.com/aws/aws-sdk-js-v3/issues/895)) ([634b3f6](https://github.com/aws/aws-sdk-js-v3/commit/634b3f69dd9733c5db6036787189a41b1b36f37d)) - - - -# 1.0.0-alpha.13 (2020-01-24) - - - -# 1.0.0-alpha.12 (2020-01-22) - - - -# 0.9.0 (2020-01-09) - - -### Features - -* add pluggable runtime specific config ([#404](https://github.com/aws/aws-sdk-js-v3/issues/404)) ([8be08fc](https://github.com/aws/aws-sdk-js-v3/commit/8be08fcc49251dc03c5d79a70eed0aefe2786731)) - - - -# 0.6.0 (2019-10-30) - - - -# 0.4.0 (2019-09-19) - - - -# 0.3.0 (2019-09-09) - - -### Features - -* commit all clients ([#324](https://github.com/aws/aws-sdk-js-v3/issues/324)) ([cb268ed](https://github.com/aws/aws-sdk-js-v3/commit/cb268ed45fd5580ef9633da78f13aaa6aa472805)) - - - -# 0.2.0 (2019-07-12) - - -### Features - -* add npm badges for individual packages ([#251](https://github.com/aws/aws-sdk-js-v3/issues/251)) ([8adc10c](https://github.com/aws/aws-sdk-js-v3/commit/8adc10cb6b0ebc32004b797556bfc171c96bbf16)) -* update jest v20 to v24 ([#243](https://github.com/aws/aws-sdk-js-v3/issues/243)) ([1e156ab](https://github.com/aws/aws-sdk-js-v3/commit/1e156ab4ac5343058eaf7d448a428d8c4b72c844)) - - - -# 0.1.0 (2019-04-19) - - - - - -# [1.0.0-beta.4](https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-node@0.1.0-preview.2...@aws-sdk/url-parser-node@1.0.0-beta.4) (2020-04-27) - - -### Features - -* use exact @aws-sdk/* dependencies ([#1110](https://github.com/aws/aws-sdk-js-v3/issues/1110)) ([bcfd7a2](https://github.com/aws/aws-sdk-js-v3/commit/bcfd7a2faeca3a2605057fd4736d710aa4902b62)) - - - -# 1.0.0-beta.2 (2020-03-28) - - - -# 1.0.0-beta.1 (2020-03-25) - - -### Features - -* bump packages to beta ([#1050](https://github.com/aws/aws-sdk-js-v3/issues/1050)) ([40501d4](https://github.com/aws/aws-sdk-js-v3/commit/40501d4394d04bc1bc91c10136fa48b1d3a67d8f)) - - - -# 1.0.0-alpha.28 (2020-03-20) - - - -# 1.0.0-alpha.24 (2020-02-19) - - - -# 1.0.0-alpha.21 (2020-02-11) - - -### Features - -* update streaming dependencies to support react-native ([#895](https://github.com/aws/aws-sdk-js-v3/issues/895)) ([634b3f6](https://github.com/aws/aws-sdk-js-v3/commit/634b3f69dd9733c5db6036787189a41b1b36f37d)) - - - -# 1.0.0-alpha.13 (2020-01-24) - - - -# 1.0.0-alpha.12 (2020-01-22) - - - -# 0.9.0 (2020-01-09) - - -### Features - -* add pluggable runtime specific config ([#404](https://github.com/aws/aws-sdk-js-v3/issues/404)) ([8be08fc](https://github.com/aws/aws-sdk-js-v3/commit/8be08fcc49251dc03c5d79a70eed0aefe2786731)) - - - -# 0.6.0 (2019-10-30) - - - -# 0.4.0 (2019-09-19) - - - -# 0.3.0 (2019-09-09) - - -### Features - -* commit all clients ([#324](https://github.com/aws/aws-sdk-js-v3/issues/324)) ([cb268ed](https://github.com/aws/aws-sdk-js-v3/commit/cb268ed45fd5580ef9633da78f13aaa6aa472805)) - - - -# 0.2.0 (2019-07-12) - - -### Features - -* add npm badges for individual packages ([#251](https://github.com/aws/aws-sdk-js-v3/issues/251)) ([8adc10c](https://github.com/aws/aws-sdk-js-v3/commit/8adc10cb6b0ebc32004b797556bfc171c96bbf16)) -* update jest v20 to v24 ([#243](https://github.com/aws/aws-sdk-js-v3/issues/243)) ([1e156ab](https://github.com/aws/aws-sdk-js-v3/commit/1e156ab4ac5343058eaf7d448a428d8c4b72c844)) - - - -# 0.1.0 (2019-04-19) - - - - - -# [1.0.0-beta.3](https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-node@0.1.0-preview.2...@aws-sdk/url-parser-node@1.0.0-beta.3) (2020-04-25) - - - -# 1.0.0-beta.2 (2020-03-28) - - - -# 1.0.0-beta.1 (2020-03-25) - - -### Features - -* bump packages to beta ([#1050](https://github.com/aws/aws-sdk-js-v3/issues/1050)) ([40501d4](https://github.com/aws/aws-sdk-js-v3/commit/40501d4394d04bc1bc91c10136fa48b1d3a67d8f)) - - - -# 1.0.0-alpha.28 (2020-03-20) - - - -# 1.0.0-alpha.24 (2020-02-19) - - - -# 1.0.0-alpha.21 (2020-02-11) - - -### Features - -* update streaming dependencies to support react-native ([#895](https://github.com/aws/aws-sdk-js-v3/issues/895)) ([634b3f6](https://github.com/aws/aws-sdk-js-v3/commit/634b3f69dd9733c5db6036787189a41b1b36f37d)) - - - -# 1.0.0-alpha.13 (2020-01-24) - - - -# 1.0.0-alpha.12 (2020-01-22) - - - -# 0.9.0 (2020-01-09) - - -### Features - -* add pluggable runtime specific config ([#404](https://github.com/aws/aws-sdk-js-v3/issues/404)) ([8be08fc](https://github.com/aws/aws-sdk-js-v3/commit/8be08fcc49251dc03c5d79a70eed0aefe2786731)) - - - -# 0.6.0 (2019-10-30) - - - -# 0.4.0 (2019-09-19) - - - -# 0.3.0 (2019-09-09) - - -### Features - -* commit all clients ([#324](https://github.com/aws/aws-sdk-js-v3/issues/324)) ([cb268ed](https://github.com/aws/aws-sdk-js-v3/commit/cb268ed45fd5580ef9633da78f13aaa6aa472805)) - - - -# 0.2.0 (2019-07-12) - - -### Features - -* add npm badges for individual packages ([#251](https://github.com/aws/aws-sdk-js-v3/issues/251)) ([8adc10c](https://github.com/aws/aws-sdk-js-v3/commit/8adc10cb6b0ebc32004b797556bfc171c96bbf16)) -* update jest v20 to v24 ([#243](https://github.com/aws/aws-sdk-js-v3/issues/243)) ([1e156ab](https://github.com/aws/aws-sdk-js-v3/commit/1e156ab4ac5343058eaf7d448a428d8c4b72c844)) - - - -# 0.1.0 (2019-04-19) - - - - - -# [1.0.0-beta.2](https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-node@0.1.0-preview.2...@aws-sdk/url-parser-node@1.0.0-beta.2) (2020-03-28) - - - -# 1.0.0-beta.1 (2020-03-25) - - -### Features - -* bump packages to beta ([#1050](https://github.com/aws/aws-sdk-js-v3/issues/1050)) ([40501d4](https://github.com/aws/aws-sdk-js-v3/commit/40501d4394d04bc1bc91c10136fa48b1d3a67d8f)) - - - -# 1.0.0-alpha.28 (2020-03-20) - - - -# 1.0.0-alpha.24 (2020-02-19) - - - -# 1.0.0-alpha.21 (2020-02-11) - - -### Features - -* update streaming dependencies to support react-native ([#895](https://github.com/aws/aws-sdk-js-v3/issues/895)) ([634b3f6](https://github.com/aws/aws-sdk-js-v3/commit/634b3f69dd9733c5db6036787189a41b1b36f37d)) - - - -# 1.0.0-alpha.13 (2020-01-24) - - - -# 1.0.0-alpha.12 (2020-01-22) - - - -# 0.9.0 (2020-01-09) - - -### Features - -* add pluggable runtime specific config ([#404](https://github.com/aws/aws-sdk-js-v3/issues/404)) ([8be08fc](https://github.com/aws/aws-sdk-js-v3/commit/8be08fcc49251dc03c5d79a70eed0aefe2786731)) - - - -# 0.6.0 (2019-10-30) - - - -# 0.4.0 (2019-09-19) - - - -# 0.3.0 (2019-09-09) - - -### Features - -* commit all clients ([#324](https://github.com/aws/aws-sdk-js-v3/issues/324)) ([cb268ed](https://github.com/aws/aws-sdk-js-v3/commit/cb268ed45fd5580ef9633da78f13aaa6aa472805)) - - - -# 0.2.0 (2019-07-12) - - -### Features - -* add npm badges for individual packages ([#251](https://github.com/aws/aws-sdk-js-v3/issues/251)) ([8adc10c](https://github.com/aws/aws-sdk-js-v3/commit/8adc10cb6b0ebc32004b797556bfc171c96bbf16)) -* update jest v20 to v24 ([#243](https://github.com/aws/aws-sdk-js-v3/issues/243)) ([1e156ab](https://github.com/aws/aws-sdk-js-v3/commit/1e156ab4ac5343058eaf7d448a428d8c4b72c844)) - - - -# 0.1.0 (2019-04-19) - - - - - -# [1.0.0-beta.1](https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-node@0.1.0-preview.2...@aws-sdk/url-parser-node@1.0.0-beta.1) (2020-03-25) - - -### Features - -* bump packages to beta ([#1050](https://github.com/aws/aws-sdk-js-v3/issues/1050)) ([40501d4](https://github.com/aws/aws-sdk-js-v3/commit/40501d4394d04bc1bc91c10136fa48b1d3a67d8f)) - - - -# 1.0.0-alpha.28 (2020-03-20) - - - -# 1.0.0-alpha.24 (2020-02-19) - - - -# 1.0.0-alpha.21 (2020-02-11) - - -### Features - -* update streaming dependencies to support react-native ([#895](https://github.com/aws/aws-sdk-js-v3/issues/895)) ([634b3f6](https://github.com/aws/aws-sdk-js-v3/commit/634b3f69dd9733c5db6036787189a41b1b36f37d)) - - - -# 1.0.0-alpha.13 (2020-01-24) - - - -# 1.0.0-alpha.12 (2020-01-22) - - - -# 0.9.0 (2020-01-09) - - -### Features - -* add pluggable runtime specific config ([#404](https://github.com/aws/aws-sdk-js-v3/issues/404)) ([8be08fc](https://github.com/aws/aws-sdk-js-v3/commit/8be08fcc49251dc03c5d79a70eed0aefe2786731)) - - - -# 0.6.0 (2019-10-30) - - - -# 0.4.0 (2019-09-19) - - - -# 0.3.0 (2019-09-09) - - -### Features - -* commit all clients ([#324](https://github.com/aws/aws-sdk-js-v3/issues/324)) ([cb268ed](https://github.com/aws/aws-sdk-js-v3/commit/cb268ed45fd5580ef9633da78f13aaa6aa472805)) - - - -# 0.2.0 (2019-07-12) - - -### Features - -* add npm badges for individual packages ([#251](https://github.com/aws/aws-sdk-js-v3/issues/251)) ([8adc10c](https://github.com/aws/aws-sdk-js-v3/commit/8adc10cb6b0ebc32004b797556bfc171c96bbf16)) -* update jest v20 to v24 ([#243](https://github.com/aws/aws-sdk-js-v3/issues/243)) ([1e156ab](https://github.com/aws/aws-sdk-js-v3/commit/1e156ab4ac5343058eaf7d448a428d8c4b72c844)) - - - -# 0.1.0 (2019-04-19) - - - - - -# [1.0.0-alpha.7](https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-node@0.1.0-preview.2...@aws-sdk/url-parser-node@1.0.0-alpha.7) (2020-03-20) - - - -# 1.0.0-alpha.24 (2020-02-19) - - - -# 1.0.0-alpha.21 (2020-02-11) - - -### Features - -* update streaming dependencies to support react-native ([#895](https://github.com/aws/aws-sdk-js-v3/issues/895)) ([634b3f6](https://github.com/aws/aws-sdk-js-v3/commit/634b3f69dd9733c5db6036787189a41b1b36f37d)) - - - -# 1.0.0-alpha.13 (2020-01-24) - - - -# 1.0.0-alpha.12 (2020-01-22) - - - -# 0.9.0 (2020-01-09) - - -### Features - -* add pluggable runtime specific config ([#404](https://github.com/aws/aws-sdk-js-v3/issues/404)) ([8be08fc](https://github.com/aws/aws-sdk-js-v3/commit/8be08fcc49251dc03c5d79a70eed0aefe2786731)) - - - -# 0.6.0 (2019-10-30) - - - -# 0.4.0 (2019-09-19) - - - -# 0.3.0 (2019-09-09) - - -### Features - -* commit all clients ([#324](https://github.com/aws/aws-sdk-js-v3/issues/324)) ([cb268ed](https://github.com/aws/aws-sdk-js-v3/commit/cb268ed45fd5580ef9633da78f13aaa6aa472805)) - - - -# 0.2.0 (2019-07-12) - - -### Features - -* add npm badges for individual packages ([#251](https://github.com/aws/aws-sdk-js-v3/issues/251)) ([8adc10c](https://github.com/aws/aws-sdk-js-v3/commit/8adc10cb6b0ebc32004b797556bfc171c96bbf16)) -* update jest v20 to v24 ([#243](https://github.com/aws/aws-sdk-js-v3/issues/243)) ([1e156ab](https://github.com/aws/aws-sdk-js-v3/commit/1e156ab4ac5343058eaf7d448a428d8c4b72c844)) - - - -# 0.1.0 (2019-04-19) - - - - - -# [1.0.0-alpha.6](https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-node@0.1.0-preview.2...@aws-sdk/url-parser-node@1.0.0-alpha.6) (2020-02-19) - - - -# 1.0.0-alpha.21 (2020-02-11) - - -### Features - -* update streaming dependencies to support react-native ([#895](https://github.com/aws/aws-sdk-js-v3/issues/895)) ([634b3f6](https://github.com/aws/aws-sdk-js-v3/commit/634b3f6)) - - - -# 1.0.0-alpha.13 (2020-01-24) - - - -# 1.0.0-alpha.12 (2020-01-22) - - - -# 0.9.0 (2020-01-09) - - -### Features - -* add pluggable runtime specific config ([#404](https://github.com/aws/aws-sdk-js-v3/issues/404)) ([8be08fc](https://github.com/aws/aws-sdk-js-v3/commit/8be08fc)) - - - -# 0.6.0 (2019-10-30) - - - -# 0.4.0 (2019-09-19) - - - -# 0.3.0 (2019-09-09) - - -### Features - -* commit all clients ([#324](https://github.com/aws/aws-sdk-js-v3/issues/324)) ([cb268ed](https://github.com/aws/aws-sdk-js-v3/commit/cb268ed)) - - - -# 0.2.0 (2019-07-12) - - -### Features - -* add npm badges for individual packages ([#251](https://github.com/aws/aws-sdk-js-v3/issues/251)) ([8adc10c](https://github.com/aws/aws-sdk-js-v3/commit/8adc10c)) -* update jest v20 to v24 ([#243](https://github.com/aws/aws-sdk-js-v3/issues/243)) ([1e156ab](https://github.com/aws/aws-sdk-js-v3/commit/1e156ab)) - - - -# 0.1.0 (2019-04-19) - - - - - -# [1.0.0-alpha.5](https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-node@0.1.0-preview.2...@aws-sdk/url-parser-node@1.0.0-alpha.5) (2020-02-11) - - -### Features - -* update streaming dependencies to support react-native ([#895](https://github.com/aws/aws-sdk-js-v3/issues/895)) ([634b3f6](https://github.com/aws/aws-sdk-js-v3/commit/634b3f6)) - - - -# 1.0.0-alpha.13 (2020-01-24) - - - -# 1.0.0-alpha.12 (2020-01-22) - - - -# 0.9.0 (2020-01-09) - - -### Features - -* add pluggable runtime specific config ([#404](https://github.com/aws/aws-sdk-js-v3/issues/404)) ([8be08fc](https://github.com/aws/aws-sdk-js-v3/commit/8be08fc)) - - - -# 0.6.0 (2019-10-30) - - - -# 0.4.0 (2019-09-19) - - - -# 0.3.0 (2019-09-09) - - -### Features - -* commit all clients ([#324](https://github.com/aws/aws-sdk-js-v3/issues/324)) ([cb268ed](https://github.com/aws/aws-sdk-js-v3/commit/cb268ed)) - - - -# 0.2.0 (2019-07-12) - - -### Features - -* add npm badges for individual packages ([#251](https://github.com/aws/aws-sdk-js-v3/issues/251)) ([8adc10c](https://github.com/aws/aws-sdk-js-v3/commit/8adc10c)) -* update jest v20 to v24 ([#243](https://github.com/aws/aws-sdk-js-v3/issues/243)) ([1e156ab](https://github.com/aws/aws-sdk-js-v3/commit/1e156ab)) - - - -# 0.1.0 (2019-04-19) - - - - - -# [1.0.0-alpha.4](https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-node@0.1.0-preview.2...@aws-sdk/url-parser-node@1.0.0-alpha.4) (2020-01-24) - - - -# 1.0.0-alpha.12 (2020-01-22) - - - -# 0.9.0 (2020-01-09) - - -### Features - -* add pluggable runtime specific config ([#404](https://github.com/aws/aws-sdk-js-v3/issues/404)) ([8be08fc](https://github.com/aws/aws-sdk-js-v3/commit/8be08fc)) - - - -# 0.6.0 (2019-10-30) - - - -# 0.4.0 (2019-09-19) - - - -# 0.3.0 (2019-09-09) - - -### Features - -* commit all clients ([#324](https://github.com/aws/aws-sdk-js-v3/issues/324)) ([cb268ed](https://github.com/aws/aws-sdk-js-v3/commit/cb268ed)) - - - -# 0.2.0 (2019-07-12) - - -### Features - -* add npm badges for individual packages ([#251](https://github.com/aws/aws-sdk-js-v3/issues/251)) ([8adc10c](https://github.com/aws/aws-sdk-js-v3/commit/8adc10c)) -* update jest v20 to v24 ([#243](https://github.com/aws/aws-sdk-js-v3/issues/243)) ([1e156ab](https://github.com/aws/aws-sdk-js-v3/commit/1e156ab)) - - - -# 0.1.0 (2019-04-19) - - - - - -# [1.0.0-alpha.3](https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-node@0.1.0-preview.2...@aws-sdk/url-parser-node@1.0.0-alpha.3) (2020-01-22) - - - -# 0.9.0 (2020-01-09) - - -### Features - -* add pluggable runtime specific config ([#404](https://github.com/aws/aws-sdk-js-v3/issues/404)) ([8be08fc](https://github.com/aws/aws-sdk-js-v3/commit/8be08fc)) - - - -# 0.6.0 (2019-10-30) - - - -# 0.4.0 (2019-09-19) - - - -# 0.3.0 (2019-09-09) - - -### Features - -* commit all clients ([#324](https://github.com/aws/aws-sdk-js-v3/issues/324)) ([cb268ed](https://github.com/aws/aws-sdk-js-v3/commit/cb268ed)) - - - -# 0.2.0 (2019-07-12) - - -### Features - -* add npm badges for individual packages ([#251](https://github.com/aws/aws-sdk-js-v3/issues/251)) ([8adc10c](https://github.com/aws/aws-sdk-js-v3/commit/8adc10c)) -* update jest v20 to v24 ([#243](https://github.com/aws/aws-sdk-js-v3/issues/243)) ([1e156ab](https://github.com/aws/aws-sdk-js-v3/commit/1e156ab)) - - - -# 0.1.0 (2019-04-19) - - - - - -# [1.0.0-alpha.2](https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-node@0.1.0-preview.2...@aws-sdk/url-parser-node@1.0.0-alpha.2) (2020-01-09) - - -### Features - -* add pluggable runtime specific config ([#404](https://github.com/aws/aws-sdk-js-v3/issues/404)) ([8be08fc](https://github.com/aws/aws-sdk-js-v3/commit/8be08fc)) - - - -# 0.6.0 (2019-10-30) - - - -# 0.4.0 (2019-09-19) - - - -# 0.3.0 (2019-09-09) - - -### Features - -* commit all clients ([#324](https://github.com/aws/aws-sdk-js-v3/issues/324)) ([cb268ed](https://github.com/aws/aws-sdk-js-v3/commit/cb268ed)) - - - -# 0.2.0 (2019-07-12) - - -### Features - -* add npm badges for individual packages ([#251](https://github.com/aws/aws-sdk-js-v3/issues/251)) ([8adc10c](https://github.com/aws/aws-sdk-js-v3/commit/8adc10c)) -* update jest v20 to v24 ([#243](https://github.com/aws/aws-sdk-js-v3/issues/243)) ([1e156ab](https://github.com/aws/aws-sdk-js-v3/commit/1e156ab)) - - - -# 0.1.0 (2019-04-19) - - - - - -# [1.0.0-alpha.1](https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-node@0.1.0-preview.2...@aws-sdk/url-parser-node@1.0.0-alpha.1) (2020-01-08) - - -### Features - -* add pluggable runtime specific config ([#404](https://github.com/aws/aws-sdk-js-v3/issues/404)) ([8be08fc](https://github.com/aws/aws-sdk-js-v3/commit/8be08fc)) - - - -# 0.6.0 (2019-10-30) - - - -# 0.4.0 (2019-09-19) - - - -# 0.3.0 (2019-09-09) - - -### Features - -* commit all clients ([#324](https://github.com/aws/aws-sdk-js-v3/issues/324)) ([cb268ed](https://github.com/aws/aws-sdk-js-v3/commit/cb268ed)) - - - -# 0.2.0 (2019-07-12) - - -### Features - -* add npm badges for individual packages ([#251](https://github.com/aws/aws-sdk-js-v3/issues/251)) ([8adc10c](https://github.com/aws/aws-sdk-js-v3/commit/8adc10c)) -* update jest v20 to v24 ([#243](https://github.com/aws/aws-sdk-js-v3/issues/243)) ([1e156ab](https://github.com/aws/aws-sdk-js-v3/commit/1e156ab)) - - - -# 0.1.0 (2019-04-19) - - - - - -# [0.1.0-preview.8](https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-node@0.1.0-preview.2...@aws-sdk/url-parser-node@0.1.0-preview.8) (2019-10-30) - - - -# 0.4.0 (2019-09-19) - - - -# 0.3.0 (2019-09-09) - - -### Features - -* commit all clients ([#324](https://github.com/aws/aws-sdk-js-v3/issues/324)) ([cb268ed](https://github.com/aws/aws-sdk-js-v3/commit/cb268ed)) - - - -# 0.2.0 (2019-07-12) - - -### Features - -* add npm badges for individual packages ([#251](https://github.com/aws/aws-sdk-js-v3/issues/251)) ([8adc10c](https://github.com/aws/aws-sdk-js-v3/commit/8adc10c)) -* update jest v20 to v24 ([#243](https://github.com/aws/aws-sdk-js-v3/issues/243)) ([1e156ab](https://github.com/aws/aws-sdk-js-v3/commit/1e156ab)) - - - -# 0.1.0 (2019-04-19) - - - - - -# [0.1.0-preview.7](https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-node@0.1.0-preview.2...@aws-sdk/url-parser-node@0.1.0-preview.7) (2019-10-29) - - - -# 0.4.0 (2019-09-19) - - - -# 0.3.0 (2019-09-09) - - -### Features - -* commit all clients ([#324](https://github.com/aws/aws-sdk-js-v3/issues/324)) ([cb268ed](https://github.com/aws/aws-sdk-js-v3/commit/cb268ed)) - - - -# 0.2.0 (2019-07-12) - - -### Features - -* add npm badges for individual packages ([#251](https://github.com/aws/aws-sdk-js-v3/issues/251)) ([8adc10c](https://github.com/aws/aws-sdk-js-v3/commit/8adc10c)) -* update jest v20 to v24 ([#243](https://github.com/aws/aws-sdk-js-v3/issues/243)) ([1e156ab](https://github.com/aws/aws-sdk-js-v3/commit/1e156ab)) - - - -# 0.1.0 (2019-04-19) - - - - - -# [0.1.0-preview.6](https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-node@0.1.0-preview.2...@aws-sdk/url-parser-node@0.1.0-preview.6) (2019-09-19) - - - -# 0.3.0 (2019-09-09) - - -### Features - -* commit all clients ([#324](https://github.com/aws/aws-sdk-js-v3/issues/324)) ([cb268ed](https://github.com/aws/aws-sdk-js-v3/commit/cb268ed)) - - - -# 0.2.0 (2019-07-12) - - -### Features - -* add npm badges for individual packages ([#251](https://github.com/aws/aws-sdk-js-v3/issues/251)) ([8adc10c](https://github.com/aws/aws-sdk-js-v3/commit/8adc10c)) -* update jest v20 to v24 ([#243](https://github.com/aws/aws-sdk-js-v3/issues/243)) ([1e156ab](https://github.com/aws/aws-sdk-js-v3/commit/1e156ab)) - - - -# 0.1.0 (2019-04-19) - - - - - -# [0.1.0-preview.5](https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-node@0.1.0-preview.2...@aws-sdk/url-parser-node@0.1.0-preview.5) (2019-09-09) - - -### Features - -* commit all clients ([#324](https://github.com/aws/aws-sdk-js-v3/issues/324)) ([cb268ed](https://github.com/aws/aws-sdk-js-v3/commit/cb268ed)) - - - -# 0.2.0 (2019-07-12) - - -### Features - -* add npm badges for individual packages ([#251](https://github.com/aws/aws-sdk-js-v3/issues/251)) ([8adc10c](https://github.com/aws/aws-sdk-js-v3/commit/8adc10c)) -* update jest v20 to v24 ([#243](https://github.com/aws/aws-sdk-js-v3/issues/243)) ([1e156ab](https://github.com/aws/aws-sdk-js-v3/commit/1e156ab)) - - - -# 0.1.0 (2019-04-19) - - - - - -# [0.1.0-preview.4](https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-node@0.1.0-preview.2...@aws-sdk/url-parser-node@0.1.0-preview.4) (2019-07-12) - - -### Features - -* add npm badges for individual packages ([#251](https://github.com/aws/aws-sdk-js-v3/issues/251)) ([8adc10c](https://github.com/aws/aws-sdk-js-v3/commit/8adc10c)) -* update jest v20 to v24 ([#243](https://github.com/aws/aws-sdk-js-v3/issues/243)) ([1e156ab](https://github.com/aws/aws-sdk-js-v3/commit/1e156ab)) - - - -# 0.1.0 (2019-04-19) - - - - - -# [0.1.0-preview.3](https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-node@0.1.0-preview.2...@aws-sdk/url-parser-node@0.1.0-preview.3) (2019-04-19) - -**Note:** Version bump only for package @aws-sdk/url-parser-node - -# [0.1.0-preview.2](https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-node@0.1.0-preview.1...@aws-sdk/url-parser-node@0.1.0-preview.2) (2019-03-27) - -**Note:** Version bump only for package @aws-sdk/url-parser-node diff --git a/packages/url-parser-node/.gitignore b/packages/url-parser/.gitignore similarity index 100% rename from packages/url-parser-node/.gitignore rename to packages/url-parser/.gitignore diff --git a/packages/url-parser-node/.npmignore b/packages/url-parser/.npmignore similarity index 100% rename from packages/url-parser-node/.npmignore rename to packages/url-parser/.npmignore diff --git a/packages/url-parser-node/LICENSE b/packages/url-parser/LICENSE similarity index 100% rename from packages/url-parser-node/LICENSE rename to packages/url-parser/LICENSE diff --git a/packages/url-parser-browser/README.md b/packages/url-parser/README.md similarity index 52% rename from packages/url-parser-browser/README.md rename to packages/url-parser/README.md index eb8fb89bd978..bb78a4ebc05f 100644 --- a/packages/url-parser-browser/README.md +++ b/packages/url-parser/README.md @@ -1,7 +1,7 @@ -# @aws-sdk/url-parser-browser +# @aws-sdk/url-parser -[![NPM version](https://img.shields.io/npm/v/@aws-sdk/url-parser-browser/latest.svg)](https://www.npmjs.com/package/@aws-sdk/url-parser-browser) -[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/url-parser-browser.svg)](https://www.npmjs.com/package/@aws-sdk/url-parser-browser) +[![NPM version](https://img.shields.io/npm/v/@aws-sdk/url-parser/latest.svg)](https://www.npmjs.com/package/@aws-sdk/url-parser) +[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/url-parser.svg)](https://www.npmjs.com/package/@aws-sdk/url-parser) > An internal package diff --git a/packages/url-parser-node/jest.config.js b/packages/url-parser/jest.config.js similarity index 100% rename from packages/url-parser-node/jest.config.js rename to packages/url-parser/jest.config.js diff --git a/packages/url-parser-browser/package.json b/packages/url-parser/package.json similarity index 86% rename from packages/url-parser-browser/package.json rename to packages/url-parser/package.json index 3092f6ed054a..3b30ac45ca0d 100644 --- a/packages/url-parser-browser/package.json +++ b/packages/url-parser/package.json @@ -1,6 +1,6 @@ { - "name": "@aws-sdk/url-parser-browser", - "version": "3.1.0", + "name": "@aws-sdk/url-parser", + "version": "3.0.0", "scripts": { "prepublishOnly": "yarn build:cjs && yarn build:es", "pretest": "yarn build:cjs", @@ -27,10 +27,10 @@ "jest": "^26.1.0", "typescript": "~4.1.2" }, - "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/url-parser-browser", + "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/master/packages/url-parser", "repository": { "type": "git", "url": "https://github.com/aws/aws-sdk-js-v3.git", - "directory": "packages/url-parser-browser" + "directory": "packages/url-parser" } } diff --git a/packages/url-parser-browser/src/index.spec.ts b/packages/url-parser/src/index.spec.ts similarity index 97% rename from packages/url-parser-browser/src/index.spec.ts rename to packages/url-parser/src/index.spec.ts index c9881aaefaf6..303ebef60404 100644 --- a/packages/url-parser-browser/src/index.spec.ts +++ b/packages/url-parser/src/index.spec.ts @@ -1,6 +1,6 @@ import { Endpoint } from "@aws-sdk/types"; -import { parseUrl } from "./"; +import { parseUrl } from "."; describe("parseUrl", () => { const testCases = new Map([ diff --git a/packages/url-parser-browser/src/index.ts b/packages/url-parser/src/index.ts similarity index 100% rename from packages/url-parser-browser/src/index.ts rename to packages/url-parser/src/index.ts diff --git a/packages/url-parser-node/tsconfig.cjs.json b/packages/url-parser/tsconfig.cjs.json similarity index 100% rename from packages/url-parser-node/tsconfig.cjs.json rename to packages/url-parser/tsconfig.cjs.json diff --git a/packages/url-parser-browser/tsconfig.es.json b/packages/url-parser/tsconfig.es.json similarity index 100% rename from packages/url-parser-browser/tsconfig.es.json rename to packages/url-parser/tsconfig.es.json diff --git a/protocol_tests/aws-ec2/package.json b/protocol_tests/aws-ec2/package.json index b0928e1fdc03..a1757e897601 100644 --- a/protocol_tests/aws-ec2/package.json +++ b/protocol_tests/aws-ec2/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/protocol_tests/aws-ec2/runtimeConfig.browser.ts b/protocol_tests/aws-ec2/runtimeConfig.browser.ts index 689c060f16ba..7e8a27b4ed6d 100644 --- a/protocol_tests/aws-ec2/runtimeConfig.browser.ts +++ b/protocol_tests/aws-ec2/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/protocol_tests/aws-ec2/runtimeConfig.native.ts b/protocol_tests/aws-ec2/runtimeConfig.native.ts index c2c8364ec283..d39637607ee0 100644 --- a/protocol_tests/aws-ec2/runtimeConfig.native.ts +++ b/protocol_tests/aws-ec2/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./EC2ProtocolClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/protocol_tests/aws-ec2/runtimeConfig.shared.ts b/protocol_tests/aws-ec2/runtimeConfig.shared.ts index 58576bef6618..08b60e712bbc 100644 --- a/protocol_tests/aws-ec2/runtimeConfig.shared.ts +++ b/protocol_tests/aws-ec2/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "EC2 Protocol", + urlParser: parseUrl, }; diff --git a/protocol_tests/aws-ec2/runtimeConfig.ts b/protocol_tests/aws-ec2/runtimeConfig.ts index 6e9a4eb636a2..78b2386dff9b 100644 --- a/protocol_tests/aws-ec2/runtimeConfig.ts +++ b/protocol_tests/aws-ec2/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/protocol_tests/aws-json/package.json b/protocol_tests/aws-json/package.json index be995cf012eb..8daecec64e6c 100644 --- a/protocol_tests/aws-json/package.json +++ b/protocol_tests/aws-json/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/protocol_tests/aws-json/runtimeConfig.browser.ts b/protocol_tests/aws-json/runtimeConfig.browser.ts index 531edf08ee36..f5715ce6f5b7 100644 --- a/protocol_tests/aws-json/runtimeConfig.browser.ts +++ b/protocol_tests/aws-json/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/protocol_tests/aws-json/runtimeConfig.native.ts b/protocol_tests/aws-json/runtimeConfig.native.ts index b83f7ca69972..27e4785a8927 100644 --- a/protocol_tests/aws-json/runtimeConfig.native.ts +++ b/protocol_tests/aws-json/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./JsonProtocolClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/protocol_tests/aws-json/runtimeConfig.shared.ts b/protocol_tests/aws-json/runtimeConfig.shared.ts index b66870338c27..1ae33ef57c26 100644 --- a/protocol_tests/aws-json/runtimeConfig.shared.ts +++ b/protocol_tests/aws-json/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Json Protocol", + urlParser: parseUrl, }; diff --git a/protocol_tests/aws-json/runtimeConfig.ts b/protocol_tests/aws-json/runtimeConfig.ts index 4bcf61bdf302..d52b17498db4 100644 --- a/protocol_tests/aws-json/runtimeConfig.ts +++ b/protocol_tests/aws-json/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/protocol_tests/aws-query/package.json b/protocol_tests/aws-query/package.json index f6d8d3673b2e..528a347d205b 100644 --- a/protocol_tests/aws-query/package.json +++ b/protocol_tests/aws-query/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/protocol_tests/aws-query/runtimeConfig.browser.ts b/protocol_tests/aws-query/runtimeConfig.browser.ts index 8cf6562cc7e0..da746d4bf6e2 100644 --- a/protocol_tests/aws-query/runtimeConfig.browser.ts +++ b/protocol_tests/aws-query/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/protocol_tests/aws-query/runtimeConfig.native.ts b/protocol_tests/aws-query/runtimeConfig.native.ts index b4506d896958..420f9e5e0c46 100644 --- a/protocol_tests/aws-query/runtimeConfig.native.ts +++ b/protocol_tests/aws-query/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./QueryProtocolClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/protocol_tests/aws-query/runtimeConfig.shared.ts b/protocol_tests/aws-query/runtimeConfig.shared.ts index cf7be7241c08..ee35519aea3f 100644 --- a/protocol_tests/aws-query/runtimeConfig.shared.ts +++ b/protocol_tests/aws-query/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Query Protocol", + urlParser: parseUrl, }; diff --git a/protocol_tests/aws-query/runtimeConfig.ts b/protocol_tests/aws-query/runtimeConfig.ts index 682eee7ac2d0..afc0ee5e0694 100644 --- a/protocol_tests/aws-query/runtimeConfig.ts +++ b/protocol_tests/aws-query/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/protocol_tests/aws-restjson/package.json b/protocol_tests/aws-restjson/package.json index 4f3f09b64697..848a4134ad63 100644 --- a/protocol_tests/aws-restjson/package.json +++ b/protocol_tests/aws-restjson/package.json @@ -47,8 +47,8 @@ "@aws-sdk/querystring-builder": "3.1.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/protocol_tests/aws-restjson/runtimeConfig.browser.ts b/protocol_tests/aws-restjson/runtimeConfig.browser.ts index 69728fc749b5..5f6c6a5ece09 100644 --- a/protocol_tests/aws-restjson/runtimeConfig.browser.ts +++ b/protocol_tests/aws-restjson/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/protocol_tests/aws-restjson/runtimeConfig.native.ts b/protocol_tests/aws-restjson/runtimeConfig.native.ts index b3086035d829..6ef1ac1a84a9 100644 --- a/protocol_tests/aws-restjson/runtimeConfig.native.ts +++ b/protocol_tests/aws-restjson/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./RestJsonProtocolClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/protocol_tests/aws-restjson/runtimeConfig.shared.ts b/protocol_tests/aws-restjson/runtimeConfig.shared.ts index 967378a1bd4f..59da86dcb59b 100644 --- a/protocol_tests/aws-restjson/runtimeConfig.shared.ts +++ b/protocol_tests/aws-restjson/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Rest Json Protocol", + urlParser: parseUrl, }; diff --git a/protocol_tests/aws-restjson/runtimeConfig.ts b/protocol_tests/aws-restjson/runtimeConfig.ts index afe44fe761e1..d539506b6e1b 100644 --- a/protocol_tests/aws-restjson/runtimeConfig.ts +++ b/protocol_tests/aws-restjson/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/protocol_tests/aws-restxml/package.json b/protocol_tests/aws-restxml/package.json index 83a1c693c08e..feb975c8542d 100644 --- a/protocol_tests/aws-restxml/package.json +++ b/protocol_tests/aws-restxml/package.json @@ -47,8 +47,8 @@ "@aws-sdk/querystring-builder": "3.1.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/protocol_tests/aws-restxml/runtimeConfig.browser.ts b/protocol_tests/aws-restxml/runtimeConfig.browser.ts index f73058632bd5..71d72a7a81ad 100644 --- a/protocol_tests/aws-restxml/runtimeConfig.browser.ts +++ b/protocol_tests/aws-restxml/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/protocol_tests/aws-restxml/runtimeConfig.native.ts b/protocol_tests/aws-restxml/runtimeConfig.native.ts index cf729595d6e3..96df7e1cdbef 100644 --- a/protocol_tests/aws-restxml/runtimeConfig.native.ts +++ b/protocol_tests/aws-restxml/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./RestXmlProtocolClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/protocol_tests/aws-restxml/runtimeConfig.shared.ts b/protocol_tests/aws-restxml/runtimeConfig.shared.ts index 1c9c4161c5dd..918b732586d8 100644 --- a/protocol_tests/aws-restxml/runtimeConfig.shared.ts +++ b/protocol_tests/aws-restxml/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Rest Xml Protocol", + urlParser: parseUrl, }; diff --git a/protocol_tests/aws-restxml/runtimeConfig.ts b/protocol_tests/aws-restxml/runtimeConfig.ts index e831beae8e64..13ecb063e9da 100644 --- a/protocol_tests/aws-restxml/runtimeConfig.ts +++ b/protocol_tests/aws-restxml/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, };