From 06c69967f7a941596d092d45e18998a3ba053a8b Mon Sep 17 00:00:00 2001 From: George Fu Date: Thu, 25 Jan 2024 21:54:22 +0000 Subject: [PATCH] chore: use peered node credential provider in sso oidc --- clients/client-accessanalyzer/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-account/package.json | 1 - clients/client-account/src/runtimeConfig.ts | 4 +- clients/client-acm-pca/package.json | 1 - clients/client-acm-pca/src/runtimeConfig.ts | 4 +- clients/client-acm/package.json | 1 - clients/client-acm/src/runtimeConfig.ts | 4 +- .../client-alexa-for-business/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-amp/package.json | 1 - clients/client-amp/src/runtimeConfig.ts | 4 +- clients/client-amplify/package.json | 1 - clients/client-amplify/src/runtimeConfig.ts | 4 +- clients/client-amplifybackend/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-amplifyuibuilder/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-api-gateway/package.json | 1 - .../client-api-gateway/src/runtimeConfig.ts | 4 +- .../package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-apigatewayv2/package.json | 1 - .../client-apigatewayv2/src/runtimeConfig.ts | 4 +- clients/client-app-mesh/package.json | 1 - clients/client-app-mesh/src/runtimeConfig.ts | 4 +- clients/client-appconfig/package.json | 1 - clients/client-appconfig/src/runtimeConfig.ts | 4 +- clients/client-appconfigdata/package.json | 1 - .../client-appconfigdata/src/runtimeConfig.ts | 4 +- clients/client-appfabric/package.json | 1 - clients/client-appfabric/src/runtimeConfig.ts | 4 +- clients/client-appflow/package.json | 1 - clients/client-appflow/src/runtimeConfig.ts | 4 +- clients/client-appintegrations/package.json | 1 - .../src/runtimeConfig.ts | 4 +- .../package.json | 1 - .../src/runtimeConfig.ts | 4 +- .../package.json | 1 - .../src/runtimeConfig.ts | 4 +- .../client-application-insights/package.json | 1 - .../src/runtimeConfig.ts | 4 +- .../package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-apprunner/package.json | 1 - clients/client-apprunner/src/runtimeConfig.ts | 4 +- clients/client-appstream/package.json | 2 +- ...reateAppBlockBuilderStreamingURLCommand.ts | 2 + .../CreateImageBuilderStreamingURLCommand.ts | 2 + .../src/commands/CreateStreamingURLCommand.ts | 2 + clients/client-appstream/src/runtimeConfig.ts | 4 +- clients/client-appsync/package.json | 1 - clients/client-appsync/src/runtimeConfig.ts | 4 +- clients/client-arc-zonal-shift/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-athena/package.json | 1 - clients/client-athena/src/runtimeConfig.ts | 4 +- clients/client-auditmanager/package.json | 1 - .../client-auditmanager/src/runtimeConfig.ts | 4 +- .../client-auto-scaling-plans/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-auto-scaling/package.json | 1 - .../client-auto-scaling/src/runtimeConfig.ts | 4 +- clients/client-b2bi/package.json | 1 - clients/client-b2bi/src/runtimeConfig.ts | 4 +- clients/client-backup-gateway/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-backup/package.json | 1 - clients/client-backup/src/runtimeConfig.ts | 4 +- clients/client-backupstorage/package.json | 1 - .../client-backupstorage/src/runtimeConfig.ts | 4 +- clients/client-batch/package.json | 1 - clients/client-batch/src/runtimeConfig.ts | 4 +- clients/client-bcm-data-exports/package.json | 1 - .../src/runtimeConfig.ts | 4 +- .../client-bedrock-agent-runtime/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-bedrock-agent/package.json | 1 - .../client-bedrock-agent/src/runtimeConfig.ts | 4 +- clients/client-bedrock-runtime/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-bedrock/package.json | 1 - clients/client-bedrock/src/runtimeConfig.ts | 4 +- clients/client-billingconductor/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-braket/package.json | 1 - clients/client-braket/src/runtimeConfig.ts | 4 +- clients/client-budgets/package.json | 1 - clients/client-budgets/src/runtimeConfig.ts | 4 +- .../client-chime-sdk-identity/package.json | 1 - .../src/runtimeConfig.ts | 4 +- .../package.json | 1 - .../src/runtimeConfig.ts | 4 +- .../client-chime-sdk-meetings/package.json | 1 - .../src/runtimeConfig.ts | 4 +- .../client-chime-sdk-messaging/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-chime-sdk-voice/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-chime/package.json | 1 - clients/client-chime/src/runtimeConfig.ts | 4 +- clients/client-cleanrooms/package.json | 1 - .../client-cleanrooms/src/runtimeConfig.ts | 4 +- clients/client-cleanroomsml/package.json | 1 - .../client-cleanroomsml/src/runtimeConfig.ts | 4 +- clients/client-cloud9/package.json | 1 - clients/client-cloud9/src/runtimeConfig.ts | 4 +- clients/client-cloudcontrol/package.json | 1 - .../client-cloudcontrol/src/runtimeConfig.ts | 4 +- clients/client-clouddirectory/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-cloudformation/package.json | 1 - .../src/runtimeConfig.ts | 4 +- .../package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-cloudfront/package.json | 1 - .../client-cloudfront/src/runtimeConfig.ts | 4 +- clients/client-cloudhsm-v2/package.json | 1 - .../client-cloudhsm-v2/src/runtimeConfig.ts | 4 +- clients/client-cloudhsm/package.json | 1 - clients/client-cloudhsm/src/runtimeConfig.ts | 4 +- .../client-cloudsearch-domain/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-cloudsearch/package.json | 1 - .../client-cloudsearch/src/runtimeConfig.ts | 4 +- clients/client-cloudtrail-data/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-cloudtrail/package.json | 1 - .../client-cloudtrail/src/runtimeConfig.ts | 4 +- clients/client-cloudwatch-events/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-cloudwatch-logs/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-cloudwatch/package.json | 1 - .../client-cloudwatch/src/runtimeConfig.ts | 4 +- clients/client-codeartifact/package.json | 1 - .../client-codeartifact/src/runtimeConfig.ts | 4 +- clients/client-codebuild/package.json | 1 - clients/client-codebuild/src/runtimeConfig.ts | 4 +- clients/client-codecommit/package.json | 1 - .../client-codecommit/src/runtimeConfig.ts | 4 +- clients/client-codedeploy/package.json | 1 - .../client-codedeploy/src/runtimeConfig.ts | 4 +- clients/client-codeguru-reviewer/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-codeguru-security/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-codeguruprofiler/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-codepipeline/package.json | 1 - .../client-codepipeline/src/runtimeConfig.ts | 4 +- .../client-codestar-connections/package.json | 1 - .../src/runtimeConfig.ts | 4 +- .../package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-codestar/package.json | 1 - clients/client-codestar/src/runtimeConfig.ts | 4 +- .../package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-cognito-identity/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-cognito-sync/package.json | 1 - .../client-cognito-sync/src/runtimeConfig.ts | 4 +- clients/client-comprehend/package.json | 1 - .../client-comprehend/src/runtimeConfig.ts | 4 +- clients/client-comprehendmedical/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-compute-optimizer/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-config-service/package.json | 1 - .../src/runtimeConfig.ts | 4 +- .../client-connect-contact-lens/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-connect/package.json | 1 - clients/client-connect/src/runtimeConfig.ts | 4 +- clients/client-connectcampaigns/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-connectcases/package.json | 1 - .../client-connectcases/src/runtimeConfig.ts | 4 +- .../client-connectparticipant/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-controltower/package.json | 1 - .../client-controltower/src/runtimeConfig.ts | 4 +- .../package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-cost-explorer/package.json | 1 - .../client-cost-explorer/src/runtimeConfig.ts | 4 +- .../client-cost-optimization-hub/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-customer-profiles/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-data-pipeline/package.json | 1 - .../client-data-pipeline/src/runtimeConfig.ts | 4 +- .../package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-databrew/package.json | 1 - clients/client-databrew/src/runtimeConfig.ts | 4 +- clients/client-dataexchange/package.json | 1 - .../client-dataexchange/src/runtimeConfig.ts | 4 +- clients/client-datasync/package.json | 1 - clients/client-datasync/src/runtimeConfig.ts | 4 +- clients/client-datazone/package.json | 1 - clients/client-datazone/src/runtimeConfig.ts | 4 +- clients/client-dax/package.json | 1 - clients/client-dax/src/runtimeConfig.ts | 4 +- clients/client-detective/package.json | 1 - clients/client-detective/src/runtimeConfig.ts | 4 +- clients/client-device-farm/package.json | 1 - .../client-device-farm/src/runtimeConfig.ts | 4 +- clients/client-devops-guru/package.json | 1 - .../client-devops-guru/src/runtimeConfig.ts | 4 +- clients/client-direct-connect/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-directory-service/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-dlm/package.json | 1 - clients/client-dlm/src/runtimeConfig.ts | 4 +- clients/client-docdb-elastic/package.json | 1 - .../client-docdb-elastic/src/runtimeConfig.ts | 4 +- clients/client-docdb/package.json | 1 - clients/client-docdb/src/runtimeConfig.ts | 4 +- clients/client-drs/package.json | 1 - clients/client-drs/src/runtimeConfig.ts | 4 +- clients/client-dynamodb-streams/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-dynamodb/package.json | 1 - clients/client-dynamodb/src/runtimeConfig.ts | 4 +- clients/client-ebs/package.json | 1 - clients/client-ebs/src/runtimeConfig.ts | 4 +- .../client-ec2-instance-connect/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-ec2/package.json | 1 - clients/client-ec2/src/runtimeConfig.ts | 4 +- clients/client-ecr-public/package.json | 1 - .../client-ecr-public/src/runtimeConfig.ts | 4 +- clients/client-ecr/package.json | 1 - clients/client-ecr/src/runtimeConfig.ts | 4 +- clients/client-ecs/package.json | 1 - clients/client-ecs/src/runtimeConfig.ts | 4 +- clients/client-efs/package.json | 1 - clients/client-efs/src/runtimeConfig.ts | 4 +- clients/client-eks-auth/package.json | 1 - clients/client-eks-auth/src/runtimeConfig.ts | 4 +- clients/client-eks/package.json | 1 - clients/client-eks/src/runtimeConfig.ts | 4 +- clients/client-elastic-beanstalk/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-elastic-inference/package.json | 1 - .../src/runtimeConfig.ts | 4 +- .../package.json | 1 - .../src/runtimeConfig.ts | 4 +- .../package.json | 1 - .../src/runtimeConfig.ts | 4 +- .../client-elastic-transcoder/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-elasticache/package.json | 1 - .../client-elasticache/src/runtimeConfig.ts | 4 +- .../client-elasticsearch-service/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-emr-containers/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-emr-serverless/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-emr/package.json | 1 - clients/client-emr/src/runtimeConfig.ts | 4 +- clients/client-entityresolution/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-eventbridge/package.json | 1 - .../client-eventbridge/src/runtimeConfig.ts | 4 +- clients/client-evidently/package.json | 1 - clients/client-evidently/src/runtimeConfig.ts | 4 +- clients/client-finspace-data/package.json | 1 - .../client-finspace-data/src/runtimeConfig.ts | 4 +- clients/client-finspace/package.json | 1 - clients/client-finspace/src/runtimeConfig.ts | 4 +- clients/client-firehose/package.json | 1 - clients/client-firehose/src/runtimeConfig.ts | 4 +- clients/client-fis/package.json | 1 - clients/client-fis/src/runtimeConfig.ts | 4 +- clients/client-fms/package.json | 1 - clients/client-fms/src/runtimeConfig.ts | 4 +- clients/client-forecast/package.json | 1 - clients/client-forecast/src/runtimeConfig.ts | 4 +- clients/client-forecastquery/package.json | 1 - .../client-forecastquery/src/runtimeConfig.ts | 4 +- clients/client-frauddetector/package.json | 1 - .../client-frauddetector/src/runtimeConfig.ts | 4 +- clients/client-freetier/package.json | 1 - clients/client-freetier/src/runtimeConfig.ts | 4 +- clients/client-fsx/package.json | 1 - clients/client-fsx/src/runtimeConfig.ts | 4 +- clients/client-gamelift/package.json | 1 - clients/client-gamelift/src/runtimeConfig.ts | 4 +- clients/client-glacier/package.json | 1 - clients/client-glacier/src/runtimeConfig.ts | 4 +- .../client-global-accelerator/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-glue/package.json | 1 - clients/client-glue/src/runtimeConfig.ts | 4 +- clients/client-grafana/package.json | 1 - clients/client-grafana/src/runtimeConfig.ts | 4 +- clients/client-greengrass/package.json | 1 - .../client-greengrass/src/runtimeConfig.ts | 4 +- clients/client-greengrassv2/package.json | 1 - .../client-greengrassv2/src/runtimeConfig.ts | 4 +- clients/client-groundstation/package.json | 1 - .../client-groundstation/src/runtimeConfig.ts | 4 +- clients/client-guardduty/package.json | 1 - clients/client-guardduty/src/runtimeConfig.ts | 4 +- clients/client-health/package.json | 1 - clients/client-health/src/runtimeConfig.ts | 4 +- clients/client-healthlake/package.json | 1 - .../client-healthlake/src/runtimeConfig.ts | 4 +- clients/client-honeycode/package.json | 1 - clients/client-honeycode/src/runtimeConfig.ts | 4 +- clients/client-iam/package.json | 1 - clients/client-iam/src/runtimeConfig.ts | 4 +- clients/client-identitystore/package.json | 1 - .../client-identitystore/src/runtimeConfig.ts | 4 +- clients/client-imagebuilder/package.json | 1 - .../client-imagebuilder/src/runtimeConfig.ts | 4 +- clients/client-inspector-scan/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-inspector/package.json | 1 - clients/client-inspector/src/runtimeConfig.ts | 4 +- clients/client-inspector2/package.json | 1 - .../client-inspector2/src/runtimeConfig.ts | 4 +- clients/client-internetmonitor/package.json | 1 - .../src/runtimeConfig.ts | 4 +- .../package.json | 1 - .../src/runtimeConfig.ts | 4 +- .../client-iot-1click-projects/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-iot-data-plane/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-iot-events-data/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-iot-events/package.json | 1 - .../client-iot-events/src/runtimeConfig.ts | 4 +- .../client-iot-jobs-data-plane/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-iot-roborunner/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-iot-wireless/package.json | 1 - .../client-iot-wireless/src/runtimeConfig.ts | 4 +- clients/client-iot/package.json | 1 - clients/client-iot/src/runtimeConfig.ts | 4 +- clients/client-iotanalytics/package.json | 1 - .../client-iotanalytics/src/runtimeConfig.ts | 4 +- clients/client-iotdeviceadvisor/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-iotfleethub/package.json | 1 - .../client-iotfleethub/src/runtimeConfig.ts | 4 +- clients/client-iotfleetwise/package.json | 1 - .../client-iotfleetwise/src/runtimeConfig.ts | 4 +- .../client-iotsecuretunneling/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-iotsitewise/package.json | 1 - .../client-iotsitewise/src/runtimeConfig.ts | 4 +- clients/client-iotthingsgraph/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-iottwinmaker/package.json | 1 - .../client-iottwinmaker/src/runtimeConfig.ts | 4 +- clients/client-ivs-realtime/package.json | 1 - .../client-ivs-realtime/src/runtimeConfig.ts | 4 +- clients/client-ivs/package.json | 1 - clients/client-ivs/src/runtimeConfig.ts | 4 +- clients/client-ivschat/package.json | 1 - clients/client-ivschat/src/runtimeConfig.ts | 4 +- clients/client-kafka/package.json | 1 - clients/client-kafka/src/runtimeConfig.ts | 4 +- clients/client-kafkaconnect/package.json | 1 - .../client-kafkaconnect/src/runtimeConfig.ts | 4 +- clients/client-kendra-ranking/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-kendra/package.json | 1 - clients/client-kendra/src/runtimeConfig.ts | 4 +- clients/client-keyspaces/package.json | 1 - clients/client-keyspaces/src/runtimeConfig.ts | 4 +- .../client-kinesis-analytics-v2/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-kinesis-analytics/package.json | 1 - .../src/runtimeConfig.ts | 4 +- .../package.json | 1 - .../src/runtimeConfig.ts | 4 +- .../client-kinesis-video-media/package.json | 1 - .../src/runtimeConfig.ts | 4 +- .../package.json | 1 - .../src/runtimeConfig.ts | 4 +- .../package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-kinesis-video/package.json | 1 - .../client-kinesis-video/src/runtimeConfig.ts | 4 +- clients/client-kinesis/package.json | 1 - clients/client-kinesis/src/runtimeConfig.ts | 4 +- clients/client-kms/package.json | 1 - clients/client-kms/src/runtimeConfig.ts | 4 +- clients/client-lakeformation/package.json | 1 - .../client-lakeformation/src/runtimeConfig.ts | 4 +- clients/client-lambda/package.json | 1 - clients/client-lambda/src/runtimeConfig.ts | 4 +- clients/client-launch-wizard/package.json | 1 - .../client-launch-wizard/src/runtimeConfig.ts | 4 +- .../package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-lex-models-v2/package.json | 1 - .../client-lex-models-v2/src/runtimeConfig.ts | 4 +- .../client-lex-runtime-service/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-lex-runtime-v2/package.json | 1 - .../src/runtimeConfig.ts | 4 +- .../package.json | 1 - .../src/runtimeConfig.ts | 4 +- .../package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-license-manager/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-lightsail/package.json | 1 - clients/client-lightsail/src/runtimeConfig.ts | 4 +- clients/client-location/package.json | 1 - clients/client-location/src/runtimeConfig.ts | 4 +- clients/client-lookoutequipment/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-lookoutmetrics/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-lookoutvision/package.json | 1 - .../client-lookoutvision/src/runtimeConfig.ts | 4 +- clients/client-m2/package.json | 1 - clients/client-m2/src/runtimeConfig.ts | 4 +- clients/client-machine-learning/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-macie2/package.json | 1 - clients/client-macie2/src/runtimeConfig.ts | 4 +- .../package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-managedblockchain/package.json | 1 - .../src/runtimeConfig.ts | 4 +- .../client-marketplace-agreement/package.json | 1 - .../src/runtimeConfig.ts | 4 +- .../client-marketplace-catalog/package.json | 1 - .../src/runtimeConfig.ts | 4 +- .../package.json | 1 - .../src/runtimeConfig.ts | 4 +- .../package.json | 1 - .../src/runtimeConfig.ts | 4 +- .../package.json | 1 - .../src/runtimeConfig.ts | 4 +- .../client-marketplace-metering/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-mediaconnect/package.json | 1 - .../client-mediaconnect/src/runtimeConfig.ts | 4 +- clients/client-mediaconvert/package.json | 1 - .../client-mediaconvert/src/runtimeConfig.ts | 4 +- clients/client-medialive/package.json | 1 - clients/client-medialive/src/runtimeConfig.ts | 4 +- clients/client-mediapackage-vod/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-mediapackage/package.json | 1 - .../client-mediapackage/src/runtimeConfig.ts | 4 +- clients/client-mediapackagev2/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-mediastore-data/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-mediastore/package.json | 1 - .../client-mediastore/src/runtimeConfig.ts | 4 +- clients/client-mediatailor/package.json | 1 - .../client-mediatailor/src/runtimeConfig.ts | 4 +- clients/client-medical-imaging/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-memorydb/package.json | 1 - clients/client-memorydb/src/runtimeConfig.ts | 4 +- clients/client-mgn/package.json | 1 - clients/client-mgn/src/runtimeConfig.ts | 4 +- .../package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-migration-hub/package.json | 1 - .../client-migration-hub/src/runtimeConfig.ts | 4 +- .../client-migrationhub-config/package.json | 1 - .../src/runtimeConfig.ts | 4 +- .../package.json | 1 - .../src/runtimeConfig.ts | 4 +- .../client-migrationhubstrategy/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-mobile/package.json | 1 - clients/client-mobile/src/runtimeConfig.ts | 4 +- clients/client-mq/package.json | 1 - clients/client-mq/src/runtimeConfig.ts | 4 +- clients/client-mturk/package.json | 1 - clients/client-mturk/src/runtimeConfig.ts | 4 +- clients/client-mwaa/package.json | 1 - clients/client-mwaa/src/runtimeConfig.ts | 4 +- clients/client-neptune-graph/package.json | 1 - .../client-neptune-graph/src/runtimeConfig.ts | 4 +- clients/client-neptune/package.json | 1 - clients/client-neptune/src/runtimeConfig.ts | 4 +- clients/client-neptunedata/package.json | 1 - .../client-neptunedata/src/runtimeConfig.ts | 4 +- clients/client-network-firewall/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-networkmanager/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-networkmonitor/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-nimble/package.json | 1 - clients/client-nimble/src/runtimeConfig.ts | 4 +- clients/client-oam/package.json | 1 - clients/client-oam/src/runtimeConfig.ts | 4 +- clients/client-omics/package.json | 1 - clients/client-omics/src/runtimeConfig.ts | 4 +- clients/client-opensearch/package.json | 1 - .../client-opensearch/src/runtimeConfig.ts | 4 +- .../client-opensearchserverless/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-opsworks/package.json | 1 - clients/client-opsworks/src/runtimeConfig.ts | 4 +- clients/client-opsworkscm/package.json | 1 - .../client-opsworkscm/src/runtimeConfig.ts | 4 +- clients/client-organizations/package.json | 1 - .../client-organizations/src/runtimeConfig.ts | 4 +- clients/client-osis/package.json | 1 - clients/client-osis/src/runtimeConfig.ts | 4 +- clients/client-outposts/package.json | 1 - clients/client-outposts/src/runtimeConfig.ts | 4 +- clients/client-panorama/package.json | 1 - clients/client-panorama/src/runtimeConfig.ts | 4 +- .../package.json | 1 - .../src/runtimeConfig.ts | 4 +- .../client-payment-cryptography/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-pca-connector-ad/package.json | 1 - .../src/runtimeConfig.ts | 4 +- .../client-personalize-events/package.json | 1 - .../src/runtimeConfig.ts | 4 +- .../client-personalize-runtime/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-personalize/package.json | 1 - .../client-personalize/src/runtimeConfig.ts | 4 +- clients/client-pi/package.json | 1 - clients/client-pi/src/runtimeConfig.ts | 4 +- clients/client-pinpoint-email/package.json | 1 - .../src/runtimeConfig.ts | 4 +- .../client-pinpoint-sms-voice-v2/package.json | 1 - .../src/runtimeConfig.ts | 4 +- .../client-pinpoint-sms-voice/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-pinpoint/package.json | 1 - clients/client-pinpoint/src/runtimeConfig.ts | 4 +- clients/client-pipes/package.json | 1 - clients/client-pipes/src/runtimeConfig.ts | 4 +- clients/client-polly/package.json | 1 - clients/client-polly/src/runtimeConfig.ts | 4 +- clients/client-pricing/package.json | 1 - clients/client-pricing/src/runtimeConfig.ts | 4 +- clients/client-privatenetworks/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-proton/package.json | 1 - clients/client-proton/src/runtimeConfig.ts | 4 +- clients/client-qbusiness/package.json | 1 - clients/client-qbusiness/src/runtimeConfig.ts | 4 +- clients/client-qconnect/package.json | 1 - clients/client-qconnect/src/runtimeConfig.ts | 4 +- clients/client-qldb-session/package.json | 1 - .../client-qldb-session/src/runtimeConfig.ts | 4 +- clients/client-qldb/package.json | 1 - clients/client-qldb/src/runtimeConfig.ts | 4 +- clients/client-quicksight/package.json | 1 - .../client-quicksight/src/runtimeConfig.ts | 4 +- clients/client-ram/package.json | 1 - clients/client-ram/src/runtimeConfig.ts | 4 +- clients/client-rbin/package.json | 1 - clients/client-rbin/src/runtimeConfig.ts | 4 +- clients/client-rds-data/package.json | 1 - clients/client-rds-data/src/runtimeConfig.ts | 4 +- clients/client-rds/package.json | 1 - clients/client-rds/src/runtimeConfig.ts | 4 +- clients/client-redshift-data/package.json | 1 - .../client-redshift-data/src/runtimeConfig.ts | 4 +- .../client-redshift-serverless/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-redshift/package.json | 1 - clients/client-redshift/src/runtimeConfig.ts | 4 +- clients/client-rekognition/package.json | 1 - .../client-rekognition/src/runtimeConfig.ts | 4 +- .../client-rekognitionstreaming/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-repostspace/package.json | 1 - .../client-repostspace/src/runtimeConfig.ts | 4 +- clients/client-resiliencehub/package.json | 1 - .../client-resiliencehub/src/runtimeConfig.ts | 4 +- .../client-resource-explorer-2/package.json | 1 - .../src/runtimeConfig.ts | 4 +- .../package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-resource-groups/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-robomaker/package.json | 1 - clients/client-robomaker/src/runtimeConfig.ts | 4 +- clients/client-rolesanywhere/package.json | 1 - .../client-rolesanywhere/src/runtimeConfig.ts | 4 +- clients/client-route-53-domains/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-route-53/package.json | 1 - clients/client-route-53/src/runtimeConfig.ts | 4 +- .../package.json | 1 - .../src/runtimeConfig.ts | 4 +- .../package.json | 1 - .../src/runtimeConfig.ts | 4 +- .../package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-route53resolver/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-rum/package.json | 1 - clients/client-rum/src/runtimeConfig.ts | 4 +- clients/client-s3-control/package.json | 1 - .../client-s3-control/src/runtimeConfig.ts | 4 +- clients/client-s3/package.json | 1 - clients/client-s3/src/models/models_0.ts | 1 + clients/client-s3/src/models/models_1.ts | 2 + clients/client-s3outposts/package.json | 1 - .../client-s3outposts/src/runtimeConfig.ts | 4 +- .../client-sagemaker-a2i-runtime/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-sagemaker-edge/package.json | 1 - .../src/runtimeConfig.ts | 4 +- .../package.json | 1 - .../src/runtimeConfig.ts | 4 +- .../client-sagemaker-geospatial/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-sagemaker-metrics/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-sagemaker-runtime/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-sagemaker/package.json | 1 - clients/client-sagemaker/src/runtimeConfig.ts | 4 +- clients/client-savingsplans/package.json | 1 - .../client-savingsplans/src/runtimeConfig.ts | 4 +- clients/client-scheduler/package.json | 1 - clients/client-scheduler/src/runtimeConfig.ts | 4 +- clients/client-schemas/package.json | 1 - clients/client-schemas/src/runtimeConfig.ts | 4 +- clients/client-secrets-manager/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-securityhub/package.json | 1 - .../client-securityhub/src/runtimeConfig.ts | 4 +- clients/client-securitylake/package.json | 1 - .../client-securitylake/src/runtimeConfig.ts | 4 +- .../package.json | 1 - .../src/runtimeConfig.ts | 4 +- .../package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-service-catalog/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-service-quotas/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-servicediscovery/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-ses/package.json | 1 - clients/client-ses/src/runtimeConfig.ts | 4 +- clients/client-sesv2/package.json | 1 - clients/client-sesv2/src/runtimeConfig.ts | 4 +- clients/client-sfn/package.json | 1 - clients/client-sfn/src/runtimeConfig.ts | 4 +- clients/client-shield/package.json | 1 - clients/client-shield/src/runtimeConfig.ts | 4 +- clients/client-signer/package.json | 1 - clients/client-signer/src/runtimeConfig.ts | 4 +- clients/client-simspaceweaver/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-sms/package.json | 1 - clients/client-sms/src/runtimeConfig.ts | 4 +- .../package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-snowball/package.json | 1 - clients/client-snowball/src/runtimeConfig.ts | 4 +- clients/client-sns/package.json | 1 - clients/client-sns/src/runtimeConfig.ts | 4 +- clients/client-sqs/package.json | 1 - clients/client-sqs/src/runtimeConfig.ts | 4 +- clients/client-ssm-contacts/package.json | 1 - .../client-ssm-contacts/src/runtimeConfig.ts | 4 +- clients/client-ssm-incidents/package.json | 1 - .../client-ssm-incidents/src/runtimeConfig.ts | 4 +- clients/client-ssm-sap/package.json | 1 - clients/client-ssm-sap/src/runtimeConfig.ts | 4 +- clients/client-ssm/package.json | 1 - clients/client-ssm/src/runtimeConfig.ts | 4 +- clients/client-sso-admin/package.json | 1 - clients/client-sso-admin/src/runtimeConfig.ts | 4 +- clients/client-sso-oidc/package.json | 5 +- .../src/credentialDefaultProvider.ts | 9 + clients/client-sso-oidc/src/runtimeConfig.ts | 6 +- clients/client-storage-gateway/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-sts/package.json | 4 +- .../src/credentialDefaultProvider.ts | 9 + clients/client-sts/src/runtimeConfig.ts | 2 +- clients/client-supplychain/package.json | 1 - .../client-supplychain/src/runtimeConfig.ts | 4 +- clients/client-support-app/package.json | 1 - .../client-support-app/src/runtimeConfig.ts | 4 +- clients/client-support/package.json | 1 - clients/client-support/src/runtimeConfig.ts | 4 +- clients/client-swf/package.json | 1 - clients/client-swf/src/runtimeConfig.ts | 4 +- clients/client-synthetics/package.json | 1 - .../client-synthetics/src/runtimeConfig.ts | 4 +- clients/client-textract/package.json | 1 - clients/client-textract/src/runtimeConfig.ts | 4 +- clients/client-timestream-query/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-timestream-write/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-tnb/package.json | 1 - clients/client-tnb/src/runtimeConfig.ts | 4 +- .../client-transcribe-streaming/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-transcribe/package.json | 1 - .../client-transcribe/src/runtimeConfig.ts | 4 +- clients/client-transfer/package.json | 1 - clients/client-transfer/src/runtimeConfig.ts | 4 +- clients/client-translate/package.json | 1 - clients/client-translate/src/runtimeConfig.ts | 4 +- clients/client-trustedadvisor/package.json | 1 - .../src/runtimeConfig.ts | 4 +- .../client-verifiedpermissions/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-voice-id/package.json | 1 - clients/client-voice-id/src/runtimeConfig.ts | 4 +- clients/client-vpc-lattice/package.json | 1 - .../client-vpc-lattice/src/runtimeConfig.ts | 4 +- clients/client-waf-regional/package.json | 1 - .../client-waf-regional/src/runtimeConfig.ts | 4 +- clients/client-waf/package.json | 1 - clients/client-waf/src/runtimeConfig.ts | 4 +- clients/client-wafv2/package.json | 1 - clients/client-wafv2/src/runtimeConfig.ts | 4 +- clients/client-wellarchitected/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-wisdom/package.json | 1 - clients/client-wisdom/src/runtimeConfig.ts | 4 +- clients/client-workdocs/package.json | 1 - clients/client-workdocs/src/runtimeConfig.ts | 4 +- clients/client-worklink/package.json | 1 - clients/client-worklink/src/runtimeConfig.ts | 4 +- clients/client-workmail/package.json | 1 - clients/client-workmail/src/runtimeConfig.ts | 4 +- .../client-workmailmessageflow/package.json | 1 - .../src/runtimeConfig.ts | 4 +- .../package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-workspaces-web/package.json | 1 - .../src/runtimeConfig.ts | 4 +- clients/client-workspaces/package.json | 1 - .../client-workspaces/src/runtimeConfig.ts | 4 +- clients/client-xray/package.json | 1 - clients/client-xray/src/runtimeConfig.ts | 4 +- .../typescript/codegen/AddAwsAuthPlugin.java | 41 +- .../aws/typescript/codegen/AwsDependency.java | 2 + .../integration/AddSTSAuthCustomizations.java | 9 +- .../integration/AwsSdkCustomizeSigV4Auth.java | 71 +- .../credential-provider-ini/src/fromIni.ts | 4 +- .../src/fromProcess.ts | 4 +- .../credential-provider-sso/src/fromSSO.ts | 4 +- .../src/fromTokenFile.ts | 8 +- .../src/fromWebToken.ts | 6 +- .../src/bundle/client-sso-oidc-node.ts | 1204 ----------------- packages/token-providers/src/fromSso.ts | 6 +- packages/token-providers/src/fromStatic.ts | 7 +- packages/types/src/credentials.ts | 11 + private/aws-protocoltests-json/package.json | 1 - .../src/runtimeConfig.ts | 4 +- private/weather/package.json | 1 - private/weather/src/runtimeConfig.ts | 4 +- 773 files changed, 553 insertions(+), 2740 deletions(-) create mode 100644 clients/client-sso-oidc/src/credentialDefaultProvider.ts create mode 100644 clients/client-sts/src/credentialDefaultProvider.ts delete mode 100644 packages/token-providers/src/bundle/client-sso-oidc-node.ts diff --git a/clients/client-accessanalyzer/package.json b/clients/client-accessanalyzer/package.json index 92fdb42f9288a..76eaa943a6df7 100644 --- a/clients/client-accessanalyzer/package.json +++ b/clients/client-accessanalyzer/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-accessanalyzer/src/runtimeConfig.ts b/clients/client-accessanalyzer/src/runtimeConfig.ts index f8c8d50b9ec52..7f12fe4c2aec2 100644 --- a/clients/client-accessanalyzer/src/runtimeConfig.ts +++ b/clients/client-accessanalyzer/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: AccessAnalyzerClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-account/package.json b/clients/client-account/package.json index 93e1ca847c176..382a37b9f99fa 100644 --- a/clients/client-account/package.json +++ b/clients/client-account/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-account/src/runtimeConfig.ts b/clients/client-account/src/runtimeConfig.ts index 68445aaaad5cd..a8ccd749fd972 100644 --- a/clients/client-account/src/runtimeConfig.ts +++ b/clients/client-account/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: AccountClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-acm-pca/package.json b/clients/client-acm-pca/package.json index ef3a647bf6637..e3ac2da9deb6b 100644 --- a/clients/client-acm-pca/package.json +++ b/clients/client-acm-pca/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-acm-pca/src/runtimeConfig.ts b/clients/client-acm-pca/src/runtimeConfig.ts index 8498f29c3fa14..17190a0db891f 100644 --- a/clients/client-acm-pca/src/runtimeConfig.ts +++ b/clients/client-acm-pca/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: ACMPCAClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-acm/package.json b/clients/client-acm/package.json index c8cfd63a79e15..ab1efa26eebc1 100644 --- a/clients/client-acm/package.json +++ b/clients/client-acm/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-acm/src/runtimeConfig.ts b/clients/client-acm/src/runtimeConfig.ts index 6cea227abbe2c..2fb4410322c47 100644 --- a/clients/client-acm/src/runtimeConfig.ts +++ b/clients/client-acm/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: ACMClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-alexa-for-business/package.json b/clients/client-alexa-for-business/package.json index c90b51702b69b..017c56c692c5f 100644 --- a/clients/client-alexa-for-business/package.json +++ b/clients/client-alexa-for-business/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-alexa-for-business/src/runtimeConfig.ts b/clients/client-alexa-for-business/src/runtimeConfig.ts index e31658e16d3f8..b538f34d3ec37 100644 --- a/clients/client-alexa-for-business/src/runtimeConfig.ts +++ b/clients/client-alexa-for-business/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: AlexaForBusinessClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-amp/package.json b/clients/client-amp/package.json index f1e80cdeb55aa..7d526e6110d30 100644 --- a/clients/client-amp/package.json +++ b/clients/client-amp/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-amp/src/runtimeConfig.ts b/clients/client-amp/src/runtimeConfig.ts index 02a7a1a9e4989..87def006215fc 100644 --- a/clients/client-amp/src/runtimeConfig.ts +++ b/clients/client-amp/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: AmpClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-amplify/package.json b/clients/client-amplify/package.json index 6180213342989..b69af84dc2b1c 100644 --- a/clients/client-amplify/package.json +++ b/clients/client-amplify/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-amplify/src/runtimeConfig.ts b/clients/client-amplify/src/runtimeConfig.ts index 652ff882915bd..af605eecfdc28 100644 --- a/clients/client-amplify/src/runtimeConfig.ts +++ b/clients/client-amplify/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: AmplifyClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-amplifybackend/package.json b/clients/client-amplifybackend/package.json index 8c8697493a266..0916220451aca 100644 --- a/clients/client-amplifybackend/package.json +++ b/clients/client-amplifybackend/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-amplifybackend/src/runtimeConfig.ts b/clients/client-amplifybackend/src/runtimeConfig.ts index 1ef513db95cf0..e6fa409b8b012 100644 --- a/clients/client-amplifybackend/src/runtimeConfig.ts +++ b/clients/client-amplifybackend/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: AmplifyBackendClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-amplifyuibuilder/package.json b/clients/client-amplifyuibuilder/package.json index b8ab73a8fdc0c..a41ed5a10a6e1 100644 --- a/clients/client-amplifyuibuilder/package.json +++ b/clients/client-amplifyuibuilder/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-amplifyuibuilder/src/runtimeConfig.ts b/clients/client-amplifyuibuilder/src/runtimeConfig.ts index b7f38243cab38..9dbaf147a2fbd 100644 --- a/clients/client-amplifyuibuilder/src/runtimeConfig.ts +++ b/clients/client-amplifyuibuilder/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: AmplifyUIBuilderClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-api-gateway/package.json b/clients/client-api-gateway/package.json index ab29051f66452..366ae03c3b24f 100644 --- a/clients/client-api-gateway/package.json +++ b/clients/client-api-gateway/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-api-gateway/src/runtimeConfig.ts b/clients/client-api-gateway/src/runtimeConfig.ts index c9475ef2cfe6f..df7c7f2c62e3a 100644 --- a/clients/client-api-gateway/src/runtimeConfig.ts +++ b/clients/client-api-gateway/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: APIGatewayClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-apigatewaymanagementapi/package.json b/clients/client-apigatewaymanagementapi/package.json index 038edd5f1ceee..30a322f58efa1 100644 --- a/clients/client-apigatewaymanagementapi/package.json +++ b/clients/client-apigatewaymanagementapi/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-apigatewaymanagementapi/src/runtimeConfig.ts b/clients/client-apigatewaymanagementapi/src/runtimeConfig.ts index 0a5966f611be0..e3013bd7716e8 100644 --- a/clients/client-apigatewaymanagementapi/src/runtimeConfig.ts +++ b/clients/client-apigatewaymanagementapi/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: ApiGatewayManagementApiClientConfig) => runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-apigatewayv2/package.json b/clients/client-apigatewayv2/package.json index 180e4e192b3ea..f7e4884be2adb 100644 --- a/clients/client-apigatewayv2/package.json +++ b/clients/client-apigatewayv2/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-apigatewayv2/src/runtimeConfig.ts b/clients/client-apigatewayv2/src/runtimeConfig.ts index acd68d27712d6..86cfda97a55c6 100644 --- a/clients/client-apigatewayv2/src/runtimeConfig.ts +++ b/clients/client-apigatewayv2/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: ApiGatewayV2ClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-app-mesh/package.json b/clients/client-app-mesh/package.json index ff5b1543db86f..9a18468d40f83 100644 --- a/clients/client-app-mesh/package.json +++ b/clients/client-app-mesh/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-app-mesh/src/runtimeConfig.ts b/clients/client-app-mesh/src/runtimeConfig.ts index 36c409cd7f94e..4069be572a1af 100644 --- a/clients/client-app-mesh/src/runtimeConfig.ts +++ b/clients/client-app-mesh/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: AppMeshClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-appconfig/package.json b/clients/client-appconfig/package.json index 17299689bd750..b45038c75c5be 100644 --- a/clients/client-appconfig/package.json +++ b/clients/client-appconfig/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-appconfig/src/runtimeConfig.ts b/clients/client-appconfig/src/runtimeConfig.ts index c893905af13cf..f3734c6eef209 100644 --- a/clients/client-appconfig/src/runtimeConfig.ts +++ b/clients/client-appconfig/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: AppConfigClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-appconfigdata/package.json b/clients/client-appconfigdata/package.json index b700d53f91ba4..c0bed8bf211ca 100644 --- a/clients/client-appconfigdata/package.json +++ b/clients/client-appconfigdata/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-appconfigdata/src/runtimeConfig.ts b/clients/client-appconfigdata/src/runtimeConfig.ts index be8f3378bb44f..c2cf96e48af38 100644 --- a/clients/client-appconfigdata/src/runtimeConfig.ts +++ b/clients/client-appconfigdata/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: AppConfigDataClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-appfabric/package.json b/clients/client-appfabric/package.json index 58fdaab2f25a6..97367829d6087 100644 --- a/clients/client-appfabric/package.json +++ b/clients/client-appfabric/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-appfabric/src/runtimeConfig.ts b/clients/client-appfabric/src/runtimeConfig.ts index 35f6a3d01caca..e32d1c3a61815 100644 --- a/clients/client-appfabric/src/runtimeConfig.ts +++ b/clients/client-appfabric/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: AppFabricClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-appflow/package.json b/clients/client-appflow/package.json index 162268fc58fa7..7baa3b68d56e6 100644 --- a/clients/client-appflow/package.json +++ b/clients/client-appflow/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-appflow/src/runtimeConfig.ts b/clients/client-appflow/src/runtimeConfig.ts index a1f340da1cf27..3fb0f2c2c2942 100644 --- a/clients/client-appflow/src/runtimeConfig.ts +++ b/clients/client-appflow/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: AppflowClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-appintegrations/package.json b/clients/client-appintegrations/package.json index d78f4c01d776d..f737b2a5fe006 100644 --- a/clients/client-appintegrations/package.json +++ b/clients/client-appintegrations/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-appintegrations/src/runtimeConfig.ts b/clients/client-appintegrations/src/runtimeConfig.ts index 599b4fb2feafc..f5cc46f48c220 100644 --- a/clients/client-appintegrations/src/runtimeConfig.ts +++ b/clients/client-appintegrations/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: AppIntegrationsClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-application-auto-scaling/package.json b/clients/client-application-auto-scaling/package.json index 616d97a71cd89..47e69758ce411 100644 --- a/clients/client-application-auto-scaling/package.json +++ b/clients/client-application-auto-scaling/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-application-auto-scaling/src/runtimeConfig.ts b/clients/client-application-auto-scaling/src/runtimeConfig.ts index fe1760a3569f7..645b4f69bd5dd 100644 --- a/clients/client-application-auto-scaling/src/runtimeConfig.ts +++ b/clients/client-application-auto-scaling/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: ApplicationAutoScalingClientConfig) => runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-application-discovery-service/package.json b/clients/client-application-discovery-service/package.json index fd08b8b9ada76..48bc834f36db1 100644 --- a/clients/client-application-discovery-service/package.json +++ b/clients/client-application-discovery-service/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-application-discovery-service/src/runtimeConfig.ts b/clients/client-application-discovery-service/src/runtimeConfig.ts index cb5cdfc855a88..cae862d6d3842 100644 --- a/clients/client-application-discovery-service/src/runtimeConfig.ts +++ b/clients/client-application-discovery-service/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: ApplicationDiscoveryServiceClientConfig runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-application-insights/package.json b/clients/client-application-insights/package.json index d7f1d4128a066..3a1631ba5aa6c 100644 --- a/clients/client-application-insights/package.json +++ b/clients/client-application-insights/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-application-insights/src/runtimeConfig.ts b/clients/client-application-insights/src/runtimeConfig.ts index 980d44ca124f5..9e3a9f7ec4271 100644 --- a/clients/client-application-insights/src/runtimeConfig.ts +++ b/clients/client-application-insights/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: ApplicationInsightsClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-applicationcostprofiler/package.json b/clients/client-applicationcostprofiler/package.json index 7bafef11a7ad9..52a1b78dd4534 100644 --- a/clients/client-applicationcostprofiler/package.json +++ b/clients/client-applicationcostprofiler/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-applicationcostprofiler/src/runtimeConfig.ts b/clients/client-applicationcostprofiler/src/runtimeConfig.ts index 256cc0d80f960..8f8897a5c3515 100644 --- a/clients/client-applicationcostprofiler/src/runtimeConfig.ts +++ b/clients/client-applicationcostprofiler/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: ApplicationCostProfilerClientConfig) => runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-apprunner/package.json b/clients/client-apprunner/package.json index c919626323cb4..fa6c2be4a754b 100644 --- a/clients/client-apprunner/package.json +++ b/clients/client-apprunner/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-apprunner/src/runtimeConfig.ts b/clients/client-apprunner/src/runtimeConfig.ts index ac05aff4db41c..be5741192b472 100644 --- a/clients/client-apprunner/src/runtimeConfig.ts +++ b/clients/client-apprunner/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: AppRunnerClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-appstream/package.json b/clients/client-appstream/package.json index 89b539bd71bfe..7fbba2c9ab15a 100644 --- a/clients/client-appstream/package.json +++ b/clients/client-appstream/package.json @@ -20,12 +20,12 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", "@aws-sdk/middleware-logger": "*", "@aws-sdk/middleware-recursion-detection": "*", + "@aws-sdk/middleware-sdk-s3": "*", "@aws-sdk/middleware-signing": "*", "@aws-sdk/middleware-user-agent": "*", "@aws-sdk/region-config-resolver": "*", diff --git a/clients/client-appstream/src/commands/CreateAppBlockBuilderStreamingURLCommand.ts b/clients/client-appstream/src/commands/CreateAppBlockBuilderStreamingURLCommand.ts index 6e2baa608f5fa..59f6f1459700a 100644 --- a/clients/client-appstream/src/commands/CreateAppBlockBuilderStreamingURLCommand.ts +++ b/clients/client-appstream/src/commands/CreateAppBlockBuilderStreamingURLCommand.ts @@ -1,4 +1,5 @@ // smithy-typescript generated code +import { getS3ExpiresMiddlewarePlugin } from "@aws-sdk/middleware-sdk-s3"; import { getEndpointPlugin } from "@smithy/middleware-endpoint"; import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; @@ -84,6 +85,7 @@ export class CreateAppBlockBuilderStreamingURLCommand extends $Command return [ getSerdePlugin(config, this.serialize, this.deserialize), getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getS3ExpiresMiddlewarePlugin(config), ]; }) .s("PhotonAdminProxyService", "CreateAppBlockBuilderStreamingURL", {}) diff --git a/clients/client-appstream/src/commands/CreateImageBuilderStreamingURLCommand.ts b/clients/client-appstream/src/commands/CreateImageBuilderStreamingURLCommand.ts index 222755dc2df98..544790c469c36 100644 --- a/clients/client-appstream/src/commands/CreateImageBuilderStreamingURLCommand.ts +++ b/clients/client-appstream/src/commands/CreateImageBuilderStreamingURLCommand.ts @@ -1,4 +1,5 @@ // smithy-typescript generated code +import { getS3ExpiresMiddlewarePlugin } from "@aws-sdk/middleware-sdk-s3"; import { getEndpointPlugin } from "@smithy/middleware-endpoint"; import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; @@ -84,6 +85,7 @@ export class CreateImageBuilderStreamingURLCommand extends $Command return [ getSerdePlugin(config, this.serialize, this.deserialize), getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getS3ExpiresMiddlewarePlugin(config), ]; }) .s("PhotonAdminProxyService", "CreateImageBuilderStreamingURL", {}) diff --git a/clients/client-appstream/src/commands/CreateStreamingURLCommand.ts b/clients/client-appstream/src/commands/CreateStreamingURLCommand.ts index 61eeaf725c26e..6da85b9882ae4 100644 --- a/clients/client-appstream/src/commands/CreateStreamingURLCommand.ts +++ b/clients/client-appstream/src/commands/CreateStreamingURLCommand.ts @@ -1,4 +1,5 @@ // smithy-typescript generated code +import { getS3ExpiresMiddlewarePlugin } from "@aws-sdk/middleware-sdk-s3"; import { getEndpointPlugin } from "@smithy/middleware-endpoint"; import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; @@ -89,6 +90,7 @@ export class CreateStreamingURLCommand extends $Command return [ getSerdePlugin(config, this.serialize, this.deserialize), getEndpointPlugin(config, Command.getEndpointParameterInstructions()), + getS3ExpiresMiddlewarePlugin(config), ]; }) .s("PhotonAdminProxyService", "CreateStreamingURL", {}) diff --git a/clients/client-appstream/src/runtimeConfig.ts b/clients/client-appstream/src/runtimeConfig.ts index 5b6bc3c1a754a..4f65ce6eca453 100644 --- a/clients/client-appstream/src/runtimeConfig.ts +++ b/clients/client-appstream/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: AppStreamClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-appsync/package.json b/clients/client-appsync/package.json index 6f168c398a6c5..9882cf170c85c 100644 --- a/clients/client-appsync/package.json +++ b/clients/client-appsync/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-appsync/src/runtimeConfig.ts b/clients/client-appsync/src/runtimeConfig.ts index 3bf3c5bbd45c0..aae4a28419a23 100644 --- a/clients/client-appsync/src/runtimeConfig.ts +++ b/clients/client-appsync/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: AppSyncClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-arc-zonal-shift/package.json b/clients/client-arc-zonal-shift/package.json index 51e4d08db828a..4cd893ac5e8e0 100644 --- a/clients/client-arc-zonal-shift/package.json +++ b/clients/client-arc-zonal-shift/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-arc-zonal-shift/src/runtimeConfig.ts b/clients/client-arc-zonal-shift/src/runtimeConfig.ts index bec22875c5404..51a79d10bd9f8 100644 --- a/clients/client-arc-zonal-shift/src/runtimeConfig.ts +++ b/clients/client-arc-zonal-shift/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: ARCZonalShiftClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-athena/package.json b/clients/client-athena/package.json index 58de9faf71779..7552d3063b09d 100644 --- a/clients/client-athena/package.json +++ b/clients/client-athena/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-athena/src/runtimeConfig.ts b/clients/client-athena/src/runtimeConfig.ts index e9d4f618405b4..9a81ca07a8a0a 100644 --- a/clients/client-athena/src/runtimeConfig.ts +++ b/clients/client-athena/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: AthenaClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-auditmanager/package.json b/clients/client-auditmanager/package.json index 50d247a58c269..d236b95ddc6b9 100644 --- a/clients/client-auditmanager/package.json +++ b/clients/client-auditmanager/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-auditmanager/src/runtimeConfig.ts b/clients/client-auditmanager/src/runtimeConfig.ts index 58147df449341..b832f34965336 100644 --- a/clients/client-auditmanager/src/runtimeConfig.ts +++ b/clients/client-auditmanager/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: AuditManagerClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-auto-scaling-plans/package.json b/clients/client-auto-scaling-plans/package.json index 2f4284118da91..f5cfd9f7bf937 100644 --- a/clients/client-auto-scaling-plans/package.json +++ b/clients/client-auto-scaling-plans/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-auto-scaling-plans/src/runtimeConfig.ts b/clients/client-auto-scaling-plans/src/runtimeConfig.ts index b5018f0224535..9bac8225779fc 100644 --- a/clients/client-auto-scaling-plans/src/runtimeConfig.ts +++ b/clients/client-auto-scaling-plans/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: AutoScalingPlansClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-auto-scaling/package.json b/clients/client-auto-scaling/package.json index dbe7dbaee159a..7a0281ff47550 100644 --- a/clients/client-auto-scaling/package.json +++ b/clients/client-auto-scaling/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-auto-scaling/src/runtimeConfig.ts b/clients/client-auto-scaling/src/runtimeConfig.ts index dda5fcdf804dd..8f4d700a8aff7 100644 --- a/clients/client-auto-scaling/src/runtimeConfig.ts +++ b/clients/client-auto-scaling/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: AutoScalingClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-b2bi/package.json b/clients/client-b2bi/package.json index d21ba98345cf3..4bc68c148f73b 100644 --- a/clients/client-b2bi/package.json +++ b/clients/client-b2bi/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-b2bi/src/runtimeConfig.ts b/clients/client-b2bi/src/runtimeConfig.ts index 94605e33eb3de..fa6447a14acf0 100644 --- a/clients/client-b2bi/src/runtimeConfig.ts +++ b/clients/client-b2bi/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: B2biClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-backup-gateway/package.json b/clients/client-backup-gateway/package.json index 889ddbed1e81d..cc291a74ff159 100644 --- a/clients/client-backup-gateway/package.json +++ b/clients/client-backup-gateway/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-backup-gateway/src/runtimeConfig.ts b/clients/client-backup-gateway/src/runtimeConfig.ts index da7f8246ca60c..2f8965640221a 100644 --- a/clients/client-backup-gateway/src/runtimeConfig.ts +++ b/clients/client-backup-gateway/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: BackupGatewayClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-backup/package.json b/clients/client-backup/package.json index 421cd22ec8e63..c7234f08c3312 100644 --- a/clients/client-backup/package.json +++ b/clients/client-backup/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-backup/src/runtimeConfig.ts b/clients/client-backup/src/runtimeConfig.ts index e1c434f9b615b..5e96cbe0ad3ed 100644 --- a/clients/client-backup/src/runtimeConfig.ts +++ b/clients/client-backup/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: BackupClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-backupstorage/package.json b/clients/client-backupstorage/package.json index 7294c3c4fb0aa..2d8c12155d7bd 100644 --- a/clients/client-backupstorage/package.json +++ b/clients/client-backupstorage/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-backupstorage/src/runtimeConfig.ts b/clients/client-backupstorage/src/runtimeConfig.ts index cfd7e3fd33615..d8005153b3f66 100644 --- a/clients/client-backupstorage/src/runtimeConfig.ts +++ b/clients/client-backupstorage/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: BackupStorageClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-batch/package.json b/clients/client-batch/package.json index 80a5abf32d2c7..150af246ba3b7 100644 --- a/clients/client-batch/package.json +++ b/clients/client-batch/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-batch/src/runtimeConfig.ts b/clients/client-batch/src/runtimeConfig.ts index 400e1b5a156ae..7784ea2661527 100644 --- a/clients/client-batch/src/runtimeConfig.ts +++ b/clients/client-batch/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: BatchClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-bcm-data-exports/package.json b/clients/client-bcm-data-exports/package.json index 9b04af9d54ab6..d3309400b260c 100644 --- a/clients/client-bcm-data-exports/package.json +++ b/clients/client-bcm-data-exports/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-bcm-data-exports/src/runtimeConfig.ts b/clients/client-bcm-data-exports/src/runtimeConfig.ts index ad084a6a0c6ed..ebe6d603aa84b 100644 --- a/clients/client-bcm-data-exports/src/runtimeConfig.ts +++ b/clients/client-bcm-data-exports/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: BCMDataExportsClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-bedrock-agent-runtime/package.json b/clients/client-bedrock-agent-runtime/package.json index 6b391312593f9..81b6e51b8bb9f 100644 --- a/clients/client-bedrock-agent-runtime/package.json +++ b/clients/client-bedrock-agent-runtime/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-bedrock-agent-runtime/src/runtimeConfig.ts b/clients/client-bedrock-agent-runtime/src/runtimeConfig.ts index 62490f87db15d..af13d4dab869b 100644 --- a/clients/client-bedrock-agent-runtime/src/runtimeConfig.ts +++ b/clients/client-bedrock-agent-runtime/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -40,8 +39,7 @@ export const getRuntimeConfig = (config: BedrockAgentRuntimeClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-bedrock-agent/package.json b/clients/client-bedrock-agent/package.json index e69d1be0a4cae..e2c8a5d33bca6 100644 --- a/clients/client-bedrock-agent/package.json +++ b/clients/client-bedrock-agent/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-bedrock-agent/src/runtimeConfig.ts b/clients/client-bedrock-agent/src/runtimeConfig.ts index 5789c9c77605d..39de78605579b 100644 --- a/clients/client-bedrock-agent/src/runtimeConfig.ts +++ b/clients/client-bedrock-agent/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: BedrockAgentClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-bedrock-runtime/package.json b/clients/client-bedrock-runtime/package.json index cda75b42e23c4..3cc7427774270 100644 --- a/clients/client-bedrock-runtime/package.json +++ b/clients/client-bedrock-runtime/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-bedrock-runtime/src/runtimeConfig.ts b/clients/client-bedrock-runtime/src/runtimeConfig.ts index 5aa23e13d3bda..92045f3cde12c 100644 --- a/clients/client-bedrock-runtime/src/runtimeConfig.ts +++ b/clients/client-bedrock-runtime/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -40,8 +39,7 @@ export const getRuntimeConfig = (config: BedrockRuntimeClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-bedrock/package.json b/clients/client-bedrock/package.json index cf53c01ca5394..5f1d3bfc988ff 100644 --- a/clients/client-bedrock/package.json +++ b/clients/client-bedrock/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-bedrock/src/runtimeConfig.ts b/clients/client-bedrock/src/runtimeConfig.ts index 03c2b68307873..dc3f612dba328 100644 --- a/clients/client-bedrock/src/runtimeConfig.ts +++ b/clients/client-bedrock/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: BedrockClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-billingconductor/package.json b/clients/client-billingconductor/package.json index 0d76988f1ffd5..88f40d05f5536 100644 --- a/clients/client-billingconductor/package.json +++ b/clients/client-billingconductor/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-billingconductor/src/runtimeConfig.ts b/clients/client-billingconductor/src/runtimeConfig.ts index d7282c45a9f40..77fb92184342e 100644 --- a/clients/client-billingconductor/src/runtimeConfig.ts +++ b/clients/client-billingconductor/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: BillingconductorClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-braket/package.json b/clients/client-braket/package.json index bd3aa9decbcad..52dccd2c4cfd1 100644 --- a/clients/client-braket/package.json +++ b/clients/client-braket/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-braket/src/runtimeConfig.ts b/clients/client-braket/src/runtimeConfig.ts index 572c1a7acab67..d33921f2170b1 100644 --- a/clients/client-braket/src/runtimeConfig.ts +++ b/clients/client-braket/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: BraketClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-budgets/package.json b/clients/client-budgets/package.json index d02426f082508..ffff16f09cd7e 100644 --- a/clients/client-budgets/package.json +++ b/clients/client-budgets/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-budgets/src/runtimeConfig.ts b/clients/client-budgets/src/runtimeConfig.ts index 31a7c086feeba..7a38a2cf30ba5 100644 --- a/clients/client-budgets/src/runtimeConfig.ts +++ b/clients/client-budgets/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: BudgetsClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-chime-sdk-identity/package.json b/clients/client-chime-sdk-identity/package.json index 32090e5c2d424..0241e3ade3dea 100644 --- a/clients/client-chime-sdk-identity/package.json +++ b/clients/client-chime-sdk-identity/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-chime-sdk-identity/src/runtimeConfig.ts b/clients/client-chime-sdk-identity/src/runtimeConfig.ts index 2df54b55eb9d5..9cb9370a7a4db 100644 --- a/clients/client-chime-sdk-identity/src/runtimeConfig.ts +++ b/clients/client-chime-sdk-identity/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: ChimeSDKIdentityClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-chime-sdk-media-pipelines/package.json b/clients/client-chime-sdk-media-pipelines/package.json index c5b19f3234a34..648608fe70cb8 100644 --- a/clients/client-chime-sdk-media-pipelines/package.json +++ b/clients/client-chime-sdk-media-pipelines/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-chime-sdk-media-pipelines/src/runtimeConfig.ts b/clients/client-chime-sdk-media-pipelines/src/runtimeConfig.ts index 050fc42bdf332..b54618cea7cad 100644 --- a/clients/client-chime-sdk-media-pipelines/src/runtimeConfig.ts +++ b/clients/client-chime-sdk-media-pipelines/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: ChimeSDKMediaPipelinesClientConfig) => runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-chime-sdk-meetings/package.json b/clients/client-chime-sdk-meetings/package.json index 5faa5a7c5bec7..6ca23db6fe2bf 100644 --- a/clients/client-chime-sdk-meetings/package.json +++ b/clients/client-chime-sdk-meetings/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-chime-sdk-meetings/src/runtimeConfig.ts b/clients/client-chime-sdk-meetings/src/runtimeConfig.ts index 6917a9e50f7bd..eb7efcc73a080 100644 --- a/clients/client-chime-sdk-meetings/src/runtimeConfig.ts +++ b/clients/client-chime-sdk-meetings/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: ChimeSDKMeetingsClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-chime-sdk-messaging/package.json b/clients/client-chime-sdk-messaging/package.json index 868e2268d04f7..f6f6d2aab9db8 100644 --- a/clients/client-chime-sdk-messaging/package.json +++ b/clients/client-chime-sdk-messaging/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-chime-sdk-messaging/src/runtimeConfig.ts b/clients/client-chime-sdk-messaging/src/runtimeConfig.ts index 215ed2511bc93..12c6c3d3e78af 100644 --- a/clients/client-chime-sdk-messaging/src/runtimeConfig.ts +++ b/clients/client-chime-sdk-messaging/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: ChimeSDKMessagingClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-chime-sdk-voice/package.json b/clients/client-chime-sdk-voice/package.json index c4334c7723e32..fce35de3e6369 100644 --- a/clients/client-chime-sdk-voice/package.json +++ b/clients/client-chime-sdk-voice/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-chime-sdk-voice/src/runtimeConfig.ts b/clients/client-chime-sdk-voice/src/runtimeConfig.ts index af60716484490..4186c9c73b037 100644 --- a/clients/client-chime-sdk-voice/src/runtimeConfig.ts +++ b/clients/client-chime-sdk-voice/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: ChimeSDKVoiceClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-chime/package.json b/clients/client-chime/package.json index e3e63704f76f1..20aa9fa9c41bc 100644 --- a/clients/client-chime/package.json +++ b/clients/client-chime/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-chime/src/runtimeConfig.ts b/clients/client-chime/src/runtimeConfig.ts index c7e326752b932..a1fa6267d1b6f 100644 --- a/clients/client-chime/src/runtimeConfig.ts +++ b/clients/client-chime/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: ChimeClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-cleanrooms/package.json b/clients/client-cleanrooms/package.json index 6e753ccfba820..ddf72f30253e9 100644 --- a/clients/client-cleanrooms/package.json +++ b/clients/client-cleanrooms/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-cleanrooms/src/runtimeConfig.ts b/clients/client-cleanrooms/src/runtimeConfig.ts index 66bdad4ad408a..e663929727313 100644 --- a/clients/client-cleanrooms/src/runtimeConfig.ts +++ b/clients/client-cleanrooms/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: CleanRoomsClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-cleanroomsml/package.json b/clients/client-cleanroomsml/package.json index 4a89e166b473b..fa696cde3e46c 100644 --- a/clients/client-cleanroomsml/package.json +++ b/clients/client-cleanroomsml/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-cleanroomsml/src/runtimeConfig.ts b/clients/client-cleanroomsml/src/runtimeConfig.ts index f935b3a2998c1..b4daa5de7e8ab 100644 --- a/clients/client-cleanroomsml/src/runtimeConfig.ts +++ b/clients/client-cleanroomsml/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: CleanRoomsMLClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-cloud9/package.json b/clients/client-cloud9/package.json index e41f682541242..f59cc42ae6bb3 100644 --- a/clients/client-cloud9/package.json +++ b/clients/client-cloud9/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-cloud9/src/runtimeConfig.ts b/clients/client-cloud9/src/runtimeConfig.ts index 181da3103e7fa..ad3d0f989bdf3 100644 --- a/clients/client-cloud9/src/runtimeConfig.ts +++ b/clients/client-cloud9/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: Cloud9ClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-cloudcontrol/package.json b/clients/client-cloudcontrol/package.json index a314c5ab812b7..db7827887462f 100644 --- a/clients/client-cloudcontrol/package.json +++ b/clients/client-cloudcontrol/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-cloudcontrol/src/runtimeConfig.ts b/clients/client-cloudcontrol/src/runtimeConfig.ts index 8e17aee2531ca..2d3060221a262 100644 --- a/clients/client-cloudcontrol/src/runtimeConfig.ts +++ b/clients/client-cloudcontrol/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: CloudControlClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-clouddirectory/package.json b/clients/client-clouddirectory/package.json index 914f2c02e8633..1c35d972e909e 100644 --- a/clients/client-clouddirectory/package.json +++ b/clients/client-clouddirectory/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-clouddirectory/src/runtimeConfig.ts b/clients/client-clouddirectory/src/runtimeConfig.ts index e419de95a090e..cfb9355f34f31 100644 --- a/clients/client-clouddirectory/src/runtimeConfig.ts +++ b/clients/client-clouddirectory/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: CloudDirectoryClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-cloudformation/package.json b/clients/client-cloudformation/package.json index d509d36535dbb..53c50f95cb52a 100644 --- a/clients/client-cloudformation/package.json +++ b/clients/client-cloudformation/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-cloudformation/src/runtimeConfig.ts b/clients/client-cloudformation/src/runtimeConfig.ts index 2a988f073734c..c3108c1b0f4c4 100644 --- a/clients/client-cloudformation/src/runtimeConfig.ts +++ b/clients/client-cloudformation/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: CloudFormationClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-cloudfront-keyvaluestore/package.json b/clients/client-cloudfront-keyvaluestore/package.json index 1eb0b52610264..8ec9d065f4836 100644 --- a/clients/client-cloudfront-keyvaluestore/package.json +++ b/clients/client-cloudfront-keyvaluestore/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-cloudfront-keyvaluestore/src/runtimeConfig.ts b/clients/client-cloudfront-keyvaluestore/src/runtimeConfig.ts index 53b98a11d07ab..68c5419d653c7 100644 --- a/clients/client-cloudfront-keyvaluestore/src/runtimeConfig.ts +++ b/clients/client-cloudfront-keyvaluestore/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: CloudFrontKeyValueStoreClientConfig) => runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-cloudfront/package.json b/clients/client-cloudfront/package.json index d09dfede897d7..6c6fa1969b5c9 100644 --- a/clients/client-cloudfront/package.json +++ b/clients/client-cloudfront/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-cloudfront/src/runtimeConfig.ts b/clients/client-cloudfront/src/runtimeConfig.ts index f3a27b6753f7d..3303fcb45df51 100644 --- a/clients/client-cloudfront/src/runtimeConfig.ts +++ b/clients/client-cloudfront/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: CloudFrontClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-cloudhsm-v2/package.json b/clients/client-cloudhsm-v2/package.json index 40b48ede550a6..f034cca8bb21b 100644 --- a/clients/client-cloudhsm-v2/package.json +++ b/clients/client-cloudhsm-v2/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-cloudhsm-v2/src/runtimeConfig.ts b/clients/client-cloudhsm-v2/src/runtimeConfig.ts index 4c586f32976af..b098839023142 100644 --- a/clients/client-cloudhsm-v2/src/runtimeConfig.ts +++ b/clients/client-cloudhsm-v2/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: CloudHSMV2ClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-cloudhsm/package.json b/clients/client-cloudhsm/package.json index a01d5712d5b88..88a1820cae29b 100644 --- a/clients/client-cloudhsm/package.json +++ b/clients/client-cloudhsm/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-cloudhsm/src/runtimeConfig.ts b/clients/client-cloudhsm/src/runtimeConfig.ts index fe3c98dbced28..ab509d558fe1e 100644 --- a/clients/client-cloudhsm/src/runtimeConfig.ts +++ b/clients/client-cloudhsm/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: CloudHSMClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-cloudsearch-domain/package.json b/clients/client-cloudsearch-domain/package.json index d9b40d6e4497e..e2fed475a0e14 100644 --- a/clients/client-cloudsearch-domain/package.json +++ b/clients/client-cloudsearch-domain/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-cloudsearch-domain/src/runtimeConfig.ts b/clients/client-cloudsearch-domain/src/runtimeConfig.ts index fa3c1ab7f6cb6..40e3bdca52e31 100644 --- a/clients/client-cloudsearch-domain/src/runtimeConfig.ts +++ b/clients/client-cloudsearch-domain/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: CloudSearchDomainClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-cloudsearch/package.json b/clients/client-cloudsearch/package.json index e5ce889af4c79..25313f5c0a56a 100644 --- a/clients/client-cloudsearch/package.json +++ b/clients/client-cloudsearch/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-cloudsearch/src/runtimeConfig.ts b/clients/client-cloudsearch/src/runtimeConfig.ts index a4c643f067be0..bf12376ac37c8 100644 --- a/clients/client-cloudsearch/src/runtimeConfig.ts +++ b/clients/client-cloudsearch/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: CloudSearchClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-cloudtrail-data/package.json b/clients/client-cloudtrail-data/package.json index 94f759186eb00..2901759a3d28d 100644 --- a/clients/client-cloudtrail-data/package.json +++ b/clients/client-cloudtrail-data/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-cloudtrail-data/src/runtimeConfig.ts b/clients/client-cloudtrail-data/src/runtimeConfig.ts index 1147226a6ed57..03e48b782097b 100644 --- a/clients/client-cloudtrail-data/src/runtimeConfig.ts +++ b/clients/client-cloudtrail-data/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: CloudTrailDataClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-cloudtrail/package.json b/clients/client-cloudtrail/package.json index 1de33e6f3dc81..c011f5e6cafa0 100644 --- a/clients/client-cloudtrail/package.json +++ b/clients/client-cloudtrail/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-cloudtrail/src/runtimeConfig.ts b/clients/client-cloudtrail/src/runtimeConfig.ts index 3946de3a8ae3d..018a61d0b7b6d 100644 --- a/clients/client-cloudtrail/src/runtimeConfig.ts +++ b/clients/client-cloudtrail/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: CloudTrailClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-cloudwatch-events/package.json b/clients/client-cloudwatch-events/package.json index c7ded50f0ae50..c27b62b4b0d9a 100644 --- a/clients/client-cloudwatch-events/package.json +++ b/clients/client-cloudwatch-events/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-cloudwatch-events/src/runtimeConfig.ts b/clients/client-cloudwatch-events/src/runtimeConfig.ts index 871c46c1e6e76..80ba03f557b4a 100644 --- a/clients/client-cloudwatch-events/src/runtimeConfig.ts +++ b/clients/client-cloudwatch-events/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: CloudWatchEventsClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-cloudwatch-logs/package.json b/clients/client-cloudwatch-logs/package.json index 7352528c6efed..a1e77fbd1f73a 100644 --- a/clients/client-cloudwatch-logs/package.json +++ b/clients/client-cloudwatch-logs/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-cloudwatch-logs/src/runtimeConfig.ts b/clients/client-cloudwatch-logs/src/runtimeConfig.ts index 788270264bf05..943aaea0d68b8 100644 --- a/clients/client-cloudwatch-logs/src/runtimeConfig.ts +++ b/clients/client-cloudwatch-logs/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -40,8 +39,7 @@ export const getRuntimeConfig = (config: CloudWatchLogsClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-cloudwatch/package.json b/clients/client-cloudwatch/package.json index e103ad6a0a336..f4e5cbecc70d1 100644 --- a/clients/client-cloudwatch/package.json +++ b/clients/client-cloudwatch/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-cloudwatch/src/runtimeConfig.ts b/clients/client-cloudwatch/src/runtimeConfig.ts index b0e0eeb0e95af..b2525aaf3a58e 100644 --- a/clients/client-cloudwatch/src/runtimeConfig.ts +++ b/clients/client-cloudwatch/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: CloudWatchClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-codeartifact/package.json b/clients/client-codeartifact/package.json index 57214fdf7db24..c2e3b47f3e197 100644 --- a/clients/client-codeartifact/package.json +++ b/clients/client-codeartifact/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-codeartifact/src/runtimeConfig.ts b/clients/client-codeartifact/src/runtimeConfig.ts index faa9ea4d8d6a7..b0205ee3dba9f 100644 --- a/clients/client-codeartifact/src/runtimeConfig.ts +++ b/clients/client-codeartifact/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: CodeartifactClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-codebuild/package.json b/clients/client-codebuild/package.json index 0bd41a536bf2e..6c48ebda84568 100644 --- a/clients/client-codebuild/package.json +++ b/clients/client-codebuild/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-codebuild/src/runtimeConfig.ts b/clients/client-codebuild/src/runtimeConfig.ts index f648e2494e15d..a332fdee96903 100644 --- a/clients/client-codebuild/src/runtimeConfig.ts +++ b/clients/client-codebuild/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: CodeBuildClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-codecommit/package.json b/clients/client-codecommit/package.json index 62d9b0676eb52..088156c571840 100644 --- a/clients/client-codecommit/package.json +++ b/clients/client-codecommit/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-codecommit/src/runtimeConfig.ts b/clients/client-codecommit/src/runtimeConfig.ts index d63b5e6fa9c71..b9ecbe2e9e525 100644 --- a/clients/client-codecommit/src/runtimeConfig.ts +++ b/clients/client-codecommit/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: CodeCommitClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-codedeploy/package.json b/clients/client-codedeploy/package.json index 70e47c473caa1..201b756ce87a9 100644 --- a/clients/client-codedeploy/package.json +++ b/clients/client-codedeploy/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-codedeploy/src/runtimeConfig.ts b/clients/client-codedeploy/src/runtimeConfig.ts index 911efa56973dd..d36a0f4fdf45e 100644 --- a/clients/client-codedeploy/src/runtimeConfig.ts +++ b/clients/client-codedeploy/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: CodeDeployClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-codeguru-reviewer/package.json b/clients/client-codeguru-reviewer/package.json index 0c40991d50f05..f7df21f6bbfd3 100644 --- a/clients/client-codeguru-reviewer/package.json +++ b/clients/client-codeguru-reviewer/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-codeguru-reviewer/src/runtimeConfig.ts b/clients/client-codeguru-reviewer/src/runtimeConfig.ts index 3ea30d9f7e095..fe31ea63e9b8b 100644 --- a/clients/client-codeguru-reviewer/src/runtimeConfig.ts +++ b/clients/client-codeguru-reviewer/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: CodeGuruReviewerClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-codeguru-security/package.json b/clients/client-codeguru-security/package.json index 93c3063de8f9c..1d013e554fd56 100644 --- a/clients/client-codeguru-security/package.json +++ b/clients/client-codeguru-security/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-codeguru-security/src/runtimeConfig.ts b/clients/client-codeguru-security/src/runtimeConfig.ts index b00c1f98e6907..4b041e5f8da36 100644 --- a/clients/client-codeguru-security/src/runtimeConfig.ts +++ b/clients/client-codeguru-security/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: CodeGuruSecurityClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-codeguruprofiler/package.json b/clients/client-codeguruprofiler/package.json index cd7b43ac48783..d210fcf78fac1 100644 --- a/clients/client-codeguruprofiler/package.json +++ b/clients/client-codeguruprofiler/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-codeguruprofiler/src/runtimeConfig.ts b/clients/client-codeguruprofiler/src/runtimeConfig.ts index 49559abfe99d8..68b849a4520d2 100644 --- a/clients/client-codeguruprofiler/src/runtimeConfig.ts +++ b/clients/client-codeguruprofiler/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: CodeGuruProfilerClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-codepipeline/package.json b/clients/client-codepipeline/package.json index 6fa2c8b2c54bc..29cc37c6df22b 100644 --- a/clients/client-codepipeline/package.json +++ b/clients/client-codepipeline/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-codepipeline/src/runtimeConfig.ts b/clients/client-codepipeline/src/runtimeConfig.ts index 90c01ccbfa7e5..3c2ad697f71b0 100644 --- a/clients/client-codepipeline/src/runtimeConfig.ts +++ b/clients/client-codepipeline/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: CodePipelineClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-codestar-connections/package.json b/clients/client-codestar-connections/package.json index bbeacb1a4bfc5..88ca3e010d3c3 100644 --- a/clients/client-codestar-connections/package.json +++ b/clients/client-codestar-connections/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-codestar-connections/src/runtimeConfig.ts b/clients/client-codestar-connections/src/runtimeConfig.ts index c710fcd5b9196..b61404f6a8b96 100644 --- a/clients/client-codestar-connections/src/runtimeConfig.ts +++ b/clients/client-codestar-connections/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: CodeStarConnectionsClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-codestar-notifications/package.json b/clients/client-codestar-notifications/package.json index 6e403076753a0..2ff924d6774d5 100644 --- a/clients/client-codestar-notifications/package.json +++ b/clients/client-codestar-notifications/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-codestar-notifications/src/runtimeConfig.ts b/clients/client-codestar-notifications/src/runtimeConfig.ts index 35b2551f97a59..2ee70efdf625b 100644 --- a/clients/client-codestar-notifications/src/runtimeConfig.ts +++ b/clients/client-codestar-notifications/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: CodestarNotificationsClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-codestar/package.json b/clients/client-codestar/package.json index e8388aba0f448..3d71bfff85342 100644 --- a/clients/client-codestar/package.json +++ b/clients/client-codestar/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-codestar/src/runtimeConfig.ts b/clients/client-codestar/src/runtimeConfig.ts index 83a9a446e564b..de34f43596961 100644 --- a/clients/client-codestar/src/runtimeConfig.ts +++ b/clients/client-codestar/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: CodeStarClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-cognito-identity-provider/package.json b/clients/client-cognito-identity-provider/package.json index f5b44f60fb3b7..e83d919585ef4 100644 --- a/clients/client-cognito-identity-provider/package.json +++ b/clients/client-cognito-identity-provider/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-cognito-identity-provider/src/runtimeConfig.ts b/clients/client-cognito-identity-provider/src/runtimeConfig.ts index 28019a58894cc..b114ada58a706 100644 --- a/clients/client-cognito-identity-provider/src/runtimeConfig.ts +++ b/clients/client-cognito-identity-provider/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: CognitoIdentityProviderClientConfig) => runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-cognito-identity/package.json b/clients/client-cognito-identity/package.json index e2469df9aff62..dfb456fc84484 100644 --- a/clients/client-cognito-identity/package.json +++ b/clients/client-cognito-identity/package.json @@ -21,7 +21,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-cognito-identity/src/runtimeConfig.ts b/clients/client-cognito-identity/src/runtimeConfig.ts index 5e87879e4ce4f..5a11ba04db5ec 100644 --- a/clients/client-cognito-identity/src/runtimeConfig.ts +++ b/clients/client-cognito-identity/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: CognitoIdentityClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-cognito-sync/package.json b/clients/client-cognito-sync/package.json index 0177cefd2bee7..cefc5e73d330b 100644 --- a/clients/client-cognito-sync/package.json +++ b/clients/client-cognito-sync/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-cognito-sync/src/runtimeConfig.ts b/clients/client-cognito-sync/src/runtimeConfig.ts index 7ebce062320db..0f9eb3fd6e4b4 100644 --- a/clients/client-cognito-sync/src/runtimeConfig.ts +++ b/clients/client-cognito-sync/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: CognitoSyncClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-comprehend/package.json b/clients/client-comprehend/package.json index 9a7e72d6f2440..69159a0e81101 100644 --- a/clients/client-comprehend/package.json +++ b/clients/client-comprehend/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-comprehend/src/runtimeConfig.ts b/clients/client-comprehend/src/runtimeConfig.ts index 25269fb63df26..25b43735690ce 100644 --- a/clients/client-comprehend/src/runtimeConfig.ts +++ b/clients/client-comprehend/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: ComprehendClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-comprehendmedical/package.json b/clients/client-comprehendmedical/package.json index f541b5f446b03..a2b5e815010c7 100644 --- a/clients/client-comprehendmedical/package.json +++ b/clients/client-comprehendmedical/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-comprehendmedical/src/runtimeConfig.ts b/clients/client-comprehendmedical/src/runtimeConfig.ts index 6701ec9ec8c4d..92b4de6cf1acf 100644 --- a/clients/client-comprehendmedical/src/runtimeConfig.ts +++ b/clients/client-comprehendmedical/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: ComprehendMedicalClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-compute-optimizer/package.json b/clients/client-compute-optimizer/package.json index b02e550fbcead..dfba7c724123b 100644 --- a/clients/client-compute-optimizer/package.json +++ b/clients/client-compute-optimizer/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-compute-optimizer/src/runtimeConfig.ts b/clients/client-compute-optimizer/src/runtimeConfig.ts index 6844a01dfe05f..27ad6f8d3253f 100644 --- a/clients/client-compute-optimizer/src/runtimeConfig.ts +++ b/clients/client-compute-optimizer/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: ComputeOptimizerClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-config-service/package.json b/clients/client-config-service/package.json index d8f7674cdf1fc..2e82c762d5183 100644 --- a/clients/client-config-service/package.json +++ b/clients/client-config-service/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-config-service/src/runtimeConfig.ts b/clients/client-config-service/src/runtimeConfig.ts index ed02025ce6ed2..9f918ad9cd91a 100644 --- a/clients/client-config-service/src/runtimeConfig.ts +++ b/clients/client-config-service/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: ConfigServiceClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-connect-contact-lens/package.json b/clients/client-connect-contact-lens/package.json index 1b27b54201651..5520bc0306713 100644 --- a/clients/client-connect-contact-lens/package.json +++ b/clients/client-connect-contact-lens/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-connect-contact-lens/src/runtimeConfig.ts b/clients/client-connect-contact-lens/src/runtimeConfig.ts index 0a7c1fbef41d6..cedb4a92cf529 100644 --- a/clients/client-connect-contact-lens/src/runtimeConfig.ts +++ b/clients/client-connect-contact-lens/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: ConnectContactLensClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-connect/package.json b/clients/client-connect/package.json index 627b39321fac6..cda326ee87016 100644 --- a/clients/client-connect/package.json +++ b/clients/client-connect/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-connect/src/runtimeConfig.ts b/clients/client-connect/src/runtimeConfig.ts index 47eae1c4869c4..b588ee9cded4e 100644 --- a/clients/client-connect/src/runtimeConfig.ts +++ b/clients/client-connect/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: ConnectClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-connectcampaigns/package.json b/clients/client-connectcampaigns/package.json index ec2f4a7c7e110..dcd593da900c1 100644 --- a/clients/client-connectcampaigns/package.json +++ b/clients/client-connectcampaigns/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-connectcampaigns/src/runtimeConfig.ts b/clients/client-connectcampaigns/src/runtimeConfig.ts index addd95adb0c00..c6f5de64c93c1 100644 --- a/clients/client-connectcampaigns/src/runtimeConfig.ts +++ b/clients/client-connectcampaigns/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: ConnectCampaignsClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-connectcases/package.json b/clients/client-connectcases/package.json index 4c44286fc04bb..74a1578ea8dfd 100644 --- a/clients/client-connectcases/package.json +++ b/clients/client-connectcases/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-connectcases/src/runtimeConfig.ts b/clients/client-connectcases/src/runtimeConfig.ts index d6ee0c0ebfcd6..8ad3918619f74 100644 --- a/clients/client-connectcases/src/runtimeConfig.ts +++ b/clients/client-connectcases/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: ConnectCasesClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-connectparticipant/package.json b/clients/client-connectparticipant/package.json index 6fea9081dc3ac..34429bd7c9aec 100644 --- a/clients/client-connectparticipant/package.json +++ b/clients/client-connectparticipant/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-connectparticipant/src/runtimeConfig.ts b/clients/client-connectparticipant/src/runtimeConfig.ts index 087772663cc77..9fc18f92c18d5 100644 --- a/clients/client-connectparticipant/src/runtimeConfig.ts +++ b/clients/client-connectparticipant/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: ConnectParticipantClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-controltower/package.json b/clients/client-controltower/package.json index 88de0fc344139..47848a279de8b 100644 --- a/clients/client-controltower/package.json +++ b/clients/client-controltower/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-controltower/src/runtimeConfig.ts b/clients/client-controltower/src/runtimeConfig.ts index b1cd5bc97cbcf..270db1fa07b8a 100644 --- a/clients/client-controltower/src/runtimeConfig.ts +++ b/clients/client-controltower/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: ControlTowerClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-cost-and-usage-report-service/package.json b/clients/client-cost-and-usage-report-service/package.json index 895d835d79083..da0a59530440d 100644 --- a/clients/client-cost-and-usage-report-service/package.json +++ b/clients/client-cost-and-usage-report-service/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-cost-and-usage-report-service/src/runtimeConfig.ts b/clients/client-cost-and-usage-report-service/src/runtimeConfig.ts index c2f83389745d3..bb51164fd11ae 100644 --- a/clients/client-cost-and-usage-report-service/src/runtimeConfig.ts +++ b/clients/client-cost-and-usage-report-service/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: CostAndUsageReportServiceClientConfig) runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-cost-explorer/package.json b/clients/client-cost-explorer/package.json index 33d1ecb4ac34a..95550bab858e6 100644 --- a/clients/client-cost-explorer/package.json +++ b/clients/client-cost-explorer/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-cost-explorer/src/runtimeConfig.ts b/clients/client-cost-explorer/src/runtimeConfig.ts index 816b2eb784d5d..70b2bd942aeda 100644 --- a/clients/client-cost-explorer/src/runtimeConfig.ts +++ b/clients/client-cost-explorer/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: CostExplorerClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-cost-optimization-hub/package.json b/clients/client-cost-optimization-hub/package.json index 7cf1f3706706b..00a43d661f83e 100644 --- a/clients/client-cost-optimization-hub/package.json +++ b/clients/client-cost-optimization-hub/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-cost-optimization-hub/src/runtimeConfig.ts b/clients/client-cost-optimization-hub/src/runtimeConfig.ts index f50a61a2f3238..9501790ab8f47 100644 --- a/clients/client-cost-optimization-hub/src/runtimeConfig.ts +++ b/clients/client-cost-optimization-hub/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: CostOptimizationHubClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-customer-profiles/package.json b/clients/client-customer-profiles/package.json index c1d50cb3a5af4..969118ac9e2ba 100644 --- a/clients/client-customer-profiles/package.json +++ b/clients/client-customer-profiles/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-customer-profiles/src/runtimeConfig.ts b/clients/client-customer-profiles/src/runtimeConfig.ts index 0c131db51c99d..979c13358458b 100644 --- a/clients/client-customer-profiles/src/runtimeConfig.ts +++ b/clients/client-customer-profiles/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: CustomerProfilesClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-data-pipeline/package.json b/clients/client-data-pipeline/package.json index b07d8b04748c9..c87b3170a1e73 100644 --- a/clients/client-data-pipeline/package.json +++ b/clients/client-data-pipeline/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-data-pipeline/src/runtimeConfig.ts b/clients/client-data-pipeline/src/runtimeConfig.ts index 36ccebf846c22..4abfdf3ed0951 100644 --- a/clients/client-data-pipeline/src/runtimeConfig.ts +++ b/clients/client-data-pipeline/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: DataPipelineClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-database-migration-service/package.json b/clients/client-database-migration-service/package.json index 12ed735fc18e3..b01515ee9d8b8 100644 --- a/clients/client-database-migration-service/package.json +++ b/clients/client-database-migration-service/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-database-migration-service/src/runtimeConfig.ts b/clients/client-database-migration-service/src/runtimeConfig.ts index 27a4417450072..6eb375abb4148 100644 --- a/clients/client-database-migration-service/src/runtimeConfig.ts +++ b/clients/client-database-migration-service/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: DatabaseMigrationServiceClientConfig) = runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-databrew/package.json b/clients/client-databrew/package.json index b4e6b5138c7b8..54f75cf3c962a 100644 --- a/clients/client-databrew/package.json +++ b/clients/client-databrew/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-databrew/src/runtimeConfig.ts b/clients/client-databrew/src/runtimeConfig.ts index cafb31a603726..05a48cab3ee1a 100644 --- a/clients/client-databrew/src/runtimeConfig.ts +++ b/clients/client-databrew/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: DataBrewClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-dataexchange/package.json b/clients/client-dataexchange/package.json index a344db7b7d73e..f930488d4c847 100644 --- a/clients/client-dataexchange/package.json +++ b/clients/client-dataexchange/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-dataexchange/src/runtimeConfig.ts b/clients/client-dataexchange/src/runtimeConfig.ts index c9ac2ebc4d199..8fef021223546 100644 --- a/clients/client-dataexchange/src/runtimeConfig.ts +++ b/clients/client-dataexchange/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: DataExchangeClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-datasync/package.json b/clients/client-datasync/package.json index 778ddbce89a32..0e5113793b1cd 100644 --- a/clients/client-datasync/package.json +++ b/clients/client-datasync/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-datasync/src/runtimeConfig.ts b/clients/client-datasync/src/runtimeConfig.ts index 992261fd974b5..55f76ef85872b 100644 --- a/clients/client-datasync/src/runtimeConfig.ts +++ b/clients/client-datasync/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: DataSyncClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-datazone/package.json b/clients/client-datazone/package.json index 126b4333a83a0..1e965c21e9e93 100644 --- a/clients/client-datazone/package.json +++ b/clients/client-datazone/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-datazone/src/runtimeConfig.ts b/clients/client-datazone/src/runtimeConfig.ts index 7d920e2695d48..07cee5c01a18c 100644 --- a/clients/client-datazone/src/runtimeConfig.ts +++ b/clients/client-datazone/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: DataZoneClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-dax/package.json b/clients/client-dax/package.json index d9119547ddf13..f3503dffd01f2 100644 --- a/clients/client-dax/package.json +++ b/clients/client-dax/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-dax/src/runtimeConfig.ts b/clients/client-dax/src/runtimeConfig.ts index dd3ad545d2d6f..7a339fca1cb57 100644 --- a/clients/client-dax/src/runtimeConfig.ts +++ b/clients/client-dax/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: DAXClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-detective/package.json b/clients/client-detective/package.json index 59a6fa057b1ae..4406d1f164fcc 100644 --- a/clients/client-detective/package.json +++ b/clients/client-detective/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-detective/src/runtimeConfig.ts b/clients/client-detective/src/runtimeConfig.ts index 390cb489871b9..e2b1fddc7e3cd 100644 --- a/clients/client-detective/src/runtimeConfig.ts +++ b/clients/client-detective/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: DetectiveClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-device-farm/package.json b/clients/client-device-farm/package.json index 7ef3063e2c092..031f8dcb9b3cc 100644 --- a/clients/client-device-farm/package.json +++ b/clients/client-device-farm/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-device-farm/src/runtimeConfig.ts b/clients/client-device-farm/src/runtimeConfig.ts index 70ba2cf5bb949..e6621d4cb217e 100644 --- a/clients/client-device-farm/src/runtimeConfig.ts +++ b/clients/client-device-farm/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: DeviceFarmClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-devops-guru/package.json b/clients/client-devops-guru/package.json index 03c8da87af861..ef05490c9a684 100644 --- a/clients/client-devops-guru/package.json +++ b/clients/client-devops-guru/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-devops-guru/src/runtimeConfig.ts b/clients/client-devops-guru/src/runtimeConfig.ts index 925e49b75168d..9e7211134dce3 100644 --- a/clients/client-devops-guru/src/runtimeConfig.ts +++ b/clients/client-devops-guru/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: DevOpsGuruClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-direct-connect/package.json b/clients/client-direct-connect/package.json index f291ce7f29091..b1fdfca08dd79 100644 --- a/clients/client-direct-connect/package.json +++ b/clients/client-direct-connect/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-direct-connect/src/runtimeConfig.ts b/clients/client-direct-connect/src/runtimeConfig.ts index f72205d508f05..573ba5794974c 100644 --- a/clients/client-direct-connect/src/runtimeConfig.ts +++ b/clients/client-direct-connect/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: DirectConnectClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-directory-service/package.json b/clients/client-directory-service/package.json index 7aed14c4b8f0a..d53b7999c941c 100644 --- a/clients/client-directory-service/package.json +++ b/clients/client-directory-service/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-directory-service/src/runtimeConfig.ts b/clients/client-directory-service/src/runtimeConfig.ts index f61f96598b8d0..48645cd44d852 100644 --- a/clients/client-directory-service/src/runtimeConfig.ts +++ b/clients/client-directory-service/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: DirectoryServiceClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-dlm/package.json b/clients/client-dlm/package.json index bfd66eb16662e..fe577cc572b11 100644 --- a/clients/client-dlm/package.json +++ b/clients/client-dlm/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-dlm/src/runtimeConfig.ts b/clients/client-dlm/src/runtimeConfig.ts index afd8b604f3a82..070395c7ddc77 100644 --- a/clients/client-dlm/src/runtimeConfig.ts +++ b/clients/client-dlm/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: DLMClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-docdb-elastic/package.json b/clients/client-docdb-elastic/package.json index 16b0982e2a091..85e0350a4ea21 100644 --- a/clients/client-docdb-elastic/package.json +++ b/clients/client-docdb-elastic/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-docdb-elastic/src/runtimeConfig.ts b/clients/client-docdb-elastic/src/runtimeConfig.ts index 4a3a8dc17d87b..534fe7bf76f21 100644 --- a/clients/client-docdb-elastic/src/runtimeConfig.ts +++ b/clients/client-docdb-elastic/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: DocDBElasticClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-docdb/package.json b/clients/client-docdb/package.json index ced807d41d072..cea80d1a27a71 100644 --- a/clients/client-docdb/package.json +++ b/clients/client-docdb/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-docdb/src/runtimeConfig.ts b/clients/client-docdb/src/runtimeConfig.ts index e66749d6bf7d9..aa6aa65769c76 100644 --- a/clients/client-docdb/src/runtimeConfig.ts +++ b/clients/client-docdb/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: DocDBClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-drs/package.json b/clients/client-drs/package.json index 8e87c2d6ddf63..c010528b2af83 100644 --- a/clients/client-drs/package.json +++ b/clients/client-drs/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-drs/src/runtimeConfig.ts b/clients/client-drs/src/runtimeConfig.ts index b10cced5ddb6d..4edd3d8c748a8 100644 --- a/clients/client-drs/src/runtimeConfig.ts +++ b/clients/client-drs/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: DrsClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-dynamodb-streams/package.json b/clients/client-dynamodb-streams/package.json index ea517cfc4c489..38746b34406df 100644 --- a/clients/client-dynamodb-streams/package.json +++ b/clients/client-dynamodb-streams/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-dynamodb-streams/src/runtimeConfig.ts b/clients/client-dynamodb-streams/src/runtimeConfig.ts index 906923ec38b25..86d453e9d8c7b 100644 --- a/clients/client-dynamodb-streams/src/runtimeConfig.ts +++ b/clients/client-dynamodb-streams/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: DynamoDBStreamsClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-dynamodb/package.json b/clients/client-dynamodb/package.json index c83add8536da4..766e06fa5dee9 100644 --- a/clients/client-dynamodb/package.json +++ b/clients/client-dynamodb/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-endpoint-discovery": "*", diff --git a/clients/client-dynamodb/src/runtimeConfig.ts b/clients/client-dynamodb/src/runtimeConfig.ts index 1701b2959f2e9..f18772e7634b5 100644 --- a/clients/client-dynamodb/src/runtimeConfig.ts +++ b/clients/client-dynamodb/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { NODE_ENDPOINT_DISCOVERY_CONFIG_OPTIONS } from "@aws-sdk/middleware-endpoint-discovery"; @@ -40,8 +39,7 @@ export const getRuntimeConfig = (config: DynamoDBClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-ebs/package.json b/clients/client-ebs/package.json index 5eda4cce13ebf..bcf00fc247687 100644 --- a/clients/client-ebs/package.json +++ b/clients/client-ebs/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-ebs/src/runtimeConfig.ts b/clients/client-ebs/src/runtimeConfig.ts index c506c108a9ed4..e5e5fb708cdad 100644 --- a/clients/client-ebs/src/runtimeConfig.ts +++ b/clients/client-ebs/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: EBSClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-ec2-instance-connect/package.json b/clients/client-ec2-instance-connect/package.json index fbc7963d19d2d..a844980cd4769 100644 --- a/clients/client-ec2-instance-connect/package.json +++ b/clients/client-ec2-instance-connect/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-ec2-instance-connect/src/runtimeConfig.ts b/clients/client-ec2-instance-connect/src/runtimeConfig.ts index d4896c6218d38..977313c2a8418 100644 --- a/clients/client-ec2-instance-connect/src/runtimeConfig.ts +++ b/clients/client-ec2-instance-connect/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: EC2InstanceConnectClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-ec2/package.json b/clients/client-ec2/package.json index 0e6c4aff233ea..92dbbdcfc213a 100644 --- a/clients/client-ec2/package.json +++ b/clients/client-ec2/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-ec2/src/runtimeConfig.ts b/clients/client-ec2/src/runtimeConfig.ts index 73c441055cb1e..48cb52ff47b15 100644 --- a/clients/client-ec2/src/runtimeConfig.ts +++ b/clients/client-ec2/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: EC2ClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-ecr-public/package.json b/clients/client-ecr-public/package.json index ef0414c367cf4..96c15943e5b42 100644 --- a/clients/client-ecr-public/package.json +++ b/clients/client-ecr-public/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-ecr-public/src/runtimeConfig.ts b/clients/client-ecr-public/src/runtimeConfig.ts index 3a788655caa0c..f3244a4625b33 100644 --- a/clients/client-ecr-public/src/runtimeConfig.ts +++ b/clients/client-ecr-public/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: ECRPUBLICClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-ecr/package.json b/clients/client-ecr/package.json index 46cc55de41415..6bdd7b0c734d5 100644 --- a/clients/client-ecr/package.json +++ b/clients/client-ecr/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-ecr/src/runtimeConfig.ts b/clients/client-ecr/src/runtimeConfig.ts index dfd24cc49e979..25bab2d214c72 100644 --- a/clients/client-ecr/src/runtimeConfig.ts +++ b/clients/client-ecr/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: ECRClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-ecs/package.json b/clients/client-ecs/package.json index e231a150e72f3..bfd3e65ab027b 100644 --- a/clients/client-ecs/package.json +++ b/clients/client-ecs/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-ecs/src/runtimeConfig.ts b/clients/client-ecs/src/runtimeConfig.ts index 867ebfa0a5b31..1d0cdd17961d3 100644 --- a/clients/client-ecs/src/runtimeConfig.ts +++ b/clients/client-ecs/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: ECSClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-efs/package.json b/clients/client-efs/package.json index 16cddf8f37b01..d13bd00f7617a 100644 --- a/clients/client-efs/package.json +++ b/clients/client-efs/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-efs/src/runtimeConfig.ts b/clients/client-efs/src/runtimeConfig.ts index acc4114f2cdc8..7ce2a2bdf2d05 100644 --- a/clients/client-efs/src/runtimeConfig.ts +++ b/clients/client-efs/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: EFSClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-eks-auth/package.json b/clients/client-eks-auth/package.json index 83e6a5b196f5b..cbaa35adfb936 100644 --- a/clients/client-eks-auth/package.json +++ b/clients/client-eks-auth/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-eks-auth/src/runtimeConfig.ts b/clients/client-eks-auth/src/runtimeConfig.ts index ac588ccc8a9d4..d22f19a7bfe10 100644 --- a/clients/client-eks-auth/src/runtimeConfig.ts +++ b/clients/client-eks-auth/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: EKSAuthClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-eks/package.json b/clients/client-eks/package.json index d72b0a133d5ab..9fe07b83ff68b 100644 --- a/clients/client-eks/package.json +++ b/clients/client-eks/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-eks/src/runtimeConfig.ts b/clients/client-eks/src/runtimeConfig.ts index 165f084b56122..842de7b486d1f 100644 --- a/clients/client-eks/src/runtimeConfig.ts +++ b/clients/client-eks/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: EKSClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-elastic-beanstalk/package.json b/clients/client-elastic-beanstalk/package.json index 70a8fb41b7373..a85e43869157a 100644 --- a/clients/client-elastic-beanstalk/package.json +++ b/clients/client-elastic-beanstalk/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-elastic-beanstalk/src/runtimeConfig.ts b/clients/client-elastic-beanstalk/src/runtimeConfig.ts index fb5a3b299559d..698cc54295462 100644 --- a/clients/client-elastic-beanstalk/src/runtimeConfig.ts +++ b/clients/client-elastic-beanstalk/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: ElasticBeanstalkClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-elastic-inference/package.json b/clients/client-elastic-inference/package.json index 3c29604c34666..3e76408cd9a42 100644 --- a/clients/client-elastic-inference/package.json +++ b/clients/client-elastic-inference/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-elastic-inference/src/runtimeConfig.ts b/clients/client-elastic-inference/src/runtimeConfig.ts index e8866b462fabb..c785498e02a6f 100644 --- a/clients/client-elastic-inference/src/runtimeConfig.ts +++ b/clients/client-elastic-inference/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: ElasticInferenceClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-elastic-load-balancing-v2/package.json b/clients/client-elastic-load-balancing-v2/package.json index 00d26b4feb668..b2dedd8ab5f9d 100644 --- a/clients/client-elastic-load-balancing-v2/package.json +++ b/clients/client-elastic-load-balancing-v2/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-elastic-load-balancing-v2/src/runtimeConfig.ts b/clients/client-elastic-load-balancing-v2/src/runtimeConfig.ts index f0e54a4c88d71..653236830a101 100644 --- a/clients/client-elastic-load-balancing-v2/src/runtimeConfig.ts +++ b/clients/client-elastic-load-balancing-v2/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: ElasticLoadBalancingV2ClientConfig) => runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-elastic-load-balancing/package.json b/clients/client-elastic-load-balancing/package.json index 795f0f6571ba1..46e0180b7719f 100644 --- a/clients/client-elastic-load-balancing/package.json +++ b/clients/client-elastic-load-balancing/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-elastic-load-balancing/src/runtimeConfig.ts b/clients/client-elastic-load-balancing/src/runtimeConfig.ts index 6001af23cbd7a..54da68cb5aeb3 100644 --- a/clients/client-elastic-load-balancing/src/runtimeConfig.ts +++ b/clients/client-elastic-load-balancing/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: ElasticLoadBalancingClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-elastic-transcoder/package.json b/clients/client-elastic-transcoder/package.json index b63dde588bba1..f6531a77cb59e 100644 --- a/clients/client-elastic-transcoder/package.json +++ b/clients/client-elastic-transcoder/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-elastic-transcoder/src/runtimeConfig.ts b/clients/client-elastic-transcoder/src/runtimeConfig.ts index 7c3e32c201995..a7bd7e5c207fb 100644 --- a/clients/client-elastic-transcoder/src/runtimeConfig.ts +++ b/clients/client-elastic-transcoder/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: ElasticTranscoderClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-elasticache/package.json b/clients/client-elasticache/package.json index b7b5ff8c95745..d79f1caa751ad 100644 --- a/clients/client-elasticache/package.json +++ b/clients/client-elasticache/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-elasticache/src/runtimeConfig.ts b/clients/client-elasticache/src/runtimeConfig.ts index 157dbbeceeafa..00e1e8011cc45 100644 --- a/clients/client-elasticache/src/runtimeConfig.ts +++ b/clients/client-elasticache/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: ElastiCacheClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-elasticsearch-service/package.json b/clients/client-elasticsearch-service/package.json index 5b8a8a4a0e464..5ef7226633e85 100644 --- a/clients/client-elasticsearch-service/package.json +++ b/clients/client-elasticsearch-service/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-elasticsearch-service/src/runtimeConfig.ts b/clients/client-elasticsearch-service/src/runtimeConfig.ts index 842cd27dc8648..4a44a48b2c3d5 100644 --- a/clients/client-elasticsearch-service/src/runtimeConfig.ts +++ b/clients/client-elasticsearch-service/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: ElasticsearchServiceClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-emr-containers/package.json b/clients/client-emr-containers/package.json index 10c18a18120fc..d05801481a011 100644 --- a/clients/client-emr-containers/package.json +++ b/clients/client-emr-containers/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-emr-containers/src/runtimeConfig.ts b/clients/client-emr-containers/src/runtimeConfig.ts index adec9e3ded33f..9f4b7c4c1735b 100644 --- a/clients/client-emr-containers/src/runtimeConfig.ts +++ b/clients/client-emr-containers/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: EMRContainersClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-emr-serverless/package.json b/clients/client-emr-serverless/package.json index 024518c71f4ea..c303877bf6afb 100644 --- a/clients/client-emr-serverless/package.json +++ b/clients/client-emr-serverless/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-emr-serverless/src/runtimeConfig.ts b/clients/client-emr-serverless/src/runtimeConfig.ts index 114d49957a19c..953c3cdf780f2 100644 --- a/clients/client-emr-serverless/src/runtimeConfig.ts +++ b/clients/client-emr-serverless/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: EMRServerlessClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-emr/package.json b/clients/client-emr/package.json index 60b058ac28d46..bb7fc03f0dc25 100644 --- a/clients/client-emr/package.json +++ b/clients/client-emr/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-emr/src/runtimeConfig.ts b/clients/client-emr/src/runtimeConfig.ts index 94dd0736036c5..aad613dfb2a66 100644 --- a/clients/client-emr/src/runtimeConfig.ts +++ b/clients/client-emr/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: EMRClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-entityresolution/package.json b/clients/client-entityresolution/package.json index ccb56a037da76..9a5f3fd0c688c 100644 --- a/clients/client-entityresolution/package.json +++ b/clients/client-entityresolution/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-entityresolution/src/runtimeConfig.ts b/clients/client-entityresolution/src/runtimeConfig.ts index c7165629426ad..45b3babeb6d82 100644 --- a/clients/client-entityresolution/src/runtimeConfig.ts +++ b/clients/client-entityresolution/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: EntityResolutionClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-eventbridge/package.json b/clients/client-eventbridge/package.json index 672bb329cb7fc..3cc866e77d23e 100644 --- a/clients/client-eventbridge/package.json +++ b/clients/client-eventbridge/package.json @@ -22,7 +22,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-eventbridge/src/runtimeConfig.ts b/clients/client-eventbridge/src/runtimeConfig.ts index 879c30ba0b7ec..38684bdfbf1bf 100644 --- a/clients/client-eventbridge/src/runtimeConfig.ts +++ b/clients/client-eventbridge/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: EventBridgeClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-evidently/package.json b/clients/client-evidently/package.json index d55878cbd6d04..42c1ea306ed5a 100644 --- a/clients/client-evidently/package.json +++ b/clients/client-evidently/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-evidently/src/runtimeConfig.ts b/clients/client-evidently/src/runtimeConfig.ts index 954e6e4e8f645..c65a9daab32f3 100644 --- a/clients/client-evidently/src/runtimeConfig.ts +++ b/clients/client-evidently/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: EvidentlyClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-finspace-data/package.json b/clients/client-finspace-data/package.json index 4a2bfbbdd1a25..50295f8a0443f 100644 --- a/clients/client-finspace-data/package.json +++ b/clients/client-finspace-data/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-finspace-data/src/runtimeConfig.ts b/clients/client-finspace-data/src/runtimeConfig.ts index 85f336e59eaf4..bb048a9e66fcf 100644 --- a/clients/client-finspace-data/src/runtimeConfig.ts +++ b/clients/client-finspace-data/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: FinspaceDataClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-finspace/package.json b/clients/client-finspace/package.json index 91888612a950e..a916168cb5b7e 100644 --- a/clients/client-finspace/package.json +++ b/clients/client-finspace/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-finspace/src/runtimeConfig.ts b/clients/client-finspace/src/runtimeConfig.ts index a8a213cfe220e..2954956b34ea2 100644 --- a/clients/client-finspace/src/runtimeConfig.ts +++ b/clients/client-finspace/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: FinspaceClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-firehose/package.json b/clients/client-firehose/package.json index 4f833bdc56ca0..954bf1446c92c 100644 --- a/clients/client-firehose/package.json +++ b/clients/client-firehose/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-firehose/src/runtimeConfig.ts b/clients/client-firehose/src/runtimeConfig.ts index 2969005d3b0ef..b46ab3b16f34a 100644 --- a/clients/client-firehose/src/runtimeConfig.ts +++ b/clients/client-firehose/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: FirehoseClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-fis/package.json b/clients/client-fis/package.json index 15cf661efef6e..057b9968a4980 100644 --- a/clients/client-fis/package.json +++ b/clients/client-fis/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-fis/src/runtimeConfig.ts b/clients/client-fis/src/runtimeConfig.ts index 9606122266ba5..eb02a92c0bf05 100644 --- a/clients/client-fis/src/runtimeConfig.ts +++ b/clients/client-fis/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: FisClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-fms/package.json b/clients/client-fms/package.json index 64263d1ceff1d..07dbaeef97005 100644 --- a/clients/client-fms/package.json +++ b/clients/client-fms/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-fms/src/runtimeConfig.ts b/clients/client-fms/src/runtimeConfig.ts index d42832278d34a..22dd35efdb3f1 100644 --- a/clients/client-fms/src/runtimeConfig.ts +++ b/clients/client-fms/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: FMSClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-forecast/package.json b/clients/client-forecast/package.json index f2d3a2f4a8040..20e16a9a111da 100644 --- a/clients/client-forecast/package.json +++ b/clients/client-forecast/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-forecast/src/runtimeConfig.ts b/clients/client-forecast/src/runtimeConfig.ts index bea2c54522575..c870fd4da3faa 100644 --- a/clients/client-forecast/src/runtimeConfig.ts +++ b/clients/client-forecast/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: ForecastClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-forecastquery/package.json b/clients/client-forecastquery/package.json index 325a33c423635..425efd8148166 100644 --- a/clients/client-forecastquery/package.json +++ b/clients/client-forecastquery/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-forecastquery/src/runtimeConfig.ts b/clients/client-forecastquery/src/runtimeConfig.ts index 9ac0447d8c84b..abe44576940f4 100644 --- a/clients/client-forecastquery/src/runtimeConfig.ts +++ b/clients/client-forecastquery/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: ForecastqueryClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-frauddetector/package.json b/clients/client-frauddetector/package.json index 263693edf7681..2d3b332c05d34 100644 --- a/clients/client-frauddetector/package.json +++ b/clients/client-frauddetector/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-frauddetector/src/runtimeConfig.ts b/clients/client-frauddetector/src/runtimeConfig.ts index ee2c77a082fe0..b112e6ea4b5dd 100644 --- a/clients/client-frauddetector/src/runtimeConfig.ts +++ b/clients/client-frauddetector/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: FraudDetectorClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-freetier/package.json b/clients/client-freetier/package.json index a71cb30012e8e..f3f5cfd610eca 100644 --- a/clients/client-freetier/package.json +++ b/clients/client-freetier/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-freetier/src/runtimeConfig.ts b/clients/client-freetier/src/runtimeConfig.ts index ad2e9fa7a1d1d..cfff74684588d 100644 --- a/clients/client-freetier/src/runtimeConfig.ts +++ b/clients/client-freetier/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: FreeTierClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-fsx/package.json b/clients/client-fsx/package.json index 57b7a9378b814..daaa9d7003699 100644 --- a/clients/client-fsx/package.json +++ b/clients/client-fsx/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-fsx/src/runtimeConfig.ts b/clients/client-fsx/src/runtimeConfig.ts index c390b7f6b6a3d..05d17ddb7b3ec 100644 --- a/clients/client-fsx/src/runtimeConfig.ts +++ b/clients/client-fsx/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: FSxClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-gamelift/package.json b/clients/client-gamelift/package.json index 1fa463c29c9ff..053bec69b8ad4 100644 --- a/clients/client-gamelift/package.json +++ b/clients/client-gamelift/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-gamelift/src/runtimeConfig.ts b/clients/client-gamelift/src/runtimeConfig.ts index ceb12d6657b18..b1ff2a35e6756 100644 --- a/clients/client-gamelift/src/runtimeConfig.ts +++ b/clients/client-gamelift/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: GameLiftClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-glacier/package.json b/clients/client-glacier/package.json index 51992c00b0aad..bb470e4e0a1c7 100644 --- a/clients/client-glacier/package.json +++ b/clients/client-glacier/package.json @@ -22,7 +22,6 @@ "@aws-crypto/sha256-js": "3.0.0", "@aws-sdk/body-checksum-browser": "*", "@aws-sdk/body-checksum-node": "*", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-glacier/src/runtimeConfig.ts b/clients/client-glacier/src/runtimeConfig.ts index 872edb2006a94..547c52330b440 100644 --- a/clients/client-glacier/src/runtimeConfig.ts +++ b/clients/client-glacier/src/runtimeConfig.ts @@ -3,7 +3,6 @@ import packageInfo from "../package.json"; // eslint-disable-line import { bodyChecksumGenerator } from "@aws-sdk/body-checksum-node"; -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -41,8 +40,7 @@ export const getRuntimeConfig = (config: GlacierClientConfig) => { defaultsMode, bodyChecksumGenerator: config?.bodyChecksumGenerator ?? bodyChecksumGenerator, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-global-accelerator/package.json b/clients/client-global-accelerator/package.json index 5611ee94cafa6..c3d0aa189fa5b 100644 --- a/clients/client-global-accelerator/package.json +++ b/clients/client-global-accelerator/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-global-accelerator/src/runtimeConfig.ts b/clients/client-global-accelerator/src/runtimeConfig.ts index 789859258c1e0..823c54d4e5410 100644 --- a/clients/client-global-accelerator/src/runtimeConfig.ts +++ b/clients/client-global-accelerator/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: GlobalAcceleratorClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-glue/package.json b/clients/client-glue/package.json index c67dd63249949..976665d7680db 100644 --- a/clients/client-glue/package.json +++ b/clients/client-glue/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-glue/src/runtimeConfig.ts b/clients/client-glue/src/runtimeConfig.ts index 579bd58e78758..009f399603587 100644 --- a/clients/client-glue/src/runtimeConfig.ts +++ b/clients/client-glue/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: GlueClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-grafana/package.json b/clients/client-grafana/package.json index 0c3acffb2ccde..af7eab130f38a 100644 --- a/clients/client-grafana/package.json +++ b/clients/client-grafana/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-grafana/src/runtimeConfig.ts b/clients/client-grafana/src/runtimeConfig.ts index 373530445b63c..51055e6297ae0 100644 --- a/clients/client-grafana/src/runtimeConfig.ts +++ b/clients/client-grafana/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: GrafanaClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-greengrass/package.json b/clients/client-greengrass/package.json index cf9e6b7271bb3..ff0d8c0ecee50 100644 --- a/clients/client-greengrass/package.json +++ b/clients/client-greengrass/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-greengrass/src/runtimeConfig.ts b/clients/client-greengrass/src/runtimeConfig.ts index 2a318cf0720e6..f32ce9fe36300 100644 --- a/clients/client-greengrass/src/runtimeConfig.ts +++ b/clients/client-greengrass/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: GreengrassClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-greengrassv2/package.json b/clients/client-greengrassv2/package.json index 147337788eb99..4dc05c07298a7 100644 --- a/clients/client-greengrassv2/package.json +++ b/clients/client-greengrassv2/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-greengrassv2/src/runtimeConfig.ts b/clients/client-greengrassv2/src/runtimeConfig.ts index bf7efbb8c7c27..d5c506438b23e 100644 --- a/clients/client-greengrassv2/src/runtimeConfig.ts +++ b/clients/client-greengrassv2/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: GreengrassV2ClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-groundstation/package.json b/clients/client-groundstation/package.json index 3bef704f20894..3b424e2b48f20 100644 --- a/clients/client-groundstation/package.json +++ b/clients/client-groundstation/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-groundstation/src/runtimeConfig.ts b/clients/client-groundstation/src/runtimeConfig.ts index 6d8c63a439a8b..58d53cdca813a 100644 --- a/clients/client-groundstation/src/runtimeConfig.ts +++ b/clients/client-groundstation/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: GroundStationClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-guardduty/package.json b/clients/client-guardduty/package.json index 2963aaa60dea2..131df33d476ff 100644 --- a/clients/client-guardduty/package.json +++ b/clients/client-guardduty/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-guardduty/src/runtimeConfig.ts b/clients/client-guardduty/src/runtimeConfig.ts index f67cfe0ee3e1a..8595368eff108 100644 --- a/clients/client-guardduty/src/runtimeConfig.ts +++ b/clients/client-guardduty/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: GuardDutyClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-health/package.json b/clients/client-health/package.json index d23b41d1d9a66..85d7ae7b93022 100644 --- a/clients/client-health/package.json +++ b/clients/client-health/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-health/src/runtimeConfig.ts b/clients/client-health/src/runtimeConfig.ts index 494d60b88d8cc..2a9c02194e128 100644 --- a/clients/client-health/src/runtimeConfig.ts +++ b/clients/client-health/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: HealthClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-healthlake/package.json b/clients/client-healthlake/package.json index 1e3a3910961a2..24ba5c2a32bc2 100644 --- a/clients/client-healthlake/package.json +++ b/clients/client-healthlake/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-healthlake/src/runtimeConfig.ts b/clients/client-healthlake/src/runtimeConfig.ts index f57c65cf06b19..c6ddf957b2dac 100644 --- a/clients/client-healthlake/src/runtimeConfig.ts +++ b/clients/client-healthlake/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: HealthLakeClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-honeycode/package.json b/clients/client-honeycode/package.json index c00ba9b917011..b45aa79b75ffd 100644 --- a/clients/client-honeycode/package.json +++ b/clients/client-honeycode/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-honeycode/src/runtimeConfig.ts b/clients/client-honeycode/src/runtimeConfig.ts index 55149c4abd573..4f46692d07804 100644 --- a/clients/client-honeycode/src/runtimeConfig.ts +++ b/clients/client-honeycode/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: HoneycodeClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-iam/package.json b/clients/client-iam/package.json index 5c50a099c6206..3a74c9c0c22b8 100644 --- a/clients/client-iam/package.json +++ b/clients/client-iam/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-iam/src/runtimeConfig.ts b/clients/client-iam/src/runtimeConfig.ts index b107f574f872d..e2852ecf5e7e0 100644 --- a/clients/client-iam/src/runtimeConfig.ts +++ b/clients/client-iam/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: IAMClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-identitystore/package.json b/clients/client-identitystore/package.json index e36877d345650..2bcea6190a907 100644 --- a/clients/client-identitystore/package.json +++ b/clients/client-identitystore/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-identitystore/src/runtimeConfig.ts b/clients/client-identitystore/src/runtimeConfig.ts index c40258a7e20e7..6a1442c6896d9 100644 --- a/clients/client-identitystore/src/runtimeConfig.ts +++ b/clients/client-identitystore/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: IdentitystoreClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-imagebuilder/package.json b/clients/client-imagebuilder/package.json index bda1ec33b276e..feab7f25a6024 100644 --- a/clients/client-imagebuilder/package.json +++ b/clients/client-imagebuilder/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-imagebuilder/src/runtimeConfig.ts b/clients/client-imagebuilder/src/runtimeConfig.ts index c19aa9b98cb6b..c30f053a7c7ed 100644 --- a/clients/client-imagebuilder/src/runtimeConfig.ts +++ b/clients/client-imagebuilder/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: ImagebuilderClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-inspector-scan/package.json b/clients/client-inspector-scan/package.json index 0f55b46ffa4e6..2bc41a3f6fc38 100644 --- a/clients/client-inspector-scan/package.json +++ b/clients/client-inspector-scan/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-inspector-scan/src/runtimeConfig.ts b/clients/client-inspector-scan/src/runtimeConfig.ts index 5024932be50e8..46a72fd67fe63 100644 --- a/clients/client-inspector-scan/src/runtimeConfig.ts +++ b/clients/client-inspector-scan/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: InspectorScanClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-inspector/package.json b/clients/client-inspector/package.json index 8ed1a811c66b5..7e81b9ce536a0 100644 --- a/clients/client-inspector/package.json +++ b/clients/client-inspector/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-inspector/src/runtimeConfig.ts b/clients/client-inspector/src/runtimeConfig.ts index bede357d46fb7..284e764765f50 100644 --- a/clients/client-inspector/src/runtimeConfig.ts +++ b/clients/client-inspector/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: InspectorClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-inspector2/package.json b/clients/client-inspector2/package.json index 5518392e0fe4e..8319603760a2a 100644 --- a/clients/client-inspector2/package.json +++ b/clients/client-inspector2/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-inspector2/src/runtimeConfig.ts b/clients/client-inspector2/src/runtimeConfig.ts index d11218978b82f..5d8765ea3a534 100644 --- a/clients/client-inspector2/src/runtimeConfig.ts +++ b/clients/client-inspector2/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: Inspector2ClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-internetmonitor/package.json b/clients/client-internetmonitor/package.json index ec4f3101b6f11..4dbf4c420cc82 100644 --- a/clients/client-internetmonitor/package.json +++ b/clients/client-internetmonitor/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-internetmonitor/src/runtimeConfig.ts b/clients/client-internetmonitor/src/runtimeConfig.ts index 408cd52a032b7..0b10cb9ee6cba 100644 --- a/clients/client-internetmonitor/src/runtimeConfig.ts +++ b/clients/client-internetmonitor/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: InternetMonitorClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-iot-1click-devices-service/package.json b/clients/client-iot-1click-devices-service/package.json index e0586a4fe0096..2a995505bafd5 100644 --- a/clients/client-iot-1click-devices-service/package.json +++ b/clients/client-iot-1click-devices-service/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-iot-1click-devices-service/src/runtimeConfig.ts b/clients/client-iot-1click-devices-service/src/runtimeConfig.ts index 5435f1b663ca1..6196511aed99d 100644 --- a/clients/client-iot-1click-devices-service/src/runtimeConfig.ts +++ b/clients/client-iot-1click-devices-service/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: IoT1ClickDevicesServiceClientConfig) => runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-iot-1click-projects/package.json b/clients/client-iot-1click-projects/package.json index 92e1ac2965bf9..9dc9a3f5a2a9d 100644 --- a/clients/client-iot-1click-projects/package.json +++ b/clients/client-iot-1click-projects/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-iot-1click-projects/src/runtimeConfig.ts b/clients/client-iot-1click-projects/src/runtimeConfig.ts index 6ee4e6afa1d76..a57030637bbaa 100644 --- a/clients/client-iot-1click-projects/src/runtimeConfig.ts +++ b/clients/client-iot-1click-projects/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: IoT1ClickProjectsClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-iot-data-plane/package.json b/clients/client-iot-data-plane/package.json index 0edbf8d7fc585..5509fa1c26125 100644 --- a/clients/client-iot-data-plane/package.json +++ b/clients/client-iot-data-plane/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-iot-data-plane/src/runtimeConfig.ts b/clients/client-iot-data-plane/src/runtimeConfig.ts index 0f38360b74925..b300ed799b5c1 100644 --- a/clients/client-iot-data-plane/src/runtimeConfig.ts +++ b/clients/client-iot-data-plane/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: IoTDataPlaneClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-iot-events-data/package.json b/clients/client-iot-events-data/package.json index e6cbf357c121e..1f7b5951cf693 100644 --- a/clients/client-iot-events-data/package.json +++ b/clients/client-iot-events-data/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-iot-events-data/src/runtimeConfig.ts b/clients/client-iot-events-data/src/runtimeConfig.ts index 569c3fd54d989..f2984138c6010 100644 --- a/clients/client-iot-events-data/src/runtimeConfig.ts +++ b/clients/client-iot-events-data/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: IoTEventsDataClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-iot-events/package.json b/clients/client-iot-events/package.json index 30ee47b7ccf91..f47324a7a0ee9 100644 --- a/clients/client-iot-events/package.json +++ b/clients/client-iot-events/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-iot-events/src/runtimeConfig.ts b/clients/client-iot-events/src/runtimeConfig.ts index d6fd8e95340e6..71f9e543b82ca 100644 --- a/clients/client-iot-events/src/runtimeConfig.ts +++ b/clients/client-iot-events/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: IoTEventsClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-iot-jobs-data-plane/package.json b/clients/client-iot-jobs-data-plane/package.json index 385f66dc51151..f8b62aa20bd56 100644 --- a/clients/client-iot-jobs-data-plane/package.json +++ b/clients/client-iot-jobs-data-plane/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-iot-jobs-data-plane/src/runtimeConfig.ts b/clients/client-iot-jobs-data-plane/src/runtimeConfig.ts index 23ddf8de77c4f..4396c09d6b644 100644 --- a/clients/client-iot-jobs-data-plane/src/runtimeConfig.ts +++ b/clients/client-iot-jobs-data-plane/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: IoTJobsDataPlaneClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-iot-roborunner/package.json b/clients/client-iot-roborunner/package.json index 7a37fcef5975c..7f5fe9a0344bb 100644 --- a/clients/client-iot-roborunner/package.json +++ b/clients/client-iot-roborunner/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-iot-roborunner/src/runtimeConfig.ts b/clients/client-iot-roborunner/src/runtimeConfig.ts index 60411a03e38a1..d9bf935c3e7ee 100644 --- a/clients/client-iot-roborunner/src/runtimeConfig.ts +++ b/clients/client-iot-roborunner/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: IoTRoboRunnerClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-iot-wireless/package.json b/clients/client-iot-wireless/package.json index 81086ceafd759..c8d95c29abe52 100644 --- a/clients/client-iot-wireless/package.json +++ b/clients/client-iot-wireless/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-iot-wireless/src/runtimeConfig.ts b/clients/client-iot-wireless/src/runtimeConfig.ts index 233a733f3a0e8..337e8dfbb17bc 100644 --- a/clients/client-iot-wireless/src/runtimeConfig.ts +++ b/clients/client-iot-wireless/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: IoTWirelessClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-iot/package.json b/clients/client-iot/package.json index 5291cbbbe1b5c..6a0c0078e1bdc 100644 --- a/clients/client-iot/package.json +++ b/clients/client-iot/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-iot/src/runtimeConfig.ts b/clients/client-iot/src/runtimeConfig.ts index 2c251e81c2225..ef1dba965981d 100644 --- a/clients/client-iot/src/runtimeConfig.ts +++ b/clients/client-iot/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: IoTClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-iotanalytics/package.json b/clients/client-iotanalytics/package.json index 501fb501832a5..edc079d8772ce 100644 --- a/clients/client-iotanalytics/package.json +++ b/clients/client-iotanalytics/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-iotanalytics/src/runtimeConfig.ts b/clients/client-iotanalytics/src/runtimeConfig.ts index 5b0e52bc4bdad..ac5ad0b3959d0 100644 --- a/clients/client-iotanalytics/src/runtimeConfig.ts +++ b/clients/client-iotanalytics/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: IoTAnalyticsClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-iotdeviceadvisor/package.json b/clients/client-iotdeviceadvisor/package.json index 1e7b073d570f1..bcfabdbd90339 100644 --- a/clients/client-iotdeviceadvisor/package.json +++ b/clients/client-iotdeviceadvisor/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-iotdeviceadvisor/src/runtimeConfig.ts b/clients/client-iotdeviceadvisor/src/runtimeConfig.ts index d0727bdb686d0..82d3a0ca9b9db 100644 --- a/clients/client-iotdeviceadvisor/src/runtimeConfig.ts +++ b/clients/client-iotdeviceadvisor/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: IotDeviceAdvisorClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-iotfleethub/package.json b/clients/client-iotfleethub/package.json index 3c76c0686fba3..4bd7d778ae052 100644 --- a/clients/client-iotfleethub/package.json +++ b/clients/client-iotfleethub/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-iotfleethub/src/runtimeConfig.ts b/clients/client-iotfleethub/src/runtimeConfig.ts index 9bbf6237d6f7e..ccb15c9d8405c 100644 --- a/clients/client-iotfleethub/src/runtimeConfig.ts +++ b/clients/client-iotfleethub/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: IoTFleetHubClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-iotfleetwise/package.json b/clients/client-iotfleetwise/package.json index 7b271e19c2813..8dc8feb5839d5 100644 --- a/clients/client-iotfleetwise/package.json +++ b/clients/client-iotfleetwise/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-iotfleetwise/src/runtimeConfig.ts b/clients/client-iotfleetwise/src/runtimeConfig.ts index ea23b67d01a96..a0918cabed92d 100644 --- a/clients/client-iotfleetwise/src/runtimeConfig.ts +++ b/clients/client-iotfleetwise/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: IoTFleetWiseClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-iotsecuretunneling/package.json b/clients/client-iotsecuretunneling/package.json index d2ea6841f3109..19713d79f5928 100644 --- a/clients/client-iotsecuretunneling/package.json +++ b/clients/client-iotsecuretunneling/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-iotsecuretunneling/src/runtimeConfig.ts b/clients/client-iotsecuretunneling/src/runtimeConfig.ts index aab8aa43bb0fc..f8f47664afaf7 100644 --- a/clients/client-iotsecuretunneling/src/runtimeConfig.ts +++ b/clients/client-iotsecuretunneling/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: IoTSecureTunnelingClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-iotsitewise/package.json b/clients/client-iotsitewise/package.json index fccc34ad1a40c..ab50b2195cac7 100644 --- a/clients/client-iotsitewise/package.json +++ b/clients/client-iotsitewise/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-iotsitewise/src/runtimeConfig.ts b/clients/client-iotsitewise/src/runtimeConfig.ts index 5c6911540f872..4ebc795a3c611 100644 --- a/clients/client-iotsitewise/src/runtimeConfig.ts +++ b/clients/client-iotsitewise/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: IoTSiteWiseClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-iotthingsgraph/package.json b/clients/client-iotthingsgraph/package.json index 912e04d011c11..1102b661f6df8 100644 --- a/clients/client-iotthingsgraph/package.json +++ b/clients/client-iotthingsgraph/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-iotthingsgraph/src/runtimeConfig.ts b/clients/client-iotthingsgraph/src/runtimeConfig.ts index e8d9a62b9df6a..d16f4e48d384a 100644 --- a/clients/client-iotthingsgraph/src/runtimeConfig.ts +++ b/clients/client-iotthingsgraph/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: IoTThingsGraphClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-iottwinmaker/package.json b/clients/client-iottwinmaker/package.json index 6d536bd49bf52..ccc93579dd209 100644 --- a/clients/client-iottwinmaker/package.json +++ b/clients/client-iottwinmaker/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-iottwinmaker/src/runtimeConfig.ts b/clients/client-iottwinmaker/src/runtimeConfig.ts index ff5f8d2ea886b..a1509e3bf461b 100644 --- a/clients/client-iottwinmaker/src/runtimeConfig.ts +++ b/clients/client-iottwinmaker/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: IoTTwinMakerClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-ivs-realtime/package.json b/clients/client-ivs-realtime/package.json index 70c21315431da..be83bef383bde 100644 --- a/clients/client-ivs-realtime/package.json +++ b/clients/client-ivs-realtime/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-ivs-realtime/src/runtimeConfig.ts b/clients/client-ivs-realtime/src/runtimeConfig.ts index 469407d46b96a..67705596829c1 100644 --- a/clients/client-ivs-realtime/src/runtimeConfig.ts +++ b/clients/client-ivs-realtime/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: IVSRealTimeClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-ivs/package.json b/clients/client-ivs/package.json index 77ec1254cb641..2e1003d39c548 100644 --- a/clients/client-ivs/package.json +++ b/clients/client-ivs/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-ivs/src/runtimeConfig.ts b/clients/client-ivs/src/runtimeConfig.ts index 8cd7337e7b09c..b52efbfe1745c 100644 --- a/clients/client-ivs/src/runtimeConfig.ts +++ b/clients/client-ivs/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: IvsClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-ivschat/package.json b/clients/client-ivschat/package.json index e74889d354418..d3cd71ca4f36b 100644 --- a/clients/client-ivschat/package.json +++ b/clients/client-ivschat/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-ivschat/src/runtimeConfig.ts b/clients/client-ivschat/src/runtimeConfig.ts index ab6f644c49e43..770b813c77db0 100644 --- a/clients/client-ivschat/src/runtimeConfig.ts +++ b/clients/client-ivschat/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: IvschatClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-kafka/package.json b/clients/client-kafka/package.json index 2710519a5aab9..dd3c6b56b0da3 100644 --- a/clients/client-kafka/package.json +++ b/clients/client-kafka/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-kafka/src/runtimeConfig.ts b/clients/client-kafka/src/runtimeConfig.ts index e70abcc7681e5..ee39a1bd4c433 100644 --- a/clients/client-kafka/src/runtimeConfig.ts +++ b/clients/client-kafka/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: KafkaClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-kafkaconnect/package.json b/clients/client-kafkaconnect/package.json index 1c51033b3d1a3..9b025ccddbdfc 100644 --- a/clients/client-kafkaconnect/package.json +++ b/clients/client-kafkaconnect/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-kafkaconnect/src/runtimeConfig.ts b/clients/client-kafkaconnect/src/runtimeConfig.ts index b30f1f7007104..357cb4c76ee79 100644 --- a/clients/client-kafkaconnect/src/runtimeConfig.ts +++ b/clients/client-kafkaconnect/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: KafkaConnectClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-kendra-ranking/package.json b/clients/client-kendra-ranking/package.json index 7523889384a0f..d1834a86f9534 100644 --- a/clients/client-kendra-ranking/package.json +++ b/clients/client-kendra-ranking/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-kendra-ranking/src/runtimeConfig.ts b/clients/client-kendra-ranking/src/runtimeConfig.ts index 693f76484d1e2..03dd1a3bbc56b 100644 --- a/clients/client-kendra-ranking/src/runtimeConfig.ts +++ b/clients/client-kendra-ranking/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: KendraRankingClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-kendra/package.json b/clients/client-kendra/package.json index 5db3d72f53636..14bcbbe0ab4c8 100644 --- a/clients/client-kendra/package.json +++ b/clients/client-kendra/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-kendra/src/runtimeConfig.ts b/clients/client-kendra/src/runtimeConfig.ts index dafc7b5889d96..c382298c0a2c5 100644 --- a/clients/client-kendra/src/runtimeConfig.ts +++ b/clients/client-kendra/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: KendraClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-keyspaces/package.json b/clients/client-keyspaces/package.json index fe75a7152aaab..b02da018530fe 100644 --- a/clients/client-keyspaces/package.json +++ b/clients/client-keyspaces/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-keyspaces/src/runtimeConfig.ts b/clients/client-keyspaces/src/runtimeConfig.ts index 8e6a611552fdb..de5d52da62d3b 100644 --- a/clients/client-keyspaces/src/runtimeConfig.ts +++ b/clients/client-keyspaces/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: KeyspacesClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-kinesis-analytics-v2/package.json b/clients/client-kinesis-analytics-v2/package.json index e5f6fac59e882..98979814752a0 100644 --- a/clients/client-kinesis-analytics-v2/package.json +++ b/clients/client-kinesis-analytics-v2/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-kinesis-analytics-v2/src/runtimeConfig.ts b/clients/client-kinesis-analytics-v2/src/runtimeConfig.ts index e4a0a2a154339..f57739591e285 100644 --- a/clients/client-kinesis-analytics-v2/src/runtimeConfig.ts +++ b/clients/client-kinesis-analytics-v2/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: KinesisAnalyticsV2ClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-kinesis-analytics/package.json b/clients/client-kinesis-analytics/package.json index 226d70d008236..8168158f0fe0b 100644 --- a/clients/client-kinesis-analytics/package.json +++ b/clients/client-kinesis-analytics/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-kinesis-analytics/src/runtimeConfig.ts b/clients/client-kinesis-analytics/src/runtimeConfig.ts index b2a728377a03f..d0ae00ead84a6 100644 --- a/clients/client-kinesis-analytics/src/runtimeConfig.ts +++ b/clients/client-kinesis-analytics/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: KinesisAnalyticsClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-kinesis-video-archived-media/package.json b/clients/client-kinesis-video-archived-media/package.json index 7cdecbb8de39e..b9dac3869717a 100644 --- a/clients/client-kinesis-video-archived-media/package.json +++ b/clients/client-kinesis-video-archived-media/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-kinesis-video-archived-media/src/runtimeConfig.ts b/clients/client-kinesis-video-archived-media/src/runtimeConfig.ts index 98485a4b43af8..554bf726e68a2 100644 --- a/clients/client-kinesis-video-archived-media/src/runtimeConfig.ts +++ b/clients/client-kinesis-video-archived-media/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: KinesisVideoArchivedMediaClientConfig) runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-kinesis-video-media/package.json b/clients/client-kinesis-video-media/package.json index 74f0999cfe198..13f3f8aae4bff 100644 --- a/clients/client-kinesis-video-media/package.json +++ b/clients/client-kinesis-video-media/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-kinesis-video-media/src/runtimeConfig.ts b/clients/client-kinesis-video-media/src/runtimeConfig.ts index 6bb72b92d6c7a..7ac1db253d54a 100644 --- a/clients/client-kinesis-video-media/src/runtimeConfig.ts +++ b/clients/client-kinesis-video-media/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: KinesisVideoMediaClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-kinesis-video-signaling/package.json b/clients/client-kinesis-video-signaling/package.json index 453a5f3321fb2..c3e717cfe42aa 100644 --- a/clients/client-kinesis-video-signaling/package.json +++ b/clients/client-kinesis-video-signaling/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-kinesis-video-signaling/src/runtimeConfig.ts b/clients/client-kinesis-video-signaling/src/runtimeConfig.ts index df56cd469e100..ff4978deb53fd 100644 --- a/clients/client-kinesis-video-signaling/src/runtimeConfig.ts +++ b/clients/client-kinesis-video-signaling/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: KinesisVideoSignalingClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-kinesis-video-webrtc-storage/package.json b/clients/client-kinesis-video-webrtc-storage/package.json index 5a3eb527e7f77..5ff1938072fea 100644 --- a/clients/client-kinesis-video-webrtc-storage/package.json +++ b/clients/client-kinesis-video-webrtc-storage/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-kinesis-video-webrtc-storage/src/runtimeConfig.ts b/clients/client-kinesis-video-webrtc-storage/src/runtimeConfig.ts index 2e5dd3b2e8192..e06bbb3237efc 100644 --- a/clients/client-kinesis-video-webrtc-storage/src/runtimeConfig.ts +++ b/clients/client-kinesis-video-webrtc-storage/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: KinesisVideoWebRTCStorageClientConfig) runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-kinesis-video/package.json b/clients/client-kinesis-video/package.json index c5c74dd7677da..4b9056dc3a474 100644 --- a/clients/client-kinesis-video/package.json +++ b/clients/client-kinesis-video/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-kinesis-video/src/runtimeConfig.ts b/clients/client-kinesis-video/src/runtimeConfig.ts index f9bd7eefa568d..df7896cec12d5 100644 --- a/clients/client-kinesis-video/src/runtimeConfig.ts +++ b/clients/client-kinesis-video/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: KinesisVideoClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-kinesis/package.json b/clients/client-kinesis/package.json index 1464f2cb38963..6333a87c8b252 100644 --- a/clients/client-kinesis/package.json +++ b/clients/client-kinesis/package.json @@ -21,7 +21,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-kinesis/src/runtimeConfig.ts b/clients/client-kinesis/src/runtimeConfig.ts index ec928c4bb79b7..337ee2eeaa4ae 100644 --- a/clients/client-kinesis/src/runtimeConfig.ts +++ b/clients/client-kinesis/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -40,8 +39,7 @@ export const getRuntimeConfig = (config: KinesisClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-kms/package.json b/clients/client-kms/package.json index 8a38a9fac3ccc..276f89c15ed93 100644 --- a/clients/client-kms/package.json +++ b/clients/client-kms/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-kms/src/runtimeConfig.ts b/clients/client-kms/src/runtimeConfig.ts index 7ae8d3efb63d3..d2fd60548d1f5 100644 --- a/clients/client-kms/src/runtimeConfig.ts +++ b/clients/client-kms/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: KMSClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-lakeformation/package.json b/clients/client-lakeformation/package.json index 8598140467e26..bf88fc939a409 100644 --- a/clients/client-lakeformation/package.json +++ b/clients/client-lakeformation/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-lakeformation/src/runtimeConfig.ts b/clients/client-lakeformation/src/runtimeConfig.ts index 4319a2e1454d8..5d0327d19efee 100644 --- a/clients/client-lakeformation/src/runtimeConfig.ts +++ b/clients/client-lakeformation/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: LakeFormationClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-lambda/package.json b/clients/client-lambda/package.json index 0a08d4db24078..6209e9b5fb0e6 100644 --- a/clients/client-lambda/package.json +++ b/clients/client-lambda/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-lambda/src/runtimeConfig.ts b/clients/client-lambda/src/runtimeConfig.ts index 9a8b7ffbca293..58bdab2040c08 100644 --- a/clients/client-lambda/src/runtimeConfig.ts +++ b/clients/client-lambda/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -40,8 +39,7 @@ export const getRuntimeConfig = (config: LambdaClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-launch-wizard/package.json b/clients/client-launch-wizard/package.json index 6f3bb367fb018..cfbc29f074b55 100644 --- a/clients/client-launch-wizard/package.json +++ b/clients/client-launch-wizard/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-launch-wizard/src/runtimeConfig.ts b/clients/client-launch-wizard/src/runtimeConfig.ts index ed74b74fd36b7..6ab49dab69234 100644 --- a/clients/client-launch-wizard/src/runtimeConfig.ts +++ b/clients/client-launch-wizard/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: LaunchWizardClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-lex-model-building-service/package.json b/clients/client-lex-model-building-service/package.json index 74dce0de489d8..057606005b246 100644 --- a/clients/client-lex-model-building-service/package.json +++ b/clients/client-lex-model-building-service/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-lex-model-building-service/src/runtimeConfig.ts b/clients/client-lex-model-building-service/src/runtimeConfig.ts index 294d15a5b3fc5..d82f587d187c7 100644 --- a/clients/client-lex-model-building-service/src/runtimeConfig.ts +++ b/clients/client-lex-model-building-service/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: LexModelBuildingServiceClientConfig) => runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-lex-models-v2/package.json b/clients/client-lex-models-v2/package.json index 3052aeaaa93be..ea20f1e37f0b9 100644 --- a/clients/client-lex-models-v2/package.json +++ b/clients/client-lex-models-v2/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-lex-models-v2/src/runtimeConfig.ts b/clients/client-lex-models-v2/src/runtimeConfig.ts index 905e3be82fec9..daaf36722f8cb 100644 --- a/clients/client-lex-models-v2/src/runtimeConfig.ts +++ b/clients/client-lex-models-v2/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: LexModelsV2ClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-lex-runtime-service/package.json b/clients/client-lex-runtime-service/package.json index 9bed92d87b401..321fbecbb19b3 100644 --- a/clients/client-lex-runtime-service/package.json +++ b/clients/client-lex-runtime-service/package.json @@ -22,7 +22,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-lex-runtime-service/src/runtimeConfig.ts b/clients/client-lex-runtime-service/src/runtimeConfig.ts index 3370d7fa0e5e2..940c57206e600 100644 --- a/clients/client-lex-runtime-service/src/runtimeConfig.ts +++ b/clients/client-lex-runtime-service/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: LexRuntimeServiceClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-lex-runtime-v2/package.json b/clients/client-lex-runtime-v2/package.json index de0d96b9df132..169069b672863 100644 --- a/clients/client-lex-runtime-v2/package.json +++ b/clients/client-lex-runtime-v2/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/eventstream-handler-node": "*", diff --git a/clients/client-lex-runtime-v2/src/runtimeConfig.ts b/clients/client-lex-runtime-v2/src/runtimeConfig.ts index 5eed6fa7119a0..4cf39d19b8a56 100644 --- a/clients/client-lex-runtime-v2/src/runtimeConfig.ts +++ b/clients/client-lex-runtime-v2/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { eventStreamPayloadHandlerProvider } from "@aws-sdk/eventstream-handler-node"; @@ -41,8 +40,7 @@ export const getRuntimeConfig = (config: LexRuntimeV2ClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-license-manager-linux-subscriptions/package.json b/clients/client-license-manager-linux-subscriptions/package.json index 61f4a183f3ac2..cc6c1d2eb68cd 100644 --- a/clients/client-license-manager-linux-subscriptions/package.json +++ b/clients/client-license-manager-linux-subscriptions/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-license-manager-linux-subscriptions/src/runtimeConfig.ts b/clients/client-license-manager-linux-subscriptions/src/runtimeConfig.ts index 4f550321b636d..c19c714614e3d 100644 --- a/clients/client-license-manager-linux-subscriptions/src/runtimeConfig.ts +++ b/clients/client-license-manager-linux-subscriptions/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: LicenseManagerLinuxSubscriptionsClientC runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-license-manager-user-subscriptions/package.json b/clients/client-license-manager-user-subscriptions/package.json index 9327d333e976e..b24661918fcc9 100644 --- a/clients/client-license-manager-user-subscriptions/package.json +++ b/clients/client-license-manager-user-subscriptions/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-license-manager-user-subscriptions/src/runtimeConfig.ts b/clients/client-license-manager-user-subscriptions/src/runtimeConfig.ts index 39ff8bf69126f..11c80844e28a6 100644 --- a/clients/client-license-manager-user-subscriptions/src/runtimeConfig.ts +++ b/clients/client-license-manager-user-subscriptions/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: LicenseManagerUserSubscriptionsClientCo runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-license-manager/package.json b/clients/client-license-manager/package.json index d7bf4e1517676..ef8139cae4f32 100644 --- a/clients/client-license-manager/package.json +++ b/clients/client-license-manager/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-license-manager/src/runtimeConfig.ts b/clients/client-license-manager/src/runtimeConfig.ts index dd7ac9ae6a5e4..de3001db0affd 100644 --- a/clients/client-license-manager/src/runtimeConfig.ts +++ b/clients/client-license-manager/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: LicenseManagerClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-lightsail/package.json b/clients/client-lightsail/package.json index 7f08a1598d3c4..859848c84c586 100644 --- a/clients/client-lightsail/package.json +++ b/clients/client-lightsail/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-lightsail/src/runtimeConfig.ts b/clients/client-lightsail/src/runtimeConfig.ts index a5aca4394fd42..d4cdd76e758a4 100644 --- a/clients/client-lightsail/src/runtimeConfig.ts +++ b/clients/client-lightsail/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: LightsailClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-location/package.json b/clients/client-location/package.json index fab028b5cf009..3a52a9f33e300 100644 --- a/clients/client-location/package.json +++ b/clients/client-location/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-location/src/runtimeConfig.ts b/clients/client-location/src/runtimeConfig.ts index 46f1b0de3dcf7..ecebd13251ddc 100644 --- a/clients/client-location/src/runtimeConfig.ts +++ b/clients/client-location/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: LocationClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-lookoutequipment/package.json b/clients/client-lookoutequipment/package.json index 181ddd8f7706d..b4d7a2f9fc3e8 100644 --- a/clients/client-lookoutequipment/package.json +++ b/clients/client-lookoutequipment/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-lookoutequipment/src/runtimeConfig.ts b/clients/client-lookoutequipment/src/runtimeConfig.ts index edfdcbe2fca66..926c8cc6cbad1 100644 --- a/clients/client-lookoutequipment/src/runtimeConfig.ts +++ b/clients/client-lookoutequipment/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: LookoutEquipmentClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-lookoutmetrics/package.json b/clients/client-lookoutmetrics/package.json index cf3ab553306f9..a23f38c71320b 100644 --- a/clients/client-lookoutmetrics/package.json +++ b/clients/client-lookoutmetrics/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-lookoutmetrics/src/runtimeConfig.ts b/clients/client-lookoutmetrics/src/runtimeConfig.ts index 711d682dd77d2..93a9b54819d22 100644 --- a/clients/client-lookoutmetrics/src/runtimeConfig.ts +++ b/clients/client-lookoutmetrics/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: LookoutMetricsClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-lookoutvision/package.json b/clients/client-lookoutvision/package.json index 4eeb2fbfa23e6..8da60d0634c41 100644 --- a/clients/client-lookoutvision/package.json +++ b/clients/client-lookoutvision/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-lookoutvision/src/runtimeConfig.ts b/clients/client-lookoutvision/src/runtimeConfig.ts index fa1c7deb6cd8f..8c6a040791427 100644 --- a/clients/client-lookoutvision/src/runtimeConfig.ts +++ b/clients/client-lookoutvision/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: LookoutVisionClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-m2/package.json b/clients/client-m2/package.json index 0d2b242969474..c3e702304139c 100644 --- a/clients/client-m2/package.json +++ b/clients/client-m2/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-m2/src/runtimeConfig.ts b/clients/client-m2/src/runtimeConfig.ts index ad6efa051c870..185a975b14413 100644 --- a/clients/client-m2/src/runtimeConfig.ts +++ b/clients/client-m2/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: M2ClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-machine-learning/package.json b/clients/client-machine-learning/package.json index 5022c1960f5ff..2f8a054f33bb6 100644 --- a/clients/client-machine-learning/package.json +++ b/clients/client-machine-learning/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-machine-learning/src/runtimeConfig.ts b/clients/client-machine-learning/src/runtimeConfig.ts index accd41d893e33..d5822bfc145e1 100644 --- a/clients/client-machine-learning/src/runtimeConfig.ts +++ b/clients/client-machine-learning/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: MachineLearningClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-macie2/package.json b/clients/client-macie2/package.json index 0ab5b4d6ccc0d..6339e76adc8b1 100644 --- a/clients/client-macie2/package.json +++ b/clients/client-macie2/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-macie2/src/runtimeConfig.ts b/clients/client-macie2/src/runtimeConfig.ts index f40dc103550ce..c823e946f6928 100644 --- a/clients/client-macie2/src/runtimeConfig.ts +++ b/clients/client-macie2/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: Macie2ClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-managedblockchain-query/package.json b/clients/client-managedblockchain-query/package.json index a87fc6b9dd9ee..44771ae4954e0 100644 --- a/clients/client-managedblockchain-query/package.json +++ b/clients/client-managedblockchain-query/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-managedblockchain-query/src/runtimeConfig.ts b/clients/client-managedblockchain-query/src/runtimeConfig.ts index 7f52c4bb35826..c1c0c3af72004 100644 --- a/clients/client-managedblockchain-query/src/runtimeConfig.ts +++ b/clients/client-managedblockchain-query/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: ManagedBlockchainQueryClientConfig) => runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-managedblockchain/package.json b/clients/client-managedblockchain/package.json index b597fa3bd9301..57a73ec4780d1 100644 --- a/clients/client-managedblockchain/package.json +++ b/clients/client-managedblockchain/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-managedblockchain/src/runtimeConfig.ts b/clients/client-managedblockchain/src/runtimeConfig.ts index f2b082c3418d2..47460e0b77940 100644 --- a/clients/client-managedblockchain/src/runtimeConfig.ts +++ b/clients/client-managedblockchain/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: ManagedBlockchainClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-marketplace-agreement/package.json b/clients/client-marketplace-agreement/package.json index b1b086247f242..e0bb7643a19a2 100644 --- a/clients/client-marketplace-agreement/package.json +++ b/clients/client-marketplace-agreement/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-marketplace-agreement/src/runtimeConfig.ts b/clients/client-marketplace-agreement/src/runtimeConfig.ts index bb4303fd6c7c6..74abc2cdbd273 100644 --- a/clients/client-marketplace-agreement/src/runtimeConfig.ts +++ b/clients/client-marketplace-agreement/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: MarketplaceAgreementClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-marketplace-catalog/package.json b/clients/client-marketplace-catalog/package.json index e5f4fbf8e513f..7931dd571b029 100644 --- a/clients/client-marketplace-catalog/package.json +++ b/clients/client-marketplace-catalog/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-marketplace-catalog/src/runtimeConfig.ts b/clients/client-marketplace-catalog/src/runtimeConfig.ts index 27d4bbc3cced2..fc602f17f6abb 100644 --- a/clients/client-marketplace-catalog/src/runtimeConfig.ts +++ b/clients/client-marketplace-catalog/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: MarketplaceCatalogClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-marketplace-commerce-analytics/package.json b/clients/client-marketplace-commerce-analytics/package.json index f750b26a36daa..b9ee9b5daea1e 100644 --- a/clients/client-marketplace-commerce-analytics/package.json +++ b/clients/client-marketplace-commerce-analytics/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-marketplace-commerce-analytics/src/runtimeConfig.ts b/clients/client-marketplace-commerce-analytics/src/runtimeConfig.ts index 1bf96b92e5792..1073c6db708e2 100644 --- a/clients/client-marketplace-commerce-analytics/src/runtimeConfig.ts +++ b/clients/client-marketplace-commerce-analytics/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: MarketplaceCommerceAnalyticsClientConfi runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-marketplace-deployment/package.json b/clients/client-marketplace-deployment/package.json index 0f6eaa6f00975..f371e16589690 100644 --- a/clients/client-marketplace-deployment/package.json +++ b/clients/client-marketplace-deployment/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-marketplace-deployment/src/runtimeConfig.ts b/clients/client-marketplace-deployment/src/runtimeConfig.ts index 3adc7b269221d..afaa15e012c8a 100644 --- a/clients/client-marketplace-deployment/src/runtimeConfig.ts +++ b/clients/client-marketplace-deployment/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: MarketplaceDeploymentClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-marketplace-entitlement-service/package.json b/clients/client-marketplace-entitlement-service/package.json index 6181985e57fc3..a5251e3747418 100644 --- a/clients/client-marketplace-entitlement-service/package.json +++ b/clients/client-marketplace-entitlement-service/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-marketplace-entitlement-service/src/runtimeConfig.ts b/clients/client-marketplace-entitlement-service/src/runtimeConfig.ts index d92d92191a937..1185ef4f0b7dc 100644 --- a/clients/client-marketplace-entitlement-service/src/runtimeConfig.ts +++ b/clients/client-marketplace-entitlement-service/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: MarketplaceEntitlementServiceClientConf runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-marketplace-metering/package.json b/clients/client-marketplace-metering/package.json index 1094a134c9a07..c8a04508a9c54 100644 --- a/clients/client-marketplace-metering/package.json +++ b/clients/client-marketplace-metering/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-marketplace-metering/src/runtimeConfig.ts b/clients/client-marketplace-metering/src/runtimeConfig.ts index b0255fbb5a98b..5cb29d5d398c0 100644 --- a/clients/client-marketplace-metering/src/runtimeConfig.ts +++ b/clients/client-marketplace-metering/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: MarketplaceMeteringClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-mediaconnect/package.json b/clients/client-mediaconnect/package.json index 156c09104af85..330976765853e 100644 --- a/clients/client-mediaconnect/package.json +++ b/clients/client-mediaconnect/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-mediaconnect/src/runtimeConfig.ts b/clients/client-mediaconnect/src/runtimeConfig.ts index fd5742c8cf567..d6ec431b86e35 100644 --- a/clients/client-mediaconnect/src/runtimeConfig.ts +++ b/clients/client-mediaconnect/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: MediaConnectClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-mediaconvert/package.json b/clients/client-mediaconvert/package.json index 20f9df4ab8a92..173d0bfba8652 100644 --- a/clients/client-mediaconvert/package.json +++ b/clients/client-mediaconvert/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-mediaconvert/src/runtimeConfig.ts b/clients/client-mediaconvert/src/runtimeConfig.ts index 20a340d0f3c01..6995bfb6059c1 100644 --- a/clients/client-mediaconvert/src/runtimeConfig.ts +++ b/clients/client-mediaconvert/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: MediaConvertClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-medialive/package.json b/clients/client-medialive/package.json index 68739850cc5c7..76ae96680b4fb 100644 --- a/clients/client-medialive/package.json +++ b/clients/client-medialive/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-medialive/src/runtimeConfig.ts b/clients/client-medialive/src/runtimeConfig.ts index 4d43f5265905f..23165fd5346a8 100644 --- a/clients/client-medialive/src/runtimeConfig.ts +++ b/clients/client-medialive/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: MediaLiveClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-mediapackage-vod/package.json b/clients/client-mediapackage-vod/package.json index b400bb9a4b832..c3baaa11cba70 100644 --- a/clients/client-mediapackage-vod/package.json +++ b/clients/client-mediapackage-vod/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-mediapackage-vod/src/runtimeConfig.ts b/clients/client-mediapackage-vod/src/runtimeConfig.ts index 17e638341df5a..8e25f4e3b7db0 100644 --- a/clients/client-mediapackage-vod/src/runtimeConfig.ts +++ b/clients/client-mediapackage-vod/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: MediaPackageVodClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-mediapackage/package.json b/clients/client-mediapackage/package.json index 8d2049f86ce1d..f9b754e02cb0d 100644 --- a/clients/client-mediapackage/package.json +++ b/clients/client-mediapackage/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-mediapackage/src/runtimeConfig.ts b/clients/client-mediapackage/src/runtimeConfig.ts index afa8d280dbecc..39ea2272cb1be 100644 --- a/clients/client-mediapackage/src/runtimeConfig.ts +++ b/clients/client-mediapackage/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: MediaPackageClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-mediapackagev2/package.json b/clients/client-mediapackagev2/package.json index 5387693d8585a..3eab84a6156f5 100644 --- a/clients/client-mediapackagev2/package.json +++ b/clients/client-mediapackagev2/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-mediapackagev2/src/runtimeConfig.ts b/clients/client-mediapackagev2/src/runtimeConfig.ts index a8b8bd1282b50..72f4031da9f1d 100644 --- a/clients/client-mediapackagev2/src/runtimeConfig.ts +++ b/clients/client-mediapackagev2/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: MediaPackageV2ClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-mediastore-data/package.json b/clients/client-mediastore-data/package.json index f8cbae6367b26..c0de2c9f51123 100644 --- a/clients/client-mediastore-data/package.json +++ b/clients/client-mediastore-data/package.json @@ -22,7 +22,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-mediastore-data/src/runtimeConfig.ts b/clients/client-mediastore-data/src/runtimeConfig.ts index b67bb19996428..633619139466e 100644 --- a/clients/client-mediastore-data/src/runtimeConfig.ts +++ b/clients/client-mediastore-data/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: MediaStoreDataClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-mediastore/package.json b/clients/client-mediastore/package.json index 5d42090739e28..b3235ed5eced4 100644 --- a/clients/client-mediastore/package.json +++ b/clients/client-mediastore/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-mediastore/src/runtimeConfig.ts b/clients/client-mediastore/src/runtimeConfig.ts index a1f2584ac87ee..098ad77fe2f0d 100644 --- a/clients/client-mediastore/src/runtimeConfig.ts +++ b/clients/client-mediastore/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: MediaStoreClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-mediatailor/package.json b/clients/client-mediatailor/package.json index 3dc580749783f..08dad4bf77d7f 100644 --- a/clients/client-mediatailor/package.json +++ b/clients/client-mediatailor/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-mediatailor/src/runtimeConfig.ts b/clients/client-mediatailor/src/runtimeConfig.ts index eeb8b8b04350b..899f23885305f 100644 --- a/clients/client-mediatailor/src/runtimeConfig.ts +++ b/clients/client-mediatailor/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: MediaTailorClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-medical-imaging/package.json b/clients/client-medical-imaging/package.json index 75043bd5ebd9d..f497c2031cce3 100644 --- a/clients/client-medical-imaging/package.json +++ b/clients/client-medical-imaging/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-medical-imaging/src/runtimeConfig.ts b/clients/client-medical-imaging/src/runtimeConfig.ts index a7f3751c5d4ba..acc2ce4471a18 100644 --- a/clients/client-medical-imaging/src/runtimeConfig.ts +++ b/clients/client-medical-imaging/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: MedicalImagingClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-memorydb/package.json b/clients/client-memorydb/package.json index a11d29fff1443..0e403482a0cb3 100644 --- a/clients/client-memorydb/package.json +++ b/clients/client-memorydb/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-memorydb/src/runtimeConfig.ts b/clients/client-memorydb/src/runtimeConfig.ts index aaac1e52b1dd3..ce01dab70ac92 100644 --- a/clients/client-memorydb/src/runtimeConfig.ts +++ b/clients/client-memorydb/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: MemoryDBClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-mgn/package.json b/clients/client-mgn/package.json index 3b7c3cb7a4b18..2580b19515fab 100644 --- a/clients/client-mgn/package.json +++ b/clients/client-mgn/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-mgn/src/runtimeConfig.ts b/clients/client-mgn/src/runtimeConfig.ts index 3c775eb4fb84d..3f30b0a3b32f5 100644 --- a/clients/client-mgn/src/runtimeConfig.ts +++ b/clients/client-mgn/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: MgnClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-migration-hub-refactor-spaces/package.json b/clients/client-migration-hub-refactor-spaces/package.json index 1549c304b18fe..d622a504f1ec7 100644 --- a/clients/client-migration-hub-refactor-spaces/package.json +++ b/clients/client-migration-hub-refactor-spaces/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-migration-hub-refactor-spaces/src/runtimeConfig.ts b/clients/client-migration-hub-refactor-spaces/src/runtimeConfig.ts index bfdaeedd6068d..d84912b72f2b2 100644 --- a/clients/client-migration-hub-refactor-spaces/src/runtimeConfig.ts +++ b/clients/client-migration-hub-refactor-spaces/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: MigrationHubRefactorSpacesClientConfig) runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-migration-hub/package.json b/clients/client-migration-hub/package.json index 7c5ad12df604a..80b6bebfb0c9a 100644 --- a/clients/client-migration-hub/package.json +++ b/clients/client-migration-hub/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-migration-hub/src/runtimeConfig.ts b/clients/client-migration-hub/src/runtimeConfig.ts index fc35ec98c6159..70c6baacb3eda 100644 --- a/clients/client-migration-hub/src/runtimeConfig.ts +++ b/clients/client-migration-hub/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: MigrationHubClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-migrationhub-config/package.json b/clients/client-migrationhub-config/package.json index e90d28c334f8f..fc12de6b09f74 100644 --- a/clients/client-migrationhub-config/package.json +++ b/clients/client-migrationhub-config/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-migrationhub-config/src/runtimeConfig.ts b/clients/client-migrationhub-config/src/runtimeConfig.ts index 19b3e24ac27a8..1e1250087a27b 100644 --- a/clients/client-migrationhub-config/src/runtimeConfig.ts +++ b/clients/client-migrationhub-config/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: MigrationHubConfigClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-migrationhuborchestrator/package.json b/clients/client-migrationhuborchestrator/package.json index 59afaab101c42..542e5290d69e0 100644 --- a/clients/client-migrationhuborchestrator/package.json +++ b/clients/client-migrationhuborchestrator/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-migrationhuborchestrator/src/runtimeConfig.ts b/clients/client-migrationhuborchestrator/src/runtimeConfig.ts index 6f75b0359fc14..e4246408c983b 100644 --- a/clients/client-migrationhuborchestrator/src/runtimeConfig.ts +++ b/clients/client-migrationhuborchestrator/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: MigrationHubOrchestratorClientConfig) = runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-migrationhubstrategy/package.json b/clients/client-migrationhubstrategy/package.json index f13b82c61aa10..b8d818012016e 100644 --- a/clients/client-migrationhubstrategy/package.json +++ b/clients/client-migrationhubstrategy/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-migrationhubstrategy/src/runtimeConfig.ts b/clients/client-migrationhubstrategy/src/runtimeConfig.ts index 41f516fedeb7b..0c6a4257c2910 100644 --- a/clients/client-migrationhubstrategy/src/runtimeConfig.ts +++ b/clients/client-migrationhubstrategy/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: MigrationHubStrategyClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-mobile/package.json b/clients/client-mobile/package.json index 2f3bfa16018e2..0463f62456a3b 100644 --- a/clients/client-mobile/package.json +++ b/clients/client-mobile/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-mobile/src/runtimeConfig.ts b/clients/client-mobile/src/runtimeConfig.ts index b985e4cb414fa..8d0a9fc2fcae1 100644 --- a/clients/client-mobile/src/runtimeConfig.ts +++ b/clients/client-mobile/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: MobileClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-mq/package.json b/clients/client-mq/package.json index 35fba05e584d8..071388e04b20f 100644 --- a/clients/client-mq/package.json +++ b/clients/client-mq/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-mq/src/runtimeConfig.ts b/clients/client-mq/src/runtimeConfig.ts index 54dc67fa3a165..6330e86d6b53c 100644 --- a/clients/client-mq/src/runtimeConfig.ts +++ b/clients/client-mq/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: MqClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-mturk/package.json b/clients/client-mturk/package.json index 38193a65efcc3..0590b5f682ebc 100644 --- a/clients/client-mturk/package.json +++ b/clients/client-mturk/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-mturk/src/runtimeConfig.ts b/clients/client-mturk/src/runtimeConfig.ts index 2be30a716f647..5197593975e18 100644 --- a/clients/client-mturk/src/runtimeConfig.ts +++ b/clients/client-mturk/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: MTurkClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-mwaa/package.json b/clients/client-mwaa/package.json index 5195f11981ace..ef6dcdc4302d6 100644 --- a/clients/client-mwaa/package.json +++ b/clients/client-mwaa/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-mwaa/src/runtimeConfig.ts b/clients/client-mwaa/src/runtimeConfig.ts index 4b3936a77d9ab..24c4819f84769 100644 --- a/clients/client-mwaa/src/runtimeConfig.ts +++ b/clients/client-mwaa/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: MWAAClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-neptune-graph/package.json b/clients/client-neptune-graph/package.json index 0f3a274e7a1bf..e169f5dc5dd12 100644 --- a/clients/client-neptune-graph/package.json +++ b/clients/client-neptune-graph/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-neptune-graph/src/runtimeConfig.ts b/clients/client-neptune-graph/src/runtimeConfig.ts index 9de2405e4635d..b804ddc387b69 100644 --- a/clients/client-neptune-graph/src/runtimeConfig.ts +++ b/clients/client-neptune-graph/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: NeptuneGraphClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-neptune/package.json b/clients/client-neptune/package.json index 7ae4c9f204d21..887c87976f0c5 100644 --- a/clients/client-neptune/package.json +++ b/clients/client-neptune/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-neptune/src/runtimeConfig.ts b/clients/client-neptune/src/runtimeConfig.ts index 1ee7316fa1116..97d40cb751ab8 100644 --- a/clients/client-neptune/src/runtimeConfig.ts +++ b/clients/client-neptune/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: NeptuneClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-neptunedata/package.json b/clients/client-neptunedata/package.json index 2fe66c43837ef..c503fdd82de3a 100644 --- a/clients/client-neptunedata/package.json +++ b/clients/client-neptunedata/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-neptunedata/src/runtimeConfig.ts b/clients/client-neptunedata/src/runtimeConfig.ts index 77dfbc64b7e30..a83abc828895d 100644 --- a/clients/client-neptunedata/src/runtimeConfig.ts +++ b/clients/client-neptunedata/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: NeptunedataClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-network-firewall/package.json b/clients/client-network-firewall/package.json index 6d2cc0b73355f..883fb9230e476 100644 --- a/clients/client-network-firewall/package.json +++ b/clients/client-network-firewall/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-network-firewall/src/runtimeConfig.ts b/clients/client-network-firewall/src/runtimeConfig.ts index a00d07c69c090..13eff082eea4c 100644 --- a/clients/client-network-firewall/src/runtimeConfig.ts +++ b/clients/client-network-firewall/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: NetworkFirewallClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-networkmanager/package.json b/clients/client-networkmanager/package.json index 0e947aea0dccb..35a2579a782b2 100644 --- a/clients/client-networkmanager/package.json +++ b/clients/client-networkmanager/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-networkmanager/src/runtimeConfig.ts b/clients/client-networkmanager/src/runtimeConfig.ts index fdc650ec7d4ef..808c284d3d6d8 100644 --- a/clients/client-networkmanager/src/runtimeConfig.ts +++ b/clients/client-networkmanager/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: NetworkManagerClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-networkmonitor/package.json b/clients/client-networkmonitor/package.json index 6a4b3aa61830c..370389f8a5c88 100644 --- a/clients/client-networkmonitor/package.json +++ b/clients/client-networkmonitor/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-networkmonitor/src/runtimeConfig.ts b/clients/client-networkmonitor/src/runtimeConfig.ts index 38a9064c01ead..d4f04fdc1bf52 100644 --- a/clients/client-networkmonitor/src/runtimeConfig.ts +++ b/clients/client-networkmonitor/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: NetworkMonitorClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-nimble/package.json b/clients/client-nimble/package.json index b0b264bac223b..9fe2d7ac27a29 100644 --- a/clients/client-nimble/package.json +++ b/clients/client-nimble/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-nimble/src/runtimeConfig.ts b/clients/client-nimble/src/runtimeConfig.ts index 856eeb3b9f1fd..41a394571c72a 100644 --- a/clients/client-nimble/src/runtimeConfig.ts +++ b/clients/client-nimble/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: NimbleClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-oam/package.json b/clients/client-oam/package.json index 9cc540c9be0de..0429c2bf6daf4 100644 --- a/clients/client-oam/package.json +++ b/clients/client-oam/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-oam/src/runtimeConfig.ts b/clients/client-oam/src/runtimeConfig.ts index 47d9769d38c10..137af2e95bb08 100644 --- a/clients/client-oam/src/runtimeConfig.ts +++ b/clients/client-oam/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: OAMClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-omics/package.json b/clients/client-omics/package.json index 5187845c8c043..7ebf74b6e04c7 100644 --- a/clients/client-omics/package.json +++ b/clients/client-omics/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-omics/src/runtimeConfig.ts b/clients/client-omics/src/runtimeConfig.ts index ea5d9ceb0f68a..bdd287fb4cf81 100644 --- a/clients/client-omics/src/runtimeConfig.ts +++ b/clients/client-omics/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: OmicsClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-opensearch/package.json b/clients/client-opensearch/package.json index 0802bcafb8f86..8b3cc42f18b2e 100644 --- a/clients/client-opensearch/package.json +++ b/clients/client-opensearch/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-opensearch/src/runtimeConfig.ts b/clients/client-opensearch/src/runtimeConfig.ts index 2268ab29eec54..16a3bc618b661 100644 --- a/clients/client-opensearch/src/runtimeConfig.ts +++ b/clients/client-opensearch/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: OpenSearchClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-opensearchserverless/package.json b/clients/client-opensearchserverless/package.json index ed4cf4c81c8d4..84d8c1046ad62 100644 --- a/clients/client-opensearchserverless/package.json +++ b/clients/client-opensearchserverless/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-opensearchserverless/src/runtimeConfig.ts b/clients/client-opensearchserverless/src/runtimeConfig.ts index 32939b07bff5b..0ce8a90f665f7 100644 --- a/clients/client-opensearchserverless/src/runtimeConfig.ts +++ b/clients/client-opensearchserverless/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: OpenSearchServerlessClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-opsworks/package.json b/clients/client-opsworks/package.json index 8de26d11701d5..a39061c1e7794 100644 --- a/clients/client-opsworks/package.json +++ b/clients/client-opsworks/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-opsworks/src/runtimeConfig.ts b/clients/client-opsworks/src/runtimeConfig.ts index ab1b7e2f4e041..49e364621e9cf 100644 --- a/clients/client-opsworks/src/runtimeConfig.ts +++ b/clients/client-opsworks/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: OpsWorksClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-opsworkscm/package.json b/clients/client-opsworkscm/package.json index 9af962affbf6a..922f9f2569979 100644 --- a/clients/client-opsworkscm/package.json +++ b/clients/client-opsworkscm/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-opsworkscm/src/runtimeConfig.ts b/clients/client-opsworkscm/src/runtimeConfig.ts index 1fd41d5a9ac5b..aea6dc7d0eb68 100644 --- a/clients/client-opsworkscm/src/runtimeConfig.ts +++ b/clients/client-opsworkscm/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: OpsWorksCMClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-organizations/package.json b/clients/client-organizations/package.json index d020b51808a85..4c76b87d78073 100644 --- a/clients/client-organizations/package.json +++ b/clients/client-organizations/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-organizations/src/runtimeConfig.ts b/clients/client-organizations/src/runtimeConfig.ts index 09526e92b39e1..3e3a50dedaf0c 100644 --- a/clients/client-organizations/src/runtimeConfig.ts +++ b/clients/client-organizations/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: OrganizationsClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-osis/package.json b/clients/client-osis/package.json index 497c5c80afe6f..04de5c9376611 100644 --- a/clients/client-osis/package.json +++ b/clients/client-osis/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-osis/src/runtimeConfig.ts b/clients/client-osis/src/runtimeConfig.ts index cf7172bd0ed90..2082a671e2527 100644 --- a/clients/client-osis/src/runtimeConfig.ts +++ b/clients/client-osis/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: OSISClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-outposts/package.json b/clients/client-outposts/package.json index dfcde7723d2e1..8b40893310aa7 100644 --- a/clients/client-outposts/package.json +++ b/clients/client-outposts/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-outposts/src/runtimeConfig.ts b/clients/client-outposts/src/runtimeConfig.ts index e26775c67a96a..737b546da634a 100644 --- a/clients/client-outposts/src/runtimeConfig.ts +++ b/clients/client-outposts/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: OutpostsClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-panorama/package.json b/clients/client-panorama/package.json index b6d81e8f0c9a1..073c6ea03dc8e 100644 --- a/clients/client-panorama/package.json +++ b/clients/client-panorama/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-panorama/src/runtimeConfig.ts b/clients/client-panorama/src/runtimeConfig.ts index b90e5037c7faa..49e4ff0cd965d 100644 --- a/clients/client-panorama/src/runtimeConfig.ts +++ b/clients/client-panorama/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: PanoramaClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-payment-cryptography-data/package.json b/clients/client-payment-cryptography-data/package.json index 80043a27dfb70..31027aff63976 100644 --- a/clients/client-payment-cryptography-data/package.json +++ b/clients/client-payment-cryptography-data/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-payment-cryptography-data/src/runtimeConfig.ts b/clients/client-payment-cryptography-data/src/runtimeConfig.ts index f7aaaa48f044a..dd70f0547316a 100644 --- a/clients/client-payment-cryptography-data/src/runtimeConfig.ts +++ b/clients/client-payment-cryptography-data/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: PaymentCryptographyDataClientConfig) => runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-payment-cryptography/package.json b/clients/client-payment-cryptography/package.json index 4d9b6223eaf2b..0a7376881fa52 100644 --- a/clients/client-payment-cryptography/package.json +++ b/clients/client-payment-cryptography/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-payment-cryptography/src/runtimeConfig.ts b/clients/client-payment-cryptography/src/runtimeConfig.ts index c739bb74f1dc8..8f9970c2aec04 100644 --- a/clients/client-payment-cryptography/src/runtimeConfig.ts +++ b/clients/client-payment-cryptography/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: PaymentCryptographyClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-pca-connector-ad/package.json b/clients/client-pca-connector-ad/package.json index 7c09f099234ce..9567722fa251f 100644 --- a/clients/client-pca-connector-ad/package.json +++ b/clients/client-pca-connector-ad/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-pca-connector-ad/src/runtimeConfig.ts b/clients/client-pca-connector-ad/src/runtimeConfig.ts index 5908756d9f272..18033b9680904 100644 --- a/clients/client-pca-connector-ad/src/runtimeConfig.ts +++ b/clients/client-pca-connector-ad/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: PcaConnectorAdClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-personalize-events/package.json b/clients/client-personalize-events/package.json index f877d793110b3..3b075a0e7b088 100644 --- a/clients/client-personalize-events/package.json +++ b/clients/client-personalize-events/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-personalize-events/src/runtimeConfig.ts b/clients/client-personalize-events/src/runtimeConfig.ts index 3e57a48091b4f..7e4fa926cfbec 100644 --- a/clients/client-personalize-events/src/runtimeConfig.ts +++ b/clients/client-personalize-events/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: PersonalizeEventsClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-personalize-runtime/package.json b/clients/client-personalize-runtime/package.json index 92ebf83ca35ea..90b3cda1a8809 100644 --- a/clients/client-personalize-runtime/package.json +++ b/clients/client-personalize-runtime/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-personalize-runtime/src/runtimeConfig.ts b/clients/client-personalize-runtime/src/runtimeConfig.ts index da5ccf8e88877..5b6682ed603dd 100644 --- a/clients/client-personalize-runtime/src/runtimeConfig.ts +++ b/clients/client-personalize-runtime/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: PersonalizeRuntimeClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-personalize/package.json b/clients/client-personalize/package.json index ce3fa93e53c77..f02ddd418aa62 100644 --- a/clients/client-personalize/package.json +++ b/clients/client-personalize/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-personalize/src/runtimeConfig.ts b/clients/client-personalize/src/runtimeConfig.ts index 2a333cbb89362..3ac9e15daf627 100644 --- a/clients/client-personalize/src/runtimeConfig.ts +++ b/clients/client-personalize/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: PersonalizeClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-pi/package.json b/clients/client-pi/package.json index 5b11d5f4709e9..ae97c06da7a09 100644 --- a/clients/client-pi/package.json +++ b/clients/client-pi/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-pi/src/runtimeConfig.ts b/clients/client-pi/src/runtimeConfig.ts index c5e9879ea3cf6..0b54b18b90881 100644 --- a/clients/client-pi/src/runtimeConfig.ts +++ b/clients/client-pi/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: PIClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-pinpoint-email/package.json b/clients/client-pinpoint-email/package.json index 38db669cd62b5..29baa812aa686 100644 --- a/clients/client-pinpoint-email/package.json +++ b/clients/client-pinpoint-email/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-pinpoint-email/src/runtimeConfig.ts b/clients/client-pinpoint-email/src/runtimeConfig.ts index 25a81b1dcaf2e..fba20da5fb02a 100644 --- a/clients/client-pinpoint-email/src/runtimeConfig.ts +++ b/clients/client-pinpoint-email/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: PinpointEmailClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-pinpoint-sms-voice-v2/package.json b/clients/client-pinpoint-sms-voice-v2/package.json index 2dcf524f75c75..0615959e7477d 100644 --- a/clients/client-pinpoint-sms-voice-v2/package.json +++ b/clients/client-pinpoint-sms-voice-v2/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-pinpoint-sms-voice-v2/src/runtimeConfig.ts b/clients/client-pinpoint-sms-voice-v2/src/runtimeConfig.ts index c24a1ecd654ad..9994cd2b0819d 100644 --- a/clients/client-pinpoint-sms-voice-v2/src/runtimeConfig.ts +++ b/clients/client-pinpoint-sms-voice-v2/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: PinpointSMSVoiceV2ClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-pinpoint-sms-voice/package.json b/clients/client-pinpoint-sms-voice/package.json index 291c1ef76fd78..f94470922e419 100644 --- a/clients/client-pinpoint-sms-voice/package.json +++ b/clients/client-pinpoint-sms-voice/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-pinpoint-sms-voice/src/runtimeConfig.ts b/clients/client-pinpoint-sms-voice/src/runtimeConfig.ts index 118d200c090dd..cd9b26dc2c9d6 100644 --- a/clients/client-pinpoint-sms-voice/src/runtimeConfig.ts +++ b/clients/client-pinpoint-sms-voice/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: PinpointSMSVoiceClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-pinpoint/package.json b/clients/client-pinpoint/package.json index 733da52cf80f6..420398ac2f30c 100644 --- a/clients/client-pinpoint/package.json +++ b/clients/client-pinpoint/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-pinpoint/src/runtimeConfig.ts b/clients/client-pinpoint/src/runtimeConfig.ts index 1416cc0112a64..b1c2681b29ccf 100644 --- a/clients/client-pinpoint/src/runtimeConfig.ts +++ b/clients/client-pinpoint/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: PinpointClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-pipes/package.json b/clients/client-pipes/package.json index 3cc7e95eb02a1..2f1039594bdf4 100644 --- a/clients/client-pipes/package.json +++ b/clients/client-pipes/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-pipes/src/runtimeConfig.ts b/clients/client-pipes/src/runtimeConfig.ts index 3dbda97936c9f..859af2041fdbd 100644 --- a/clients/client-pipes/src/runtimeConfig.ts +++ b/clients/client-pipes/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: PipesClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-polly/package.json b/clients/client-polly/package.json index 085da4dc557b5..8c619db797101 100644 --- a/clients/client-polly/package.json +++ b/clients/client-polly/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-polly/src/runtimeConfig.ts b/clients/client-polly/src/runtimeConfig.ts index 2a3b7bee56fd3..9a0992c7731d0 100644 --- a/clients/client-polly/src/runtimeConfig.ts +++ b/clients/client-polly/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: PollyClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-pricing/package.json b/clients/client-pricing/package.json index 0c961add9788b..5585f3e2f52b1 100644 --- a/clients/client-pricing/package.json +++ b/clients/client-pricing/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-pricing/src/runtimeConfig.ts b/clients/client-pricing/src/runtimeConfig.ts index 9104a01b06de0..56c2914c6480b 100644 --- a/clients/client-pricing/src/runtimeConfig.ts +++ b/clients/client-pricing/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: PricingClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-privatenetworks/package.json b/clients/client-privatenetworks/package.json index 459039a1b137d..cb4b453dc65ea 100644 --- a/clients/client-privatenetworks/package.json +++ b/clients/client-privatenetworks/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-privatenetworks/src/runtimeConfig.ts b/clients/client-privatenetworks/src/runtimeConfig.ts index cd1cf84b819b1..f3fdf46088e98 100644 --- a/clients/client-privatenetworks/src/runtimeConfig.ts +++ b/clients/client-privatenetworks/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: PrivateNetworksClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-proton/package.json b/clients/client-proton/package.json index 86493090221fd..f82a17a7e7180 100644 --- a/clients/client-proton/package.json +++ b/clients/client-proton/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-proton/src/runtimeConfig.ts b/clients/client-proton/src/runtimeConfig.ts index 7156849415bcf..dd51c0865ee75 100644 --- a/clients/client-proton/src/runtimeConfig.ts +++ b/clients/client-proton/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: ProtonClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-qbusiness/package.json b/clients/client-qbusiness/package.json index 4310ca6f0bbbb..27afe2c2914e9 100644 --- a/clients/client-qbusiness/package.json +++ b/clients/client-qbusiness/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-qbusiness/src/runtimeConfig.ts b/clients/client-qbusiness/src/runtimeConfig.ts index d5f1d70030ad4..8bc069b5407be 100644 --- a/clients/client-qbusiness/src/runtimeConfig.ts +++ b/clients/client-qbusiness/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: QBusinessClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-qconnect/package.json b/clients/client-qconnect/package.json index b9b99f699a7cb..331359f816624 100644 --- a/clients/client-qconnect/package.json +++ b/clients/client-qconnect/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-qconnect/src/runtimeConfig.ts b/clients/client-qconnect/src/runtimeConfig.ts index 07f506573596d..97725765871be 100644 --- a/clients/client-qconnect/src/runtimeConfig.ts +++ b/clients/client-qconnect/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: QConnectClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-qldb-session/package.json b/clients/client-qldb-session/package.json index 38377c9033612..8287d21786398 100644 --- a/clients/client-qldb-session/package.json +++ b/clients/client-qldb-session/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-qldb-session/src/runtimeConfig.ts b/clients/client-qldb-session/src/runtimeConfig.ts index 5c3a6dbb0b6de..7ca6c756114e2 100644 --- a/clients/client-qldb-session/src/runtimeConfig.ts +++ b/clients/client-qldb-session/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: QLDBSessionClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-qldb/package.json b/clients/client-qldb/package.json index b084d43bab66f..788715defc759 100644 --- a/clients/client-qldb/package.json +++ b/clients/client-qldb/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-qldb/src/runtimeConfig.ts b/clients/client-qldb/src/runtimeConfig.ts index f9855f21cbabe..11344983c6310 100644 --- a/clients/client-qldb/src/runtimeConfig.ts +++ b/clients/client-qldb/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: QLDBClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-quicksight/package.json b/clients/client-quicksight/package.json index 79e75520bfce4..c741b288bd5d1 100644 --- a/clients/client-quicksight/package.json +++ b/clients/client-quicksight/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-quicksight/src/runtimeConfig.ts b/clients/client-quicksight/src/runtimeConfig.ts index 878d45afff368..6a1a16e1ce8fc 100644 --- a/clients/client-quicksight/src/runtimeConfig.ts +++ b/clients/client-quicksight/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: QuickSightClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-ram/package.json b/clients/client-ram/package.json index 34e86c44af48f..b8524f3ce0523 100644 --- a/clients/client-ram/package.json +++ b/clients/client-ram/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-ram/src/runtimeConfig.ts b/clients/client-ram/src/runtimeConfig.ts index e41c134c2cfb0..60287cf7abce6 100644 --- a/clients/client-ram/src/runtimeConfig.ts +++ b/clients/client-ram/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: RAMClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-rbin/package.json b/clients/client-rbin/package.json index 1431827ff3a95..803534f89a87a 100644 --- a/clients/client-rbin/package.json +++ b/clients/client-rbin/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-rbin/src/runtimeConfig.ts b/clients/client-rbin/src/runtimeConfig.ts index 85bf3554f49df..42a414b5333a0 100644 --- a/clients/client-rbin/src/runtimeConfig.ts +++ b/clients/client-rbin/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: RbinClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-rds-data/package.json b/clients/client-rds-data/package.json index 6f041f2070e40..fce97167d0e7d 100644 --- a/clients/client-rds-data/package.json +++ b/clients/client-rds-data/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-rds-data/src/runtimeConfig.ts b/clients/client-rds-data/src/runtimeConfig.ts index fcd7fa925ebd2..4e4fc48f9c349 100644 --- a/clients/client-rds-data/src/runtimeConfig.ts +++ b/clients/client-rds-data/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: RDSDataClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-rds/package.json b/clients/client-rds/package.json index 9b8b8a95141dc..791718cbab9c0 100644 --- a/clients/client-rds/package.json +++ b/clients/client-rds/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-rds/src/runtimeConfig.ts b/clients/client-rds/src/runtimeConfig.ts index 1df7d010c86d2..d70df1f1c228b 100644 --- a/clients/client-rds/src/runtimeConfig.ts +++ b/clients/client-rds/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: RDSClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-redshift-data/package.json b/clients/client-redshift-data/package.json index 63981d0a5c3e3..3b9431bc3032e 100644 --- a/clients/client-redshift-data/package.json +++ b/clients/client-redshift-data/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-redshift-data/src/runtimeConfig.ts b/clients/client-redshift-data/src/runtimeConfig.ts index 585ab94d2b1a8..29a4aedf0b727 100644 --- a/clients/client-redshift-data/src/runtimeConfig.ts +++ b/clients/client-redshift-data/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: RedshiftDataClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-redshift-serverless/package.json b/clients/client-redshift-serverless/package.json index 966a16baad610..db4370a7c0142 100644 --- a/clients/client-redshift-serverless/package.json +++ b/clients/client-redshift-serverless/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-redshift-serverless/src/runtimeConfig.ts b/clients/client-redshift-serverless/src/runtimeConfig.ts index 71040b64e323c..9836721cecfd7 100644 --- a/clients/client-redshift-serverless/src/runtimeConfig.ts +++ b/clients/client-redshift-serverless/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: RedshiftServerlessClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-redshift/package.json b/clients/client-redshift/package.json index 97c26f8525b75..06d41385f8e3e 100644 --- a/clients/client-redshift/package.json +++ b/clients/client-redshift/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-redshift/src/runtimeConfig.ts b/clients/client-redshift/src/runtimeConfig.ts index 0e71c852c7fd7..236637a5f529e 100644 --- a/clients/client-redshift/src/runtimeConfig.ts +++ b/clients/client-redshift/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: RedshiftClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-rekognition/package.json b/clients/client-rekognition/package.json index 2cd1ce12e2513..5ecae7d3f3435 100644 --- a/clients/client-rekognition/package.json +++ b/clients/client-rekognition/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-rekognition/src/runtimeConfig.ts b/clients/client-rekognition/src/runtimeConfig.ts index f145cb058b3e6..fb3605199d1c4 100644 --- a/clients/client-rekognition/src/runtimeConfig.ts +++ b/clients/client-rekognition/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: RekognitionClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-rekognitionstreaming/package.json b/clients/client-rekognitionstreaming/package.json index 65d48a7190ada..ef9998fa22632 100644 --- a/clients/client-rekognitionstreaming/package.json +++ b/clients/client-rekognitionstreaming/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/eventstream-handler-node": "*", diff --git a/clients/client-rekognitionstreaming/src/runtimeConfig.ts b/clients/client-rekognitionstreaming/src/runtimeConfig.ts index 2eef06acce214..21d14164e66b3 100644 --- a/clients/client-rekognitionstreaming/src/runtimeConfig.ts +++ b/clients/client-rekognitionstreaming/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { eventStreamPayloadHandlerProvider } from "@aws-sdk/eventstream-handler-node"; @@ -41,8 +40,7 @@ export const getRuntimeConfig = (config: RekognitionStreamingClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-repostspace/package.json b/clients/client-repostspace/package.json index 8d91a8ff8a837..ca5fed8babf53 100644 --- a/clients/client-repostspace/package.json +++ b/clients/client-repostspace/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-repostspace/src/runtimeConfig.ts b/clients/client-repostspace/src/runtimeConfig.ts index 689ec9354a430..0d61f28f034f0 100644 --- a/clients/client-repostspace/src/runtimeConfig.ts +++ b/clients/client-repostspace/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: RepostspaceClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-resiliencehub/package.json b/clients/client-resiliencehub/package.json index bfcd92628cc09..479b062197e72 100644 --- a/clients/client-resiliencehub/package.json +++ b/clients/client-resiliencehub/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-resiliencehub/src/runtimeConfig.ts b/clients/client-resiliencehub/src/runtimeConfig.ts index ac4ca9c479e00..1b1d2770e3581 100644 --- a/clients/client-resiliencehub/src/runtimeConfig.ts +++ b/clients/client-resiliencehub/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: ResiliencehubClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-resource-explorer-2/package.json b/clients/client-resource-explorer-2/package.json index 4786faa1e5201..05bacaf77a5dd 100644 --- a/clients/client-resource-explorer-2/package.json +++ b/clients/client-resource-explorer-2/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-resource-explorer-2/src/runtimeConfig.ts b/clients/client-resource-explorer-2/src/runtimeConfig.ts index 0c30bd5de4431..23178d3cb1444 100644 --- a/clients/client-resource-explorer-2/src/runtimeConfig.ts +++ b/clients/client-resource-explorer-2/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: ResourceExplorer2ClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-resource-groups-tagging-api/package.json b/clients/client-resource-groups-tagging-api/package.json index b667f4bfe81ba..fad9dce8b1c64 100644 --- a/clients/client-resource-groups-tagging-api/package.json +++ b/clients/client-resource-groups-tagging-api/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-resource-groups-tagging-api/src/runtimeConfig.ts b/clients/client-resource-groups-tagging-api/src/runtimeConfig.ts index 0545fcae0c104..bce18c6070b90 100644 --- a/clients/client-resource-groups-tagging-api/src/runtimeConfig.ts +++ b/clients/client-resource-groups-tagging-api/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: ResourceGroupsTaggingAPIClientConfig) = runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-resource-groups/package.json b/clients/client-resource-groups/package.json index ba8ba7bb48006..18d699ec3fa84 100644 --- a/clients/client-resource-groups/package.json +++ b/clients/client-resource-groups/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-resource-groups/src/runtimeConfig.ts b/clients/client-resource-groups/src/runtimeConfig.ts index 9dcaf6d42101c..655b4176c52d2 100644 --- a/clients/client-resource-groups/src/runtimeConfig.ts +++ b/clients/client-resource-groups/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: ResourceGroupsClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-robomaker/package.json b/clients/client-robomaker/package.json index 45dda3bc86e4f..618ab74aba1aa 100644 --- a/clients/client-robomaker/package.json +++ b/clients/client-robomaker/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-robomaker/src/runtimeConfig.ts b/clients/client-robomaker/src/runtimeConfig.ts index 2caa1a44e56d8..e746eaa82bf54 100644 --- a/clients/client-robomaker/src/runtimeConfig.ts +++ b/clients/client-robomaker/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: RoboMakerClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-rolesanywhere/package.json b/clients/client-rolesanywhere/package.json index 64c4577e968c8..56b81b6412765 100644 --- a/clients/client-rolesanywhere/package.json +++ b/clients/client-rolesanywhere/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-rolesanywhere/src/runtimeConfig.ts b/clients/client-rolesanywhere/src/runtimeConfig.ts index 0f812dff6b63d..e78c51018fa14 100644 --- a/clients/client-rolesanywhere/src/runtimeConfig.ts +++ b/clients/client-rolesanywhere/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: RolesAnywhereClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-route-53-domains/package.json b/clients/client-route-53-domains/package.json index 056ce360e4460..269836f6a6676 100644 --- a/clients/client-route-53-domains/package.json +++ b/clients/client-route-53-domains/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-route-53-domains/src/runtimeConfig.ts b/clients/client-route-53-domains/src/runtimeConfig.ts index 8ece0a718d3f6..44d58912bcd71 100644 --- a/clients/client-route-53-domains/src/runtimeConfig.ts +++ b/clients/client-route-53-domains/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: Route53DomainsClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-route-53/package.json b/clients/client-route-53/package.json index 9b0173a770bc9..18dafe4dd55ef 100644 --- a/clients/client-route-53/package.json +++ b/clients/client-route-53/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-route-53/src/runtimeConfig.ts b/clients/client-route-53/src/runtimeConfig.ts index 559ddd015102b..e8f2ca32da897 100644 --- a/clients/client-route-53/src/runtimeConfig.ts +++ b/clients/client-route-53/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: Route53ClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-route53-recovery-cluster/package.json b/clients/client-route53-recovery-cluster/package.json index 734434fe25e18..9d66fc6ca75ff 100644 --- a/clients/client-route53-recovery-cluster/package.json +++ b/clients/client-route53-recovery-cluster/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-route53-recovery-cluster/src/runtimeConfig.ts b/clients/client-route53-recovery-cluster/src/runtimeConfig.ts index 10a6df3a9db5d..33aa21d2b9965 100644 --- a/clients/client-route53-recovery-cluster/src/runtimeConfig.ts +++ b/clients/client-route53-recovery-cluster/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: Route53RecoveryClusterClientConfig) => runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-route53-recovery-control-config/package.json b/clients/client-route53-recovery-control-config/package.json index 835290fa06901..cfdddd253427b 100644 --- a/clients/client-route53-recovery-control-config/package.json +++ b/clients/client-route53-recovery-control-config/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-route53-recovery-control-config/src/runtimeConfig.ts b/clients/client-route53-recovery-control-config/src/runtimeConfig.ts index 26c012654bbed..1e91898bcc5e8 100644 --- a/clients/client-route53-recovery-control-config/src/runtimeConfig.ts +++ b/clients/client-route53-recovery-control-config/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: Route53RecoveryControlConfigClientConfi runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-route53-recovery-readiness/package.json b/clients/client-route53-recovery-readiness/package.json index 36dbbebc5a87a..ea94b6328abf1 100644 --- a/clients/client-route53-recovery-readiness/package.json +++ b/clients/client-route53-recovery-readiness/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-route53-recovery-readiness/src/runtimeConfig.ts b/clients/client-route53-recovery-readiness/src/runtimeConfig.ts index 8f4a2d2ec0d06..e892b48a9ddf4 100644 --- a/clients/client-route53-recovery-readiness/src/runtimeConfig.ts +++ b/clients/client-route53-recovery-readiness/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: Route53RecoveryReadinessClientConfig) = runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-route53resolver/package.json b/clients/client-route53resolver/package.json index 6a72c74312914..5290d62055df7 100644 --- a/clients/client-route53resolver/package.json +++ b/clients/client-route53resolver/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-route53resolver/src/runtimeConfig.ts b/clients/client-route53resolver/src/runtimeConfig.ts index 9a10e871cd427..c33e5665387d2 100644 --- a/clients/client-route53resolver/src/runtimeConfig.ts +++ b/clients/client-route53resolver/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: Route53ResolverClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-rum/package.json b/clients/client-rum/package.json index d123d3cec284a..935b4dd5e6911 100644 --- a/clients/client-rum/package.json +++ b/clients/client-rum/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-rum/src/runtimeConfig.ts b/clients/client-rum/src/runtimeConfig.ts index 17904581cfb15..ca99a0d59f2cc 100644 --- a/clients/client-rum/src/runtimeConfig.ts +++ b/clients/client-rum/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: RUMClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-s3-control/package.json b/clients/client-s3-control/package.json index c36158c6a9c85..5816c6f5b8941 100644 --- a/clients/client-s3-control/package.json +++ b/clients/client-s3-control/package.json @@ -22,7 +22,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-s3-control/src/runtimeConfig.ts b/clients/client-s3-control/src/runtimeConfig.ts index 16bb087e6d660..438295ce3678c 100644 --- a/clients/client-s3-control/src/runtimeConfig.ts +++ b/clients/client-s3-control/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -40,8 +39,7 @@ export const getRuntimeConfig = (config: S3ControlClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-s3/package.json b/clients/client-s3/package.json index a47e197fec573..5772ef5425c2d 100644 --- a/clients/client-s3/package.json +++ b/clients/client-s3/package.json @@ -26,7 +26,6 @@ "@aws-crypto/sha1-browser": "3.0.0", "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-bucket-endpoint": "*", diff --git a/clients/client-s3/src/models/models_0.ts b/clients/client-s3/src/models/models_0.ts index 91b0215e46b3b..2aac06b6fe198 100644 --- a/clients/client-s3/src/models/models_0.ts +++ b/clients/client-s3/src/models/models_0.ts @@ -1,5 +1,6 @@ // smithy-typescript generated code import { ExceptionOptionType as __ExceptionOptionType, SENSITIVE_STRING } from "@smithy/smithy-client"; + import { StreamingBlobTypes } from "@smithy/types"; import { S3ServiceException as __BaseException } from "./S3ServiceException"; diff --git a/clients/client-s3/src/models/models_1.ts b/clients/client-s3/src/models/models_1.ts index 4e7bd09a23059..dc79c2b1ad482 100644 --- a/clients/client-s3/src/models/models_1.ts +++ b/clients/client-s3/src/models/models_1.ts @@ -1,5 +1,6 @@ // smithy-typescript generated code import { ExceptionOptionType as __ExceptionOptionType, SENSITIVE_STRING } from "@smithy/smithy-client"; + import { StreamingBlobTypes } from "@smithy/types"; import { @@ -27,6 +28,7 @@ import { StorageClass, Tag, } from "./models_0"; + import { S3ServiceException as __BaseException } from "./S3ServiceException"; /** diff --git a/clients/client-s3outposts/package.json b/clients/client-s3outposts/package.json index 9bbfffd5cea91..f551482176bdd 100644 --- a/clients/client-s3outposts/package.json +++ b/clients/client-s3outposts/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-s3outposts/src/runtimeConfig.ts b/clients/client-s3outposts/src/runtimeConfig.ts index e198fdf764737..1b7d2337ec94e 100644 --- a/clients/client-s3outposts/src/runtimeConfig.ts +++ b/clients/client-s3outposts/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: S3OutpostsClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-sagemaker-a2i-runtime/package.json b/clients/client-sagemaker-a2i-runtime/package.json index cd23f3fcd15cf..e7b33162b5caa 100644 --- a/clients/client-sagemaker-a2i-runtime/package.json +++ b/clients/client-sagemaker-a2i-runtime/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-sagemaker-a2i-runtime/src/runtimeConfig.ts b/clients/client-sagemaker-a2i-runtime/src/runtimeConfig.ts index 85b0bfa82ec6e..7371c42e17962 100644 --- a/clients/client-sagemaker-a2i-runtime/src/runtimeConfig.ts +++ b/clients/client-sagemaker-a2i-runtime/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: SageMakerA2IRuntimeClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-sagemaker-edge/package.json b/clients/client-sagemaker-edge/package.json index 916be1df07048..e266237c1427e 100644 --- a/clients/client-sagemaker-edge/package.json +++ b/clients/client-sagemaker-edge/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-sagemaker-edge/src/runtimeConfig.ts b/clients/client-sagemaker-edge/src/runtimeConfig.ts index 88697db4d368a..2ac272d48a7d2 100644 --- a/clients/client-sagemaker-edge/src/runtimeConfig.ts +++ b/clients/client-sagemaker-edge/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: SagemakerEdgeClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-sagemaker-featurestore-runtime/package.json b/clients/client-sagemaker-featurestore-runtime/package.json index a1f5110f3ad48..95a196ad5390c 100644 --- a/clients/client-sagemaker-featurestore-runtime/package.json +++ b/clients/client-sagemaker-featurestore-runtime/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-sagemaker-featurestore-runtime/src/runtimeConfig.ts b/clients/client-sagemaker-featurestore-runtime/src/runtimeConfig.ts index 9ec4fbb089dde..a7b506beb94e1 100644 --- a/clients/client-sagemaker-featurestore-runtime/src/runtimeConfig.ts +++ b/clients/client-sagemaker-featurestore-runtime/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: SageMakerFeatureStoreRuntimeClientConfi runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-sagemaker-geospatial/package.json b/clients/client-sagemaker-geospatial/package.json index 56b866cb366cc..b4e1f247ac957 100644 --- a/clients/client-sagemaker-geospatial/package.json +++ b/clients/client-sagemaker-geospatial/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-sagemaker-geospatial/src/runtimeConfig.ts b/clients/client-sagemaker-geospatial/src/runtimeConfig.ts index ca50814b04a21..413d52835d24b 100644 --- a/clients/client-sagemaker-geospatial/src/runtimeConfig.ts +++ b/clients/client-sagemaker-geospatial/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: SageMakerGeospatialClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-sagemaker-metrics/package.json b/clients/client-sagemaker-metrics/package.json index 8c9c1eb75a329..9062e1287646f 100644 --- a/clients/client-sagemaker-metrics/package.json +++ b/clients/client-sagemaker-metrics/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-sagemaker-metrics/src/runtimeConfig.ts b/clients/client-sagemaker-metrics/src/runtimeConfig.ts index 8fdbdb1677817..3949f9bac470d 100644 --- a/clients/client-sagemaker-metrics/src/runtimeConfig.ts +++ b/clients/client-sagemaker-metrics/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: SageMakerMetricsClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-sagemaker-runtime/package.json b/clients/client-sagemaker-runtime/package.json index c716240a8076c..8b38aa8b823db 100644 --- a/clients/client-sagemaker-runtime/package.json +++ b/clients/client-sagemaker-runtime/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-sagemaker-runtime/src/runtimeConfig.ts b/clients/client-sagemaker-runtime/src/runtimeConfig.ts index d92b6bd6a103b..1cc66e60caced 100644 --- a/clients/client-sagemaker-runtime/src/runtimeConfig.ts +++ b/clients/client-sagemaker-runtime/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -40,8 +39,7 @@ export const getRuntimeConfig = (config: SageMakerRuntimeClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-sagemaker/package.json b/clients/client-sagemaker/package.json index 69a22d6a69a2e..8a414efa70133 100644 --- a/clients/client-sagemaker/package.json +++ b/clients/client-sagemaker/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-sagemaker/src/runtimeConfig.ts b/clients/client-sagemaker/src/runtimeConfig.ts index 12a497ad521ac..bdab15b3f0b93 100644 --- a/clients/client-sagemaker/src/runtimeConfig.ts +++ b/clients/client-sagemaker/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: SageMakerClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-savingsplans/package.json b/clients/client-savingsplans/package.json index c7567f012b0b4..f6fd9ef1c7e85 100644 --- a/clients/client-savingsplans/package.json +++ b/clients/client-savingsplans/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-savingsplans/src/runtimeConfig.ts b/clients/client-savingsplans/src/runtimeConfig.ts index abc1239e7f472..b50f4c8db27bc 100644 --- a/clients/client-savingsplans/src/runtimeConfig.ts +++ b/clients/client-savingsplans/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: SavingsplansClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-scheduler/package.json b/clients/client-scheduler/package.json index 901353fa37ffe..c889d0d7a907b 100644 --- a/clients/client-scheduler/package.json +++ b/clients/client-scheduler/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-scheduler/src/runtimeConfig.ts b/clients/client-scheduler/src/runtimeConfig.ts index 949d10ba6b996..c99156fe472ce 100644 --- a/clients/client-scheduler/src/runtimeConfig.ts +++ b/clients/client-scheduler/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: SchedulerClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-schemas/package.json b/clients/client-schemas/package.json index f11fe01e1dbf6..a0c2cec147917 100644 --- a/clients/client-schemas/package.json +++ b/clients/client-schemas/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-schemas/src/runtimeConfig.ts b/clients/client-schemas/src/runtimeConfig.ts index f04b5d58a472b..512e3e945452d 100644 --- a/clients/client-schemas/src/runtimeConfig.ts +++ b/clients/client-schemas/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: SchemasClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-secrets-manager/package.json b/clients/client-secrets-manager/package.json index f597fd919ff73..aed15ae249835 100644 --- a/clients/client-secrets-manager/package.json +++ b/clients/client-secrets-manager/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-secrets-manager/src/runtimeConfig.ts b/clients/client-secrets-manager/src/runtimeConfig.ts index 6a8f0adbfd454..ad17350f8bf75 100644 --- a/clients/client-secrets-manager/src/runtimeConfig.ts +++ b/clients/client-secrets-manager/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: SecretsManagerClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-securityhub/package.json b/clients/client-securityhub/package.json index 002711c6c4a61..7c0b2a761a882 100644 --- a/clients/client-securityhub/package.json +++ b/clients/client-securityhub/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-securityhub/src/runtimeConfig.ts b/clients/client-securityhub/src/runtimeConfig.ts index 48c2ac87f73e1..d104e3e8746ac 100644 --- a/clients/client-securityhub/src/runtimeConfig.ts +++ b/clients/client-securityhub/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: SecurityHubClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-securitylake/package.json b/clients/client-securitylake/package.json index 357ca5940fdcc..dc910453a50a2 100644 --- a/clients/client-securitylake/package.json +++ b/clients/client-securitylake/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-securitylake/src/runtimeConfig.ts b/clients/client-securitylake/src/runtimeConfig.ts index c7c5c713ba836..f6bd5af09b594 100644 --- a/clients/client-securitylake/src/runtimeConfig.ts +++ b/clients/client-securitylake/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: SecurityLakeClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-serverlessapplicationrepository/package.json b/clients/client-serverlessapplicationrepository/package.json index 5ac5c27b1fcc9..42ab568d7e1d3 100644 --- a/clients/client-serverlessapplicationrepository/package.json +++ b/clients/client-serverlessapplicationrepository/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-serverlessapplicationrepository/src/runtimeConfig.ts b/clients/client-serverlessapplicationrepository/src/runtimeConfig.ts index 693310f83064f..17c64fd93bd73 100644 --- a/clients/client-serverlessapplicationrepository/src/runtimeConfig.ts +++ b/clients/client-serverlessapplicationrepository/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: ServerlessApplicationRepositoryClientCo runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-service-catalog-appregistry/package.json b/clients/client-service-catalog-appregistry/package.json index bc8cab3bd48d2..893c06811c345 100644 --- a/clients/client-service-catalog-appregistry/package.json +++ b/clients/client-service-catalog-appregistry/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-service-catalog-appregistry/src/runtimeConfig.ts b/clients/client-service-catalog-appregistry/src/runtimeConfig.ts index 745c51456796f..da7a9fa6b0844 100644 --- a/clients/client-service-catalog-appregistry/src/runtimeConfig.ts +++ b/clients/client-service-catalog-appregistry/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: ServiceCatalogAppRegistryClientConfig) runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-service-catalog/package.json b/clients/client-service-catalog/package.json index d7d3319e80f79..4eea4d203c257 100644 --- a/clients/client-service-catalog/package.json +++ b/clients/client-service-catalog/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-service-catalog/src/runtimeConfig.ts b/clients/client-service-catalog/src/runtimeConfig.ts index 1be03048b9390..b239ceb1db4b7 100644 --- a/clients/client-service-catalog/src/runtimeConfig.ts +++ b/clients/client-service-catalog/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: ServiceCatalogClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-service-quotas/package.json b/clients/client-service-quotas/package.json index cd66879f01104..9d572239841c8 100644 --- a/clients/client-service-quotas/package.json +++ b/clients/client-service-quotas/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-service-quotas/src/runtimeConfig.ts b/clients/client-service-quotas/src/runtimeConfig.ts index ad75e0bab7ad2..f2a2968a3f210 100644 --- a/clients/client-service-quotas/src/runtimeConfig.ts +++ b/clients/client-service-quotas/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: ServiceQuotasClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-servicediscovery/package.json b/clients/client-servicediscovery/package.json index 8b4bd6837a5b6..a3f57bc5175a6 100644 --- a/clients/client-servicediscovery/package.json +++ b/clients/client-servicediscovery/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-servicediscovery/src/runtimeConfig.ts b/clients/client-servicediscovery/src/runtimeConfig.ts index 5930c55f0a40d..6114f019adf58 100644 --- a/clients/client-servicediscovery/src/runtimeConfig.ts +++ b/clients/client-servicediscovery/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: ServiceDiscoveryClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-ses/package.json b/clients/client-ses/package.json index 836900462e91b..f8ac00a272614 100644 --- a/clients/client-ses/package.json +++ b/clients/client-ses/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-ses/src/runtimeConfig.ts b/clients/client-ses/src/runtimeConfig.ts index 9d47693e4fe2d..d3bc9d85c75a1 100644 --- a/clients/client-ses/src/runtimeConfig.ts +++ b/clients/client-ses/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: SESClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-sesv2/package.json b/clients/client-sesv2/package.json index 5b06ad93b8b7b..c7efb3de49c11 100644 --- a/clients/client-sesv2/package.json +++ b/clients/client-sesv2/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-sesv2/src/runtimeConfig.ts b/clients/client-sesv2/src/runtimeConfig.ts index e6b7442fa13a3..628a77de0c3b1 100644 --- a/clients/client-sesv2/src/runtimeConfig.ts +++ b/clients/client-sesv2/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: SESv2ClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-sfn/package.json b/clients/client-sfn/package.json index e9e8d0c5af837..29dbde621bc66 100644 --- a/clients/client-sfn/package.json +++ b/clients/client-sfn/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-sfn/src/runtimeConfig.ts b/clients/client-sfn/src/runtimeConfig.ts index adf1db62431f4..a84384f121d80 100644 --- a/clients/client-sfn/src/runtimeConfig.ts +++ b/clients/client-sfn/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: SFNClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-shield/package.json b/clients/client-shield/package.json index 5476c0e686b7b..08ba9d1fcf100 100644 --- a/clients/client-shield/package.json +++ b/clients/client-shield/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-shield/src/runtimeConfig.ts b/clients/client-shield/src/runtimeConfig.ts index b04972891cf82..9733c1dad4354 100644 --- a/clients/client-shield/src/runtimeConfig.ts +++ b/clients/client-shield/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: ShieldClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-signer/package.json b/clients/client-signer/package.json index bf46af2829ed1..576b40b1d417a 100644 --- a/clients/client-signer/package.json +++ b/clients/client-signer/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-signer/src/runtimeConfig.ts b/clients/client-signer/src/runtimeConfig.ts index 219731a669a7f..1ddb3986c0521 100644 --- a/clients/client-signer/src/runtimeConfig.ts +++ b/clients/client-signer/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: SignerClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-simspaceweaver/package.json b/clients/client-simspaceweaver/package.json index 97100c2e081ea..ab9405aa14cd7 100644 --- a/clients/client-simspaceweaver/package.json +++ b/clients/client-simspaceweaver/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-simspaceweaver/src/runtimeConfig.ts b/clients/client-simspaceweaver/src/runtimeConfig.ts index 9846edb471988..500a543530d86 100644 --- a/clients/client-simspaceweaver/src/runtimeConfig.ts +++ b/clients/client-simspaceweaver/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: SimSpaceWeaverClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-sms/package.json b/clients/client-sms/package.json index e38b6caad3542..b1220ff100ad6 100644 --- a/clients/client-sms/package.json +++ b/clients/client-sms/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-sms/src/runtimeConfig.ts b/clients/client-sms/src/runtimeConfig.ts index dd1016ec5b4cf..5ac8e1157b26a 100644 --- a/clients/client-sms/src/runtimeConfig.ts +++ b/clients/client-sms/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: SMSClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-snow-device-management/package.json b/clients/client-snow-device-management/package.json index 49dce1028fa10..3ab35416fedd9 100644 --- a/clients/client-snow-device-management/package.json +++ b/clients/client-snow-device-management/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-snow-device-management/src/runtimeConfig.ts b/clients/client-snow-device-management/src/runtimeConfig.ts index e535d0cf566b8..9f8ea67bd3512 100644 --- a/clients/client-snow-device-management/src/runtimeConfig.ts +++ b/clients/client-snow-device-management/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: SnowDeviceManagementClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-snowball/package.json b/clients/client-snowball/package.json index ac75cc6b11a48..6904259f32eb8 100644 --- a/clients/client-snowball/package.json +++ b/clients/client-snowball/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-snowball/src/runtimeConfig.ts b/clients/client-snowball/src/runtimeConfig.ts index 292a941236112..0c153682685e5 100644 --- a/clients/client-snowball/src/runtimeConfig.ts +++ b/clients/client-snowball/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: SnowballClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-sns/package.json b/clients/client-sns/package.json index a84121613d43f..983af4bcbb8ed 100644 --- a/clients/client-sns/package.json +++ b/clients/client-sns/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-sns/src/runtimeConfig.ts b/clients/client-sns/src/runtimeConfig.ts index b69cde7428a56..c3c87e8da07c9 100644 --- a/clients/client-sns/src/runtimeConfig.ts +++ b/clients/client-sns/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: SNSClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-sqs/package.json b/clients/client-sqs/package.json index eb73c079fe2e3..37a37728d6069 100644 --- a/clients/client-sqs/package.json +++ b/clients/client-sqs/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-sqs/src/runtimeConfig.ts b/clients/client-sqs/src/runtimeConfig.ts index 9c2cb5cbf0f2e..46a37a744ce55 100644 --- a/clients/client-sqs/src/runtimeConfig.ts +++ b/clients/client-sqs/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -40,8 +39,7 @@ export const getRuntimeConfig = (config: SQSClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-ssm-contacts/package.json b/clients/client-ssm-contacts/package.json index 98851cd6e3cdd..62da0790249f1 100644 --- a/clients/client-ssm-contacts/package.json +++ b/clients/client-ssm-contacts/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-ssm-contacts/src/runtimeConfig.ts b/clients/client-ssm-contacts/src/runtimeConfig.ts index acef4bf233527..400bdc18a1ffa 100644 --- a/clients/client-ssm-contacts/src/runtimeConfig.ts +++ b/clients/client-ssm-contacts/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: SSMContactsClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-ssm-incidents/package.json b/clients/client-ssm-incidents/package.json index b52455269ad5b..40fb4f3de0f66 100644 --- a/clients/client-ssm-incidents/package.json +++ b/clients/client-ssm-incidents/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-ssm-incidents/src/runtimeConfig.ts b/clients/client-ssm-incidents/src/runtimeConfig.ts index 38882a157657f..3cbec82679d6f 100644 --- a/clients/client-ssm-incidents/src/runtimeConfig.ts +++ b/clients/client-ssm-incidents/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: SSMIncidentsClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-ssm-sap/package.json b/clients/client-ssm-sap/package.json index e1b4bac194761..0fd3243e90361 100644 --- a/clients/client-ssm-sap/package.json +++ b/clients/client-ssm-sap/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-ssm-sap/src/runtimeConfig.ts b/clients/client-ssm-sap/src/runtimeConfig.ts index 7b5d96b9ce946..ae27d22e567c9 100644 --- a/clients/client-ssm-sap/src/runtimeConfig.ts +++ b/clients/client-ssm-sap/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: SsmSapClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-ssm/package.json b/clients/client-ssm/package.json index 604cb8e896677..fb0be7cce6343 100644 --- a/clients/client-ssm/package.json +++ b/clients/client-ssm/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-ssm/src/runtimeConfig.ts b/clients/client-ssm/src/runtimeConfig.ts index 548df8d5382da..79ce49cf7b80e 100644 --- a/clients/client-ssm/src/runtimeConfig.ts +++ b/clients/client-ssm/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: SSMClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-sso-admin/package.json b/clients/client-sso-admin/package.json index 0ff5432e2bffd..de2d680df822f 100644 --- a/clients/client-sso-admin/package.json +++ b/clients/client-sso-admin/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-sso-admin/src/runtimeConfig.ts b/clients/client-sso-admin/src/runtimeConfig.ts index 8e9851ab5ad3f..acc092b819511 100644 --- a/clients/client-sso-admin/src/runtimeConfig.ts +++ b/clients/client-sso-admin/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: SSOAdminClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-sso-oidc/package.json b/clients/client-sso-oidc/package.json index 579fe829027c1..7b245b33bed92 100644 --- a/clients/client-sso-oidc/package.json +++ b/clients/client-sso-oidc/package.json @@ -20,9 +20,7 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", - "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", "@aws-sdk/middleware-logger": "*", "@aws-sdk/middleware-recursion-detection": "*", @@ -86,6 +84,9 @@ "url": "https://aws.amazon.com/javascript/" }, "license": "Apache-2.0", + "peerDependencies": { + "@aws-sdk/credential-provider-node": "*" + }, "browser": { "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser" }, diff --git a/clients/client-sso-oidc/src/credentialDefaultProvider.ts b/clients/client-sso-oidc/src/credentialDefaultProvider.ts new file mode 100644 index 0000000000000..749955137ff43 --- /dev/null +++ b/clients/client-sso-oidc/src/credentialDefaultProvider.ts @@ -0,0 +1,9 @@ +// smithy-typescript generated code +/** + * @internal + */ +export const defaultProvider = (async (input: any) => { + // @ts-ignore + const nodeCredentials: any = await import("@aws-sdk/credential-provider-node"); + return nodeCredentials.defaultProvider(input); +}) as any; diff --git a/clients/client-sso-oidc/src/runtimeConfig.ts b/clients/client-sso-oidc/src/runtimeConfig.ts index 57626d0b0314a..756edf2a67d56 100644 --- a/clients/client-sso-oidc/src/runtimeConfig.ts +++ b/clients/client-sso-oidc/src/runtimeConfig.ts @@ -2,9 +2,8 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; +import { defaultProvider as credentialDefaultProvider } from "./credentialDefaultProvider"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; -import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; import { NODE_REGION_CONFIG_FILE_OPTIONS, @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: SSOOIDCClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-storage-gateway/package.json b/clients/client-storage-gateway/package.json index 19d0be3b34e83..0a6f2f22718dc 100644 --- a/clients/client-storage-gateway/package.json +++ b/clients/client-storage-gateway/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-storage-gateway/src/runtimeConfig.ts b/clients/client-storage-gateway/src/runtimeConfig.ts index 2f1b314310d38..6aba971fa846f 100644 --- a/clients/client-storage-gateway/src/runtimeConfig.ts +++ b/clients/client-storage-gateway/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: StorageGatewayClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-sts/package.json b/clients/client-sts/package.json index 3a125f2d9467a..a838468f3b5a0 100644 --- a/clients/client-sts/package.json +++ b/clients/client-sts/package.json @@ -23,7 +23,6 @@ "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", "@aws-sdk/core": "*", - "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", "@aws-sdk/middleware-logger": "*", "@aws-sdk/middleware-recursion-detection": "*", @@ -88,6 +87,9 @@ "url": "https://aws.amazon.com/javascript/" }, "license": "Apache-2.0", + "peerDependencies": { + "@aws-sdk/credential-provider-node": "*" + }, "browser": { "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser" }, diff --git a/clients/client-sts/src/credentialDefaultProvider.ts b/clients/client-sts/src/credentialDefaultProvider.ts new file mode 100644 index 0000000000000..749955137ff43 --- /dev/null +++ b/clients/client-sts/src/credentialDefaultProvider.ts @@ -0,0 +1,9 @@ +// smithy-typescript generated code +/** + * @internal + */ +export const defaultProvider = (async (input: any) => { + // @ts-ignore + const nodeCredentials: any = await import("@aws-sdk/credential-provider-node"); + return nodeCredentials.defaultProvider(input); +}) as any; diff --git a/clients/client-sts/src/runtimeConfig.ts b/clients/client-sts/src/runtimeConfig.ts index 4372e8cd673e0..8af4f4860f344 100644 --- a/clients/client-sts/src/runtimeConfig.ts +++ b/clients/client-sts/src/runtimeConfig.ts @@ -2,9 +2,9 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line +import { defaultProvider as credentialDefaultProvider } from "./credentialDefaultProvider"; import { decorateDefaultCredentialProvider } from "./defaultStsRoleAssumers"; import { AwsSdkSigV4Signer, emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; -import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; import { NODE_REGION_CONFIG_FILE_OPTIONS, diff --git a/clients/client-supplychain/package.json b/clients/client-supplychain/package.json index 0d34c81f36863..e503a3e040338 100644 --- a/clients/client-supplychain/package.json +++ b/clients/client-supplychain/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-supplychain/src/runtimeConfig.ts b/clients/client-supplychain/src/runtimeConfig.ts index bf10662c433cd..cfce61f0ca995 100644 --- a/clients/client-supplychain/src/runtimeConfig.ts +++ b/clients/client-supplychain/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: SupplyChainClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-support-app/package.json b/clients/client-support-app/package.json index 4a0ac78a29694..712a2632708a0 100644 --- a/clients/client-support-app/package.json +++ b/clients/client-support-app/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-support-app/src/runtimeConfig.ts b/clients/client-support-app/src/runtimeConfig.ts index 4782def7198af..e621dc60b5be1 100644 --- a/clients/client-support-app/src/runtimeConfig.ts +++ b/clients/client-support-app/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: SupportAppClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-support/package.json b/clients/client-support/package.json index de10794392415..a5ab533437cbb 100644 --- a/clients/client-support/package.json +++ b/clients/client-support/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-support/src/runtimeConfig.ts b/clients/client-support/src/runtimeConfig.ts index 59f553ca1fad5..d76de5f659314 100644 --- a/clients/client-support/src/runtimeConfig.ts +++ b/clients/client-support/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: SupportClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-swf/package.json b/clients/client-swf/package.json index 022b626217378..b4dc66a92cefd 100644 --- a/clients/client-swf/package.json +++ b/clients/client-swf/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-swf/src/runtimeConfig.ts b/clients/client-swf/src/runtimeConfig.ts index 22472b3681b47..bd79dac0b3a81 100644 --- a/clients/client-swf/src/runtimeConfig.ts +++ b/clients/client-swf/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: SWFClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-synthetics/package.json b/clients/client-synthetics/package.json index bd7f341e0bc4c..cd5a8c02e8cbe 100644 --- a/clients/client-synthetics/package.json +++ b/clients/client-synthetics/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-synthetics/src/runtimeConfig.ts b/clients/client-synthetics/src/runtimeConfig.ts index 40282b533eed4..f68cb32bf6c99 100644 --- a/clients/client-synthetics/src/runtimeConfig.ts +++ b/clients/client-synthetics/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: SyntheticsClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-textract/package.json b/clients/client-textract/package.json index 4b61bd3f3f301..f8495f2b7f2c2 100644 --- a/clients/client-textract/package.json +++ b/clients/client-textract/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-textract/src/runtimeConfig.ts b/clients/client-textract/src/runtimeConfig.ts index e158de8fe1c55..6de627aa00f43 100644 --- a/clients/client-textract/src/runtimeConfig.ts +++ b/clients/client-textract/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: TextractClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-timestream-query/package.json b/clients/client-timestream-query/package.json index c7cade75f4e75..5d5cab85a4b22 100644 --- a/clients/client-timestream-query/package.json +++ b/clients/client-timestream-query/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-endpoint-discovery": "*", diff --git a/clients/client-timestream-query/src/runtimeConfig.ts b/clients/client-timestream-query/src/runtimeConfig.ts index 502356fcc186b..b586515d765dd 100644 --- a/clients/client-timestream-query/src/runtimeConfig.ts +++ b/clients/client-timestream-query/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { NODE_ENDPOINT_DISCOVERY_CONFIG_OPTIONS } from "@aws-sdk/middleware-endpoint-discovery"; @@ -40,8 +39,7 @@ export const getRuntimeConfig = (config: TimestreamQueryClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-timestream-write/package.json b/clients/client-timestream-write/package.json index 051044207e66e..9154fb0e2d7cb 100644 --- a/clients/client-timestream-write/package.json +++ b/clients/client-timestream-write/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-endpoint-discovery": "*", diff --git a/clients/client-timestream-write/src/runtimeConfig.ts b/clients/client-timestream-write/src/runtimeConfig.ts index 20a4d5a5f21d1..3e205afb8c2ba 100644 --- a/clients/client-timestream-write/src/runtimeConfig.ts +++ b/clients/client-timestream-write/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { NODE_ENDPOINT_DISCOVERY_CONFIG_OPTIONS } from "@aws-sdk/middleware-endpoint-discovery"; @@ -40,8 +39,7 @@ export const getRuntimeConfig = (config: TimestreamWriteClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-tnb/package.json b/clients/client-tnb/package.json index eb7433cd74369..9138f0c8c10d6 100644 --- a/clients/client-tnb/package.json +++ b/clients/client-tnb/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-tnb/src/runtimeConfig.ts b/clients/client-tnb/src/runtimeConfig.ts index 2753602b0f782..18923bc5e630a 100644 --- a/clients/client-tnb/src/runtimeConfig.ts +++ b/clients/client-tnb/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: TnbClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-transcribe-streaming/package.json b/clients/client-transcribe-streaming/package.json index eb8f7123fe937..44388f3b7962f 100644 --- a/clients/client-transcribe-streaming/package.json +++ b/clients/client-transcribe-streaming/package.json @@ -21,7 +21,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/eventstream-handler-node": "*", diff --git a/clients/client-transcribe-streaming/src/runtimeConfig.ts b/clients/client-transcribe-streaming/src/runtimeConfig.ts index 4b5428b3db3d2..f2e7f9d1c8775 100644 --- a/clients/client-transcribe-streaming/src/runtimeConfig.ts +++ b/clients/client-transcribe-streaming/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { eventStreamPayloadHandlerProvider } from "@aws-sdk/eventstream-handler-node"; @@ -41,8 +40,7 @@ export const getRuntimeConfig = (config: TranscribeStreamingClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-transcribe/package.json b/clients/client-transcribe/package.json index 8cf9064f0b678..2653256e0098b 100644 --- a/clients/client-transcribe/package.json +++ b/clients/client-transcribe/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-transcribe/src/runtimeConfig.ts b/clients/client-transcribe/src/runtimeConfig.ts index 8d2327642b4ba..53f5e454df7bf 100644 --- a/clients/client-transcribe/src/runtimeConfig.ts +++ b/clients/client-transcribe/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: TranscribeClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-transfer/package.json b/clients/client-transfer/package.json index 567e67fea9524..65b2526c31b3e 100644 --- a/clients/client-transfer/package.json +++ b/clients/client-transfer/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-transfer/src/runtimeConfig.ts b/clients/client-transfer/src/runtimeConfig.ts index ec9a876f8e297..85edee140e172 100644 --- a/clients/client-transfer/src/runtimeConfig.ts +++ b/clients/client-transfer/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: TransferClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-translate/package.json b/clients/client-translate/package.json index cc13dd5b564a0..02792a25e9af4 100644 --- a/clients/client-translate/package.json +++ b/clients/client-translate/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-translate/src/runtimeConfig.ts b/clients/client-translate/src/runtimeConfig.ts index f28ad742abff9..e29bb08723716 100644 --- a/clients/client-translate/src/runtimeConfig.ts +++ b/clients/client-translate/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: TranslateClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-trustedadvisor/package.json b/clients/client-trustedadvisor/package.json index 3ab1cef3bc7e4..2cebf4d239531 100644 --- a/clients/client-trustedadvisor/package.json +++ b/clients/client-trustedadvisor/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-trustedadvisor/src/runtimeConfig.ts b/clients/client-trustedadvisor/src/runtimeConfig.ts index 705ec7334c9fb..d9bd27eddd11c 100644 --- a/clients/client-trustedadvisor/src/runtimeConfig.ts +++ b/clients/client-trustedadvisor/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: TrustedAdvisorClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-verifiedpermissions/package.json b/clients/client-verifiedpermissions/package.json index 41139ed34ecd9..c3aa1a8bf1744 100644 --- a/clients/client-verifiedpermissions/package.json +++ b/clients/client-verifiedpermissions/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-verifiedpermissions/src/runtimeConfig.ts b/clients/client-verifiedpermissions/src/runtimeConfig.ts index 71e24acf37c4d..d156f37a1e984 100644 --- a/clients/client-verifiedpermissions/src/runtimeConfig.ts +++ b/clients/client-verifiedpermissions/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: VerifiedPermissionsClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-voice-id/package.json b/clients/client-voice-id/package.json index 508e504219d62..c51ef1528dbbe 100644 --- a/clients/client-voice-id/package.json +++ b/clients/client-voice-id/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-voice-id/src/runtimeConfig.ts b/clients/client-voice-id/src/runtimeConfig.ts index a1c7fb675e9d1..cdfd5b793a5ca 100644 --- a/clients/client-voice-id/src/runtimeConfig.ts +++ b/clients/client-voice-id/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: VoiceIDClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-vpc-lattice/package.json b/clients/client-vpc-lattice/package.json index 0bb013d6c82a2..b2de8a3b5181b 100644 --- a/clients/client-vpc-lattice/package.json +++ b/clients/client-vpc-lattice/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-vpc-lattice/src/runtimeConfig.ts b/clients/client-vpc-lattice/src/runtimeConfig.ts index 12f7fd2aa8261..077c5e3891e27 100644 --- a/clients/client-vpc-lattice/src/runtimeConfig.ts +++ b/clients/client-vpc-lattice/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: VPCLatticeClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-waf-regional/package.json b/clients/client-waf-regional/package.json index d9da7213884fa..de526b74059e0 100644 --- a/clients/client-waf-regional/package.json +++ b/clients/client-waf-regional/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-waf-regional/src/runtimeConfig.ts b/clients/client-waf-regional/src/runtimeConfig.ts index eb8b9b341da26..3c0eabdb39c53 100644 --- a/clients/client-waf-regional/src/runtimeConfig.ts +++ b/clients/client-waf-regional/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: WAFRegionalClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-waf/package.json b/clients/client-waf/package.json index ca03b0151958e..df4e0feca4e9e 100644 --- a/clients/client-waf/package.json +++ b/clients/client-waf/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-waf/src/runtimeConfig.ts b/clients/client-waf/src/runtimeConfig.ts index d43d8eb7bc8df..db9887c512585 100644 --- a/clients/client-waf/src/runtimeConfig.ts +++ b/clients/client-waf/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: WAFClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-wafv2/package.json b/clients/client-wafv2/package.json index 6d0fc997ea0dd..93adfe778b899 100644 --- a/clients/client-wafv2/package.json +++ b/clients/client-wafv2/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-wafv2/src/runtimeConfig.ts b/clients/client-wafv2/src/runtimeConfig.ts index 74e5148560ec3..1d9037be457d9 100644 --- a/clients/client-wafv2/src/runtimeConfig.ts +++ b/clients/client-wafv2/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: WAFV2ClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-wellarchitected/package.json b/clients/client-wellarchitected/package.json index 9a8def86cb108..5fc3437b1d5a0 100644 --- a/clients/client-wellarchitected/package.json +++ b/clients/client-wellarchitected/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-wellarchitected/src/runtimeConfig.ts b/clients/client-wellarchitected/src/runtimeConfig.ts index c86ee208320ec..5fcdd3b7d4b61 100644 --- a/clients/client-wellarchitected/src/runtimeConfig.ts +++ b/clients/client-wellarchitected/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: WellArchitectedClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-wisdom/package.json b/clients/client-wisdom/package.json index 875414a4dc799..95f20ea28f302 100644 --- a/clients/client-wisdom/package.json +++ b/clients/client-wisdom/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-wisdom/src/runtimeConfig.ts b/clients/client-wisdom/src/runtimeConfig.ts index 37c9b3388c10f..2bd15fb86be24 100644 --- a/clients/client-wisdom/src/runtimeConfig.ts +++ b/clients/client-wisdom/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: WisdomClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-workdocs/package.json b/clients/client-workdocs/package.json index 0c7f7b06616e0..bc3aa584a0af1 100644 --- a/clients/client-workdocs/package.json +++ b/clients/client-workdocs/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-workdocs/src/runtimeConfig.ts b/clients/client-workdocs/src/runtimeConfig.ts index fba1581e1f221..438e1a69ef1f3 100644 --- a/clients/client-workdocs/src/runtimeConfig.ts +++ b/clients/client-workdocs/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: WorkDocsClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-worklink/package.json b/clients/client-worklink/package.json index c005cd3eeb664..00fd9efe333e8 100644 --- a/clients/client-worklink/package.json +++ b/clients/client-worklink/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-worklink/src/runtimeConfig.ts b/clients/client-worklink/src/runtimeConfig.ts index 33531084b7d42..d77933ce1a013 100644 --- a/clients/client-worklink/src/runtimeConfig.ts +++ b/clients/client-worklink/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: WorkLinkClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-workmail/package.json b/clients/client-workmail/package.json index a2c491de3bbe5..492d7d733f547 100644 --- a/clients/client-workmail/package.json +++ b/clients/client-workmail/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-workmail/src/runtimeConfig.ts b/clients/client-workmail/src/runtimeConfig.ts index 782ffa52c469b..a07242e2c1060 100644 --- a/clients/client-workmail/src/runtimeConfig.ts +++ b/clients/client-workmail/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: WorkMailClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-workmailmessageflow/package.json b/clients/client-workmailmessageflow/package.json index 0deed1f99550e..840fd05d6b9d7 100644 --- a/clients/client-workmailmessageflow/package.json +++ b/clients/client-workmailmessageflow/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-workmailmessageflow/src/runtimeConfig.ts b/clients/client-workmailmessageflow/src/runtimeConfig.ts index 2df5ef4d00f96..46ddec8bf7401 100644 --- a/clients/client-workmailmessageflow/src/runtimeConfig.ts +++ b/clients/client-workmailmessageflow/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: WorkMailMessageFlowClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-workspaces-thin-client/package.json b/clients/client-workspaces-thin-client/package.json index 4fa62705deed9..98c65aeb97588 100644 --- a/clients/client-workspaces-thin-client/package.json +++ b/clients/client-workspaces-thin-client/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-workspaces-thin-client/src/runtimeConfig.ts b/clients/client-workspaces-thin-client/src/runtimeConfig.ts index 00b30107e6d13..62554c4b1d9f0 100644 --- a/clients/client-workspaces-thin-client/src/runtimeConfig.ts +++ b/clients/client-workspaces-thin-client/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: WorkSpacesThinClientClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-workspaces-web/package.json b/clients/client-workspaces-web/package.json index eb9e6dbe347be..204ee075ae721 100644 --- a/clients/client-workspaces-web/package.json +++ b/clients/client-workspaces-web/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-workspaces-web/src/runtimeConfig.ts b/clients/client-workspaces-web/src/runtimeConfig.ts index 3a5afd8bf24a9..e1f95b143f2f4 100644 --- a/clients/client-workspaces-web/src/runtimeConfig.ts +++ b/clients/client-workspaces-web/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: WorkSpacesWebClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-workspaces/package.json b/clients/client-workspaces/package.json index da3f0792577b6..a778c9488bc6d 100644 --- a/clients/client-workspaces/package.json +++ b/clients/client-workspaces/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-workspaces/src/runtimeConfig.ts b/clients/client-workspaces/src/runtimeConfig.ts index 792f42cdc5556..8c3ea4e9137bd 100644 --- a/clients/client-workspaces/src/runtimeConfig.ts +++ b/clients/client-workspaces/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: WorkSpacesClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/clients/client-xray/package.json b/clients/client-xray/package.json index 5cea897368199..f7f9b2046fa90 100644 --- a/clients/client-xray/package.json +++ b/clients/client-xray/package.json @@ -20,7 +20,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/clients/client-xray/src/runtimeConfig.ts b/clients/client-xray/src/runtimeConfig.ts index d0a66ea5a1c3e..0fc4aea77833d 100644 --- a/clients/client-xray/src/runtimeConfig.ts +++ b/clients/client-xray/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -39,8 +38,7 @@ export const getRuntimeConfig = (config: XRayClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/codegen/smithy-aws-typescript-codegen/src/main/java/software/amazon/smithy/aws/typescript/codegen/AddAwsAuthPlugin.java b/codegen/smithy-aws-typescript-codegen/src/main/java/software/amazon/smithy/aws/typescript/codegen/AddAwsAuthPlugin.java index ca8c0a599592d..c78fd5a599e4f 100644 --- a/codegen/smithy-aws-typescript-codegen/src/main/java/software/amazon/smithy/aws/typescript/codegen/AddAwsAuthPlugin.java +++ b/codegen/smithy-aws-typescript-codegen/src/main/java/software/amazon/smithy/aws/typescript/codegen/AddAwsAuthPlugin.java @@ -38,6 +38,7 @@ import software.amazon.smithy.model.shapes.OperationShape; import software.amazon.smithy.model.shapes.ServiceShape; import software.amazon.smithy.model.shapes.Shape; +import software.amazon.smithy.model.shapes.ShapeId; import software.amazon.smithy.model.traits.OptionalAuthTrait; import software.amazon.smithy.typescript.codegen.CodegenUtils; import software.amazon.smithy.typescript.codegen.LanguageTarget; @@ -211,13 +212,19 @@ public Map> getRuntimeConfigWriters( writer .addRelativeImport("decorateDefaultCredentialProvider", null, Paths.get(".", CodegenUtils.SOURCE_FOLDER, STS_ROLE_ASSUMERS_FILE)) - .addDependency(AwsDependency.CREDENTIAL_PROVIDER_NODE) - .addImport("defaultProvider", "credentialDefaultProvider", - AwsDependency.CREDENTIAL_PROVIDER_NODE) + .addDependency(AwsDependency.CREDENTIAL_PROVIDER_NODE_PEER) + .addRelativeImport("defaultProvider", "credentialDefaultProvider", + Paths.get(".", CodegenUtils.SOURCE_FOLDER, "credentialDefaultProvider")) .write("decorateDefaultCredentialProvider(credentialDefaultProvider)"); + + } else if (isCredentialService(service)) { + writer + .addDependency(AwsDependency.CREDENTIAL_PROVIDER_NODE_PEER) + .addRelativeImport("defaultProvider", "credentialDefaultProvider", + Paths.get(".", CodegenUtils.SOURCE_FOLDER, "credentialDefaultProvider")) + .write("credentialDefaultProvider"); } else { writer - .addDependency(AwsDependency.STS_CLIENT) .addDependency(AwsDependency.CREDENTIAL_PROVIDER_NODE) .addImport("defaultProvider", "credentialDefaultProvider", AwsDependency.CREDENTIAL_PROVIDER_NODE) @@ -241,6 +248,22 @@ public void customize(TypeScriptCodegenContext codegenContext) { writerFactory.accept(Paths.get(CodegenUtils.SOURCE_FOLDER, "index.ts").toString(), writer -> { writeAdditionalExports(settings, model, writer); }); + + if (isCredentialService(settings.getService(model))) { + writerFactory.accept(CodegenUtils.SOURCE_FOLDER + "/credentialDefaultProvider.ts", writer -> { + writer + .write(""" + /** + * @internal + */ + export const defaultProvider = (async (input: any) => { + // @ts-ignore + const nodeCredentials: any = await import("@aws-sdk/credential-provider-node"); + return nodeCredentials.defaultProvider(input); + }) as any; + """); + }); + } } private void writeAdditionalFiles( @@ -329,4 +352,14 @@ private static boolean areAllOptionalAuthOperations(Model model, ServiceShape se } return true; } + + /** + * Some services with circular dependencies to credential providers. + */ + private boolean isCredentialService(ServiceShape service) { + return List.of( + ShapeId.from("com.amazonaws.ssooidc#AWSSSOOIDCService"), + ShapeId.from("com.amazonaws.sts#AWSSecurityTokenServiceV20110615") + ).stream().anyMatch(service.getId()::equals); + } } diff --git a/codegen/smithy-aws-typescript-codegen/src/main/java/software/amazon/smithy/aws/typescript/codegen/AwsDependency.java b/codegen/smithy-aws-typescript-codegen/src/main/java/software/amazon/smithy/aws/typescript/codegen/AwsDependency.java index 211c31d95d338..5964e8f213f7a 100644 --- a/codegen/smithy-aws-typescript-codegen/src/main/java/software/amazon/smithy/aws/typescript/codegen/AwsDependency.java +++ b/codegen/smithy-aws-typescript-codegen/src/main/java/software/amazon/smithy/aws/typescript/codegen/AwsDependency.java @@ -17,6 +17,7 @@ import static software.amazon.smithy.typescript.codegen.TypeScriptDependency.DEV_DEPENDENCY; import static software.amazon.smithy.typescript.codegen.TypeScriptDependency.NORMAL_DEPENDENCY; +import static software.amazon.smithy.typescript.codegen.TypeScriptDependency.PEER_DEPENDENCY; import java.io.IOException; import java.io.StringReader; @@ -41,6 +42,7 @@ public enum AwsDependency implements Dependency { MIDDLEWARE_SIGNING(NORMAL_DEPENDENCY, "@aws-sdk/middleware-signing"), MIDDLEWARE_TOKEN(NORMAL_DEPENDENCY, "@aws-sdk/middleware-token"), CREDENTIAL_PROVIDER_NODE(NORMAL_DEPENDENCY, "@aws-sdk/credential-provider-node"), + CREDENTIAL_PROVIDER_NODE_PEER(PEER_DEPENDENCY, "@aws-sdk/credential-provider-node"), ACCEPT_HEADER(NORMAL_DEPENDENCY, "@aws-sdk/middleware-sdk-api-gateway"), S3_MIDDLEWARE(NORMAL_DEPENDENCY, "@aws-sdk/middleware-sdk-s3"), ADD_EXPECT_CONTINUE(NORMAL_DEPENDENCY, "@aws-sdk/middleware-expect-continue"), diff --git a/codegen/smithy-aws-typescript-codegen/src/main/java/software/amazon/smithy/aws/typescript/codegen/auth/http/integration/AddSTSAuthCustomizations.java b/codegen/smithy-aws-typescript-codegen/src/main/java/software/amazon/smithy/aws/typescript/codegen/auth/http/integration/AddSTSAuthCustomizations.java index 60b4cdc5a743e..66f05f7f09a80 100644 --- a/codegen/smithy-aws-typescript-codegen/src/main/java/software/amazon/smithy/aws/typescript/codegen/auth/http/integration/AddSTSAuthCustomizations.java +++ b/codegen/smithy-aws-typescript-codegen/src/main/java/software/amazon/smithy/aws/typescript/codegen/auth/http/integration/AddSTSAuthCustomizations.java @@ -112,9 +112,9 @@ public Map> getRuntimeConfigWriters( writer .addRelativeImport("decorateDefaultCredentialProvider", null, Paths.get(".", CodegenUtils.SOURCE_FOLDER, STS_ROLE_ASSUMERS_FILE)) - .addDependency(AwsDependency.CREDENTIAL_PROVIDER_NODE) - .addImport("defaultProvider", "credentialDefaultProvider", - AwsDependency.CREDENTIAL_PROVIDER_NODE) + .addRelativeImport("defaultProvider", "credentialDefaultProvider", + Paths.get(".", CodegenUtils.SOURCE_FOLDER, "credentialDefaultProvider")) + .addDependency(AwsDependency.CREDENTIAL_PROVIDER_NODE_PEER) .write("decorateDefaultCredentialProvider(credentialDefaultProvider)"); } ); @@ -222,9 +222,6 @@ public void customizeSupportedHttpAuthSchemes( .putDefaultIdentityProvider(LanguageTarget.NODE, w -> w .addRelativeImport("decorateDefaultCredentialProvider", null, Paths.get(".", CodegenUtils.SOURCE_FOLDER, STS_ROLE_ASSUMERS_FILE)) - .addDependency(AwsDependency.CREDENTIAL_PROVIDER_NODE) - .addImport("defaultProvider", "credentialDefaultProvider", - AwsDependency.CREDENTIAL_PROVIDER_NODE) .write(""" async (idProps) => await \ decorateDefaultCredentialProvider(credentialDefaultProvider)(idProps?.__config || {})()""")) diff --git a/codegen/smithy-aws-typescript-codegen/src/main/java/software/amazon/smithy/aws/typescript/codegen/auth/http/integration/AwsSdkCustomizeSigV4Auth.java b/codegen/smithy-aws-typescript-codegen/src/main/java/software/amazon/smithy/aws/typescript/codegen/auth/http/integration/AwsSdkCustomizeSigV4Auth.java index 46629ed9ed438..a03c251780e06 100644 --- a/codegen/smithy-aws-typescript-codegen/src/main/java/software/amazon/smithy/aws/typescript/codegen/auth/http/integration/AwsSdkCustomizeSigV4Auth.java +++ b/codegen/smithy-aws-typescript-codegen/src/main/java/software/amazon/smithy/aws/typescript/codegen/auth/http/integration/AwsSdkCustomizeSigV4Auth.java @@ -8,10 +8,12 @@ import static software.amazon.smithy.aws.typescript.codegen.AwsTraitsUtils.isAwsService; import static software.amazon.smithy.aws.typescript.codegen.AwsTraitsUtils.isSigV4Service; +import java.nio.file.Paths; import java.util.Collections; import java.util.List; import java.util.Map; import java.util.Set; +import java.util.function.BiConsumer; import java.util.function.Consumer; import software.amazon.smithy.aws.traits.auth.SigV4Trait; import software.amazon.smithy.aws.typescript.codegen.AwsDependency; @@ -21,8 +23,11 @@ import software.amazon.smithy.model.knowledge.TopDownIndex; import software.amazon.smithy.model.shapes.OperationShape; import software.amazon.smithy.model.shapes.ServiceShape; +import software.amazon.smithy.model.shapes.ShapeId; import software.amazon.smithy.model.traits.OptionalAuthTrait; +import software.amazon.smithy.typescript.codegen.CodegenUtils; import software.amazon.smithy.typescript.codegen.LanguageTarget; +import software.amazon.smithy.typescript.codegen.TypeScriptCodegenContext; import software.amazon.smithy.typescript.codegen.TypeScriptDependency; import software.amazon.smithy.typescript.codegen.TypeScriptSettings; import software.amazon.smithy.typescript.codegen.TypeScriptWriter; @@ -108,16 +113,27 @@ public Map> getRuntimeConfigWriters( } case NODE: if (isAwsService(service)) { - return MapUtils.of( - "credentialDefaultProvider", writer -> { - writer - .addDependency(AwsDependency.STS_CLIENT) - .addDependency(AwsDependency.CREDENTIAL_PROVIDER_NODE) - .addImport("defaultProvider", "credentialDefaultProvider", - AwsDependency.CREDENTIAL_PROVIDER_NODE) - .write("credentialDefaultProvider"); - } - ); + if (isCredentialService(service)) { + return MapUtils.of( + "credentialDefaultProvider", writer -> { + writer + .addDependency(AwsDependency.CREDENTIAL_PROVIDER_NODE_PEER) + .addRelativeImport("defaultProvider", "credentialDefaultProvider", + Paths.get(".", CodegenUtils.SOURCE_FOLDER, "credentialDefaultProvider")) + .write("credentialDefaultProvider"); + } + ); + } else { + return MapUtils.of( + "credentialDefaultProvider", writer -> { + writer + .addDependency(AwsDependency.CREDENTIAL_PROVIDER_NODE) + .addImport("defaultProvider", "credentialDefaultProvider", + AwsDependency.CREDENTIAL_PROVIDER_NODE) + .write("credentialDefaultProvider"); + } + ); + } } default: return Collections.emptyMap(); @@ -181,6 +197,31 @@ public void customizeSupportedHttpAuthSchemes( } } + @Override + public void customize(TypeScriptCodegenContext codegenContext) { + TypeScriptSettings settings = codegenContext.settings(); + Model model = codegenContext.model(); + + if (isCredentialService(settings.getService(model))) { + BiConsumer> writerFactory = + codegenContext.writerDelegator()::useFileWriter; + + writerFactory.accept(CodegenUtils.SOURCE_FOLDER + "/credentialDefaultProvider.ts", writer -> { + writer + .write(""" + /** + * @internal + */ + export const defaultProvider = (async (input: any) => { + // @ts-ignore + const nodeCredentials: any = await import("@aws-sdk/credential-provider-node"); + return nodeCredentials.defaultProvider(input); + }) as any; + """); + }); + } + } + private boolean areAllOptionalAuthOperations(Model model, ServiceShape service) { TopDownIndex topDownIndex = TopDownIndex.of(model); Set operations = topDownIndex.getContainedOperations(service); @@ -191,4 +232,14 @@ private boolean areAllOptionalAuthOperations(Model model, ServiceShape service) } return true; } + + /** + * Some services with circular dependencies to credential providers. + */ + private boolean isCredentialService(ServiceShape service) { + return List.of( + ShapeId.from("com.amazonaws.ssooidc#AWSSSOOIDCService"), + ShapeId.from("com.amazonaws.sts#AWSSecurityTokenServiceV20110615") + ).stream().anyMatch(service.getId()::equals); + } } diff --git a/packages/credential-provider-ini/src/fromIni.ts b/packages/credential-provider-ini/src/fromIni.ts index da9c71601dbdd..52cc0b8ca80ed 100644 --- a/packages/credential-provider-ini/src/fromIni.ts +++ b/packages/credential-provider-ini/src/fromIni.ts @@ -1,4 +1,5 @@ import { AssumeRoleWithWebIdentityParams } from "@aws-sdk/credential-provider-web-identity"; +import type { CredentialProviderOptions } from "@aws-sdk/types"; import { getProfileName, parseKnownFiles, SourceProfileInit } from "@smithy/shared-ini-file-loader"; import type { AwsCredentialIdentity, AwsCredentialIdentityProvider, Pluggable } from "@smithy/types"; @@ -9,7 +10,7 @@ import { resolveProfileData } from "./resolveProfileData"; /** * @public */ -export interface FromIniInit extends SourceProfileInit { +export interface FromIniInit extends SourceProfileInit, CredentialProviderOptions { /** * A function that returns a promise fulfilled with an MFA token code for * the provided MFA Serial code. If a profile requires an MFA code and @@ -51,6 +52,7 @@ export interface FromIniInit extends SourceProfileInit { export const fromIni = (init: FromIniInit = {}): AwsCredentialIdentityProvider => async () => { + init.logger?.debug("@aws-sdk/credential-provider-ini", "fromIni"); const profiles = await parseKnownFiles(init); return resolveProfileData(getProfileName(init), profiles, init); }; diff --git a/packages/credential-provider-process/src/fromProcess.ts b/packages/credential-provider-process/src/fromProcess.ts index 8312a8a01ba4a..719a2958c6388 100644 --- a/packages/credential-provider-process/src/fromProcess.ts +++ b/packages/credential-provider-process/src/fromProcess.ts @@ -1,3 +1,4 @@ +import type { CredentialProviderOptions } from "@aws-sdk/types"; import { getProfileName, parseKnownFiles, SourceProfileInit } from "@smithy/shared-ini-file-loader"; import { AwsCredentialIdentityProvider } from "@smithy/types"; @@ -6,7 +7,7 @@ import { resolveProcessCredentials } from "./resolveProcessCredentials"; /** * @internal */ -export interface FromProcessInit extends SourceProfileInit {} +export interface FromProcessInit extends SourceProfileInit, CredentialProviderOptions {} /** * @internal @@ -17,6 +18,7 @@ export interface FromProcessInit extends SourceProfileInit {} export const fromProcess = (init: FromProcessInit = {}): AwsCredentialIdentityProvider => async () => { + init.logger?.debug("@aws-sdk/credential-provider-process", "fromProcess"); const profiles = await parseKnownFiles(init); return resolveProcessCredentials(getProfileName(init), profiles); }; diff --git a/packages/credential-provider-sso/src/fromSSO.ts b/packages/credential-provider-sso/src/fromSSO.ts index fae82cf5139cb..b39e05211b708 100644 --- a/packages/credential-provider-sso/src/fromSSO.ts +++ b/packages/credential-provider-sso/src/fromSSO.ts @@ -1,3 +1,4 @@ +import type { CredentialProviderOptions } from "@aws-sdk/types"; import { CredentialsProviderError } from "@smithy/property-provider"; import { getProfileName, loadSsoSessionData, parseKnownFiles, SourceProfileInit } from "@smithy/shared-ini-file-loader"; import { AwsCredentialIdentityProvider } from "@smithy/types"; @@ -41,7 +42,7 @@ export interface SsoCredentialsParameters { /** * @internal */ -export interface FromSSOInit extends SourceProfileInit { +export interface FromSSOInit extends SourceProfileInit, CredentialProviderOptions { ssoClient?: SSOClient; clientConfig?: SSOClientConfig; } @@ -80,6 +81,7 @@ export interface FromSSOInit extends SourceProfileInit { export const fromSSO = (init: FromSSOInit & Partial = {}): AwsCredentialIdentityProvider => async () => { + init.logger?.debug("@aws-sdk/credential-provider-sso", "fromSSO"); const { ssoStartUrl, ssoAccountId, ssoRegion, ssoRoleName, ssoSession } = init; let { ssoClient } = init; if (!ssoClient) { diff --git a/packages/credential-provider-web-identity/src/fromTokenFile.ts b/packages/credential-provider-web-identity/src/fromTokenFile.ts index 8df1ea7f3c3d0..2b73cc9d0e044 100644 --- a/packages/credential-provider-web-identity/src/fromTokenFile.ts +++ b/packages/credential-provider-web-identity/src/fromTokenFile.ts @@ -1,5 +1,6 @@ +import { CredentialProviderOptions } from "@aws-sdk/types"; import { CredentialsProviderError } from "@smithy/property-provider"; -import { AwsCredentialIdentityProvider } from "@smithy/types"; +import type { AwsCredentialIdentityProvider } from "@smithy/types"; import { readFileSync } from "fs"; import { fromWebToken, FromWebTokenInit } from "./fromWebToken"; @@ -11,7 +12,9 @@ const ENV_ROLE_SESSION_NAME = "AWS_ROLE_SESSION_NAME"; /** * @public */ -export interface FromTokenFileInit extends Partial> { +export interface FromTokenFileInit + extends Partial>, + CredentialProviderOptions { /** * File location of where the `OIDC` token is stored. */ @@ -26,6 +29,7 @@ export interface FromTokenFileInit extends Partial async () => { + init.logger?.debug("@aws-sdk/credential-provider-web-identity", "fromTokenFile"); const webIdentityTokenFile = init?.webIdentityTokenFile ?? process.env[ENV_TOKEN_FILE]; const roleArn = init?.roleArn ?? process.env[ENV_ROLE_ARN]; const roleSessionName = init?.roleSessionName ?? process.env[ENV_ROLE_SESSION_NAME]; diff --git a/packages/credential-provider-web-identity/src/fromWebToken.ts b/packages/credential-provider-web-identity/src/fromWebToken.ts index 8b47528000a4f..92d745c750e43 100644 --- a/packages/credential-provider-web-identity/src/fromWebToken.ts +++ b/packages/credential-provider-web-identity/src/fromWebToken.ts @@ -1,3 +1,4 @@ +import type { CredentialProviderOptions } from "@aws-sdk/types"; import type { AwsCredentialIdentity, AwsCredentialIdentityProvider, Pluggable } from "@smithy/types"; import type { STSClientConfig } from "./loadSts"; @@ -120,7 +121,9 @@ type LowerCaseKey = { [K in keyof T as `${Uncapitalize}`]: T[K] } /** * @public */ -export interface FromWebTokenInit extends Omit, "roleSessionName"> { +export interface FromWebTokenInit + extends Omit, "roleSessionName">, + CredentialProviderOptions { /** * The IAM session name used to distinguish sessions. */ @@ -151,6 +154,7 @@ export interface FromWebTokenInit extends Omit async () => { + init.logger?.debug("@aws-sdk/credential-provider-web-identity", "fromWebToken"); const { roleArn, roleSessionName, webIdentityToken, providerId, policyArns, policy, durationSeconds } = init; let { roleAssumerWithWebIdentity } = init; diff --git a/packages/token-providers/src/bundle/client-sso-oidc-node.ts b/packages/token-providers/src/bundle/client-sso-oidc-node.ts deleted file mode 100644 index 24bce9d0ccbd2..0000000000000 --- a/packages/token-providers/src/bundle/client-sso-oidc-node.ts +++ /dev/null @@ -1,1204 +0,0 @@ -// @ts-nocheck -/* eslint-disable */ -// ../../clients/client-sso-oidc/src/SSOOIDCClient.ts -import { getHostHeaderPlugin, resolveHostHeaderConfig } from "@aws-sdk/middleware-host-header"; -import { getLoggerPlugin } from "@aws-sdk/middleware-logger"; -import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection"; -import { getUserAgentPlugin, resolveUserAgentConfig } from "@aws-sdk/middleware-user-agent"; -import { resolveRegionConfig } from "@smithy/config-resolver"; -import { getContentLengthPlugin } from "@smithy/middleware-content-length"; -import { resolveEndpointConfig } from "@smithy/middleware-endpoint"; -import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry"; -import { Client as __Client } from "@smithy/smithy-client"; - -// ../../clients/client-sso-oidc/src/endpoint/EndpointParameters.ts -var resolveClientEndpointParameters = (options) => { - return { - ...options, - useDualstackEndpoint: options.useDualstackEndpoint ?? false, - useFipsEndpoint: options.useFipsEndpoint ?? false, - defaultSigningName: "awsssooidc", - }; -}; - -// ../../clients/client-sso-oidc/package.json -var package_default = { version: "3.429.0" }; - -// ../../clients/client-sso-oidc/src/runtimeConfig.ts -import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; -import { - NODE_REGION_CONFIG_FILE_OPTIONS, - NODE_REGION_CONFIG_OPTIONS, - NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, - NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, -} from "@smithy/config-resolver"; -import { Hash } from "@smithy/hash-node"; -import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry"; -import { loadConfig as loadNodeConfig } from "@smithy/node-config-provider"; -import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler"; -import { calculateBodyLength } from "@smithy/util-body-length-node"; -import { DEFAULT_RETRY_MODE } from "@smithy/util-retry"; - -// ../../clients/client-sso-oidc/src/runtimeConfig.shared.ts -import { NoOpLogger } from "@smithy/smithy-client"; -import { parseUrl } from "@smithy/url-parser"; -import { fromBase64, toBase64 } from "@smithy/util-base64"; -import { fromUtf8, toUtf8 } from "@smithy/util-utf8"; - -// ../../clients/client-sso-oidc/src/endpoint/endpointResolver.ts -import { resolveEndpoint } from "@smithy/util-endpoints"; - -// ../../clients/client-sso-oidc/src/endpoint/ruleset.ts -var s = "required"; -var t = "fn"; -var u = "argv"; -var v = "ref"; -var a = "isSet"; -var b = "tree"; -var c = "error"; -var d = "endpoint"; -var e = "PartitionResult"; -var f = "getAttr"; -var g = { [s]: false, type: "String" }; -var h = { [s]: true, default: false, type: "Boolean" }; -var i = { [v]: "Endpoint" }; -var j = { [t]: "booleanEquals", [u]: [{ [v]: "UseFIPS" }, true] }; -var k = { [t]: "booleanEquals", [u]: [{ [v]: "UseDualStack" }, true] }; -var l = {}; -var m = { [t]: "booleanEquals", [u]: [true, { [t]: f, [u]: [{ [v]: e }, "supportsFIPS"] }] }; -var n = { [v]: e }; -var o = { [t]: "booleanEquals", [u]: [true, { [t]: f, [u]: [n, "supportsDualStack"] }] }; -var p = [j]; -var q = [k]; -var r = [{ [v]: "Region" }]; -var _data = { - version: "1.0", - parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, - rules: [ - { - conditions: [{ [t]: a, [u]: [i] }], - type: b, - rules: [ - { conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, - { conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, - { endpoint: { url: i, properties: l, headers: l }, type: d }, - ], - }, - { - conditions: [{ [t]: a, [u]: r }], - type: b, - rules: [ - { - conditions: [{ [t]: "aws.partition", [u]: r, assign: e }], - type: b, - rules: [ - { - conditions: [j, k], - type: b, - rules: [ - { - conditions: [m, o], - type: b, - rules: [ - { - endpoint: { - url: "https://oidc-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - properties: l, - headers: l, - }, - type: d, - }, - ], - }, - { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }, - ], - }, - { - conditions: p, - type: b, - rules: [ - { - conditions: [m], - type: b, - rules: [ - { - conditions: [{ [t]: "stringEquals", [u]: ["aws-us-gov", { [t]: f, [u]: [n, "name"] }] }], - endpoint: { url: "https://oidc.{Region}.amazonaws.com", properties: l, headers: l }, - type: d, - }, - { - endpoint: { - url: "https://oidc-fips.{Region}.{PartitionResult#dnsSuffix}", - properties: l, - headers: l, - }, - type: d, - }, - ], - }, - { error: "FIPS is enabled but this partition does not support FIPS", type: c }, - ], - }, - { - conditions: q, - type: b, - rules: [ - { - conditions: [o], - type: b, - rules: [ - { - endpoint: { - url: "https://oidc.{Region}.{PartitionResult#dualStackDnsSuffix}", - properties: l, - headers: l, - }, - type: d, - }, - ], - }, - { error: "DualStack is enabled but this partition does not support DualStack", type: c }, - ], - }, - { - endpoint: { url: "https://oidc.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, - type: d, - }, - ], - }, - ], - }, - { error: "Invalid Configuration: Missing Region", type: c }, - ], -}; -var ruleSet = _data; - -// ../../clients/client-sso-oidc/src/endpoint/endpointResolver.ts -var defaultEndpointResolver = (endpointParams, context = {}) => { - return resolveEndpoint(ruleSet, { - endpointParams, - logger: context.logger, - }); -}; - -// ../../clients/client-sso-oidc/src/runtimeConfig.shared.ts -var getRuntimeConfig = (config) => ({ - apiVersion: "2019-06-10", - base64Decoder: config?.base64Decoder ?? fromBase64, - base64Encoder: config?.base64Encoder ?? toBase64, - disableHostPrefix: config?.disableHostPrefix ?? false, - endpointProvider: config?.endpointProvider ?? defaultEndpointResolver, - extensions: config?.extensions ?? [], - logger: config?.logger ?? new NoOpLogger(), - serviceId: config?.serviceId ?? "SSO OIDC", - urlParser: config?.urlParser ?? parseUrl, - utf8Decoder: config?.utf8Decoder ?? fromUtf8, - utf8Encoder: config?.utf8Encoder ?? toUtf8, -}); - -// ../../clients/client-sso-oidc/src/runtimeConfig.ts -import { loadConfigsForDefaultMode } from "@smithy/smithy-client"; -import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node"; -import { emitWarningIfUnsupportedVersion } from "@smithy/smithy-client"; -var getRuntimeConfig2 = (config) => { - emitWarningIfUnsupportedVersion(process.version); - const defaultsMode = resolveDefaultsModeConfig(config); - const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode); - const clientSharedValues = getRuntimeConfig(config); - return { - ...clientSharedValues, - ...config, - runtime: "node", - defaultsMode, - bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - defaultUserAgentProvider: - config?.defaultUserAgentProvider ?? - defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_default.version }), - maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), - region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), - requestHandler: config?.requestHandler ?? new RequestHandler(defaultConfigProvider), - retryMode: - config?.retryMode ?? - loadNodeConfig({ - ...NODE_RETRY_MODE_CONFIG_OPTIONS, - default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE, - }), - sha256: config?.sha256 ?? Hash.bind(null, "sha256"), - streamCollector: config?.streamCollector ?? streamCollector, - useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), - useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), - }; -}; - -// ../../clients/client-sso-oidc/src/runtimeExtensions.ts -import { - getAwsRegionExtensionConfiguration, - resolveAwsRegionExtensionConfiguration, -} from "@aws-sdk/region-config-resolver"; -import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http"; -import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client"; -var asPartial = (t2) => t2; -var resolveRuntimeExtensions = (runtimeConfig, extensions) => { - const extensionConfiguration = { - ...asPartial(getAwsRegionExtensionConfiguration(runtimeConfig)), - ...asPartial(getDefaultExtensionConfiguration(runtimeConfig)), - ...asPartial(getHttpHandlerExtensionConfiguration(runtimeConfig)), - }; - extensions.forEach((extension) => extension.configure(extensionConfiguration)); - return { - ...runtimeConfig, - ...resolveAwsRegionExtensionConfiguration(extensionConfiguration), - ...resolveDefaultRuntimeConfig(extensionConfiguration), - ...resolveHttpHandlerRuntimeConfig(extensionConfiguration), - }; -}; - -// ../../clients/client-sso-oidc/src/SSOOIDCClient.ts -var SSOOIDCClient = class extends __Client { - constructor(...[configuration]) { - const _config_0 = getRuntimeConfig2(configuration || {}); - const _config_1 = resolveClientEndpointParameters(_config_0); - const _config_2 = resolveRegionConfig(_config_1); - const _config_3 = resolveEndpointConfig(_config_2); - const _config_4 = resolveRetryConfig(_config_3); - const _config_5 = resolveHostHeaderConfig(_config_4); - const _config_6 = resolveUserAgentConfig(_config_5); - const _config_7 = resolveRuntimeExtensions(_config_6, configuration?.extensions || []); - super(_config_7); - this.config = _config_7; - this.middlewareStack.use(getRetryPlugin(this.config)); - this.middlewareStack.use(getContentLengthPlugin(this.config)); - this.middlewareStack.use(getHostHeaderPlugin(this.config)); - this.middlewareStack.use(getLoggerPlugin(this.config)); - this.middlewareStack.use(getRecursionDetectionPlugin(this.config)); - this.middlewareStack.use(getUserAgentPlugin(this.config)); - } - /** - * Destroy underlying resources, like sockets. It's usually not necessary to do this. - * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed. - * Otherwise, sockets might stay open for quite a long time before the server terminates them. - */ - destroy() { - super.destroy(); - } -}; - -// ../../clients/client-sso-oidc/src/SSOOIDC.ts -import { createAggregatedClient } from "@smithy/smithy-client"; - -// ../../clients/client-sso-oidc/src/commands/CreateTokenCommand.ts -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer, SMITHY_CONTEXT_KEY } from "@smithy/types"; - -// ../../clients/client-sso-oidc/src/protocols/Aws_restJson1.ts -import { HttpRequest as __HttpRequest } from "@smithy/protocol-http"; -import { - _json, - collectBody, - decorateServiceException as __decorateServiceException, - expectInt32 as __expectInt32, - expectLong as __expectLong, - expectNonNull as __expectNonNull, - expectObject as __expectObject, - expectString as __expectString, - map, - take, - withBaseException, -} from "@smithy/smithy-client"; - -// ../../clients/client-sso-oidc/src/models/SSOOIDCServiceException.ts -import { - ServiceException as __ServiceException, - ServiceExceptionOptions as __ServiceExceptionOptions, -} from "@smithy/smithy-client"; -var SSOOIDCServiceException = class _SSOOIDCServiceException extends __ServiceException { - /** - * @internal - */ - constructor(options) { - super(options); - Object.setPrototypeOf(this, _SSOOIDCServiceException.prototype); - } -}; - -// ../../clients/client-sso-oidc/src/models/models_0.ts -var AccessDeniedException = class _AccessDeniedException extends SSOOIDCServiceException { - /** - * @internal - */ - constructor(opts) { - super({ - name: "AccessDeniedException", - $fault: "client", - ...opts, - }); - this.name = "AccessDeniedException"; - this.$fault = "client"; - Object.setPrototypeOf(this, _AccessDeniedException.prototype); - this.error = opts.error; - this.error_description = opts.error_description; - } -}; -var AuthorizationPendingException = class _AuthorizationPendingException extends SSOOIDCServiceException { - /** - * @internal - */ - constructor(opts) { - super({ - name: "AuthorizationPendingException", - $fault: "client", - ...opts, - }); - this.name = "AuthorizationPendingException"; - this.$fault = "client"; - Object.setPrototypeOf(this, _AuthorizationPendingException.prototype); - this.error = opts.error; - this.error_description = opts.error_description; - } -}; -var ExpiredTokenException = class _ExpiredTokenException extends SSOOIDCServiceException { - /** - * @internal - */ - constructor(opts) { - super({ - name: "ExpiredTokenException", - $fault: "client", - ...opts, - }); - this.name = "ExpiredTokenException"; - this.$fault = "client"; - Object.setPrototypeOf(this, _ExpiredTokenException.prototype); - this.error = opts.error; - this.error_description = opts.error_description; - } -}; -var InternalServerException = class _InternalServerException extends SSOOIDCServiceException { - /** - * @internal - */ - constructor(opts) { - super({ - name: "InternalServerException", - $fault: "server", - ...opts, - }); - this.name = "InternalServerException"; - this.$fault = "server"; - Object.setPrototypeOf(this, _InternalServerException.prototype); - this.error = opts.error; - this.error_description = opts.error_description; - } -}; -var InvalidClientException = class _InvalidClientException extends SSOOIDCServiceException { - /** - * @internal - */ - constructor(opts) { - super({ - name: "InvalidClientException", - $fault: "client", - ...opts, - }); - this.name = "InvalidClientException"; - this.$fault = "client"; - Object.setPrototypeOf(this, _InvalidClientException.prototype); - this.error = opts.error; - this.error_description = opts.error_description; - } -}; -var InvalidGrantException = class _InvalidGrantException extends SSOOIDCServiceException { - /** - * @internal - */ - constructor(opts) { - super({ - name: "InvalidGrantException", - $fault: "client", - ...opts, - }); - this.name = "InvalidGrantException"; - this.$fault = "client"; - Object.setPrototypeOf(this, _InvalidGrantException.prototype); - this.error = opts.error; - this.error_description = opts.error_description; - } -}; -var InvalidRequestException = class _InvalidRequestException extends SSOOIDCServiceException { - /** - * @internal - */ - constructor(opts) { - super({ - name: "InvalidRequestException", - $fault: "client", - ...opts, - }); - this.name = "InvalidRequestException"; - this.$fault = "client"; - Object.setPrototypeOf(this, _InvalidRequestException.prototype); - this.error = opts.error; - this.error_description = opts.error_description; - } -}; -var InvalidScopeException = class _InvalidScopeException extends SSOOIDCServiceException { - /** - * @internal - */ - constructor(opts) { - super({ - name: "InvalidScopeException", - $fault: "client", - ...opts, - }); - this.name = "InvalidScopeException"; - this.$fault = "client"; - Object.setPrototypeOf(this, _InvalidScopeException.prototype); - this.error = opts.error; - this.error_description = opts.error_description; - } -}; -var SlowDownException = class _SlowDownException extends SSOOIDCServiceException { - /** - * @internal - */ - constructor(opts) { - super({ - name: "SlowDownException", - $fault: "client", - ...opts, - }); - this.name = "SlowDownException"; - this.$fault = "client"; - Object.setPrototypeOf(this, _SlowDownException.prototype); - this.error = opts.error; - this.error_description = opts.error_description; - } -}; -var UnauthorizedClientException = class _UnauthorizedClientException extends SSOOIDCServiceException { - /** - * @internal - */ - constructor(opts) { - super({ - name: "UnauthorizedClientException", - $fault: "client", - ...opts, - }); - this.name = "UnauthorizedClientException"; - this.$fault = "client"; - Object.setPrototypeOf(this, _UnauthorizedClientException.prototype); - this.error = opts.error; - this.error_description = opts.error_description; - } -}; -var UnsupportedGrantTypeException = class _UnsupportedGrantTypeException extends SSOOIDCServiceException { - /** - * @internal - */ - constructor(opts) { - super({ - name: "UnsupportedGrantTypeException", - $fault: "client", - ...opts, - }); - this.name = "UnsupportedGrantTypeException"; - this.$fault = "client"; - Object.setPrototypeOf(this, _UnsupportedGrantTypeException.prototype); - this.error = opts.error; - this.error_description = opts.error_description; - } -}; -var InvalidClientMetadataException = class _InvalidClientMetadataException extends SSOOIDCServiceException { - /** - * @internal - */ - constructor(opts) { - super({ - name: "InvalidClientMetadataException", - $fault: "client", - ...opts, - }); - this.name = "InvalidClientMetadataException"; - this.$fault = "client"; - Object.setPrototypeOf(this, _InvalidClientMetadataException.prototype); - this.error = opts.error; - this.error_description = opts.error_description; - } -}; - -// ../../clients/client-sso-oidc/src/protocols/Aws_restJson1.ts -var se_CreateTokenCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = { - "content-type": "application/json", - }; - const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}/token`; - let body; - body = JSON.stringify( - take(input, { - clientId: [], - clientSecret: [], - code: [], - deviceCode: [], - grantType: [], - redirectUri: [], - refreshToken: [], - scope: (_) => _json(_), - }) - ); - return new __HttpRequest({ - protocol, - hostname, - port, - method: "POST", - headers, - path: resolvedPath, - body, - }); -}; -var se_RegisterClientCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = { - "content-type": "application/json", - }; - const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}/client/register`; - let body; - body = JSON.stringify( - take(input, { - clientName: [], - clientType: [], - scopes: (_) => _json(_), - }) - ); - return new __HttpRequest({ - protocol, - hostname, - port, - method: "POST", - headers, - path: resolvedPath, - body, - }); -}; -var se_StartDeviceAuthorizationCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = { - "content-type": "application/json", - }; - const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}/device_authorization`; - let body; - body = JSON.stringify( - take(input, { - clientId: [], - clientSecret: [], - startUrl: [], - }) - ); - return new __HttpRequest({ - protocol, - hostname, - port, - method: "POST", - headers, - path: resolvedPath, - body, - }); -}; -var de_CreateTokenCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_CreateTokenCommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - accessToken: __expectString, - expiresIn: __expectInt32, - idToken: __expectString, - refreshToken: __expectString, - tokenType: __expectString, - }); - Object.assign(contents, doc); - return contents; -}; -var de_CreateTokenCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "AccessDeniedException": - case "com.amazonaws.ssooidc#AccessDeniedException": - throw await de_AccessDeniedExceptionRes(parsedOutput, context); - case "AuthorizationPendingException": - case "com.amazonaws.ssooidc#AuthorizationPendingException": - throw await de_AuthorizationPendingExceptionRes(parsedOutput, context); - case "ExpiredTokenException": - case "com.amazonaws.ssooidc#ExpiredTokenException": - throw await de_ExpiredTokenExceptionRes(parsedOutput, context); - case "InternalServerException": - case "com.amazonaws.ssooidc#InternalServerException": - throw await de_InternalServerExceptionRes(parsedOutput, context); - case "InvalidClientException": - case "com.amazonaws.ssooidc#InvalidClientException": - throw await de_InvalidClientExceptionRes(parsedOutput, context); - case "InvalidGrantException": - case "com.amazonaws.ssooidc#InvalidGrantException": - throw await de_InvalidGrantExceptionRes(parsedOutput, context); - case "InvalidRequestException": - case "com.amazonaws.ssooidc#InvalidRequestException": - throw await de_InvalidRequestExceptionRes(parsedOutput, context); - case "InvalidScopeException": - case "com.amazonaws.ssooidc#InvalidScopeException": - throw await de_InvalidScopeExceptionRes(parsedOutput, context); - case "SlowDownException": - case "com.amazonaws.ssooidc#SlowDownException": - throw await de_SlowDownExceptionRes(parsedOutput, context); - case "UnauthorizedClientException": - case "com.amazonaws.ssooidc#UnauthorizedClientException": - throw await de_UnauthorizedClientExceptionRes(parsedOutput, context); - case "UnsupportedGrantTypeException": - case "com.amazonaws.ssooidc#UnsupportedGrantTypeException": - throw await de_UnsupportedGrantTypeExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -var de_RegisterClientCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_RegisterClientCommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - authorizationEndpoint: __expectString, - clientId: __expectString, - clientIdIssuedAt: __expectLong, - clientSecret: __expectString, - clientSecretExpiresAt: __expectLong, - tokenEndpoint: __expectString, - }); - Object.assign(contents, doc); - return contents; -}; -var de_RegisterClientCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InternalServerException": - case "com.amazonaws.ssooidc#InternalServerException": - throw await de_InternalServerExceptionRes(parsedOutput, context); - case "InvalidClientMetadataException": - case "com.amazonaws.ssooidc#InvalidClientMetadataException": - throw await de_InvalidClientMetadataExceptionRes(parsedOutput, context); - case "InvalidRequestException": - case "com.amazonaws.ssooidc#InvalidRequestException": - throw await de_InvalidRequestExceptionRes(parsedOutput, context); - case "InvalidScopeException": - case "com.amazonaws.ssooidc#InvalidScopeException": - throw await de_InvalidScopeExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -var de_StartDeviceAuthorizationCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_StartDeviceAuthorizationCommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - deviceCode: __expectString, - expiresIn: __expectInt32, - interval: __expectInt32, - userCode: __expectString, - verificationUri: __expectString, - verificationUriComplete: __expectString, - }); - Object.assign(contents, doc); - return contents; -}; -var de_StartDeviceAuthorizationCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InternalServerException": - case "com.amazonaws.ssooidc#InternalServerException": - throw await de_InternalServerExceptionRes(parsedOutput, context); - case "InvalidClientException": - case "com.amazonaws.ssooidc#InvalidClientException": - throw await de_InvalidClientExceptionRes(parsedOutput, context); - case "InvalidRequestException": - case "com.amazonaws.ssooidc#InvalidRequestException": - throw await de_InvalidRequestExceptionRes(parsedOutput, context); - case "SlowDownException": - case "com.amazonaws.ssooidc#SlowDownException": - throw await de_SlowDownExceptionRes(parsedOutput, context); - case "UnauthorizedClientException": - case "com.amazonaws.ssooidc#UnauthorizedClientException": - throw await de_UnauthorizedClientExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -var throwDefaultError = withBaseException(SSOOIDCServiceException); -var de_AccessDeniedExceptionRes = async (parsedOutput, context) => { - const contents = map({}); - const data = parsedOutput.body; - const doc = take(data, { - error: __expectString, - error_description: __expectString, - }); - Object.assign(contents, doc); - const exception = new AccessDeniedException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return __decorateServiceException(exception, parsedOutput.body); -}; -var de_AuthorizationPendingExceptionRes = async (parsedOutput, context) => { - const contents = map({}); - const data = parsedOutput.body; - const doc = take(data, { - error: __expectString, - error_description: __expectString, - }); - Object.assign(contents, doc); - const exception = new AuthorizationPendingException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return __decorateServiceException(exception, parsedOutput.body); -}; -var de_ExpiredTokenExceptionRes = async (parsedOutput, context) => { - const contents = map({}); - const data = parsedOutput.body; - const doc = take(data, { - error: __expectString, - error_description: __expectString, - }); - Object.assign(contents, doc); - const exception = new ExpiredTokenException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return __decorateServiceException(exception, parsedOutput.body); -}; -var de_InternalServerExceptionRes = async (parsedOutput, context) => { - const contents = map({}); - const data = parsedOutput.body; - const doc = take(data, { - error: __expectString, - error_description: __expectString, - }); - Object.assign(contents, doc); - const exception = new InternalServerException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return __decorateServiceException(exception, parsedOutput.body); -}; -var de_InvalidClientExceptionRes = async (parsedOutput, context) => { - const contents = map({}); - const data = parsedOutput.body; - const doc = take(data, { - error: __expectString, - error_description: __expectString, - }); - Object.assign(contents, doc); - const exception = new InvalidClientException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return __decorateServiceException(exception, parsedOutput.body); -}; -var de_InvalidClientMetadataExceptionRes = async (parsedOutput, context) => { - const contents = map({}); - const data = parsedOutput.body; - const doc = take(data, { - error: __expectString, - error_description: __expectString, - }); - Object.assign(contents, doc); - const exception = new InvalidClientMetadataException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return __decorateServiceException(exception, parsedOutput.body); -}; -var de_InvalidGrantExceptionRes = async (parsedOutput, context) => { - const contents = map({}); - const data = parsedOutput.body; - const doc = take(data, { - error: __expectString, - error_description: __expectString, - }); - Object.assign(contents, doc); - const exception = new InvalidGrantException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return __decorateServiceException(exception, parsedOutput.body); -}; -var de_InvalidRequestExceptionRes = async (parsedOutput, context) => { - const contents = map({}); - const data = parsedOutput.body; - const doc = take(data, { - error: __expectString, - error_description: __expectString, - }); - Object.assign(contents, doc); - const exception = new InvalidRequestException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return __decorateServiceException(exception, parsedOutput.body); -}; -var de_InvalidScopeExceptionRes = async (parsedOutput, context) => { - const contents = map({}); - const data = parsedOutput.body; - const doc = take(data, { - error: __expectString, - error_description: __expectString, - }); - Object.assign(contents, doc); - const exception = new InvalidScopeException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return __decorateServiceException(exception, parsedOutput.body); -}; -var de_SlowDownExceptionRes = async (parsedOutput, context) => { - const contents = map({}); - const data = parsedOutput.body; - const doc = take(data, { - error: __expectString, - error_description: __expectString, - }); - Object.assign(contents, doc); - const exception = new SlowDownException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return __decorateServiceException(exception, parsedOutput.body); -}; -var de_UnauthorizedClientExceptionRes = async (parsedOutput, context) => { - const contents = map({}); - const data = parsedOutput.body; - const doc = take(data, { - error: __expectString, - error_description: __expectString, - }); - Object.assign(contents, doc); - const exception = new UnauthorizedClientException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return __decorateServiceException(exception, parsedOutput.body); -}; -var de_UnsupportedGrantTypeExceptionRes = async (parsedOutput, context) => { - const contents = map({}); - const data = parsedOutput.body; - const doc = take(data, { - error: __expectString, - error_description: __expectString, - }); - Object.assign(contents, doc); - const exception = new UnsupportedGrantTypeException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return __decorateServiceException(exception, parsedOutput.body); -}; -var deserializeMetadata = (output) => ({ - httpStatusCode: output.statusCode, - requestId: - output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"], - extendedRequestId: output.headers["x-amz-id-2"], - cfId: output.headers["x-amz-cf-id"], -}); -var collectBodyString = (streamBody, context) => - collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -var parseBody = (streamBody, context) => - collectBodyString(streamBody, context).then((encoded) => { - if (encoded.length) { - return JSON.parse(encoded); - } - return {}; - }); -var parseErrorBody = async (errorBody, context) => { - const value = await parseBody(errorBody, context); - value.message = value.message ?? value.Message; - return value; -}; -var loadRestJsonErrorCode = (output, data) => { - const findKey = (object, key) => Object.keys(object).find((k2) => k2.toLowerCase() === key.toLowerCase()); - const sanitizeErrorCode = (rawValue) => { - let cleanValue = rawValue; - if (typeof cleanValue === "number") { - cleanValue = cleanValue.toString(); - } - if (cleanValue.indexOf(",") >= 0) { - cleanValue = cleanValue.split(",")[0]; - } - if (cleanValue.indexOf(":") >= 0) { - cleanValue = cleanValue.split(":")[0]; - } - if (cleanValue.indexOf("#") >= 0) { - cleanValue = cleanValue.split("#")[1]; - } - return cleanValue; - }; - const headerKey = findKey(output.headers, "x-amzn-errortype"); - if (headerKey !== void 0) { - return sanitizeErrorCode(output.headers[headerKey]); - } - if (data.code !== void 0) { - return sanitizeErrorCode(data.code); - } - if (data["__type"] !== void 0) { - return sanitizeErrorCode(data["__type"]); - } -}; - -// ../../clients/client-sso-oidc/src/commands/CreateTokenCommand.ts -class CreateTokenCommand extends $Command { - /** - * @public - */ - constructor(input) { - super(); - this.input = input; - } - // Start section: command_properties - // End section: command_properties - static getEndpointParameterInstructions() { - return { - UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, - Endpoint: { type: "builtInParams", name: "endpoint" }, - Region: { type: "builtInParams", name: "region" }, - UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, - }; - } - /** - * @internal - */ - resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getEndpointPlugin(configuration, CreateTokenCommand.getEndpointParameterInstructions())); - const stack = clientStack.concat(this.middlewareStack); - const { logger } = configuration; - const clientName = "SSOOIDCClient"; - const commandName = "CreateTokenCommand"; - const handlerExecutionContext = { - logger, - clientName, - commandName, - inputFilterSensitiveLog: (_) => _, - outputFilterSensitiveLog: (_) => _, - [SMITHY_CONTEXT_KEY]: { - service: "AWSSSOOIDCService", - operation: "CreateToken", - }, - }; - const { requestHandler } = configuration; - return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); - } - /** - * @internal - */ - serialize(input, context) { - return se_CreateTokenCommand(input, context); - } - /** - * @internal - */ - deserialize(output, context) { - return de_CreateTokenCommand(output, context); - } - // Start section: command_body_extra - // End section: command_body_extra -} - -// ../../clients/client-sso-oidc/src/commands/RegisterClientCommand.ts -import { getEndpointPlugin as getEndpointPlugin2 } from "@smithy/middleware-endpoint"; -import { getSerdePlugin as getSerdePlugin2 } from "@smithy/middleware-serde"; -import { Command as $Command2 } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer2, SMITHY_CONTEXT_KEY as SMITHY_CONTEXT_KEY2 } from "@smithy/types"; -class RegisterClientCommand extends $Command2 { - /** - * @public - */ - constructor(input) { - super(); - this.input = input; - } - // Start section: command_properties - // End section: command_properties - static getEndpointParameterInstructions() { - return { - UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, - Endpoint: { type: "builtInParams", name: "endpoint" }, - Region: { type: "builtInParams", name: "region" }, - UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, - }; - } - /** - * @internal - */ - resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use(getSerdePlugin2(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use( - getEndpointPlugin2(configuration, _RegisterClientCommand.getEndpointParameterInstructions()) - ); - const stack = clientStack.concat(this.middlewareStack); - const { logger } = configuration; - const clientName = "SSOOIDCClient"; - const commandName = "RegisterClientCommand"; - const handlerExecutionContext = { - logger, - clientName, - commandName, - inputFilterSensitiveLog: (_) => _, - outputFilterSensitiveLog: (_) => _, - [SMITHY_CONTEXT_KEY2]: { - service: "AWSSSOOIDCService", - operation: "RegisterClient", - }, - }; - const { requestHandler } = configuration; - return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); - } - /** - * @internal - */ - serialize(input, context) { - return se_RegisterClientCommand(input, context); - } - /** - * @internal - */ - deserialize(output, context) { - return de_RegisterClientCommand(output, context); - } - // Start section: command_body_extra - // End section: command_body_extra -} - -// ../../clients/client-sso-oidc/src/commands/StartDeviceAuthorizationCommand.ts -import { getEndpointPlugin as getEndpointPlugin3 } from "@smithy/middleware-endpoint"; -import { getSerdePlugin as getSerdePlugin3 } from "@smithy/middleware-serde"; -import { Command as $Command3 } from "@smithy/smithy-client"; -import { MetadataBearer as __MetadataBearer3, SMITHY_CONTEXT_KEY as SMITHY_CONTEXT_KEY3 } from "@smithy/types"; -class StartDeviceAuthorizationCommand extends $Command3 { - /** - * @public - */ - constructor(input) { - super(); - this.input = input; - } - // Start section: command_properties - // End section: command_properties - static getEndpointParameterInstructions() { - return { - UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, - Endpoint: { type: "builtInParams", name: "endpoint" }, - Region: { type: "builtInParams", name: "region" }, - UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, - }; - } - /** - * @internal - */ - resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use(getSerdePlugin3(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use( - getEndpointPlugin3(configuration, _StartDeviceAuthorizationCommand.getEndpointParameterInstructions()) - ); - const stack = clientStack.concat(this.middlewareStack); - const { logger } = configuration; - const clientName = "SSOOIDCClient"; - const commandName = "StartDeviceAuthorizationCommand"; - const handlerExecutionContext = { - logger, - clientName, - commandName, - inputFilterSensitiveLog: (_) => _, - outputFilterSensitiveLog: (_) => _, - [SMITHY_CONTEXT_KEY3]: { - service: "AWSSSOOIDCService", - operation: "StartDeviceAuthorization", - }, - }; - const { requestHandler } = configuration; - return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); - } - /** - * @internal - */ - serialize(input, context) { - return se_StartDeviceAuthorizationCommand(input, context); - } - /** - * @internal - */ - deserialize(output, context) { - return de_StartDeviceAuthorizationCommand(output, context); - } - // Start section: command_body_extra - // End section: command_body_extra -} - -// ../../clients/client-sso-oidc/src/SSOOIDC.ts -var commands = { - CreateTokenCommand, - RegisterClientCommand, - StartDeviceAuthorizationCommand, -}; -var SSOOIDC = class extends SSOOIDCClient {}; -createAggregatedClient(commands, SSOOIDC); -export { - AccessDeniedException, - AuthorizationPendingException, - CreateTokenCommand, - ExpiredTokenException, - InternalServerException, - InvalidClientException, - InvalidRequestException, - InvalidScopeException, - SSOOIDCClient, - SlowDownException, - UnauthorizedClientException, - UnsupportedGrantTypeException, -}; diff --git a/packages/token-providers/src/fromSso.ts b/packages/token-providers/src/fromSso.ts index 0674632b65632..91aada276a2fb 100644 --- a/packages/token-providers/src/fromSso.ts +++ b/packages/token-providers/src/fromSso.ts @@ -1,4 +1,4 @@ -import { TokenIdentity, TokenIdentityProvider } from "@aws-sdk/types"; +import { CredentialProviderOptions, TokenIdentity, TokenIdentityProvider } from "@aws-sdk/types"; import { TokenProviderError } from "@smithy/property-provider"; import { getProfileName, @@ -20,7 +20,7 @@ import { writeSSOTokenToFile } from "./writeSSOTokenToFile"; */ const lastRefreshAttemptTime = new Date(0); -export interface FromSsoInit extends SourceProfileInit {} +export interface FromSsoInit extends SourceProfileInit, CredentialProviderOptions {} /** * Creates a token provider that will read from SSO token cache or ssoOidc.createToken() call. @@ -28,6 +28,8 @@ export interface FromSsoInit extends SourceProfileInit {} export const fromSso = (init: FromSsoInit = {}): TokenIdentityProvider => async () => { + init.logger?.debug("@aws-sdk/token-providers", "fromSso"); + const profiles = await parseKnownFiles(init); const profileName = getProfileName(init); const profile = profiles[profileName]; diff --git a/packages/token-providers/src/fromStatic.ts b/packages/token-providers/src/fromStatic.ts index eebde53d5084a..58e738ca0c7f5 100644 --- a/packages/token-providers/src/fromStatic.ts +++ b/packages/token-providers/src/fromStatic.ts @@ -1,7 +1,7 @@ -import { TokenIdentity, TokenIdentityProvider } from "@aws-sdk/types"; +import { CredentialProviderOptions, TokenIdentity, TokenIdentityProvider } from "@aws-sdk/types"; import { TokenProviderError } from "@smithy/property-provider"; -export interface FromStaticInit { +export interface FromStaticInit extends CredentialProviderOptions { token?: TokenIdentity; } @@ -9,8 +9,9 @@ export interface FromStaticInit { * Creates a token provider that will read from static token. */ export const fromStatic = - ({ token }: FromStaticInit): TokenIdentityProvider => + ({ token, logger }: FromStaticInit): TokenIdentityProvider => async () => { + logger?.debug("@aws-sdk/token-providers", "fromStatic"); if (!token || !token.token) { throw new TokenProviderError(`Please pass a valid token to fromStatic`, false); } diff --git a/packages/types/src/credentials.ts b/packages/types/src/credentials.ts index e5b44d7e93d24..ad717b3989b25 100644 --- a/packages/types/src/credentials.ts +++ b/packages/types/src/credentials.ts @@ -1,3 +1,5 @@ +import { Logger } from "@smithy/types"; + import { AwsCredentialIdentity } from "./identity"; import { Provider } from "./util"; @@ -16,3 +18,12 @@ export interface Credentials extends AwsCredentialIdentity {} * @deprecated Use {@link AwsCredentialIdentityProvider} */ export type CredentialProvider = Provider; + +/** + * @public + * + * Common options for credential providers. + */ +export type CredentialProviderOptions = { + logger?: Logger; +}; diff --git a/private/aws-protocoltests-json/package.json b/private/aws-protocoltests-json/package.json index c39dcef66caf9..1327ec08490e5 100644 --- a/private/aws-protocoltests-json/package.json +++ b/private/aws-protocoltests-json/package.json @@ -19,7 +19,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/core": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", diff --git a/private/aws-protocoltests-json/src/runtimeConfig.ts b/private/aws-protocoltests-json/src/runtimeConfig.ts index 6381b44b2cd17..cdb1e8815afb0 100644 --- a/private/aws-protocoltests-json/src/runtimeConfig.ts +++ b/private/aws-protocoltests-json/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -43,8 +42,7 @@ export const getRuntimeConfig = (config: JsonProtocolClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), diff --git a/private/weather/package.json b/private/weather/package.json index a4e3c965f5fee..48bf8c1bbbd29 100644 --- a/private/weather/package.json +++ b/private/weather/package.json @@ -19,7 +19,6 @@ "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", - "@aws-sdk/client-sts": "*", "@aws-sdk/credential-provider-node": "*", "@aws-sdk/middleware-host-header": "*", "@aws-sdk/middleware-logger": "*", diff --git a/private/weather/src/runtimeConfig.ts b/private/weather/src/runtimeConfig.ts index 8ff8af5d33ee7..408360d2637ff 100644 --- a/private/weather/src/runtimeConfig.ts +++ b/private/weather/src/runtimeConfig.ts @@ -2,7 +2,6 @@ // @ts-ignore: package.json will be imported from dist folders import packageInfo from "../package.json"; // eslint-disable-line -import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts"; import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; import { Hash } from "@smithy/hash-node"; @@ -31,8 +30,7 @@ export const getRuntimeConfig = (config: WeatherClientConfig) => { runtime: "node", defaultsMode, bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength, - credentialDefaultProvider: - config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), + credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider, defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ clientVersion: packageInfo.version }), maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS),