From a004d1569e0b213259c50f72fddfd209fff0d7a3 Mon Sep 17 00:00:00 2001 From: AllanZhengYP Date: Thu, 22 Jul 2021 14:20:49 -0700 Subject: [PATCH] fix(clients): allow undefined configuration (#2617) --- clients/client-accessanalyzer/runtimeConfig.browser.ts | 2 +- clients/client-accessanalyzer/runtimeConfig.native.ts | 2 +- clients/client-accessanalyzer/runtimeConfig.shared.ts | 2 +- clients/client-accessanalyzer/runtimeConfig.ts | 2 +- clients/client-acm-pca/runtimeConfig.browser.ts | 2 +- clients/client-acm-pca/runtimeConfig.native.ts | 2 +- clients/client-acm-pca/runtimeConfig.shared.ts | 2 +- clients/client-acm-pca/runtimeConfig.ts | 2 +- clients/client-acm/runtimeConfig.browser.ts | 2 +- clients/client-acm/runtimeConfig.native.ts | 2 +- clients/client-acm/runtimeConfig.shared.ts | 2 +- clients/client-acm/runtimeConfig.ts | 2 +- clients/client-alexa-for-business/runtimeConfig.browser.ts | 2 +- clients/client-alexa-for-business/runtimeConfig.native.ts | 2 +- clients/client-alexa-for-business/runtimeConfig.shared.ts | 2 +- clients/client-alexa-for-business/runtimeConfig.ts | 2 +- clients/client-amp/runtimeConfig.browser.ts | 2 +- clients/client-amp/runtimeConfig.native.ts | 2 +- clients/client-amp/runtimeConfig.shared.ts | 2 +- clients/client-amp/runtimeConfig.ts | 2 +- clients/client-amplify/runtimeConfig.browser.ts | 2 +- clients/client-amplify/runtimeConfig.native.ts | 2 +- clients/client-amplify/runtimeConfig.shared.ts | 2 +- clients/client-amplify/runtimeConfig.ts | 2 +- clients/client-amplifybackend/runtimeConfig.browser.ts | 2 +- clients/client-amplifybackend/runtimeConfig.native.ts | 2 +- clients/client-amplifybackend/runtimeConfig.shared.ts | 2 +- clients/client-amplifybackend/runtimeConfig.ts | 2 +- clients/client-api-gateway/runtimeConfig.browser.ts | 2 +- clients/client-api-gateway/runtimeConfig.native.ts | 2 +- clients/client-api-gateway/runtimeConfig.shared.ts | 2 +- clients/client-api-gateway/runtimeConfig.ts | 2 +- clients/client-apigatewaymanagementapi/runtimeConfig.browser.ts | 2 +- clients/client-apigatewaymanagementapi/runtimeConfig.native.ts | 2 +- clients/client-apigatewaymanagementapi/runtimeConfig.shared.ts | 2 +- clients/client-apigatewaymanagementapi/runtimeConfig.ts | 2 +- clients/client-apigatewayv2/runtimeConfig.browser.ts | 2 +- clients/client-apigatewayv2/runtimeConfig.native.ts | 2 +- clients/client-apigatewayv2/runtimeConfig.shared.ts | 2 +- clients/client-apigatewayv2/runtimeConfig.ts | 2 +- clients/client-app-mesh/runtimeConfig.browser.ts | 2 +- clients/client-app-mesh/runtimeConfig.native.ts | 2 +- clients/client-app-mesh/runtimeConfig.shared.ts | 2 +- clients/client-app-mesh/runtimeConfig.ts | 2 +- clients/client-appconfig/runtimeConfig.browser.ts | 2 +- clients/client-appconfig/runtimeConfig.native.ts | 2 +- clients/client-appconfig/runtimeConfig.shared.ts | 2 +- clients/client-appconfig/runtimeConfig.ts | 2 +- clients/client-appflow/runtimeConfig.browser.ts | 2 +- clients/client-appflow/runtimeConfig.native.ts | 2 +- clients/client-appflow/runtimeConfig.shared.ts | 2 +- clients/client-appflow/runtimeConfig.ts | 2 +- clients/client-appintegrations/runtimeConfig.browser.ts | 2 +- clients/client-appintegrations/runtimeConfig.native.ts | 2 +- clients/client-appintegrations/runtimeConfig.shared.ts | 2 +- clients/client-appintegrations/runtimeConfig.ts | 2 +- .../client-application-auto-scaling/runtimeConfig.browser.ts | 2 +- clients/client-application-auto-scaling/runtimeConfig.native.ts | 2 +- clients/client-application-auto-scaling/runtimeConfig.shared.ts | 2 +- clients/client-application-auto-scaling/runtimeConfig.ts | 2 +- .../runtimeConfig.browser.ts | 2 +- .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 +- clients/client-application-discovery-service/runtimeConfig.ts | 2 +- clients/client-application-insights/runtimeConfig.browser.ts | 2 +- clients/client-application-insights/runtimeConfig.native.ts | 2 +- clients/client-application-insights/runtimeConfig.shared.ts | 2 +- clients/client-application-insights/runtimeConfig.ts | 2 +- clients/client-applicationcostprofiler/runtimeConfig.browser.ts | 2 +- clients/client-applicationcostprofiler/runtimeConfig.native.ts | 2 +- clients/client-applicationcostprofiler/runtimeConfig.shared.ts | 2 +- clients/client-applicationcostprofiler/runtimeConfig.ts | 2 +- clients/client-apprunner/runtimeConfig.browser.ts | 2 +- clients/client-apprunner/runtimeConfig.native.ts | 2 +- clients/client-apprunner/runtimeConfig.shared.ts | 2 +- clients/client-apprunner/runtimeConfig.ts | 2 +- clients/client-appstream/runtimeConfig.browser.ts | 2 +- clients/client-appstream/runtimeConfig.native.ts | 2 +- clients/client-appstream/runtimeConfig.shared.ts | 2 +- clients/client-appstream/runtimeConfig.ts | 2 +- clients/client-appsync/runtimeConfig.browser.ts | 2 +- clients/client-appsync/runtimeConfig.native.ts | 2 +- clients/client-appsync/runtimeConfig.shared.ts | 2 +- clients/client-appsync/runtimeConfig.ts | 2 +- clients/client-athena/runtimeConfig.browser.ts | 2 +- clients/client-athena/runtimeConfig.native.ts | 2 +- clients/client-athena/runtimeConfig.shared.ts | 2 +- clients/client-athena/runtimeConfig.ts | 2 +- clients/client-auditmanager/runtimeConfig.browser.ts | 2 +- clients/client-auditmanager/runtimeConfig.native.ts | 2 +- clients/client-auditmanager/runtimeConfig.shared.ts | 2 +- clients/client-auditmanager/runtimeConfig.ts | 2 +- clients/client-auto-scaling-plans/runtimeConfig.browser.ts | 2 +- clients/client-auto-scaling-plans/runtimeConfig.native.ts | 2 +- clients/client-auto-scaling-plans/runtimeConfig.shared.ts | 2 +- clients/client-auto-scaling-plans/runtimeConfig.ts | 2 +- clients/client-auto-scaling/runtimeConfig.browser.ts | 2 +- clients/client-auto-scaling/runtimeConfig.native.ts | 2 +- clients/client-auto-scaling/runtimeConfig.shared.ts | 2 +- clients/client-auto-scaling/runtimeConfig.ts | 2 +- clients/client-backup/runtimeConfig.browser.ts | 2 +- clients/client-backup/runtimeConfig.native.ts | 2 +- clients/client-backup/runtimeConfig.shared.ts | 2 +- clients/client-backup/runtimeConfig.ts | 2 +- clients/client-batch/runtimeConfig.browser.ts | 2 +- clients/client-batch/runtimeConfig.native.ts | 2 +- clients/client-batch/runtimeConfig.shared.ts | 2 +- clients/client-batch/runtimeConfig.ts | 2 +- clients/client-braket/runtimeConfig.browser.ts | 2 +- clients/client-braket/runtimeConfig.native.ts | 2 +- clients/client-braket/runtimeConfig.shared.ts | 2 +- clients/client-braket/runtimeConfig.ts | 2 +- clients/client-budgets/runtimeConfig.browser.ts | 2 +- clients/client-budgets/runtimeConfig.native.ts | 2 +- clients/client-budgets/runtimeConfig.shared.ts | 2 +- clients/client-budgets/runtimeConfig.ts | 2 +- clients/client-chime/runtimeConfig.browser.ts | 2 +- clients/client-chime/runtimeConfig.native.ts | 2 +- clients/client-chime/runtimeConfig.shared.ts | 2 +- clients/client-chime/runtimeConfig.ts | 2 +- clients/client-cloud9/runtimeConfig.browser.ts | 2 +- clients/client-cloud9/runtimeConfig.native.ts | 2 +- clients/client-cloud9/runtimeConfig.shared.ts | 2 +- clients/client-cloud9/runtimeConfig.ts | 2 +- clients/client-clouddirectory/runtimeConfig.browser.ts | 2 +- clients/client-clouddirectory/runtimeConfig.native.ts | 2 +- clients/client-clouddirectory/runtimeConfig.shared.ts | 2 +- clients/client-clouddirectory/runtimeConfig.ts | 2 +- clients/client-cloudformation/runtimeConfig.browser.ts | 2 +- clients/client-cloudformation/runtimeConfig.native.ts | 2 +- clients/client-cloudformation/runtimeConfig.shared.ts | 2 +- clients/client-cloudformation/runtimeConfig.ts | 2 +- clients/client-cloudfront/runtimeConfig.browser.ts | 2 +- clients/client-cloudfront/runtimeConfig.native.ts | 2 +- clients/client-cloudfront/runtimeConfig.shared.ts | 2 +- clients/client-cloudfront/runtimeConfig.ts | 2 +- clients/client-cloudhsm-v2/runtimeConfig.browser.ts | 2 +- clients/client-cloudhsm-v2/runtimeConfig.native.ts | 2 +- clients/client-cloudhsm-v2/runtimeConfig.shared.ts | 2 +- clients/client-cloudhsm-v2/runtimeConfig.ts | 2 +- clients/client-cloudhsm/runtimeConfig.browser.ts | 2 +- clients/client-cloudhsm/runtimeConfig.native.ts | 2 +- clients/client-cloudhsm/runtimeConfig.shared.ts | 2 +- clients/client-cloudhsm/runtimeConfig.ts | 2 +- clients/client-cloudsearch-domain/runtimeConfig.browser.ts | 2 +- clients/client-cloudsearch-domain/runtimeConfig.native.ts | 2 +- clients/client-cloudsearch-domain/runtimeConfig.shared.ts | 2 +- clients/client-cloudsearch-domain/runtimeConfig.ts | 2 +- clients/client-cloudsearch/runtimeConfig.browser.ts | 2 +- clients/client-cloudsearch/runtimeConfig.native.ts | 2 +- clients/client-cloudsearch/runtimeConfig.shared.ts | 2 +- clients/client-cloudsearch/runtimeConfig.ts | 2 +- clients/client-cloudtrail/runtimeConfig.browser.ts | 2 +- clients/client-cloudtrail/runtimeConfig.native.ts | 2 +- clients/client-cloudtrail/runtimeConfig.shared.ts | 2 +- clients/client-cloudtrail/runtimeConfig.ts | 2 +- clients/client-cloudwatch-events/runtimeConfig.browser.ts | 2 +- clients/client-cloudwatch-events/runtimeConfig.native.ts | 2 +- clients/client-cloudwatch-events/runtimeConfig.shared.ts | 2 +- clients/client-cloudwatch-events/runtimeConfig.ts | 2 +- clients/client-cloudwatch-logs/runtimeConfig.browser.ts | 2 +- clients/client-cloudwatch-logs/runtimeConfig.native.ts | 2 +- clients/client-cloudwatch-logs/runtimeConfig.shared.ts | 2 +- clients/client-cloudwatch-logs/runtimeConfig.ts | 2 +- clients/client-cloudwatch/runtimeConfig.browser.ts | 2 +- clients/client-cloudwatch/runtimeConfig.native.ts | 2 +- clients/client-cloudwatch/runtimeConfig.shared.ts | 2 +- clients/client-cloudwatch/runtimeConfig.ts | 2 +- clients/client-codeartifact/runtimeConfig.browser.ts | 2 +- clients/client-codeartifact/runtimeConfig.native.ts | 2 +- clients/client-codeartifact/runtimeConfig.shared.ts | 2 +- clients/client-codeartifact/runtimeConfig.ts | 2 +- clients/client-codebuild/runtimeConfig.browser.ts | 2 +- clients/client-codebuild/runtimeConfig.native.ts | 2 +- clients/client-codebuild/runtimeConfig.shared.ts | 2 +- clients/client-codebuild/runtimeConfig.ts | 2 +- clients/client-codecommit/runtimeConfig.browser.ts | 2 +- clients/client-codecommit/runtimeConfig.native.ts | 2 +- clients/client-codecommit/runtimeConfig.shared.ts | 2 +- clients/client-codecommit/runtimeConfig.ts | 2 +- clients/client-codedeploy/runtimeConfig.browser.ts | 2 +- clients/client-codedeploy/runtimeConfig.native.ts | 2 +- clients/client-codedeploy/runtimeConfig.shared.ts | 2 +- clients/client-codedeploy/runtimeConfig.ts | 2 +- clients/client-codeguru-reviewer/runtimeConfig.browser.ts | 2 +- clients/client-codeguru-reviewer/runtimeConfig.native.ts | 2 +- clients/client-codeguru-reviewer/runtimeConfig.shared.ts | 2 +- clients/client-codeguru-reviewer/runtimeConfig.ts | 2 +- clients/client-codeguruprofiler/runtimeConfig.browser.ts | 2 +- clients/client-codeguruprofiler/runtimeConfig.native.ts | 2 +- clients/client-codeguruprofiler/runtimeConfig.shared.ts | 2 +- clients/client-codeguruprofiler/runtimeConfig.ts | 2 +- clients/client-codepipeline/runtimeConfig.browser.ts | 2 +- clients/client-codepipeline/runtimeConfig.native.ts | 2 +- clients/client-codepipeline/runtimeConfig.shared.ts | 2 +- clients/client-codepipeline/runtimeConfig.ts | 2 +- clients/client-codestar-connections/runtimeConfig.browser.ts | 2 +- clients/client-codestar-connections/runtimeConfig.native.ts | 2 +- clients/client-codestar-connections/runtimeConfig.shared.ts | 2 +- clients/client-codestar-connections/runtimeConfig.ts | 2 +- clients/client-codestar-notifications/runtimeConfig.browser.ts | 2 +- clients/client-codestar-notifications/runtimeConfig.native.ts | 2 +- clients/client-codestar-notifications/runtimeConfig.shared.ts | 2 +- clients/client-codestar-notifications/runtimeConfig.ts | 2 +- clients/client-codestar/runtimeConfig.browser.ts | 2 +- clients/client-codestar/runtimeConfig.native.ts | 2 +- clients/client-codestar/runtimeConfig.shared.ts | 2 +- clients/client-codestar/runtimeConfig.ts | 2 +- .../client-cognito-identity-provider/runtimeConfig.browser.ts | 2 +- .../client-cognito-identity-provider/runtimeConfig.native.ts | 2 +- .../client-cognito-identity-provider/runtimeConfig.shared.ts | 2 +- clients/client-cognito-identity-provider/runtimeConfig.ts | 2 +- clients/client-cognito-identity/runtimeConfig.browser.ts | 2 +- clients/client-cognito-identity/runtimeConfig.native.ts | 2 +- clients/client-cognito-identity/runtimeConfig.shared.ts | 2 +- clients/client-cognito-identity/runtimeConfig.ts | 2 +- clients/client-cognito-sync/runtimeConfig.browser.ts | 2 +- clients/client-cognito-sync/runtimeConfig.native.ts | 2 +- clients/client-cognito-sync/runtimeConfig.shared.ts | 2 +- clients/client-cognito-sync/runtimeConfig.ts | 2 +- clients/client-comprehend/runtimeConfig.browser.ts | 2 +- clients/client-comprehend/runtimeConfig.native.ts | 2 +- clients/client-comprehend/runtimeConfig.shared.ts | 2 +- clients/client-comprehend/runtimeConfig.ts | 2 +- clients/client-comprehendmedical/runtimeConfig.browser.ts | 2 +- clients/client-comprehendmedical/runtimeConfig.native.ts | 2 +- clients/client-comprehendmedical/runtimeConfig.shared.ts | 2 +- clients/client-comprehendmedical/runtimeConfig.ts | 2 +- clients/client-compute-optimizer/runtimeConfig.browser.ts | 2 +- clients/client-compute-optimizer/runtimeConfig.native.ts | 2 +- clients/client-compute-optimizer/runtimeConfig.shared.ts | 2 +- clients/client-compute-optimizer/runtimeConfig.ts | 2 +- clients/client-config-service/runtimeConfig.browser.ts | 2 +- clients/client-config-service/runtimeConfig.native.ts | 2 +- clients/client-config-service/runtimeConfig.shared.ts | 2 +- clients/client-config-service/runtimeConfig.ts | 2 +- clients/client-connect-contact-lens/runtimeConfig.browser.ts | 2 +- clients/client-connect-contact-lens/runtimeConfig.native.ts | 2 +- clients/client-connect-contact-lens/runtimeConfig.shared.ts | 2 +- clients/client-connect-contact-lens/runtimeConfig.ts | 2 +- clients/client-connect/runtimeConfig.browser.ts | 2 +- clients/client-connect/runtimeConfig.native.ts | 2 +- clients/client-connect/runtimeConfig.shared.ts | 2 +- clients/client-connect/runtimeConfig.ts | 2 +- clients/client-connectparticipant/runtimeConfig.browser.ts | 2 +- clients/client-connectparticipant/runtimeConfig.native.ts | 2 +- clients/client-connectparticipant/runtimeConfig.shared.ts | 2 +- clients/client-connectparticipant/runtimeConfig.ts | 2 +- .../runtimeConfig.browser.ts | 2 +- .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 +- clients/client-cost-and-usage-report-service/runtimeConfig.ts | 2 +- clients/client-cost-explorer/runtimeConfig.browser.ts | 2 +- clients/client-cost-explorer/runtimeConfig.native.ts | 2 +- clients/client-cost-explorer/runtimeConfig.shared.ts | 2 +- clients/client-cost-explorer/runtimeConfig.ts | 2 +- clients/client-customer-profiles/runtimeConfig.browser.ts | 2 +- clients/client-customer-profiles/runtimeConfig.native.ts | 2 +- clients/client-customer-profiles/runtimeConfig.shared.ts | 2 +- clients/client-customer-profiles/runtimeConfig.ts | 2 +- clients/client-data-pipeline/runtimeConfig.browser.ts | 2 +- clients/client-data-pipeline/runtimeConfig.native.ts | 2 +- clients/client-data-pipeline/runtimeConfig.shared.ts | 2 +- clients/client-data-pipeline/runtimeConfig.ts | 2 +- .../client-database-migration-service/runtimeConfig.browser.ts | 2 +- .../client-database-migration-service/runtimeConfig.native.ts | 2 +- .../client-database-migration-service/runtimeConfig.shared.ts | 2 +- clients/client-database-migration-service/runtimeConfig.ts | 2 +- clients/client-databrew/runtimeConfig.browser.ts | 2 +- clients/client-databrew/runtimeConfig.native.ts | 2 +- clients/client-databrew/runtimeConfig.shared.ts | 2 +- clients/client-databrew/runtimeConfig.ts | 2 +- clients/client-dataexchange/runtimeConfig.browser.ts | 2 +- clients/client-dataexchange/runtimeConfig.native.ts | 2 +- clients/client-dataexchange/runtimeConfig.shared.ts | 2 +- clients/client-dataexchange/runtimeConfig.ts | 2 +- clients/client-datasync/runtimeConfig.browser.ts | 2 +- clients/client-datasync/runtimeConfig.native.ts | 2 +- clients/client-datasync/runtimeConfig.shared.ts | 2 +- clients/client-datasync/runtimeConfig.ts | 2 +- clients/client-dax/runtimeConfig.browser.ts | 2 +- clients/client-dax/runtimeConfig.native.ts | 2 +- clients/client-dax/runtimeConfig.shared.ts | 2 +- clients/client-dax/runtimeConfig.ts | 2 +- clients/client-detective/runtimeConfig.browser.ts | 2 +- clients/client-detective/runtimeConfig.native.ts | 2 +- clients/client-detective/runtimeConfig.shared.ts | 2 +- clients/client-detective/runtimeConfig.ts | 2 +- clients/client-device-farm/runtimeConfig.browser.ts | 2 +- clients/client-device-farm/runtimeConfig.native.ts | 2 +- clients/client-device-farm/runtimeConfig.shared.ts | 2 +- clients/client-device-farm/runtimeConfig.ts | 2 +- clients/client-devops-guru/runtimeConfig.browser.ts | 2 +- clients/client-devops-guru/runtimeConfig.native.ts | 2 +- clients/client-devops-guru/runtimeConfig.shared.ts | 2 +- clients/client-devops-guru/runtimeConfig.ts | 2 +- clients/client-direct-connect/runtimeConfig.browser.ts | 2 +- clients/client-direct-connect/runtimeConfig.native.ts | 2 +- clients/client-direct-connect/runtimeConfig.shared.ts | 2 +- clients/client-direct-connect/runtimeConfig.ts | 2 +- clients/client-directory-service/runtimeConfig.browser.ts | 2 +- clients/client-directory-service/runtimeConfig.native.ts | 2 +- clients/client-directory-service/runtimeConfig.shared.ts | 2 +- clients/client-directory-service/runtimeConfig.ts | 2 +- clients/client-dlm/runtimeConfig.browser.ts | 2 +- clients/client-dlm/runtimeConfig.native.ts | 2 +- clients/client-dlm/runtimeConfig.shared.ts | 2 +- clients/client-dlm/runtimeConfig.ts | 2 +- clients/client-docdb/runtimeConfig.browser.ts | 2 +- clients/client-docdb/runtimeConfig.native.ts | 2 +- clients/client-docdb/runtimeConfig.shared.ts | 2 +- clients/client-docdb/runtimeConfig.ts | 2 +- clients/client-dynamodb-streams/runtimeConfig.browser.ts | 2 +- clients/client-dynamodb-streams/runtimeConfig.native.ts | 2 +- clients/client-dynamodb-streams/runtimeConfig.shared.ts | 2 +- clients/client-dynamodb-streams/runtimeConfig.ts | 2 +- clients/client-dynamodb/runtimeConfig.browser.ts | 2 +- clients/client-dynamodb/runtimeConfig.native.ts | 2 +- clients/client-dynamodb/runtimeConfig.shared.ts | 2 +- clients/client-dynamodb/runtimeConfig.ts | 2 +- clients/client-ebs/runtimeConfig.browser.ts | 2 +- clients/client-ebs/runtimeConfig.native.ts | 2 +- clients/client-ebs/runtimeConfig.shared.ts | 2 +- clients/client-ebs/runtimeConfig.ts | 2 +- clients/client-ec2-instance-connect/runtimeConfig.browser.ts | 2 +- clients/client-ec2-instance-connect/runtimeConfig.native.ts | 2 +- clients/client-ec2-instance-connect/runtimeConfig.shared.ts | 2 +- clients/client-ec2-instance-connect/runtimeConfig.ts | 2 +- clients/client-ec2/runtimeConfig.browser.ts | 2 +- clients/client-ec2/runtimeConfig.native.ts | 2 +- clients/client-ec2/runtimeConfig.shared.ts | 2 +- clients/client-ec2/runtimeConfig.ts | 2 +- clients/client-ecr-public/runtimeConfig.browser.ts | 2 +- clients/client-ecr-public/runtimeConfig.native.ts | 2 +- clients/client-ecr-public/runtimeConfig.shared.ts | 2 +- clients/client-ecr-public/runtimeConfig.ts | 2 +- clients/client-ecr/runtimeConfig.browser.ts | 2 +- clients/client-ecr/runtimeConfig.native.ts | 2 +- clients/client-ecr/runtimeConfig.shared.ts | 2 +- clients/client-ecr/runtimeConfig.ts | 2 +- clients/client-ecs/runtimeConfig.browser.ts | 2 +- clients/client-ecs/runtimeConfig.native.ts | 2 +- clients/client-ecs/runtimeConfig.shared.ts | 2 +- clients/client-ecs/runtimeConfig.ts | 2 +- clients/client-efs/runtimeConfig.browser.ts | 2 +- clients/client-efs/runtimeConfig.native.ts | 2 +- clients/client-efs/runtimeConfig.shared.ts | 2 +- clients/client-efs/runtimeConfig.ts | 2 +- clients/client-eks/runtimeConfig.browser.ts | 2 +- clients/client-eks/runtimeConfig.native.ts | 2 +- clients/client-eks/runtimeConfig.shared.ts | 2 +- clients/client-eks/runtimeConfig.ts | 2 +- clients/client-elastic-beanstalk/runtimeConfig.browser.ts | 2 +- clients/client-elastic-beanstalk/runtimeConfig.native.ts | 2 +- clients/client-elastic-beanstalk/runtimeConfig.shared.ts | 2 +- clients/client-elastic-beanstalk/runtimeConfig.ts | 2 +- clients/client-elastic-inference/runtimeConfig.browser.ts | 2 +- clients/client-elastic-inference/runtimeConfig.native.ts | 2 +- clients/client-elastic-inference/runtimeConfig.shared.ts | 2 +- clients/client-elastic-inference/runtimeConfig.ts | 2 +- .../client-elastic-load-balancing-v2/runtimeConfig.browser.ts | 2 +- .../client-elastic-load-balancing-v2/runtimeConfig.native.ts | 2 +- .../client-elastic-load-balancing-v2/runtimeConfig.shared.ts | 2 +- clients/client-elastic-load-balancing-v2/runtimeConfig.ts | 2 +- clients/client-elastic-load-balancing/runtimeConfig.browser.ts | 2 +- clients/client-elastic-load-balancing/runtimeConfig.native.ts | 2 +- clients/client-elastic-load-balancing/runtimeConfig.shared.ts | 2 +- clients/client-elastic-load-balancing/runtimeConfig.ts | 2 +- clients/client-elastic-transcoder/runtimeConfig.browser.ts | 2 +- clients/client-elastic-transcoder/runtimeConfig.native.ts | 2 +- clients/client-elastic-transcoder/runtimeConfig.shared.ts | 2 +- clients/client-elastic-transcoder/runtimeConfig.ts | 2 +- clients/client-elasticache/runtimeConfig.browser.ts | 2 +- clients/client-elasticache/runtimeConfig.native.ts | 2 +- clients/client-elasticache/runtimeConfig.shared.ts | 2 +- clients/client-elasticache/runtimeConfig.ts | 2 +- clients/client-elasticsearch-service/runtimeConfig.browser.ts | 2 +- clients/client-elasticsearch-service/runtimeConfig.native.ts | 2 +- clients/client-elasticsearch-service/runtimeConfig.shared.ts | 2 +- clients/client-elasticsearch-service/runtimeConfig.ts | 2 +- clients/client-emr-containers/runtimeConfig.browser.ts | 2 +- clients/client-emr-containers/runtimeConfig.native.ts | 2 +- clients/client-emr-containers/runtimeConfig.shared.ts | 2 +- clients/client-emr-containers/runtimeConfig.ts | 2 +- clients/client-emr/runtimeConfig.browser.ts | 2 +- clients/client-emr/runtimeConfig.native.ts | 2 +- clients/client-emr/runtimeConfig.shared.ts | 2 +- clients/client-emr/runtimeConfig.ts | 2 +- clients/client-eventbridge/runtimeConfig.browser.ts | 2 +- clients/client-eventbridge/runtimeConfig.native.ts | 2 +- clients/client-eventbridge/runtimeConfig.shared.ts | 2 +- clients/client-eventbridge/runtimeConfig.ts | 2 +- clients/client-finspace-data/runtimeConfig.browser.ts | 2 +- clients/client-finspace-data/runtimeConfig.native.ts | 2 +- clients/client-finspace-data/runtimeConfig.shared.ts | 2 +- clients/client-finspace-data/runtimeConfig.ts | 2 +- clients/client-finspace/runtimeConfig.browser.ts | 2 +- clients/client-finspace/runtimeConfig.native.ts | 2 +- clients/client-finspace/runtimeConfig.shared.ts | 2 +- clients/client-finspace/runtimeConfig.ts | 2 +- clients/client-firehose/runtimeConfig.browser.ts | 2 +- clients/client-firehose/runtimeConfig.native.ts | 2 +- clients/client-firehose/runtimeConfig.shared.ts | 2 +- clients/client-firehose/runtimeConfig.ts | 2 +- clients/client-fis/runtimeConfig.browser.ts | 2 +- clients/client-fis/runtimeConfig.native.ts | 2 +- clients/client-fis/runtimeConfig.shared.ts | 2 +- clients/client-fis/runtimeConfig.ts | 2 +- clients/client-fms/runtimeConfig.browser.ts | 2 +- clients/client-fms/runtimeConfig.native.ts | 2 +- clients/client-fms/runtimeConfig.shared.ts | 2 +- clients/client-fms/runtimeConfig.ts | 2 +- clients/client-forecast/runtimeConfig.browser.ts | 2 +- clients/client-forecast/runtimeConfig.native.ts | 2 +- clients/client-forecast/runtimeConfig.shared.ts | 2 +- clients/client-forecast/runtimeConfig.ts | 2 +- clients/client-forecastquery/runtimeConfig.browser.ts | 2 +- clients/client-forecastquery/runtimeConfig.native.ts | 2 +- clients/client-forecastquery/runtimeConfig.shared.ts | 2 +- clients/client-forecastquery/runtimeConfig.ts | 2 +- clients/client-frauddetector/runtimeConfig.browser.ts | 2 +- clients/client-frauddetector/runtimeConfig.native.ts | 2 +- clients/client-frauddetector/runtimeConfig.shared.ts | 2 +- clients/client-frauddetector/runtimeConfig.ts | 2 +- clients/client-fsx/runtimeConfig.browser.ts | 2 +- clients/client-fsx/runtimeConfig.native.ts | 2 +- clients/client-fsx/runtimeConfig.shared.ts | 2 +- clients/client-fsx/runtimeConfig.ts | 2 +- clients/client-gamelift/runtimeConfig.browser.ts | 2 +- clients/client-gamelift/runtimeConfig.native.ts | 2 +- clients/client-gamelift/runtimeConfig.shared.ts | 2 +- clients/client-gamelift/runtimeConfig.ts | 2 +- clients/client-glacier/runtimeConfig.browser.ts | 2 +- clients/client-glacier/runtimeConfig.native.ts | 2 +- clients/client-glacier/runtimeConfig.shared.ts | 2 +- clients/client-glacier/runtimeConfig.ts | 2 +- clients/client-global-accelerator/runtimeConfig.browser.ts | 2 +- clients/client-global-accelerator/runtimeConfig.native.ts | 2 +- clients/client-global-accelerator/runtimeConfig.shared.ts | 2 +- clients/client-global-accelerator/runtimeConfig.ts | 2 +- clients/client-glue/runtimeConfig.browser.ts | 2 +- clients/client-glue/runtimeConfig.native.ts | 2 +- clients/client-glue/runtimeConfig.shared.ts | 2 +- clients/client-glue/runtimeConfig.ts | 2 +- clients/client-greengrass/runtimeConfig.browser.ts | 2 +- clients/client-greengrass/runtimeConfig.native.ts | 2 +- clients/client-greengrass/runtimeConfig.shared.ts | 2 +- clients/client-greengrass/runtimeConfig.ts | 2 +- clients/client-greengrassv2/runtimeConfig.browser.ts | 2 +- clients/client-greengrassv2/runtimeConfig.native.ts | 2 +- clients/client-greengrassv2/runtimeConfig.shared.ts | 2 +- clients/client-greengrassv2/runtimeConfig.ts | 2 +- clients/client-groundstation/runtimeConfig.browser.ts | 2 +- clients/client-groundstation/runtimeConfig.native.ts | 2 +- clients/client-groundstation/runtimeConfig.shared.ts | 2 +- clients/client-groundstation/runtimeConfig.ts | 2 +- clients/client-guardduty/runtimeConfig.browser.ts | 2 +- clients/client-guardduty/runtimeConfig.native.ts | 2 +- clients/client-guardduty/runtimeConfig.shared.ts | 2 +- clients/client-guardduty/runtimeConfig.ts | 2 +- clients/client-health/runtimeConfig.browser.ts | 2 +- clients/client-health/runtimeConfig.native.ts | 2 +- clients/client-health/runtimeConfig.shared.ts | 2 +- clients/client-health/runtimeConfig.ts | 2 +- clients/client-healthlake/runtimeConfig.browser.ts | 2 +- clients/client-healthlake/runtimeConfig.native.ts | 2 +- clients/client-healthlake/runtimeConfig.shared.ts | 2 +- clients/client-healthlake/runtimeConfig.ts | 2 +- clients/client-honeycode/runtimeConfig.browser.ts | 2 +- clients/client-honeycode/runtimeConfig.native.ts | 2 +- clients/client-honeycode/runtimeConfig.shared.ts | 2 +- clients/client-honeycode/runtimeConfig.ts | 2 +- clients/client-iam/runtimeConfig.browser.ts | 2 +- clients/client-iam/runtimeConfig.native.ts | 2 +- clients/client-iam/runtimeConfig.shared.ts | 2 +- clients/client-iam/runtimeConfig.ts | 2 +- clients/client-identitystore/runtimeConfig.browser.ts | 2 +- clients/client-identitystore/runtimeConfig.native.ts | 2 +- clients/client-identitystore/runtimeConfig.shared.ts | 2 +- clients/client-identitystore/runtimeConfig.ts | 2 +- clients/client-imagebuilder/runtimeConfig.browser.ts | 2 +- clients/client-imagebuilder/runtimeConfig.native.ts | 2 +- clients/client-imagebuilder/runtimeConfig.shared.ts | 2 +- clients/client-imagebuilder/runtimeConfig.ts | 2 +- clients/client-inspector/runtimeConfig.browser.ts | 2 +- clients/client-inspector/runtimeConfig.native.ts | 2 +- clients/client-inspector/runtimeConfig.shared.ts | 2 +- clients/client-inspector/runtimeConfig.ts | 2 +- .../client-iot-1click-devices-service/runtimeConfig.browser.ts | 2 +- .../client-iot-1click-devices-service/runtimeConfig.native.ts | 2 +- .../client-iot-1click-devices-service/runtimeConfig.shared.ts | 2 +- clients/client-iot-1click-devices-service/runtimeConfig.ts | 2 +- clients/client-iot-1click-projects/runtimeConfig.browser.ts | 2 +- clients/client-iot-1click-projects/runtimeConfig.native.ts | 2 +- clients/client-iot-1click-projects/runtimeConfig.shared.ts | 2 +- clients/client-iot-1click-projects/runtimeConfig.ts | 2 +- clients/client-iot-data-plane/runtimeConfig.browser.ts | 2 +- clients/client-iot-data-plane/runtimeConfig.native.ts | 2 +- clients/client-iot-data-plane/runtimeConfig.shared.ts | 2 +- clients/client-iot-data-plane/runtimeConfig.ts | 2 +- clients/client-iot-events-data/runtimeConfig.browser.ts | 2 +- clients/client-iot-events-data/runtimeConfig.native.ts | 2 +- clients/client-iot-events-data/runtimeConfig.shared.ts | 2 +- clients/client-iot-events-data/runtimeConfig.ts | 2 +- clients/client-iot-events/runtimeConfig.browser.ts | 2 +- clients/client-iot-events/runtimeConfig.native.ts | 2 +- clients/client-iot-events/runtimeConfig.shared.ts | 2 +- clients/client-iot-events/runtimeConfig.ts | 2 +- clients/client-iot-jobs-data-plane/runtimeConfig.browser.ts | 2 +- clients/client-iot-jobs-data-plane/runtimeConfig.native.ts | 2 +- clients/client-iot-jobs-data-plane/runtimeConfig.shared.ts | 2 +- clients/client-iot-jobs-data-plane/runtimeConfig.ts | 2 +- clients/client-iot-wireless/runtimeConfig.browser.ts | 2 +- clients/client-iot-wireless/runtimeConfig.native.ts | 2 +- clients/client-iot-wireless/runtimeConfig.shared.ts | 2 +- clients/client-iot-wireless/runtimeConfig.ts | 2 +- clients/client-iot/runtimeConfig.browser.ts | 2 +- clients/client-iot/runtimeConfig.native.ts | 2 +- clients/client-iot/runtimeConfig.shared.ts | 2 +- clients/client-iot/runtimeConfig.ts | 2 +- clients/client-iotanalytics/runtimeConfig.browser.ts | 2 +- clients/client-iotanalytics/runtimeConfig.native.ts | 2 +- clients/client-iotanalytics/runtimeConfig.shared.ts | 2 +- clients/client-iotanalytics/runtimeConfig.ts | 2 +- clients/client-iotdeviceadvisor/runtimeConfig.browser.ts | 2 +- clients/client-iotdeviceadvisor/runtimeConfig.native.ts | 2 +- clients/client-iotdeviceadvisor/runtimeConfig.shared.ts | 2 +- clients/client-iotdeviceadvisor/runtimeConfig.ts | 2 +- clients/client-iotfleethub/runtimeConfig.browser.ts | 2 +- clients/client-iotfleethub/runtimeConfig.native.ts | 2 +- clients/client-iotfleethub/runtimeConfig.shared.ts | 2 +- clients/client-iotfleethub/runtimeConfig.ts | 2 +- clients/client-iotsecuretunneling/runtimeConfig.browser.ts | 2 +- clients/client-iotsecuretunneling/runtimeConfig.native.ts | 2 +- clients/client-iotsecuretunneling/runtimeConfig.shared.ts | 2 +- clients/client-iotsecuretunneling/runtimeConfig.ts | 2 +- clients/client-iotsitewise/runtimeConfig.browser.ts | 2 +- clients/client-iotsitewise/runtimeConfig.native.ts | 2 +- clients/client-iotsitewise/runtimeConfig.shared.ts | 2 +- clients/client-iotsitewise/runtimeConfig.ts | 2 +- clients/client-iotthingsgraph/runtimeConfig.browser.ts | 2 +- clients/client-iotthingsgraph/runtimeConfig.native.ts | 2 +- clients/client-iotthingsgraph/runtimeConfig.shared.ts | 2 +- clients/client-iotthingsgraph/runtimeConfig.ts | 2 +- clients/client-ivs/runtimeConfig.browser.ts | 2 +- clients/client-ivs/runtimeConfig.native.ts | 2 +- clients/client-ivs/runtimeConfig.shared.ts | 2 +- clients/client-ivs/runtimeConfig.ts | 2 +- clients/client-kafka/runtimeConfig.browser.ts | 2 +- clients/client-kafka/runtimeConfig.native.ts | 2 +- clients/client-kafka/runtimeConfig.shared.ts | 2 +- clients/client-kafka/runtimeConfig.ts | 2 +- clients/client-kendra/runtimeConfig.browser.ts | 2 +- clients/client-kendra/runtimeConfig.native.ts | 2 +- clients/client-kendra/runtimeConfig.shared.ts | 2 +- clients/client-kendra/runtimeConfig.ts | 2 +- clients/client-kinesis-analytics-v2/runtimeConfig.browser.ts | 2 +- clients/client-kinesis-analytics-v2/runtimeConfig.native.ts | 2 +- clients/client-kinesis-analytics-v2/runtimeConfig.shared.ts | 2 +- clients/client-kinesis-analytics-v2/runtimeConfig.ts | 2 +- clients/client-kinesis-analytics/runtimeConfig.browser.ts | 2 +- clients/client-kinesis-analytics/runtimeConfig.native.ts | 2 +- clients/client-kinesis-analytics/runtimeConfig.shared.ts | 2 +- clients/client-kinesis-analytics/runtimeConfig.ts | 2 +- .../runtimeConfig.browser.ts | 2 +- .../client-kinesis-video-archived-media/runtimeConfig.native.ts | 2 +- .../client-kinesis-video-archived-media/runtimeConfig.shared.ts | 2 +- clients/client-kinesis-video-archived-media/runtimeConfig.ts | 2 +- clients/client-kinesis-video-media/runtimeConfig.browser.ts | 2 +- clients/client-kinesis-video-media/runtimeConfig.native.ts | 2 +- clients/client-kinesis-video-media/runtimeConfig.shared.ts | 2 +- clients/client-kinesis-video-media/runtimeConfig.ts | 2 +- clients/client-kinesis-video-signaling/runtimeConfig.browser.ts | 2 +- clients/client-kinesis-video-signaling/runtimeConfig.native.ts | 2 +- clients/client-kinesis-video-signaling/runtimeConfig.shared.ts | 2 +- clients/client-kinesis-video-signaling/runtimeConfig.ts | 2 +- clients/client-kinesis-video/runtimeConfig.browser.ts | 2 +- clients/client-kinesis-video/runtimeConfig.native.ts | 2 +- clients/client-kinesis-video/runtimeConfig.shared.ts | 2 +- clients/client-kinesis-video/runtimeConfig.ts | 2 +- clients/client-kinesis/runtimeConfig.browser.ts | 2 +- clients/client-kinesis/runtimeConfig.native.ts | 2 +- clients/client-kinesis/runtimeConfig.shared.ts | 2 +- clients/client-kinesis/runtimeConfig.ts | 2 +- clients/client-kms/runtimeConfig.browser.ts | 2 +- clients/client-kms/runtimeConfig.native.ts | 2 +- clients/client-kms/runtimeConfig.shared.ts | 2 +- clients/client-kms/runtimeConfig.ts | 2 +- clients/client-lakeformation/runtimeConfig.browser.ts | 2 +- clients/client-lakeformation/runtimeConfig.native.ts | 2 +- clients/client-lakeformation/runtimeConfig.shared.ts | 2 +- clients/client-lakeformation/runtimeConfig.ts | 2 +- clients/client-lambda/runtimeConfig.browser.ts | 2 +- clients/client-lambda/runtimeConfig.native.ts | 2 +- clients/client-lambda/runtimeConfig.shared.ts | 2 +- clients/client-lambda/runtimeConfig.ts | 2 +- .../client-lex-model-building-service/runtimeConfig.browser.ts | 2 +- .../client-lex-model-building-service/runtimeConfig.native.ts | 2 +- .../client-lex-model-building-service/runtimeConfig.shared.ts | 2 +- clients/client-lex-model-building-service/runtimeConfig.ts | 2 +- clients/client-lex-models-v2/runtimeConfig.browser.ts | 2 +- clients/client-lex-models-v2/runtimeConfig.native.ts | 2 +- clients/client-lex-models-v2/runtimeConfig.shared.ts | 2 +- clients/client-lex-models-v2/runtimeConfig.ts | 2 +- clients/client-lex-runtime-service/runtimeConfig.browser.ts | 2 +- clients/client-lex-runtime-service/runtimeConfig.native.ts | 2 +- clients/client-lex-runtime-service/runtimeConfig.shared.ts | 2 +- clients/client-lex-runtime-service/runtimeConfig.ts | 2 +- clients/client-lex-runtime-v2/runtimeConfig.browser.ts | 2 +- clients/client-lex-runtime-v2/runtimeConfig.native.ts | 2 +- clients/client-lex-runtime-v2/runtimeConfig.shared.ts | 2 +- clients/client-lex-runtime-v2/runtimeConfig.ts | 2 +- clients/client-license-manager/runtimeConfig.browser.ts | 2 +- clients/client-license-manager/runtimeConfig.native.ts | 2 +- clients/client-license-manager/runtimeConfig.shared.ts | 2 +- clients/client-license-manager/runtimeConfig.ts | 2 +- clients/client-lightsail/runtimeConfig.browser.ts | 2 +- clients/client-lightsail/runtimeConfig.native.ts | 2 +- clients/client-lightsail/runtimeConfig.shared.ts | 2 +- clients/client-lightsail/runtimeConfig.ts | 2 +- clients/client-location/runtimeConfig.browser.ts | 2 +- clients/client-location/runtimeConfig.native.ts | 2 +- clients/client-location/runtimeConfig.shared.ts | 2 +- clients/client-location/runtimeConfig.ts | 2 +- clients/client-lookoutequipment/runtimeConfig.browser.ts | 2 +- clients/client-lookoutequipment/runtimeConfig.native.ts | 2 +- clients/client-lookoutequipment/runtimeConfig.shared.ts | 2 +- clients/client-lookoutequipment/runtimeConfig.ts | 2 +- clients/client-lookoutmetrics/runtimeConfig.browser.ts | 2 +- clients/client-lookoutmetrics/runtimeConfig.native.ts | 2 +- clients/client-lookoutmetrics/runtimeConfig.shared.ts | 2 +- clients/client-lookoutmetrics/runtimeConfig.ts | 2 +- clients/client-lookoutvision/runtimeConfig.browser.ts | 2 +- clients/client-lookoutvision/runtimeConfig.native.ts | 2 +- clients/client-lookoutvision/runtimeConfig.shared.ts | 2 +- clients/client-lookoutvision/runtimeConfig.ts | 2 +- clients/client-machine-learning/runtimeConfig.browser.ts | 2 +- clients/client-machine-learning/runtimeConfig.native.ts | 2 +- clients/client-machine-learning/runtimeConfig.shared.ts | 2 +- clients/client-machine-learning/runtimeConfig.ts | 2 +- clients/client-macie/runtimeConfig.browser.ts | 2 +- clients/client-macie/runtimeConfig.native.ts | 2 +- clients/client-macie/runtimeConfig.shared.ts | 2 +- clients/client-macie/runtimeConfig.ts | 2 +- clients/client-macie2/runtimeConfig.browser.ts | 2 +- clients/client-macie2/runtimeConfig.native.ts | 2 +- clients/client-macie2/runtimeConfig.shared.ts | 2 +- clients/client-macie2/runtimeConfig.ts | 2 +- clients/client-managedblockchain/runtimeConfig.browser.ts | 2 +- clients/client-managedblockchain/runtimeConfig.native.ts | 2 +- clients/client-managedblockchain/runtimeConfig.shared.ts | 2 +- clients/client-managedblockchain/runtimeConfig.ts | 2 +- clients/client-marketplace-catalog/runtimeConfig.browser.ts | 2 +- clients/client-marketplace-catalog/runtimeConfig.native.ts | 2 +- clients/client-marketplace-catalog/runtimeConfig.shared.ts | 2 +- clients/client-marketplace-catalog/runtimeConfig.ts | 2 +- .../runtimeConfig.browser.ts | 2 +- .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 +- clients/client-marketplace-commerce-analytics/runtimeConfig.ts | 2 +- .../runtimeConfig.browser.ts | 2 +- .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 +- clients/client-marketplace-entitlement-service/runtimeConfig.ts | 2 +- clients/client-marketplace-metering/runtimeConfig.browser.ts | 2 +- clients/client-marketplace-metering/runtimeConfig.native.ts | 2 +- clients/client-marketplace-metering/runtimeConfig.shared.ts | 2 +- clients/client-marketplace-metering/runtimeConfig.ts | 2 +- clients/client-mediaconnect/runtimeConfig.browser.ts | 2 +- clients/client-mediaconnect/runtimeConfig.native.ts | 2 +- clients/client-mediaconnect/runtimeConfig.shared.ts | 2 +- clients/client-mediaconnect/runtimeConfig.ts | 2 +- clients/client-mediaconvert/runtimeConfig.browser.ts | 2 +- clients/client-mediaconvert/runtimeConfig.native.ts | 2 +- clients/client-mediaconvert/runtimeConfig.shared.ts | 2 +- clients/client-mediaconvert/runtimeConfig.ts | 2 +- clients/client-medialive/runtimeConfig.browser.ts | 2 +- clients/client-medialive/runtimeConfig.native.ts | 2 +- clients/client-medialive/runtimeConfig.shared.ts | 2 +- clients/client-medialive/runtimeConfig.ts | 2 +- clients/client-mediapackage-vod/runtimeConfig.browser.ts | 2 +- clients/client-mediapackage-vod/runtimeConfig.native.ts | 2 +- clients/client-mediapackage-vod/runtimeConfig.shared.ts | 2 +- clients/client-mediapackage-vod/runtimeConfig.ts | 2 +- clients/client-mediapackage/runtimeConfig.browser.ts | 2 +- clients/client-mediapackage/runtimeConfig.native.ts | 2 +- clients/client-mediapackage/runtimeConfig.shared.ts | 2 +- clients/client-mediapackage/runtimeConfig.ts | 2 +- clients/client-mediastore-data/runtimeConfig.browser.ts | 2 +- clients/client-mediastore-data/runtimeConfig.native.ts | 2 +- clients/client-mediastore-data/runtimeConfig.shared.ts | 2 +- clients/client-mediastore-data/runtimeConfig.ts | 2 +- clients/client-mediastore/runtimeConfig.browser.ts | 2 +- clients/client-mediastore/runtimeConfig.native.ts | 2 +- clients/client-mediastore/runtimeConfig.shared.ts | 2 +- clients/client-mediastore/runtimeConfig.ts | 2 +- clients/client-mediatailor/runtimeConfig.browser.ts | 2 +- clients/client-mediatailor/runtimeConfig.native.ts | 2 +- clients/client-mediatailor/runtimeConfig.shared.ts | 2 +- clients/client-mediatailor/runtimeConfig.ts | 2 +- clients/client-mgn/runtimeConfig.browser.ts | 2 +- clients/client-mgn/runtimeConfig.native.ts | 2 +- clients/client-mgn/runtimeConfig.shared.ts | 2 +- clients/client-mgn/runtimeConfig.ts | 2 +- clients/client-migration-hub/runtimeConfig.browser.ts | 2 +- clients/client-migration-hub/runtimeConfig.native.ts | 2 +- clients/client-migration-hub/runtimeConfig.shared.ts | 2 +- clients/client-migration-hub/runtimeConfig.ts | 2 +- clients/client-migrationhub-config/runtimeConfig.browser.ts | 2 +- clients/client-migrationhub-config/runtimeConfig.native.ts | 2 +- clients/client-migrationhub-config/runtimeConfig.shared.ts | 2 +- clients/client-migrationhub-config/runtimeConfig.ts | 2 +- clients/client-mobile/runtimeConfig.browser.ts | 2 +- clients/client-mobile/runtimeConfig.native.ts | 2 +- clients/client-mobile/runtimeConfig.shared.ts | 2 +- clients/client-mobile/runtimeConfig.ts | 2 +- clients/client-mq/runtimeConfig.browser.ts | 2 +- clients/client-mq/runtimeConfig.native.ts | 2 +- clients/client-mq/runtimeConfig.shared.ts | 2 +- clients/client-mq/runtimeConfig.ts | 2 +- clients/client-mturk/runtimeConfig.browser.ts | 2 +- clients/client-mturk/runtimeConfig.native.ts | 2 +- clients/client-mturk/runtimeConfig.shared.ts | 2 +- clients/client-mturk/runtimeConfig.ts | 2 +- clients/client-mwaa/runtimeConfig.browser.ts | 2 +- clients/client-mwaa/runtimeConfig.native.ts | 2 +- clients/client-mwaa/runtimeConfig.shared.ts | 2 +- clients/client-mwaa/runtimeConfig.ts | 2 +- clients/client-neptune/runtimeConfig.browser.ts | 2 +- clients/client-neptune/runtimeConfig.native.ts | 2 +- clients/client-neptune/runtimeConfig.shared.ts | 2 +- clients/client-neptune/runtimeConfig.ts | 2 +- clients/client-network-firewall/runtimeConfig.browser.ts | 2 +- clients/client-network-firewall/runtimeConfig.native.ts | 2 +- clients/client-network-firewall/runtimeConfig.shared.ts | 2 +- clients/client-network-firewall/runtimeConfig.ts | 2 +- clients/client-networkmanager/runtimeConfig.browser.ts | 2 +- clients/client-networkmanager/runtimeConfig.native.ts | 2 +- clients/client-networkmanager/runtimeConfig.shared.ts | 2 +- clients/client-networkmanager/runtimeConfig.ts | 2 +- clients/client-nimble/runtimeConfig.browser.ts | 2 +- clients/client-nimble/runtimeConfig.native.ts | 2 +- clients/client-nimble/runtimeConfig.shared.ts | 2 +- clients/client-nimble/runtimeConfig.ts | 2 +- clients/client-opsworks/runtimeConfig.browser.ts | 2 +- clients/client-opsworks/runtimeConfig.native.ts | 2 +- clients/client-opsworks/runtimeConfig.shared.ts | 2 +- clients/client-opsworks/runtimeConfig.ts | 2 +- clients/client-opsworkscm/runtimeConfig.browser.ts | 2 +- clients/client-opsworkscm/runtimeConfig.native.ts | 2 +- clients/client-opsworkscm/runtimeConfig.shared.ts | 2 +- clients/client-opsworkscm/runtimeConfig.ts | 2 +- clients/client-organizations/runtimeConfig.browser.ts | 2 +- clients/client-organizations/runtimeConfig.native.ts | 2 +- clients/client-organizations/runtimeConfig.shared.ts | 2 +- clients/client-organizations/runtimeConfig.ts | 2 +- clients/client-outposts/runtimeConfig.browser.ts | 2 +- clients/client-outposts/runtimeConfig.native.ts | 2 +- clients/client-outposts/runtimeConfig.shared.ts | 2 +- clients/client-outposts/runtimeConfig.ts | 2 +- clients/client-personalize-events/runtimeConfig.browser.ts | 2 +- clients/client-personalize-events/runtimeConfig.native.ts | 2 +- clients/client-personalize-events/runtimeConfig.shared.ts | 2 +- clients/client-personalize-events/runtimeConfig.ts | 2 +- clients/client-personalize-runtime/runtimeConfig.browser.ts | 2 +- clients/client-personalize-runtime/runtimeConfig.native.ts | 2 +- clients/client-personalize-runtime/runtimeConfig.shared.ts | 2 +- clients/client-personalize-runtime/runtimeConfig.ts | 2 +- clients/client-personalize/runtimeConfig.browser.ts | 2 +- clients/client-personalize/runtimeConfig.native.ts | 2 +- clients/client-personalize/runtimeConfig.shared.ts | 2 +- clients/client-personalize/runtimeConfig.ts | 2 +- clients/client-pi/runtimeConfig.browser.ts | 2 +- clients/client-pi/runtimeConfig.native.ts | 2 +- clients/client-pi/runtimeConfig.shared.ts | 2 +- clients/client-pi/runtimeConfig.ts | 2 +- clients/client-pinpoint-email/runtimeConfig.browser.ts | 2 +- clients/client-pinpoint-email/runtimeConfig.native.ts | 2 +- clients/client-pinpoint-email/runtimeConfig.shared.ts | 2 +- clients/client-pinpoint-email/runtimeConfig.ts | 2 +- clients/client-pinpoint-sms-voice/runtimeConfig.browser.ts | 2 +- clients/client-pinpoint-sms-voice/runtimeConfig.native.ts | 2 +- clients/client-pinpoint-sms-voice/runtimeConfig.shared.ts | 2 +- clients/client-pinpoint-sms-voice/runtimeConfig.ts | 2 +- clients/client-pinpoint/runtimeConfig.browser.ts | 2 +- clients/client-pinpoint/runtimeConfig.native.ts | 2 +- clients/client-pinpoint/runtimeConfig.shared.ts | 2 +- clients/client-pinpoint/runtimeConfig.ts | 2 +- clients/client-polly/runtimeConfig.browser.ts | 2 +- clients/client-polly/runtimeConfig.native.ts | 2 +- clients/client-polly/runtimeConfig.shared.ts | 2 +- clients/client-polly/runtimeConfig.ts | 2 +- clients/client-pricing/runtimeConfig.browser.ts | 2 +- clients/client-pricing/runtimeConfig.native.ts | 2 +- clients/client-pricing/runtimeConfig.shared.ts | 2 +- clients/client-pricing/runtimeConfig.ts | 2 +- clients/client-proton/runtimeConfig.browser.ts | 2 +- clients/client-proton/runtimeConfig.native.ts | 2 +- clients/client-proton/runtimeConfig.shared.ts | 2 +- clients/client-proton/runtimeConfig.ts | 2 +- clients/client-qldb-session/runtimeConfig.browser.ts | 2 +- clients/client-qldb-session/runtimeConfig.native.ts | 2 +- clients/client-qldb-session/runtimeConfig.shared.ts | 2 +- clients/client-qldb-session/runtimeConfig.ts | 2 +- clients/client-qldb/runtimeConfig.browser.ts | 2 +- clients/client-qldb/runtimeConfig.native.ts | 2 +- clients/client-qldb/runtimeConfig.shared.ts | 2 +- clients/client-qldb/runtimeConfig.ts | 2 +- clients/client-quicksight/runtimeConfig.browser.ts | 2 +- clients/client-quicksight/runtimeConfig.native.ts | 2 +- clients/client-quicksight/runtimeConfig.shared.ts | 2 +- clients/client-quicksight/runtimeConfig.ts | 2 +- clients/client-ram/runtimeConfig.browser.ts | 2 +- clients/client-ram/runtimeConfig.native.ts | 2 +- clients/client-ram/runtimeConfig.shared.ts | 2 +- clients/client-ram/runtimeConfig.ts | 2 +- clients/client-rds-data/runtimeConfig.browser.ts | 2 +- clients/client-rds-data/runtimeConfig.native.ts | 2 +- clients/client-rds-data/runtimeConfig.shared.ts | 2 +- clients/client-rds-data/runtimeConfig.ts | 2 +- clients/client-rds/runtimeConfig.browser.ts | 2 +- clients/client-rds/runtimeConfig.native.ts | 2 +- clients/client-rds/runtimeConfig.shared.ts | 2 +- clients/client-rds/runtimeConfig.ts | 2 +- clients/client-redshift-data/runtimeConfig.browser.ts | 2 +- clients/client-redshift-data/runtimeConfig.native.ts | 2 +- clients/client-redshift-data/runtimeConfig.shared.ts | 2 +- clients/client-redshift-data/runtimeConfig.ts | 2 +- clients/client-redshift/runtimeConfig.browser.ts | 2 +- clients/client-redshift/runtimeConfig.native.ts | 2 +- clients/client-redshift/runtimeConfig.shared.ts | 2 +- clients/client-redshift/runtimeConfig.ts | 2 +- clients/client-rekognition/runtimeConfig.browser.ts | 2 +- clients/client-rekognition/runtimeConfig.native.ts | 2 +- clients/client-rekognition/runtimeConfig.shared.ts | 2 +- clients/client-rekognition/runtimeConfig.ts | 2 +- .../client-resource-groups-tagging-api/runtimeConfig.browser.ts | 2 +- .../client-resource-groups-tagging-api/runtimeConfig.native.ts | 2 +- .../client-resource-groups-tagging-api/runtimeConfig.shared.ts | 2 +- clients/client-resource-groups-tagging-api/runtimeConfig.ts | 2 +- clients/client-resource-groups/runtimeConfig.browser.ts | 2 +- clients/client-resource-groups/runtimeConfig.native.ts | 2 +- clients/client-resource-groups/runtimeConfig.shared.ts | 2 +- clients/client-resource-groups/runtimeConfig.ts | 2 +- clients/client-robomaker/runtimeConfig.browser.ts | 2 +- clients/client-robomaker/runtimeConfig.native.ts | 2 +- clients/client-robomaker/runtimeConfig.shared.ts | 2 +- clients/client-robomaker/runtimeConfig.ts | 2 +- clients/client-route-53-domains/runtimeConfig.browser.ts | 2 +- clients/client-route-53-domains/runtimeConfig.native.ts | 2 +- clients/client-route-53-domains/runtimeConfig.shared.ts | 2 +- clients/client-route-53-domains/runtimeConfig.ts | 2 +- clients/client-route-53/runtimeConfig.browser.ts | 2 +- clients/client-route-53/runtimeConfig.native.ts | 2 +- clients/client-route-53/runtimeConfig.shared.ts | 2 +- clients/client-route-53/runtimeConfig.ts | 2 +- clients/client-route53resolver/runtimeConfig.browser.ts | 2 +- clients/client-route53resolver/runtimeConfig.native.ts | 2 +- clients/client-route53resolver/runtimeConfig.shared.ts | 2 +- clients/client-route53resolver/runtimeConfig.ts | 2 +- clients/client-s3-control/runtimeConfig.browser.ts | 2 +- clients/client-s3-control/runtimeConfig.native.ts | 2 +- clients/client-s3-control/runtimeConfig.shared.ts | 2 +- clients/client-s3-control/runtimeConfig.ts | 2 +- clients/client-s3/runtimeConfig.browser.ts | 2 +- clients/client-s3/runtimeConfig.native.ts | 2 +- clients/client-s3/runtimeConfig.shared.ts | 2 +- clients/client-s3/runtimeConfig.ts | 2 +- clients/client-s3outposts/runtimeConfig.browser.ts | 2 +- clients/client-s3outposts/runtimeConfig.native.ts | 2 +- clients/client-s3outposts/runtimeConfig.shared.ts | 2 +- clients/client-s3outposts/runtimeConfig.ts | 2 +- clients/client-sagemaker-a2i-runtime/runtimeConfig.browser.ts | 2 +- clients/client-sagemaker-a2i-runtime/runtimeConfig.native.ts | 2 +- clients/client-sagemaker-a2i-runtime/runtimeConfig.shared.ts | 2 +- clients/client-sagemaker-a2i-runtime/runtimeConfig.ts | 2 +- clients/client-sagemaker-edge/runtimeConfig.browser.ts | 2 +- clients/client-sagemaker-edge/runtimeConfig.native.ts | 2 +- clients/client-sagemaker-edge/runtimeConfig.shared.ts | 2 +- clients/client-sagemaker-edge/runtimeConfig.ts | 2 +- .../runtimeConfig.browser.ts | 2 +- .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 +- clients/client-sagemaker-featurestore-runtime/runtimeConfig.ts | 2 +- clients/client-sagemaker-runtime/runtimeConfig.browser.ts | 2 +- clients/client-sagemaker-runtime/runtimeConfig.native.ts | 2 +- clients/client-sagemaker-runtime/runtimeConfig.shared.ts | 2 +- clients/client-sagemaker-runtime/runtimeConfig.ts | 2 +- clients/client-sagemaker/runtimeConfig.browser.ts | 2 +- clients/client-sagemaker/runtimeConfig.native.ts | 2 +- clients/client-sagemaker/runtimeConfig.shared.ts | 2 +- clients/client-sagemaker/runtimeConfig.ts | 2 +- clients/client-savingsplans/runtimeConfig.browser.ts | 2 +- clients/client-savingsplans/runtimeConfig.native.ts | 2 +- clients/client-savingsplans/runtimeConfig.shared.ts | 2 +- clients/client-savingsplans/runtimeConfig.ts | 2 +- clients/client-schemas/runtimeConfig.browser.ts | 2 +- clients/client-schemas/runtimeConfig.native.ts | 2 +- clients/client-schemas/runtimeConfig.shared.ts | 2 +- clients/client-schemas/runtimeConfig.ts | 2 +- clients/client-secrets-manager/runtimeConfig.browser.ts | 2 +- clients/client-secrets-manager/runtimeConfig.native.ts | 2 +- clients/client-secrets-manager/runtimeConfig.shared.ts | 2 +- clients/client-secrets-manager/runtimeConfig.ts | 2 +- clients/client-securityhub/runtimeConfig.browser.ts | 2 +- clients/client-securityhub/runtimeConfig.native.ts | 2 +- clients/client-securityhub/runtimeConfig.shared.ts | 2 +- clients/client-securityhub/runtimeConfig.ts | 2 +- .../runtimeConfig.browser.ts | 2 +- .../runtimeConfig.native.ts | 2 +- .../runtimeConfig.shared.ts | 2 +- clients/client-serverlessapplicationrepository/runtimeConfig.ts | 2 +- .../client-service-catalog-appregistry/runtimeConfig.browser.ts | 2 +- .../client-service-catalog-appregistry/runtimeConfig.native.ts | 2 +- .../client-service-catalog-appregistry/runtimeConfig.shared.ts | 2 +- clients/client-service-catalog-appregistry/runtimeConfig.ts | 2 +- clients/client-service-catalog/runtimeConfig.browser.ts | 2 +- clients/client-service-catalog/runtimeConfig.native.ts | 2 +- clients/client-service-catalog/runtimeConfig.shared.ts | 2 +- clients/client-service-catalog/runtimeConfig.ts | 2 +- clients/client-service-quotas/runtimeConfig.browser.ts | 2 +- clients/client-service-quotas/runtimeConfig.native.ts | 2 +- clients/client-service-quotas/runtimeConfig.shared.ts | 2 +- clients/client-service-quotas/runtimeConfig.ts | 2 +- clients/client-servicediscovery/runtimeConfig.browser.ts | 2 +- clients/client-servicediscovery/runtimeConfig.native.ts | 2 +- clients/client-servicediscovery/runtimeConfig.shared.ts | 2 +- clients/client-servicediscovery/runtimeConfig.ts | 2 +- clients/client-ses/runtimeConfig.browser.ts | 2 +- clients/client-ses/runtimeConfig.native.ts | 2 +- clients/client-ses/runtimeConfig.shared.ts | 2 +- clients/client-ses/runtimeConfig.ts | 2 +- clients/client-sesv2/runtimeConfig.browser.ts | 2 +- clients/client-sesv2/runtimeConfig.native.ts | 2 +- clients/client-sesv2/runtimeConfig.shared.ts | 2 +- clients/client-sesv2/runtimeConfig.ts | 2 +- clients/client-sfn/runtimeConfig.browser.ts | 2 +- clients/client-sfn/runtimeConfig.native.ts | 2 +- clients/client-sfn/runtimeConfig.shared.ts | 2 +- clients/client-sfn/runtimeConfig.ts | 2 +- clients/client-shield/runtimeConfig.browser.ts | 2 +- clients/client-shield/runtimeConfig.native.ts | 2 +- clients/client-shield/runtimeConfig.shared.ts | 2 +- clients/client-shield/runtimeConfig.ts | 2 +- clients/client-signer/runtimeConfig.browser.ts | 2 +- clients/client-signer/runtimeConfig.native.ts | 2 +- clients/client-signer/runtimeConfig.shared.ts | 2 +- clients/client-signer/runtimeConfig.ts | 2 +- clients/client-sms/runtimeConfig.browser.ts | 2 +- clients/client-sms/runtimeConfig.native.ts | 2 +- clients/client-sms/runtimeConfig.shared.ts | 2 +- clients/client-sms/runtimeConfig.ts | 2 +- clients/client-snowball/runtimeConfig.browser.ts | 2 +- clients/client-snowball/runtimeConfig.native.ts | 2 +- clients/client-snowball/runtimeConfig.shared.ts | 2 +- clients/client-snowball/runtimeConfig.ts | 2 +- clients/client-sns/runtimeConfig.browser.ts | 2 +- clients/client-sns/runtimeConfig.native.ts | 2 +- clients/client-sns/runtimeConfig.shared.ts | 2 +- clients/client-sns/runtimeConfig.ts | 2 +- clients/client-sqs/runtimeConfig.browser.ts | 2 +- clients/client-sqs/runtimeConfig.native.ts | 2 +- clients/client-sqs/runtimeConfig.shared.ts | 2 +- clients/client-sqs/runtimeConfig.ts | 2 +- clients/client-ssm-contacts/runtimeConfig.browser.ts | 2 +- clients/client-ssm-contacts/runtimeConfig.native.ts | 2 +- clients/client-ssm-contacts/runtimeConfig.shared.ts | 2 +- clients/client-ssm-contacts/runtimeConfig.ts | 2 +- clients/client-ssm-incidents/runtimeConfig.browser.ts | 2 +- clients/client-ssm-incidents/runtimeConfig.native.ts | 2 +- clients/client-ssm-incidents/runtimeConfig.shared.ts | 2 +- clients/client-ssm-incidents/runtimeConfig.ts | 2 +- clients/client-ssm/runtimeConfig.browser.ts | 2 +- clients/client-ssm/runtimeConfig.native.ts | 2 +- clients/client-ssm/runtimeConfig.shared.ts | 2 +- clients/client-ssm/runtimeConfig.ts | 2 +- clients/client-sso-admin/runtimeConfig.browser.ts | 2 +- clients/client-sso-admin/runtimeConfig.native.ts | 2 +- clients/client-sso-admin/runtimeConfig.shared.ts | 2 +- clients/client-sso-admin/runtimeConfig.ts | 2 +- clients/client-sso-oidc/runtimeConfig.browser.ts | 2 +- clients/client-sso-oidc/runtimeConfig.native.ts | 2 +- clients/client-sso-oidc/runtimeConfig.shared.ts | 2 +- clients/client-sso-oidc/runtimeConfig.ts | 2 +- clients/client-sso/runtimeConfig.browser.ts | 2 +- clients/client-sso/runtimeConfig.native.ts | 2 +- clients/client-sso/runtimeConfig.shared.ts | 2 +- clients/client-sso/runtimeConfig.ts | 2 +- clients/client-storage-gateway/runtimeConfig.browser.ts | 2 +- clients/client-storage-gateway/runtimeConfig.native.ts | 2 +- clients/client-storage-gateway/runtimeConfig.shared.ts | 2 +- clients/client-storage-gateway/runtimeConfig.ts | 2 +- clients/client-sts/runtimeConfig.browser.ts | 2 +- clients/client-sts/runtimeConfig.native.ts | 2 +- clients/client-sts/runtimeConfig.shared.ts | 2 +- clients/client-sts/runtimeConfig.ts | 2 +- clients/client-support/runtimeConfig.browser.ts | 2 +- clients/client-support/runtimeConfig.native.ts | 2 +- clients/client-support/runtimeConfig.shared.ts | 2 +- clients/client-support/runtimeConfig.ts | 2 +- clients/client-swf/runtimeConfig.browser.ts | 2 +- clients/client-swf/runtimeConfig.native.ts | 2 +- clients/client-swf/runtimeConfig.shared.ts | 2 +- clients/client-swf/runtimeConfig.ts | 2 +- clients/client-synthetics/runtimeConfig.browser.ts | 2 +- clients/client-synthetics/runtimeConfig.native.ts | 2 +- clients/client-synthetics/runtimeConfig.shared.ts | 2 +- clients/client-synthetics/runtimeConfig.ts | 2 +- clients/client-textract/runtimeConfig.browser.ts | 2 +- clients/client-textract/runtimeConfig.native.ts | 2 +- clients/client-textract/runtimeConfig.shared.ts | 2 +- clients/client-textract/runtimeConfig.ts | 2 +- clients/client-timestream-query/runtimeConfig.browser.ts | 2 +- clients/client-timestream-query/runtimeConfig.native.ts | 2 +- clients/client-timestream-query/runtimeConfig.shared.ts | 2 +- clients/client-timestream-query/runtimeConfig.ts | 2 +- clients/client-timestream-write/runtimeConfig.browser.ts | 2 +- clients/client-timestream-write/runtimeConfig.native.ts | 2 +- clients/client-timestream-write/runtimeConfig.shared.ts | 2 +- clients/client-timestream-write/runtimeConfig.ts | 2 +- clients/client-transcribe-streaming/runtimeConfig.browser.ts | 2 +- clients/client-transcribe-streaming/runtimeConfig.native.ts | 2 +- clients/client-transcribe-streaming/runtimeConfig.shared.ts | 2 +- clients/client-transcribe-streaming/runtimeConfig.ts | 2 +- clients/client-transcribe/runtimeConfig.browser.ts | 2 +- clients/client-transcribe/runtimeConfig.native.ts | 2 +- clients/client-transcribe/runtimeConfig.shared.ts | 2 +- clients/client-transcribe/runtimeConfig.ts | 2 +- clients/client-transfer/runtimeConfig.browser.ts | 2 +- clients/client-transfer/runtimeConfig.native.ts | 2 +- clients/client-transfer/runtimeConfig.shared.ts | 2 +- clients/client-transfer/runtimeConfig.ts | 2 +- clients/client-translate/runtimeConfig.browser.ts | 2 +- clients/client-translate/runtimeConfig.native.ts | 2 +- clients/client-translate/runtimeConfig.shared.ts | 2 +- clients/client-translate/runtimeConfig.ts | 2 +- clients/client-waf-regional/runtimeConfig.browser.ts | 2 +- clients/client-waf-regional/runtimeConfig.native.ts | 2 +- clients/client-waf-regional/runtimeConfig.shared.ts | 2 +- clients/client-waf-regional/runtimeConfig.ts | 2 +- clients/client-waf/runtimeConfig.browser.ts | 2 +- clients/client-waf/runtimeConfig.native.ts | 2 +- clients/client-waf/runtimeConfig.shared.ts | 2 +- clients/client-waf/runtimeConfig.ts | 2 +- clients/client-wafv2/runtimeConfig.browser.ts | 2 +- clients/client-wafv2/runtimeConfig.native.ts | 2 +- clients/client-wafv2/runtimeConfig.shared.ts | 2 +- clients/client-wafv2/runtimeConfig.ts | 2 +- clients/client-wellarchitected/runtimeConfig.browser.ts | 2 +- clients/client-wellarchitected/runtimeConfig.native.ts | 2 +- clients/client-wellarchitected/runtimeConfig.shared.ts | 2 +- clients/client-wellarchitected/runtimeConfig.ts | 2 +- clients/client-workdocs/runtimeConfig.browser.ts | 2 +- clients/client-workdocs/runtimeConfig.native.ts | 2 +- clients/client-workdocs/runtimeConfig.shared.ts | 2 +- clients/client-workdocs/runtimeConfig.ts | 2 +- clients/client-worklink/runtimeConfig.browser.ts | 2 +- clients/client-worklink/runtimeConfig.native.ts | 2 +- clients/client-worklink/runtimeConfig.shared.ts | 2 +- clients/client-worklink/runtimeConfig.ts | 2 +- clients/client-workmail/runtimeConfig.browser.ts | 2 +- clients/client-workmail/runtimeConfig.native.ts | 2 +- clients/client-workmail/runtimeConfig.shared.ts | 2 +- clients/client-workmail/runtimeConfig.ts | 2 +- clients/client-workmailmessageflow/runtimeConfig.browser.ts | 2 +- clients/client-workmailmessageflow/runtimeConfig.native.ts | 2 +- clients/client-workmailmessageflow/runtimeConfig.shared.ts | 2 +- clients/client-workmailmessageflow/runtimeConfig.ts | 2 +- clients/client-workspaces/runtimeConfig.browser.ts | 2 +- clients/client-workspaces/runtimeConfig.native.ts | 2 +- clients/client-workspaces/runtimeConfig.shared.ts | 2 +- clients/client-workspaces/runtimeConfig.ts | 2 +- clients/client-xray/runtimeConfig.browser.ts | 2 +- clients/client-xray/runtimeConfig.native.ts | 2 +- clients/client-xray/runtimeConfig.shared.ts | 2 +- clients/client-xray/runtimeConfig.ts | 2 +- protocol_tests/aws-ec2/runtimeConfig.browser.ts | 2 +- protocol_tests/aws-ec2/runtimeConfig.native.ts | 2 +- protocol_tests/aws-ec2/runtimeConfig.shared.ts | 2 +- protocol_tests/aws-ec2/runtimeConfig.ts | 2 +- protocol_tests/aws-json-10/runtimeConfig.browser.ts | 2 +- protocol_tests/aws-json-10/runtimeConfig.native.ts | 2 +- protocol_tests/aws-json-10/runtimeConfig.shared.ts | 2 +- protocol_tests/aws-json-10/runtimeConfig.ts | 2 +- protocol_tests/aws-json/runtimeConfig.browser.ts | 2 +- protocol_tests/aws-json/runtimeConfig.native.ts | 2 +- protocol_tests/aws-json/runtimeConfig.shared.ts | 2 +- protocol_tests/aws-json/runtimeConfig.ts | 2 +- protocol_tests/aws-query/runtimeConfig.browser.ts | 2 +- protocol_tests/aws-query/runtimeConfig.native.ts | 2 +- protocol_tests/aws-query/runtimeConfig.shared.ts | 2 +- protocol_tests/aws-query/runtimeConfig.ts | 2 +- protocol_tests/aws-restjson/runtimeConfig.browser.ts | 2 +- protocol_tests/aws-restjson/runtimeConfig.native.ts | 2 +- protocol_tests/aws-restjson/runtimeConfig.shared.ts | 2 +- protocol_tests/aws-restjson/runtimeConfig.ts | 2 +- protocol_tests/aws-restxml/runtimeConfig.browser.ts | 2 +- protocol_tests/aws-restxml/runtimeConfig.native.ts | 2 +- protocol_tests/aws-restxml/runtimeConfig.shared.ts | 2 +- protocol_tests/aws-restxml/runtimeConfig.ts | 2 +- 1100 files changed, 1100 insertions(+), 1100 deletions(-) diff --git a/clients/client-accessanalyzer/runtimeConfig.browser.ts b/clients/client-accessanalyzer/runtimeConfig.browser.ts index ec372020aa98d..457cdaab2ece3 100644 --- a/clients/client-accessanalyzer/runtimeConfig.browser.ts +++ b/clients/client-accessanalyzer/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: AccessAnalyzerClientConfig) => { +export const getRuntimeConfig = (config: AccessAnalyzerClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-accessanalyzer/runtimeConfig.native.ts b/clients/client-accessanalyzer/runtimeConfig.native.ts index 4d093d029311d..368ef11b2677c 100644 --- a/clients/client-accessanalyzer/runtimeConfig.native.ts +++ b/clients/client-accessanalyzer/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: AccessAnalyzerClientConfig) => { +export const getRuntimeConfig = (config: AccessAnalyzerClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-accessanalyzer/runtimeConfig.shared.ts b/clients/client-accessanalyzer/runtimeConfig.shared.ts index f7f45588b59c8..2a9f15a981db5 100644 --- a/clients/client-accessanalyzer/runtimeConfig.shared.ts +++ b/clients/client-accessanalyzer/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { AccessAnalyzerClientConfig } from "./AccessAnalyzerClient"; /** * @internal */ -export const getRuntimeConfig = (config: AccessAnalyzerClientConfig) => ({ +export const getRuntimeConfig = (config: AccessAnalyzerClientConfig = {}) => ({ apiVersion: "2019-11-01", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-accessanalyzer/runtimeConfig.ts b/clients/client-accessanalyzer/runtimeConfig.ts index 5b2e0803219c0..69fd1e67cb530 100644 --- a/clients/client-accessanalyzer/runtimeConfig.ts +++ b/clients/client-accessanalyzer/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: AccessAnalyzerClientConfig) => { +export const getRuntimeConfig = (config: AccessAnalyzerClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-acm-pca/runtimeConfig.browser.ts b/clients/client-acm-pca/runtimeConfig.browser.ts index f697bc7691fbb..af43c26590522 100644 --- a/clients/client-acm-pca/runtimeConfig.browser.ts +++ b/clients/client-acm-pca/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: ACMPCAClientConfig) => { +export const getRuntimeConfig = (config: ACMPCAClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-acm-pca/runtimeConfig.native.ts b/clients/client-acm-pca/runtimeConfig.native.ts index 22356f998f118..b9e7c36a58947 100644 --- a/clients/client-acm-pca/runtimeConfig.native.ts +++ b/clients/client-acm-pca/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: ACMPCAClientConfig) => { +export const getRuntimeConfig = (config: ACMPCAClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-acm-pca/runtimeConfig.shared.ts b/clients/client-acm-pca/runtimeConfig.shared.ts index 05f24099b2a93..476bc878a94a7 100644 --- a/clients/client-acm-pca/runtimeConfig.shared.ts +++ b/clients/client-acm-pca/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { ACMPCAClientConfig } from "./ACMPCAClient"; /** * @internal */ -export const getRuntimeConfig = (config: ACMPCAClientConfig) => ({ +export const getRuntimeConfig = (config: ACMPCAClientConfig = {}) => ({ apiVersion: "2017-08-22", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-acm-pca/runtimeConfig.ts b/clients/client-acm-pca/runtimeConfig.ts index ba4b39733f1ae..f8dc3ba718110 100644 --- a/clients/client-acm-pca/runtimeConfig.ts +++ b/clients/client-acm-pca/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: ACMPCAClientConfig) => { +export const getRuntimeConfig = (config: ACMPCAClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-acm/runtimeConfig.browser.ts b/clients/client-acm/runtimeConfig.browser.ts index 0f4f5dc701d1a..9c00aba4c8478 100644 --- a/clients/client-acm/runtimeConfig.browser.ts +++ b/clients/client-acm/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: ACMClientConfig) => { +export const getRuntimeConfig = (config: ACMClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-acm/runtimeConfig.native.ts b/clients/client-acm/runtimeConfig.native.ts index bdefb51dd5ab7..fc584a1bb7747 100644 --- a/clients/client-acm/runtimeConfig.native.ts +++ b/clients/client-acm/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: ACMClientConfig) => { +export const getRuntimeConfig = (config: ACMClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-acm/runtimeConfig.shared.ts b/clients/client-acm/runtimeConfig.shared.ts index 0da4e1b7fdf74..9ddeeaca06b6f 100644 --- a/clients/client-acm/runtimeConfig.shared.ts +++ b/clients/client-acm/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { ACMClientConfig } from "./ACMClient"; /** * @internal */ -export const getRuntimeConfig = (config: ACMClientConfig) => ({ +export const getRuntimeConfig = (config: ACMClientConfig = {}) => ({ apiVersion: "2015-12-08", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-acm/runtimeConfig.ts b/clients/client-acm/runtimeConfig.ts index 34ff7b225f826..fffec1dbe0d5d 100644 --- a/clients/client-acm/runtimeConfig.ts +++ b/clients/client-acm/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: ACMClientConfig) => { +export const getRuntimeConfig = (config: ACMClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-alexa-for-business/runtimeConfig.browser.ts b/clients/client-alexa-for-business/runtimeConfig.browser.ts index a85aa3882700b..183f7590d64e8 100644 --- a/clients/client-alexa-for-business/runtimeConfig.browser.ts +++ b/clients/client-alexa-for-business/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: AlexaForBusinessClientConfig) => { +export const getRuntimeConfig = (config: AlexaForBusinessClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-alexa-for-business/runtimeConfig.native.ts b/clients/client-alexa-for-business/runtimeConfig.native.ts index 632a51d5007cd..079c03cd82b5c 100644 --- a/clients/client-alexa-for-business/runtimeConfig.native.ts +++ b/clients/client-alexa-for-business/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: AlexaForBusinessClientConfig) => { +export const getRuntimeConfig = (config: AlexaForBusinessClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-alexa-for-business/runtimeConfig.shared.ts b/clients/client-alexa-for-business/runtimeConfig.shared.ts index 19e68ce9d7a07..d5a9f9f09b0d7 100644 --- a/clients/client-alexa-for-business/runtimeConfig.shared.ts +++ b/clients/client-alexa-for-business/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { AlexaForBusinessClientConfig } from "./AlexaForBusinessClient"; /** * @internal */ -export const getRuntimeConfig = (config: AlexaForBusinessClientConfig) => ({ +export const getRuntimeConfig = (config: AlexaForBusinessClientConfig = {}) => ({ apiVersion: "2017-11-09", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-alexa-for-business/runtimeConfig.ts b/clients/client-alexa-for-business/runtimeConfig.ts index dffb80b9f5678..7f8ac3ff3417d 100644 --- a/clients/client-alexa-for-business/runtimeConfig.ts +++ b/clients/client-alexa-for-business/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: AlexaForBusinessClientConfig) => { +export const getRuntimeConfig = (config: AlexaForBusinessClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-amp/runtimeConfig.browser.ts b/clients/client-amp/runtimeConfig.browser.ts index 34a2884367450..817ac63a667d0 100644 --- a/clients/client-amp/runtimeConfig.browser.ts +++ b/clients/client-amp/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: AmpClientConfig) => { +export const getRuntimeConfig = (config: AmpClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-amp/runtimeConfig.native.ts b/clients/client-amp/runtimeConfig.native.ts index 73c04881cbc35..1a11de3ff3c94 100644 --- a/clients/client-amp/runtimeConfig.native.ts +++ b/clients/client-amp/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: AmpClientConfig) => { +export const getRuntimeConfig = (config: AmpClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-amp/runtimeConfig.shared.ts b/clients/client-amp/runtimeConfig.shared.ts index 3d86a96ffff27..71dda1051edd2 100644 --- a/clients/client-amp/runtimeConfig.shared.ts +++ b/clients/client-amp/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { AmpClientConfig } from "./AmpClient"; /** * @internal */ -export const getRuntimeConfig = (config: AmpClientConfig) => ({ +export const getRuntimeConfig = (config: AmpClientConfig = {}) => ({ apiVersion: "2020-08-01", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-amp/runtimeConfig.ts b/clients/client-amp/runtimeConfig.ts index eff7e277ddb47..14c9e37a3141e 100644 --- a/clients/client-amp/runtimeConfig.ts +++ b/clients/client-amp/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: AmpClientConfig) => { +export const getRuntimeConfig = (config: AmpClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-amplify/runtimeConfig.browser.ts b/clients/client-amplify/runtimeConfig.browser.ts index 5293a17cfe234..fd0eb101ada05 100644 --- a/clients/client-amplify/runtimeConfig.browser.ts +++ b/clients/client-amplify/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: AmplifyClientConfig) => { +export const getRuntimeConfig = (config: AmplifyClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-amplify/runtimeConfig.native.ts b/clients/client-amplify/runtimeConfig.native.ts index f0b05d713b4c0..b7e4d02bd3dd4 100644 --- a/clients/client-amplify/runtimeConfig.native.ts +++ b/clients/client-amplify/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: AmplifyClientConfig) => { +export const getRuntimeConfig = (config: AmplifyClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-amplify/runtimeConfig.shared.ts b/clients/client-amplify/runtimeConfig.shared.ts index b68484771e1a5..2c0c36f23c539 100644 --- a/clients/client-amplify/runtimeConfig.shared.ts +++ b/clients/client-amplify/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { AmplifyClientConfig } from "./AmplifyClient"; /** * @internal */ -export const getRuntimeConfig = (config: AmplifyClientConfig) => ({ +export const getRuntimeConfig = (config: AmplifyClientConfig = {}) => ({ apiVersion: "2017-07-25", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-amplify/runtimeConfig.ts b/clients/client-amplify/runtimeConfig.ts index 17b13707a85de..7355bb43da795 100644 --- a/clients/client-amplify/runtimeConfig.ts +++ b/clients/client-amplify/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: AmplifyClientConfig) => { +export const getRuntimeConfig = (config: AmplifyClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-amplifybackend/runtimeConfig.browser.ts b/clients/client-amplifybackend/runtimeConfig.browser.ts index d6375ebc9268b..0c873e7747cb3 100644 --- a/clients/client-amplifybackend/runtimeConfig.browser.ts +++ b/clients/client-amplifybackend/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: AmplifyBackendClientConfig) => { +export const getRuntimeConfig = (config: AmplifyBackendClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-amplifybackend/runtimeConfig.native.ts b/clients/client-amplifybackend/runtimeConfig.native.ts index d6acc4eae6a06..fcc0db7a9c61e 100644 --- a/clients/client-amplifybackend/runtimeConfig.native.ts +++ b/clients/client-amplifybackend/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: AmplifyBackendClientConfig) => { +export const getRuntimeConfig = (config: AmplifyBackendClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-amplifybackend/runtimeConfig.shared.ts b/clients/client-amplifybackend/runtimeConfig.shared.ts index 6263392d52b8e..9163707202a4d 100644 --- a/clients/client-amplifybackend/runtimeConfig.shared.ts +++ b/clients/client-amplifybackend/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { AmplifyBackendClientConfig } from "./AmplifyBackendClient"; /** * @internal */ -export const getRuntimeConfig = (config: AmplifyBackendClientConfig) => ({ +export const getRuntimeConfig = (config: AmplifyBackendClientConfig = {}) => ({ apiVersion: "2020-08-11", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-amplifybackend/runtimeConfig.ts b/clients/client-amplifybackend/runtimeConfig.ts index 850f50df4dcc0..c50f6fa60c132 100644 --- a/clients/client-amplifybackend/runtimeConfig.ts +++ b/clients/client-amplifybackend/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: AmplifyBackendClientConfig) => { +export const getRuntimeConfig = (config: AmplifyBackendClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-api-gateway/runtimeConfig.browser.ts b/clients/client-api-gateway/runtimeConfig.browser.ts index f4b0d89f4d38c..dea049ab0019f 100644 --- a/clients/client-api-gateway/runtimeConfig.browser.ts +++ b/clients/client-api-gateway/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: APIGatewayClientConfig) => { +export const getRuntimeConfig = (config: APIGatewayClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-api-gateway/runtimeConfig.native.ts b/clients/client-api-gateway/runtimeConfig.native.ts index 796480896384a..265081bfd5198 100644 --- a/clients/client-api-gateway/runtimeConfig.native.ts +++ b/clients/client-api-gateway/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: APIGatewayClientConfig) => { +export const getRuntimeConfig = (config: APIGatewayClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-api-gateway/runtimeConfig.shared.ts b/clients/client-api-gateway/runtimeConfig.shared.ts index fb7b75780100a..18c653b4f78a0 100644 --- a/clients/client-api-gateway/runtimeConfig.shared.ts +++ b/clients/client-api-gateway/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { APIGatewayClientConfig } from "./APIGatewayClient"; /** * @internal */ -export const getRuntimeConfig = (config: APIGatewayClientConfig) => ({ +export const getRuntimeConfig = (config: APIGatewayClientConfig = {}) => ({ apiVersion: "2015-07-09", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-api-gateway/runtimeConfig.ts b/clients/client-api-gateway/runtimeConfig.ts index e48d6a2e46352..e80433fcf6135 100644 --- a/clients/client-api-gateway/runtimeConfig.ts +++ b/clients/client-api-gateway/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: APIGatewayClientConfig) => { +export const getRuntimeConfig = (config: APIGatewayClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-apigatewaymanagementapi/runtimeConfig.browser.ts b/clients/client-apigatewaymanagementapi/runtimeConfig.browser.ts index 99a7f12b2ba67..a6fefb0df9732 100644 --- a/clients/client-apigatewaymanagementapi/runtimeConfig.browser.ts +++ b/clients/client-apigatewaymanagementapi/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: ApiGatewayManagementApiClientConfig) => { +export const getRuntimeConfig = (config: ApiGatewayManagementApiClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-apigatewaymanagementapi/runtimeConfig.native.ts b/clients/client-apigatewaymanagementapi/runtimeConfig.native.ts index 19a1bc51d9751..e1805c5a3ea32 100644 --- a/clients/client-apigatewaymanagementapi/runtimeConfig.native.ts +++ b/clients/client-apigatewaymanagementapi/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: ApiGatewayManagementApiClientConfig) => { +export const getRuntimeConfig = (config: ApiGatewayManagementApiClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-apigatewaymanagementapi/runtimeConfig.shared.ts b/clients/client-apigatewaymanagementapi/runtimeConfig.shared.ts index 43a4ec6346024..c3b28639462bc 100644 --- a/clients/client-apigatewaymanagementapi/runtimeConfig.shared.ts +++ b/clients/client-apigatewaymanagementapi/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { ApiGatewayManagementApiClientConfig } from "./ApiGatewayManagementApiCl /** * @internal */ -export const getRuntimeConfig = (config: ApiGatewayManagementApiClientConfig) => ({ +export const getRuntimeConfig = (config: ApiGatewayManagementApiClientConfig = {}) => ({ apiVersion: "2018-11-29", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-apigatewaymanagementapi/runtimeConfig.ts b/clients/client-apigatewaymanagementapi/runtimeConfig.ts index e082925247df8..26e5be23b75a8 100644 --- a/clients/client-apigatewaymanagementapi/runtimeConfig.ts +++ b/clients/client-apigatewaymanagementapi/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: ApiGatewayManagementApiClientConfig) => { +export const getRuntimeConfig = (config: ApiGatewayManagementApiClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-apigatewayv2/runtimeConfig.browser.ts b/clients/client-apigatewayv2/runtimeConfig.browser.ts index d522b5d7dfd8c..4b880b38779ad 100644 --- a/clients/client-apigatewayv2/runtimeConfig.browser.ts +++ b/clients/client-apigatewayv2/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: ApiGatewayV2ClientConfig) => { +export const getRuntimeConfig = (config: ApiGatewayV2ClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-apigatewayv2/runtimeConfig.native.ts b/clients/client-apigatewayv2/runtimeConfig.native.ts index 1f443824ac8cf..b90783e09530e 100644 --- a/clients/client-apigatewayv2/runtimeConfig.native.ts +++ b/clients/client-apigatewayv2/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: ApiGatewayV2ClientConfig) => { +export const getRuntimeConfig = (config: ApiGatewayV2ClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-apigatewayv2/runtimeConfig.shared.ts b/clients/client-apigatewayv2/runtimeConfig.shared.ts index bd9e538f766c2..03667e2cfcf2a 100644 --- a/clients/client-apigatewayv2/runtimeConfig.shared.ts +++ b/clients/client-apigatewayv2/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { ApiGatewayV2ClientConfig } from "./ApiGatewayV2Client"; /** * @internal */ -export const getRuntimeConfig = (config: ApiGatewayV2ClientConfig) => ({ +export const getRuntimeConfig = (config: ApiGatewayV2ClientConfig = {}) => ({ apiVersion: "2018-11-29", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-apigatewayv2/runtimeConfig.ts b/clients/client-apigatewayv2/runtimeConfig.ts index 6ac2e8d3d111b..4f983e4473683 100644 --- a/clients/client-apigatewayv2/runtimeConfig.ts +++ b/clients/client-apigatewayv2/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: ApiGatewayV2ClientConfig) => { +export const getRuntimeConfig = (config: ApiGatewayV2ClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-app-mesh/runtimeConfig.browser.ts b/clients/client-app-mesh/runtimeConfig.browser.ts index ea7595124d926..f6426c71eafa7 100644 --- a/clients/client-app-mesh/runtimeConfig.browser.ts +++ b/clients/client-app-mesh/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: AppMeshClientConfig) => { +export const getRuntimeConfig = (config: AppMeshClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-app-mesh/runtimeConfig.native.ts b/clients/client-app-mesh/runtimeConfig.native.ts index 2b344fc1aeff7..c1a5a4d29c5e0 100644 --- a/clients/client-app-mesh/runtimeConfig.native.ts +++ b/clients/client-app-mesh/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: AppMeshClientConfig) => { +export const getRuntimeConfig = (config: AppMeshClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-app-mesh/runtimeConfig.shared.ts b/clients/client-app-mesh/runtimeConfig.shared.ts index 02ae0264ef0c0..319859967d2b8 100644 --- a/clients/client-app-mesh/runtimeConfig.shared.ts +++ b/clients/client-app-mesh/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { AppMeshClientConfig } from "./AppMeshClient"; /** * @internal */ -export const getRuntimeConfig = (config: AppMeshClientConfig) => ({ +export const getRuntimeConfig = (config: AppMeshClientConfig = {}) => ({ apiVersion: "2019-01-25", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-app-mesh/runtimeConfig.ts b/clients/client-app-mesh/runtimeConfig.ts index 434f0e9d5b8c9..de7e9d1c30dcb 100644 --- a/clients/client-app-mesh/runtimeConfig.ts +++ b/clients/client-app-mesh/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: AppMeshClientConfig) => { +export const getRuntimeConfig = (config: AppMeshClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-appconfig/runtimeConfig.browser.ts b/clients/client-appconfig/runtimeConfig.browser.ts index d651e0aa05dc2..ec497625e3c33 100644 --- a/clients/client-appconfig/runtimeConfig.browser.ts +++ b/clients/client-appconfig/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: AppConfigClientConfig) => { +export const getRuntimeConfig = (config: AppConfigClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-appconfig/runtimeConfig.native.ts b/clients/client-appconfig/runtimeConfig.native.ts index 380ae3f836a7a..ac97c69d99e1b 100644 --- a/clients/client-appconfig/runtimeConfig.native.ts +++ b/clients/client-appconfig/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: AppConfigClientConfig) => { +export const getRuntimeConfig = (config: AppConfigClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-appconfig/runtimeConfig.shared.ts b/clients/client-appconfig/runtimeConfig.shared.ts index d7ecc8a3fdce4..9a2a051976e2a 100644 --- a/clients/client-appconfig/runtimeConfig.shared.ts +++ b/clients/client-appconfig/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { AppConfigClientConfig } from "./AppConfigClient"; /** * @internal */ -export const getRuntimeConfig = (config: AppConfigClientConfig) => ({ +export const getRuntimeConfig = (config: AppConfigClientConfig = {}) => ({ apiVersion: "2019-10-09", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-appconfig/runtimeConfig.ts b/clients/client-appconfig/runtimeConfig.ts index 3fbe330c7e238..92e8a5a2a57d8 100644 --- a/clients/client-appconfig/runtimeConfig.ts +++ b/clients/client-appconfig/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: AppConfigClientConfig) => { +export const getRuntimeConfig = (config: AppConfigClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-appflow/runtimeConfig.browser.ts b/clients/client-appflow/runtimeConfig.browser.ts index 293ca28aa4a4e..090f0d989c607 100644 --- a/clients/client-appflow/runtimeConfig.browser.ts +++ b/clients/client-appflow/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: AppflowClientConfig) => { +export const getRuntimeConfig = (config: AppflowClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-appflow/runtimeConfig.native.ts b/clients/client-appflow/runtimeConfig.native.ts index a501c9def9845..c88d444c12d90 100644 --- a/clients/client-appflow/runtimeConfig.native.ts +++ b/clients/client-appflow/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: AppflowClientConfig) => { +export const getRuntimeConfig = (config: AppflowClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-appflow/runtimeConfig.shared.ts b/clients/client-appflow/runtimeConfig.shared.ts index e60f86337d26f..ddd98088e8740 100644 --- a/clients/client-appflow/runtimeConfig.shared.ts +++ b/clients/client-appflow/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { AppflowClientConfig } from "./AppflowClient"; /** * @internal */ -export const getRuntimeConfig = (config: AppflowClientConfig) => ({ +export const getRuntimeConfig = (config: AppflowClientConfig = {}) => ({ apiVersion: "2020-08-23", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-appflow/runtimeConfig.ts b/clients/client-appflow/runtimeConfig.ts index 464fab832559d..3feba7fcae066 100644 --- a/clients/client-appflow/runtimeConfig.ts +++ b/clients/client-appflow/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: AppflowClientConfig) => { +export const getRuntimeConfig = (config: AppflowClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-appintegrations/runtimeConfig.browser.ts b/clients/client-appintegrations/runtimeConfig.browser.ts index bb317d6583005..2e0323ccabc11 100644 --- a/clients/client-appintegrations/runtimeConfig.browser.ts +++ b/clients/client-appintegrations/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: AppIntegrationsClientConfig) => { +export const getRuntimeConfig = (config: AppIntegrationsClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-appintegrations/runtimeConfig.native.ts b/clients/client-appintegrations/runtimeConfig.native.ts index b7c03eb594ac2..71249d3f21a5d 100644 --- a/clients/client-appintegrations/runtimeConfig.native.ts +++ b/clients/client-appintegrations/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: AppIntegrationsClientConfig) => { +export const getRuntimeConfig = (config: AppIntegrationsClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-appintegrations/runtimeConfig.shared.ts b/clients/client-appintegrations/runtimeConfig.shared.ts index 238845e4b1e98..94456389b4b56 100644 --- a/clients/client-appintegrations/runtimeConfig.shared.ts +++ b/clients/client-appintegrations/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { AppIntegrationsClientConfig } from "./AppIntegrationsClient"; /** * @internal */ -export const getRuntimeConfig = (config: AppIntegrationsClientConfig) => ({ +export const getRuntimeConfig = (config: AppIntegrationsClientConfig = {}) => ({ apiVersion: "2020-07-29", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-appintegrations/runtimeConfig.ts b/clients/client-appintegrations/runtimeConfig.ts index 8ee808f3c9e67..e1d679b1c438f 100644 --- a/clients/client-appintegrations/runtimeConfig.ts +++ b/clients/client-appintegrations/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: AppIntegrationsClientConfig) => { +export const getRuntimeConfig = (config: AppIntegrationsClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-application-auto-scaling/runtimeConfig.browser.ts b/clients/client-application-auto-scaling/runtimeConfig.browser.ts index d316ee055df93..eb9042b46f6a9 100644 --- a/clients/client-application-auto-scaling/runtimeConfig.browser.ts +++ b/clients/client-application-auto-scaling/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: ApplicationAutoScalingClientConfig) => { +export const getRuntimeConfig = (config: ApplicationAutoScalingClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-application-auto-scaling/runtimeConfig.native.ts b/clients/client-application-auto-scaling/runtimeConfig.native.ts index ecb8ad3429081..aa2c104df2edf 100644 --- a/clients/client-application-auto-scaling/runtimeConfig.native.ts +++ b/clients/client-application-auto-scaling/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: ApplicationAutoScalingClientConfig) => { +export const getRuntimeConfig = (config: ApplicationAutoScalingClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-application-auto-scaling/runtimeConfig.shared.ts b/clients/client-application-auto-scaling/runtimeConfig.shared.ts index 41cbb47f62236..e8d0daf4f1cdf 100644 --- a/clients/client-application-auto-scaling/runtimeConfig.shared.ts +++ b/clients/client-application-auto-scaling/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { ApplicationAutoScalingClientConfig } from "./ApplicationAutoScalingClie /** * @internal */ -export const getRuntimeConfig = (config: ApplicationAutoScalingClientConfig) => ({ +export const getRuntimeConfig = (config: ApplicationAutoScalingClientConfig = {}) => ({ apiVersion: "2016-02-06", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-application-auto-scaling/runtimeConfig.ts b/clients/client-application-auto-scaling/runtimeConfig.ts index 70f30a3040c0d..1da7fd2094750 100644 --- a/clients/client-application-auto-scaling/runtimeConfig.ts +++ b/clients/client-application-auto-scaling/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: ApplicationAutoScalingClientConfig) => { +export const getRuntimeConfig = (config: ApplicationAutoScalingClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-application-discovery-service/runtimeConfig.browser.ts b/clients/client-application-discovery-service/runtimeConfig.browser.ts index a79a283e56488..adcd24d887c4d 100644 --- a/clients/client-application-discovery-service/runtimeConfig.browser.ts +++ b/clients/client-application-discovery-service/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: ApplicationDiscoveryServiceClientConfig) => { +export const getRuntimeConfig = (config: ApplicationDiscoveryServiceClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-application-discovery-service/runtimeConfig.native.ts b/clients/client-application-discovery-service/runtimeConfig.native.ts index bff59a209dff6..1a3b1a7d4fbfa 100644 --- a/clients/client-application-discovery-service/runtimeConfig.native.ts +++ b/clients/client-application-discovery-service/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: ApplicationDiscoveryServiceClientConfig) => { +export const getRuntimeConfig = (config: ApplicationDiscoveryServiceClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-application-discovery-service/runtimeConfig.shared.ts b/clients/client-application-discovery-service/runtimeConfig.shared.ts index a9d656fa056cd..4d7ce9dbc475d 100644 --- a/clients/client-application-discovery-service/runtimeConfig.shared.ts +++ b/clients/client-application-discovery-service/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { ApplicationDiscoveryServiceClientConfig } from "./ApplicationDiscoveryS /** * @internal */ -export const getRuntimeConfig = (config: ApplicationDiscoveryServiceClientConfig) => ({ +export const getRuntimeConfig = (config: ApplicationDiscoveryServiceClientConfig = {}) => ({ apiVersion: "2015-11-01", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-application-discovery-service/runtimeConfig.ts b/clients/client-application-discovery-service/runtimeConfig.ts index 16ab4e5a31284..8e459ef3d0f33 100644 --- a/clients/client-application-discovery-service/runtimeConfig.ts +++ b/clients/client-application-discovery-service/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: ApplicationDiscoveryServiceClientConfig) => { +export const getRuntimeConfig = (config: ApplicationDiscoveryServiceClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-application-insights/runtimeConfig.browser.ts b/clients/client-application-insights/runtimeConfig.browser.ts index abbb58018f929..d593aecd5042b 100644 --- a/clients/client-application-insights/runtimeConfig.browser.ts +++ b/clients/client-application-insights/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: ApplicationInsightsClientConfig) => { +export const getRuntimeConfig = (config: ApplicationInsightsClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-application-insights/runtimeConfig.native.ts b/clients/client-application-insights/runtimeConfig.native.ts index 226e36318e16e..378ee7adf0f13 100644 --- a/clients/client-application-insights/runtimeConfig.native.ts +++ b/clients/client-application-insights/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: ApplicationInsightsClientConfig) => { +export const getRuntimeConfig = (config: ApplicationInsightsClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-application-insights/runtimeConfig.shared.ts b/clients/client-application-insights/runtimeConfig.shared.ts index dc5fcdd0a58b2..c63899847c955 100644 --- a/clients/client-application-insights/runtimeConfig.shared.ts +++ b/clients/client-application-insights/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { ApplicationInsightsClientConfig } from "./ApplicationInsightsClient"; /** * @internal */ -export const getRuntimeConfig = (config: ApplicationInsightsClientConfig) => ({ +export const getRuntimeConfig = (config: ApplicationInsightsClientConfig = {}) => ({ apiVersion: "2018-11-25", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-application-insights/runtimeConfig.ts b/clients/client-application-insights/runtimeConfig.ts index 5d6bdfcfac533..9d039be8687f3 100644 --- a/clients/client-application-insights/runtimeConfig.ts +++ b/clients/client-application-insights/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: ApplicationInsightsClientConfig) => { +export const getRuntimeConfig = (config: ApplicationInsightsClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-applicationcostprofiler/runtimeConfig.browser.ts b/clients/client-applicationcostprofiler/runtimeConfig.browser.ts index 2b961c9f3482e..5d940d2ff2da4 100644 --- a/clients/client-applicationcostprofiler/runtimeConfig.browser.ts +++ b/clients/client-applicationcostprofiler/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: ApplicationCostProfilerClientConfig) => { +export const getRuntimeConfig = (config: ApplicationCostProfilerClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-applicationcostprofiler/runtimeConfig.native.ts b/clients/client-applicationcostprofiler/runtimeConfig.native.ts index a2592181a759b..cee39217a7b56 100644 --- a/clients/client-applicationcostprofiler/runtimeConfig.native.ts +++ b/clients/client-applicationcostprofiler/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: ApplicationCostProfilerClientConfig) => { +export const getRuntimeConfig = (config: ApplicationCostProfilerClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-applicationcostprofiler/runtimeConfig.shared.ts b/clients/client-applicationcostprofiler/runtimeConfig.shared.ts index 5d44e99b066e6..c09e00c20ce80 100644 --- a/clients/client-applicationcostprofiler/runtimeConfig.shared.ts +++ b/clients/client-applicationcostprofiler/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { ApplicationCostProfilerClientConfig } from "./ApplicationCostProfilerCl /** * @internal */ -export const getRuntimeConfig = (config: ApplicationCostProfilerClientConfig) => ({ +export const getRuntimeConfig = (config: ApplicationCostProfilerClientConfig = {}) => ({ apiVersion: "2020-09-10", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-applicationcostprofiler/runtimeConfig.ts b/clients/client-applicationcostprofiler/runtimeConfig.ts index b15ef6c00941c..776e1819e2d28 100644 --- a/clients/client-applicationcostprofiler/runtimeConfig.ts +++ b/clients/client-applicationcostprofiler/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: ApplicationCostProfilerClientConfig) => { +export const getRuntimeConfig = (config: ApplicationCostProfilerClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-apprunner/runtimeConfig.browser.ts b/clients/client-apprunner/runtimeConfig.browser.ts index 204008bcd10aa..092a0b81e6dc4 100644 --- a/clients/client-apprunner/runtimeConfig.browser.ts +++ b/clients/client-apprunner/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: AppRunnerClientConfig) => { +export const getRuntimeConfig = (config: AppRunnerClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-apprunner/runtimeConfig.native.ts b/clients/client-apprunner/runtimeConfig.native.ts index 908f340c4a112..741d88816c4a7 100644 --- a/clients/client-apprunner/runtimeConfig.native.ts +++ b/clients/client-apprunner/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: AppRunnerClientConfig) => { +export const getRuntimeConfig = (config: AppRunnerClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-apprunner/runtimeConfig.shared.ts b/clients/client-apprunner/runtimeConfig.shared.ts index 5c1842a952c9d..a59930ab89616 100644 --- a/clients/client-apprunner/runtimeConfig.shared.ts +++ b/clients/client-apprunner/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { AppRunnerClientConfig } from "./AppRunnerClient"; /** * @internal */ -export const getRuntimeConfig = (config: AppRunnerClientConfig) => ({ +export const getRuntimeConfig = (config: AppRunnerClientConfig = {}) => ({ apiVersion: "2020-05-15", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-apprunner/runtimeConfig.ts b/clients/client-apprunner/runtimeConfig.ts index b63ecea23e100..fea2c053c8145 100644 --- a/clients/client-apprunner/runtimeConfig.ts +++ b/clients/client-apprunner/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: AppRunnerClientConfig) => { +export const getRuntimeConfig = (config: AppRunnerClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-appstream/runtimeConfig.browser.ts b/clients/client-appstream/runtimeConfig.browser.ts index 1e88aab058bc4..6a4c3eb758bc5 100644 --- a/clients/client-appstream/runtimeConfig.browser.ts +++ b/clients/client-appstream/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: AppStreamClientConfig) => { +export const getRuntimeConfig = (config: AppStreamClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-appstream/runtimeConfig.native.ts b/clients/client-appstream/runtimeConfig.native.ts index 29143f22ffdfa..1434d8d687a39 100644 --- a/clients/client-appstream/runtimeConfig.native.ts +++ b/clients/client-appstream/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: AppStreamClientConfig) => { +export const getRuntimeConfig = (config: AppStreamClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-appstream/runtimeConfig.shared.ts b/clients/client-appstream/runtimeConfig.shared.ts index 9b814cad013a6..dc7458a221aad 100644 --- a/clients/client-appstream/runtimeConfig.shared.ts +++ b/clients/client-appstream/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { AppStreamClientConfig } from "./AppStreamClient"; /** * @internal */ -export const getRuntimeConfig = (config: AppStreamClientConfig) => ({ +export const getRuntimeConfig = (config: AppStreamClientConfig = {}) => ({ apiVersion: "2016-12-01", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-appstream/runtimeConfig.ts b/clients/client-appstream/runtimeConfig.ts index ad7622c1c9514..4196dcee28fff 100644 --- a/clients/client-appstream/runtimeConfig.ts +++ b/clients/client-appstream/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: AppStreamClientConfig) => { +export const getRuntimeConfig = (config: AppStreamClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-appsync/runtimeConfig.browser.ts b/clients/client-appsync/runtimeConfig.browser.ts index ba338ebdf974d..04ce8fd158154 100644 --- a/clients/client-appsync/runtimeConfig.browser.ts +++ b/clients/client-appsync/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: AppSyncClientConfig) => { +export const getRuntimeConfig = (config: AppSyncClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-appsync/runtimeConfig.native.ts b/clients/client-appsync/runtimeConfig.native.ts index 46348942f5d85..e33bfed916ec8 100644 --- a/clients/client-appsync/runtimeConfig.native.ts +++ b/clients/client-appsync/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: AppSyncClientConfig) => { +export const getRuntimeConfig = (config: AppSyncClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-appsync/runtimeConfig.shared.ts b/clients/client-appsync/runtimeConfig.shared.ts index 0f75b5f6dabe4..710780060208c 100644 --- a/clients/client-appsync/runtimeConfig.shared.ts +++ b/clients/client-appsync/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { AppSyncClientConfig } from "./AppSyncClient"; /** * @internal */ -export const getRuntimeConfig = (config: AppSyncClientConfig) => ({ +export const getRuntimeConfig = (config: AppSyncClientConfig = {}) => ({ apiVersion: "2017-07-25", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-appsync/runtimeConfig.ts b/clients/client-appsync/runtimeConfig.ts index 01af6305ae79d..13e4c9b949700 100644 --- a/clients/client-appsync/runtimeConfig.ts +++ b/clients/client-appsync/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: AppSyncClientConfig) => { +export const getRuntimeConfig = (config: AppSyncClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-athena/runtimeConfig.browser.ts b/clients/client-athena/runtimeConfig.browser.ts index 58112c98d9aca..fbd3de45dd949 100644 --- a/clients/client-athena/runtimeConfig.browser.ts +++ b/clients/client-athena/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: AthenaClientConfig) => { +export const getRuntimeConfig = (config: AthenaClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-athena/runtimeConfig.native.ts b/clients/client-athena/runtimeConfig.native.ts index 67f2064992b49..414ac176f7085 100644 --- a/clients/client-athena/runtimeConfig.native.ts +++ b/clients/client-athena/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: AthenaClientConfig) => { +export const getRuntimeConfig = (config: AthenaClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-athena/runtimeConfig.shared.ts b/clients/client-athena/runtimeConfig.shared.ts index c1c0b24fca4b1..f2799408d31ca 100644 --- a/clients/client-athena/runtimeConfig.shared.ts +++ b/clients/client-athena/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { AthenaClientConfig } from "./AthenaClient"; /** * @internal */ -export const getRuntimeConfig = (config: AthenaClientConfig) => ({ +export const getRuntimeConfig = (config: AthenaClientConfig = {}) => ({ apiVersion: "2017-05-18", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-athena/runtimeConfig.ts b/clients/client-athena/runtimeConfig.ts index f79fb4732c095..dddc460f4b75b 100644 --- a/clients/client-athena/runtimeConfig.ts +++ b/clients/client-athena/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: AthenaClientConfig) => { +export const getRuntimeConfig = (config: AthenaClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-auditmanager/runtimeConfig.browser.ts b/clients/client-auditmanager/runtimeConfig.browser.ts index 9ecccdf24dfd1..d150d67b92310 100644 --- a/clients/client-auditmanager/runtimeConfig.browser.ts +++ b/clients/client-auditmanager/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: AuditManagerClientConfig) => { +export const getRuntimeConfig = (config: AuditManagerClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-auditmanager/runtimeConfig.native.ts b/clients/client-auditmanager/runtimeConfig.native.ts index fdef0d81e4d13..8ac8c7e49b5d5 100644 --- a/clients/client-auditmanager/runtimeConfig.native.ts +++ b/clients/client-auditmanager/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: AuditManagerClientConfig) => { +export const getRuntimeConfig = (config: AuditManagerClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-auditmanager/runtimeConfig.shared.ts b/clients/client-auditmanager/runtimeConfig.shared.ts index 20d217539d3e5..3c288d01adce4 100644 --- a/clients/client-auditmanager/runtimeConfig.shared.ts +++ b/clients/client-auditmanager/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { AuditManagerClientConfig } from "./AuditManagerClient"; /** * @internal */ -export const getRuntimeConfig = (config: AuditManagerClientConfig) => ({ +export const getRuntimeConfig = (config: AuditManagerClientConfig = {}) => ({ apiVersion: "2017-07-25", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-auditmanager/runtimeConfig.ts b/clients/client-auditmanager/runtimeConfig.ts index fe79845f0fd3b..a0e394af1b27b 100644 --- a/clients/client-auditmanager/runtimeConfig.ts +++ b/clients/client-auditmanager/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: AuditManagerClientConfig) => { +export const getRuntimeConfig = (config: AuditManagerClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-auto-scaling-plans/runtimeConfig.browser.ts b/clients/client-auto-scaling-plans/runtimeConfig.browser.ts index 4952af7c20f39..39746e23609a3 100644 --- a/clients/client-auto-scaling-plans/runtimeConfig.browser.ts +++ b/clients/client-auto-scaling-plans/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: AutoScalingPlansClientConfig) => { +export const getRuntimeConfig = (config: AutoScalingPlansClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-auto-scaling-plans/runtimeConfig.native.ts b/clients/client-auto-scaling-plans/runtimeConfig.native.ts index 321b9a4e61be1..d64b3f25897ba 100644 --- a/clients/client-auto-scaling-plans/runtimeConfig.native.ts +++ b/clients/client-auto-scaling-plans/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: AutoScalingPlansClientConfig) => { +export const getRuntimeConfig = (config: AutoScalingPlansClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-auto-scaling-plans/runtimeConfig.shared.ts b/clients/client-auto-scaling-plans/runtimeConfig.shared.ts index 1a65afce7c4dd..a6d8e9d9a90a6 100644 --- a/clients/client-auto-scaling-plans/runtimeConfig.shared.ts +++ b/clients/client-auto-scaling-plans/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { AutoScalingPlansClientConfig } from "./AutoScalingPlansClient"; /** * @internal */ -export const getRuntimeConfig = (config: AutoScalingPlansClientConfig) => ({ +export const getRuntimeConfig = (config: AutoScalingPlansClientConfig = {}) => ({ apiVersion: "2018-01-06", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-auto-scaling-plans/runtimeConfig.ts b/clients/client-auto-scaling-plans/runtimeConfig.ts index febb03bbae09c..afa5664dbd583 100644 --- a/clients/client-auto-scaling-plans/runtimeConfig.ts +++ b/clients/client-auto-scaling-plans/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: AutoScalingPlansClientConfig) => { +export const getRuntimeConfig = (config: AutoScalingPlansClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-auto-scaling/runtimeConfig.browser.ts b/clients/client-auto-scaling/runtimeConfig.browser.ts index afb25f4edd999..4ccbcdc6c2591 100644 --- a/clients/client-auto-scaling/runtimeConfig.browser.ts +++ b/clients/client-auto-scaling/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: AutoScalingClientConfig) => { +export const getRuntimeConfig = (config: AutoScalingClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-auto-scaling/runtimeConfig.native.ts b/clients/client-auto-scaling/runtimeConfig.native.ts index 068cce764e9f5..a5929b4e1d7a3 100644 --- a/clients/client-auto-scaling/runtimeConfig.native.ts +++ b/clients/client-auto-scaling/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: AutoScalingClientConfig) => { +export const getRuntimeConfig = (config: AutoScalingClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-auto-scaling/runtimeConfig.shared.ts b/clients/client-auto-scaling/runtimeConfig.shared.ts index d6a93ec729e94..71ba62554bc78 100644 --- a/clients/client-auto-scaling/runtimeConfig.shared.ts +++ b/clients/client-auto-scaling/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { AutoScalingClientConfig } from "./AutoScalingClient"; /** * @internal */ -export const getRuntimeConfig = (config: AutoScalingClientConfig) => ({ +export const getRuntimeConfig = (config: AutoScalingClientConfig = {}) => ({ apiVersion: "2011-01-01", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-auto-scaling/runtimeConfig.ts b/clients/client-auto-scaling/runtimeConfig.ts index 9ab70d182202a..76d6891f60bb5 100644 --- a/clients/client-auto-scaling/runtimeConfig.ts +++ b/clients/client-auto-scaling/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: AutoScalingClientConfig) => { +export const getRuntimeConfig = (config: AutoScalingClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-backup/runtimeConfig.browser.ts b/clients/client-backup/runtimeConfig.browser.ts index fe011e9643591..7b45f86038f30 100644 --- a/clients/client-backup/runtimeConfig.browser.ts +++ b/clients/client-backup/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: BackupClientConfig) => { +export const getRuntimeConfig = (config: BackupClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-backup/runtimeConfig.native.ts b/clients/client-backup/runtimeConfig.native.ts index a08ae1ad5b901..715cb6ac01f2f 100644 --- a/clients/client-backup/runtimeConfig.native.ts +++ b/clients/client-backup/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: BackupClientConfig) => { +export const getRuntimeConfig = (config: BackupClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-backup/runtimeConfig.shared.ts b/clients/client-backup/runtimeConfig.shared.ts index c712f778d85d5..d348ddb51e0f9 100644 --- a/clients/client-backup/runtimeConfig.shared.ts +++ b/clients/client-backup/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { BackupClientConfig } from "./BackupClient"; /** * @internal */ -export const getRuntimeConfig = (config: BackupClientConfig) => ({ +export const getRuntimeConfig = (config: BackupClientConfig = {}) => ({ apiVersion: "2018-11-15", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-backup/runtimeConfig.ts b/clients/client-backup/runtimeConfig.ts index 0d32525245568..5adfab0d9c84c 100644 --- a/clients/client-backup/runtimeConfig.ts +++ b/clients/client-backup/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: BackupClientConfig) => { +export const getRuntimeConfig = (config: BackupClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-batch/runtimeConfig.browser.ts b/clients/client-batch/runtimeConfig.browser.ts index 7925b9612d314..50f5058ca0571 100644 --- a/clients/client-batch/runtimeConfig.browser.ts +++ b/clients/client-batch/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: BatchClientConfig) => { +export const getRuntimeConfig = (config: BatchClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-batch/runtimeConfig.native.ts b/clients/client-batch/runtimeConfig.native.ts index fdc9d54e9e36e..3eaf307446267 100644 --- a/clients/client-batch/runtimeConfig.native.ts +++ b/clients/client-batch/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: BatchClientConfig) => { +export const getRuntimeConfig = (config: BatchClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-batch/runtimeConfig.shared.ts b/clients/client-batch/runtimeConfig.shared.ts index c257dc78ff7b3..11bd1d91140dd 100644 --- a/clients/client-batch/runtimeConfig.shared.ts +++ b/clients/client-batch/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { BatchClientConfig } from "./BatchClient"; /** * @internal */ -export const getRuntimeConfig = (config: BatchClientConfig) => ({ +export const getRuntimeConfig = (config: BatchClientConfig = {}) => ({ apiVersion: "2016-08-10", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-batch/runtimeConfig.ts b/clients/client-batch/runtimeConfig.ts index c134edf238457..a1e9deccd4fb8 100644 --- a/clients/client-batch/runtimeConfig.ts +++ b/clients/client-batch/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: BatchClientConfig) => { +export const getRuntimeConfig = (config: BatchClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-braket/runtimeConfig.browser.ts b/clients/client-braket/runtimeConfig.browser.ts index 57a219d1a97cd..58be4c2ba3a87 100644 --- a/clients/client-braket/runtimeConfig.browser.ts +++ b/clients/client-braket/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: BraketClientConfig) => { +export const getRuntimeConfig = (config: BraketClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-braket/runtimeConfig.native.ts b/clients/client-braket/runtimeConfig.native.ts index dcfa9962a2fea..2c20d5058889b 100644 --- a/clients/client-braket/runtimeConfig.native.ts +++ b/clients/client-braket/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: BraketClientConfig) => { +export const getRuntimeConfig = (config: BraketClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-braket/runtimeConfig.shared.ts b/clients/client-braket/runtimeConfig.shared.ts index d1c06d24464d1..fe9dbef59548c 100644 --- a/clients/client-braket/runtimeConfig.shared.ts +++ b/clients/client-braket/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { BraketClientConfig } from "./BraketClient"; /** * @internal */ -export const getRuntimeConfig = (config: BraketClientConfig) => ({ +export const getRuntimeConfig = (config: BraketClientConfig = {}) => ({ apiVersion: "2019-09-01", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-braket/runtimeConfig.ts b/clients/client-braket/runtimeConfig.ts index 243de27fbf348..d99b6ecb5b5b6 100644 --- a/clients/client-braket/runtimeConfig.ts +++ b/clients/client-braket/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: BraketClientConfig) => { +export const getRuntimeConfig = (config: BraketClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-budgets/runtimeConfig.browser.ts b/clients/client-budgets/runtimeConfig.browser.ts index 5d98acd5772b8..607f001d82864 100644 --- a/clients/client-budgets/runtimeConfig.browser.ts +++ b/clients/client-budgets/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: BudgetsClientConfig) => { +export const getRuntimeConfig = (config: BudgetsClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-budgets/runtimeConfig.native.ts b/clients/client-budgets/runtimeConfig.native.ts index ae786be00c393..36f74777eeddd 100644 --- a/clients/client-budgets/runtimeConfig.native.ts +++ b/clients/client-budgets/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: BudgetsClientConfig) => { +export const getRuntimeConfig = (config: BudgetsClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-budgets/runtimeConfig.shared.ts b/clients/client-budgets/runtimeConfig.shared.ts index 5520c35361edf..7629a4e7c1620 100644 --- a/clients/client-budgets/runtimeConfig.shared.ts +++ b/clients/client-budgets/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { BudgetsClientConfig } from "./BudgetsClient"; /** * @internal */ -export const getRuntimeConfig = (config: BudgetsClientConfig) => ({ +export const getRuntimeConfig = (config: BudgetsClientConfig = {}) => ({ apiVersion: "2016-10-20", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-budgets/runtimeConfig.ts b/clients/client-budgets/runtimeConfig.ts index 9d7425295690e..9ea06d12efaeb 100644 --- a/clients/client-budgets/runtimeConfig.ts +++ b/clients/client-budgets/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: BudgetsClientConfig) => { +export const getRuntimeConfig = (config: BudgetsClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-chime/runtimeConfig.browser.ts b/clients/client-chime/runtimeConfig.browser.ts index 7bead02429978..cd60866494e25 100644 --- a/clients/client-chime/runtimeConfig.browser.ts +++ b/clients/client-chime/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: ChimeClientConfig) => { +export const getRuntimeConfig = (config: ChimeClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-chime/runtimeConfig.native.ts b/clients/client-chime/runtimeConfig.native.ts index 9283cddacf2a2..028f1d0df302c 100644 --- a/clients/client-chime/runtimeConfig.native.ts +++ b/clients/client-chime/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: ChimeClientConfig) => { +export const getRuntimeConfig = (config: ChimeClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-chime/runtimeConfig.shared.ts b/clients/client-chime/runtimeConfig.shared.ts index 8b2cacbe499f4..233a2da8dd158 100644 --- a/clients/client-chime/runtimeConfig.shared.ts +++ b/clients/client-chime/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { ChimeClientConfig } from "./ChimeClient"; /** * @internal */ -export const getRuntimeConfig = (config: ChimeClientConfig) => ({ +export const getRuntimeConfig = (config: ChimeClientConfig = {}) => ({ apiVersion: "2018-05-01", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-chime/runtimeConfig.ts b/clients/client-chime/runtimeConfig.ts index 3db8cfe98ac06..9756fc77fcd30 100644 --- a/clients/client-chime/runtimeConfig.ts +++ b/clients/client-chime/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: ChimeClientConfig) => { +export const getRuntimeConfig = (config: ChimeClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-cloud9/runtimeConfig.browser.ts b/clients/client-cloud9/runtimeConfig.browser.ts index d509cce28b208..165433ca639c7 100644 --- a/clients/client-cloud9/runtimeConfig.browser.ts +++ b/clients/client-cloud9/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: Cloud9ClientConfig) => { +export const getRuntimeConfig = (config: Cloud9ClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-cloud9/runtimeConfig.native.ts b/clients/client-cloud9/runtimeConfig.native.ts index 9d76f1e061d28..c9e092a5b9074 100644 --- a/clients/client-cloud9/runtimeConfig.native.ts +++ b/clients/client-cloud9/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: Cloud9ClientConfig) => { +export const getRuntimeConfig = (config: Cloud9ClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-cloud9/runtimeConfig.shared.ts b/clients/client-cloud9/runtimeConfig.shared.ts index f6ccfa23b88d4..77d89e6a1d78d 100644 --- a/clients/client-cloud9/runtimeConfig.shared.ts +++ b/clients/client-cloud9/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { Cloud9ClientConfig } from "./Cloud9Client"; /** * @internal */ -export const getRuntimeConfig = (config: Cloud9ClientConfig) => ({ +export const getRuntimeConfig = (config: Cloud9ClientConfig = {}) => ({ apiVersion: "2017-09-23", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-cloud9/runtimeConfig.ts b/clients/client-cloud9/runtimeConfig.ts index ea29fc9775e86..a953fac9b4438 100644 --- a/clients/client-cloud9/runtimeConfig.ts +++ b/clients/client-cloud9/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: Cloud9ClientConfig) => { +export const getRuntimeConfig = (config: Cloud9ClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-clouddirectory/runtimeConfig.browser.ts b/clients/client-clouddirectory/runtimeConfig.browser.ts index b043e3e6a22a4..91ab678addf93 100644 --- a/clients/client-clouddirectory/runtimeConfig.browser.ts +++ b/clients/client-clouddirectory/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: CloudDirectoryClientConfig) => { +export const getRuntimeConfig = (config: CloudDirectoryClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-clouddirectory/runtimeConfig.native.ts b/clients/client-clouddirectory/runtimeConfig.native.ts index b57cdb64e6302..b73c7b187ba69 100644 --- a/clients/client-clouddirectory/runtimeConfig.native.ts +++ b/clients/client-clouddirectory/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: CloudDirectoryClientConfig) => { +export const getRuntimeConfig = (config: CloudDirectoryClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-clouddirectory/runtimeConfig.shared.ts b/clients/client-clouddirectory/runtimeConfig.shared.ts index 7537a543fab70..2f9ef22ba7301 100644 --- a/clients/client-clouddirectory/runtimeConfig.shared.ts +++ b/clients/client-clouddirectory/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { CloudDirectoryClientConfig } from "./CloudDirectoryClient"; /** * @internal */ -export const getRuntimeConfig = (config: CloudDirectoryClientConfig) => ({ +export const getRuntimeConfig = (config: CloudDirectoryClientConfig = {}) => ({ apiVersion: "2017-01-11", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-clouddirectory/runtimeConfig.ts b/clients/client-clouddirectory/runtimeConfig.ts index f2972d4b89672..f0efdf120848f 100644 --- a/clients/client-clouddirectory/runtimeConfig.ts +++ b/clients/client-clouddirectory/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: CloudDirectoryClientConfig) => { +export const getRuntimeConfig = (config: CloudDirectoryClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-cloudformation/runtimeConfig.browser.ts b/clients/client-cloudformation/runtimeConfig.browser.ts index d9dec74bc00f0..7daba5db528df 100644 --- a/clients/client-cloudformation/runtimeConfig.browser.ts +++ b/clients/client-cloudformation/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: CloudFormationClientConfig) => { +export const getRuntimeConfig = (config: CloudFormationClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-cloudformation/runtimeConfig.native.ts b/clients/client-cloudformation/runtimeConfig.native.ts index 20477947c328a..f172b577726c5 100644 --- a/clients/client-cloudformation/runtimeConfig.native.ts +++ b/clients/client-cloudformation/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: CloudFormationClientConfig) => { +export const getRuntimeConfig = (config: CloudFormationClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-cloudformation/runtimeConfig.shared.ts b/clients/client-cloudformation/runtimeConfig.shared.ts index 37b4948a5de5b..cc5528aaddeee 100644 --- a/clients/client-cloudformation/runtimeConfig.shared.ts +++ b/clients/client-cloudformation/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { CloudFormationClientConfig } from "./CloudFormationClient"; /** * @internal */ -export const getRuntimeConfig = (config: CloudFormationClientConfig) => ({ +export const getRuntimeConfig = (config: CloudFormationClientConfig = {}) => ({ apiVersion: "2010-05-15", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-cloudformation/runtimeConfig.ts b/clients/client-cloudformation/runtimeConfig.ts index 3bbe114c23f8b..bff8157af8ab0 100644 --- a/clients/client-cloudformation/runtimeConfig.ts +++ b/clients/client-cloudformation/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: CloudFormationClientConfig) => { +export const getRuntimeConfig = (config: CloudFormationClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-cloudfront/runtimeConfig.browser.ts b/clients/client-cloudfront/runtimeConfig.browser.ts index 902d6b299c4cc..a6ff2b52befbf 100644 --- a/clients/client-cloudfront/runtimeConfig.browser.ts +++ b/clients/client-cloudfront/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: CloudFrontClientConfig) => { +export const getRuntimeConfig = (config: CloudFrontClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-cloudfront/runtimeConfig.native.ts b/clients/client-cloudfront/runtimeConfig.native.ts index 80fefc46c724a..60662ab3ef67f 100644 --- a/clients/client-cloudfront/runtimeConfig.native.ts +++ b/clients/client-cloudfront/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: CloudFrontClientConfig) => { +export const getRuntimeConfig = (config: CloudFrontClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-cloudfront/runtimeConfig.shared.ts b/clients/client-cloudfront/runtimeConfig.shared.ts index 271074be5529a..16a43c0875b48 100644 --- a/clients/client-cloudfront/runtimeConfig.shared.ts +++ b/clients/client-cloudfront/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { CloudFrontClientConfig } from "./CloudFrontClient"; /** * @internal */ -export const getRuntimeConfig = (config: CloudFrontClientConfig) => ({ +export const getRuntimeConfig = (config: CloudFrontClientConfig = {}) => ({ apiVersion: "2020-05-31", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-cloudfront/runtimeConfig.ts b/clients/client-cloudfront/runtimeConfig.ts index 30bdfdb2210a1..2008a207b17f2 100644 --- a/clients/client-cloudfront/runtimeConfig.ts +++ b/clients/client-cloudfront/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: CloudFrontClientConfig) => { +export const getRuntimeConfig = (config: CloudFrontClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-cloudhsm-v2/runtimeConfig.browser.ts b/clients/client-cloudhsm-v2/runtimeConfig.browser.ts index 156413e6af641..d038349f80b6e 100644 --- a/clients/client-cloudhsm-v2/runtimeConfig.browser.ts +++ b/clients/client-cloudhsm-v2/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: CloudHSMV2ClientConfig) => { +export const getRuntimeConfig = (config: CloudHSMV2ClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-cloudhsm-v2/runtimeConfig.native.ts b/clients/client-cloudhsm-v2/runtimeConfig.native.ts index 0f23cd2f33c0f..165179b05f563 100644 --- a/clients/client-cloudhsm-v2/runtimeConfig.native.ts +++ b/clients/client-cloudhsm-v2/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: CloudHSMV2ClientConfig) => { +export const getRuntimeConfig = (config: CloudHSMV2ClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-cloudhsm-v2/runtimeConfig.shared.ts b/clients/client-cloudhsm-v2/runtimeConfig.shared.ts index cc5a30b4f9b29..902a28da6ef85 100644 --- a/clients/client-cloudhsm-v2/runtimeConfig.shared.ts +++ b/clients/client-cloudhsm-v2/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { CloudHSMV2ClientConfig } from "./CloudHSMV2Client"; /** * @internal */ -export const getRuntimeConfig = (config: CloudHSMV2ClientConfig) => ({ +export const getRuntimeConfig = (config: CloudHSMV2ClientConfig = {}) => ({ apiVersion: "2017-04-28", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-cloudhsm-v2/runtimeConfig.ts b/clients/client-cloudhsm-v2/runtimeConfig.ts index 33005cca4fd55..cdbf45e5f0442 100644 --- a/clients/client-cloudhsm-v2/runtimeConfig.ts +++ b/clients/client-cloudhsm-v2/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: CloudHSMV2ClientConfig) => { +export const getRuntimeConfig = (config: CloudHSMV2ClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-cloudhsm/runtimeConfig.browser.ts b/clients/client-cloudhsm/runtimeConfig.browser.ts index d5342e40aaa21..7b6be73a17f19 100644 --- a/clients/client-cloudhsm/runtimeConfig.browser.ts +++ b/clients/client-cloudhsm/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: CloudHSMClientConfig) => { +export const getRuntimeConfig = (config: CloudHSMClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-cloudhsm/runtimeConfig.native.ts b/clients/client-cloudhsm/runtimeConfig.native.ts index cbf82826508b9..01513920ea756 100644 --- a/clients/client-cloudhsm/runtimeConfig.native.ts +++ b/clients/client-cloudhsm/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: CloudHSMClientConfig) => { +export const getRuntimeConfig = (config: CloudHSMClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-cloudhsm/runtimeConfig.shared.ts b/clients/client-cloudhsm/runtimeConfig.shared.ts index 24c82fc5ccb2d..8920ee3a733d0 100644 --- a/clients/client-cloudhsm/runtimeConfig.shared.ts +++ b/clients/client-cloudhsm/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { CloudHSMClientConfig } from "./CloudHSMClient"; /** * @internal */ -export const getRuntimeConfig = (config: CloudHSMClientConfig) => ({ +export const getRuntimeConfig = (config: CloudHSMClientConfig = {}) => ({ apiVersion: "2014-05-30", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-cloudhsm/runtimeConfig.ts b/clients/client-cloudhsm/runtimeConfig.ts index 3208507d3991f..dd50ded2150e5 100644 --- a/clients/client-cloudhsm/runtimeConfig.ts +++ b/clients/client-cloudhsm/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: CloudHSMClientConfig) => { +export const getRuntimeConfig = (config: CloudHSMClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-cloudsearch-domain/runtimeConfig.browser.ts b/clients/client-cloudsearch-domain/runtimeConfig.browser.ts index 23c3fed2b9c36..5870bf7aa0cf9 100644 --- a/clients/client-cloudsearch-domain/runtimeConfig.browser.ts +++ b/clients/client-cloudsearch-domain/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: CloudSearchDomainClientConfig) => { +export const getRuntimeConfig = (config: CloudSearchDomainClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-cloudsearch-domain/runtimeConfig.native.ts b/clients/client-cloudsearch-domain/runtimeConfig.native.ts index ce0a66d8c1638..8b2108005dee9 100644 --- a/clients/client-cloudsearch-domain/runtimeConfig.native.ts +++ b/clients/client-cloudsearch-domain/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: CloudSearchDomainClientConfig) => { +export const getRuntimeConfig = (config: CloudSearchDomainClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-cloudsearch-domain/runtimeConfig.shared.ts b/clients/client-cloudsearch-domain/runtimeConfig.shared.ts index f9459ddb86202..6b8a0bdf3f61b 100644 --- a/clients/client-cloudsearch-domain/runtimeConfig.shared.ts +++ b/clients/client-cloudsearch-domain/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { CloudSearchDomainClientConfig } from "./CloudSearchDomainClient"; /** * @internal */ -export const getRuntimeConfig = (config: CloudSearchDomainClientConfig) => ({ +export const getRuntimeConfig = (config: CloudSearchDomainClientConfig = {}) => ({ apiVersion: "2013-01-01", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-cloudsearch-domain/runtimeConfig.ts b/clients/client-cloudsearch-domain/runtimeConfig.ts index 03eb83ff36d03..71870c274b3d0 100644 --- a/clients/client-cloudsearch-domain/runtimeConfig.ts +++ b/clients/client-cloudsearch-domain/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: CloudSearchDomainClientConfig) => { +export const getRuntimeConfig = (config: CloudSearchDomainClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-cloudsearch/runtimeConfig.browser.ts b/clients/client-cloudsearch/runtimeConfig.browser.ts index 774716319e2e4..cf35ebef7a074 100644 --- a/clients/client-cloudsearch/runtimeConfig.browser.ts +++ b/clients/client-cloudsearch/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: CloudSearchClientConfig) => { +export const getRuntimeConfig = (config: CloudSearchClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-cloudsearch/runtimeConfig.native.ts b/clients/client-cloudsearch/runtimeConfig.native.ts index c12d94559669c..9848f4bed04c7 100644 --- a/clients/client-cloudsearch/runtimeConfig.native.ts +++ b/clients/client-cloudsearch/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: CloudSearchClientConfig) => { +export const getRuntimeConfig = (config: CloudSearchClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-cloudsearch/runtimeConfig.shared.ts b/clients/client-cloudsearch/runtimeConfig.shared.ts index 24184a693bc51..25195f84fd15b 100644 --- a/clients/client-cloudsearch/runtimeConfig.shared.ts +++ b/clients/client-cloudsearch/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { CloudSearchClientConfig } from "./CloudSearchClient"; /** * @internal */ -export const getRuntimeConfig = (config: CloudSearchClientConfig) => ({ +export const getRuntimeConfig = (config: CloudSearchClientConfig = {}) => ({ apiVersion: "2013-01-01", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-cloudsearch/runtimeConfig.ts b/clients/client-cloudsearch/runtimeConfig.ts index 9341e1f231a89..cea92ee45ec33 100644 --- a/clients/client-cloudsearch/runtimeConfig.ts +++ b/clients/client-cloudsearch/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: CloudSearchClientConfig) => { +export const getRuntimeConfig = (config: CloudSearchClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-cloudtrail/runtimeConfig.browser.ts b/clients/client-cloudtrail/runtimeConfig.browser.ts index c6ad5995a4ba6..becafe1044715 100644 --- a/clients/client-cloudtrail/runtimeConfig.browser.ts +++ b/clients/client-cloudtrail/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: CloudTrailClientConfig) => { +export const getRuntimeConfig = (config: CloudTrailClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-cloudtrail/runtimeConfig.native.ts b/clients/client-cloudtrail/runtimeConfig.native.ts index bc99d2a4b0f0c..f6ddaa623a01b 100644 --- a/clients/client-cloudtrail/runtimeConfig.native.ts +++ b/clients/client-cloudtrail/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: CloudTrailClientConfig) => { +export const getRuntimeConfig = (config: CloudTrailClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-cloudtrail/runtimeConfig.shared.ts b/clients/client-cloudtrail/runtimeConfig.shared.ts index 08565aca1826a..0065d1ed408e1 100644 --- a/clients/client-cloudtrail/runtimeConfig.shared.ts +++ b/clients/client-cloudtrail/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { CloudTrailClientConfig } from "./CloudTrailClient"; /** * @internal */ -export const getRuntimeConfig = (config: CloudTrailClientConfig) => ({ +export const getRuntimeConfig = (config: CloudTrailClientConfig = {}) => ({ apiVersion: "2013-11-01", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-cloudtrail/runtimeConfig.ts b/clients/client-cloudtrail/runtimeConfig.ts index 62f098cdb2c52..2e925dc837f44 100644 --- a/clients/client-cloudtrail/runtimeConfig.ts +++ b/clients/client-cloudtrail/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: CloudTrailClientConfig) => { +export const getRuntimeConfig = (config: CloudTrailClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-cloudwatch-events/runtimeConfig.browser.ts b/clients/client-cloudwatch-events/runtimeConfig.browser.ts index 9087a17f9af19..cea4c14af92de 100644 --- a/clients/client-cloudwatch-events/runtimeConfig.browser.ts +++ b/clients/client-cloudwatch-events/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: CloudWatchEventsClientConfig) => { +export const getRuntimeConfig = (config: CloudWatchEventsClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-cloudwatch-events/runtimeConfig.native.ts b/clients/client-cloudwatch-events/runtimeConfig.native.ts index a01ad3749f229..51052907228e2 100644 --- a/clients/client-cloudwatch-events/runtimeConfig.native.ts +++ b/clients/client-cloudwatch-events/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: CloudWatchEventsClientConfig) => { +export const getRuntimeConfig = (config: CloudWatchEventsClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-cloudwatch-events/runtimeConfig.shared.ts b/clients/client-cloudwatch-events/runtimeConfig.shared.ts index a55678ec8a8a0..8ac0246030632 100644 --- a/clients/client-cloudwatch-events/runtimeConfig.shared.ts +++ b/clients/client-cloudwatch-events/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { CloudWatchEventsClientConfig } from "./CloudWatchEventsClient"; /** * @internal */ -export const getRuntimeConfig = (config: CloudWatchEventsClientConfig) => ({ +export const getRuntimeConfig = (config: CloudWatchEventsClientConfig = {}) => ({ apiVersion: "2015-10-07", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-cloudwatch-events/runtimeConfig.ts b/clients/client-cloudwatch-events/runtimeConfig.ts index d3711b4fb70cb..3f6b47d7d873c 100644 --- a/clients/client-cloudwatch-events/runtimeConfig.ts +++ b/clients/client-cloudwatch-events/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: CloudWatchEventsClientConfig) => { +export const getRuntimeConfig = (config: CloudWatchEventsClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-cloudwatch-logs/runtimeConfig.browser.ts b/clients/client-cloudwatch-logs/runtimeConfig.browser.ts index 711b786bbd467..0a9110796e66c 100644 --- a/clients/client-cloudwatch-logs/runtimeConfig.browser.ts +++ b/clients/client-cloudwatch-logs/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: CloudWatchLogsClientConfig) => { +export const getRuntimeConfig = (config: CloudWatchLogsClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-cloudwatch-logs/runtimeConfig.native.ts b/clients/client-cloudwatch-logs/runtimeConfig.native.ts index f702eceee478e..4cc70339a7a0a 100644 --- a/clients/client-cloudwatch-logs/runtimeConfig.native.ts +++ b/clients/client-cloudwatch-logs/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: CloudWatchLogsClientConfig) => { +export const getRuntimeConfig = (config: CloudWatchLogsClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-cloudwatch-logs/runtimeConfig.shared.ts b/clients/client-cloudwatch-logs/runtimeConfig.shared.ts index 17fcc27c2eb3b..ffffe32ce211d 100644 --- a/clients/client-cloudwatch-logs/runtimeConfig.shared.ts +++ b/clients/client-cloudwatch-logs/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { CloudWatchLogsClientConfig } from "./CloudWatchLogsClient"; /** * @internal */ -export const getRuntimeConfig = (config: CloudWatchLogsClientConfig) => ({ +export const getRuntimeConfig = (config: CloudWatchLogsClientConfig = {}) => ({ apiVersion: "2014-03-28", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-cloudwatch-logs/runtimeConfig.ts b/clients/client-cloudwatch-logs/runtimeConfig.ts index df9093a216f69..7810364c84563 100644 --- a/clients/client-cloudwatch-logs/runtimeConfig.ts +++ b/clients/client-cloudwatch-logs/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: CloudWatchLogsClientConfig) => { +export const getRuntimeConfig = (config: CloudWatchLogsClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-cloudwatch/runtimeConfig.browser.ts b/clients/client-cloudwatch/runtimeConfig.browser.ts index 8a5d59f8467c7..6ef6bd56e9c88 100644 --- a/clients/client-cloudwatch/runtimeConfig.browser.ts +++ b/clients/client-cloudwatch/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: CloudWatchClientConfig) => { +export const getRuntimeConfig = (config: CloudWatchClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-cloudwatch/runtimeConfig.native.ts b/clients/client-cloudwatch/runtimeConfig.native.ts index 88936e068010b..2e2ce4bc7dd77 100644 --- a/clients/client-cloudwatch/runtimeConfig.native.ts +++ b/clients/client-cloudwatch/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: CloudWatchClientConfig) => { +export const getRuntimeConfig = (config: CloudWatchClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-cloudwatch/runtimeConfig.shared.ts b/clients/client-cloudwatch/runtimeConfig.shared.ts index 0cb8e20cb0bea..5a05b5efa37d5 100644 --- a/clients/client-cloudwatch/runtimeConfig.shared.ts +++ b/clients/client-cloudwatch/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { CloudWatchClientConfig } from "./CloudWatchClient"; /** * @internal */ -export const getRuntimeConfig = (config: CloudWatchClientConfig) => ({ +export const getRuntimeConfig = (config: CloudWatchClientConfig = {}) => ({ apiVersion: "2010-08-01", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-cloudwatch/runtimeConfig.ts b/clients/client-cloudwatch/runtimeConfig.ts index 73df731422cb5..9f2a79c8928db 100644 --- a/clients/client-cloudwatch/runtimeConfig.ts +++ b/clients/client-cloudwatch/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: CloudWatchClientConfig) => { +export const getRuntimeConfig = (config: CloudWatchClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-codeartifact/runtimeConfig.browser.ts b/clients/client-codeartifact/runtimeConfig.browser.ts index 59da38ec724a2..43df92350ce3f 100644 --- a/clients/client-codeartifact/runtimeConfig.browser.ts +++ b/clients/client-codeartifact/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: CodeartifactClientConfig) => { +export const getRuntimeConfig = (config: CodeartifactClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-codeartifact/runtimeConfig.native.ts b/clients/client-codeartifact/runtimeConfig.native.ts index 9134d3f19b6d0..1986e4dd9b8c5 100644 --- a/clients/client-codeartifact/runtimeConfig.native.ts +++ b/clients/client-codeartifact/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: CodeartifactClientConfig) => { +export const getRuntimeConfig = (config: CodeartifactClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-codeartifact/runtimeConfig.shared.ts b/clients/client-codeartifact/runtimeConfig.shared.ts index a03ba08abdfda..4c993ba760754 100644 --- a/clients/client-codeartifact/runtimeConfig.shared.ts +++ b/clients/client-codeartifact/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { CodeartifactClientConfig } from "./CodeartifactClient"; /** * @internal */ -export const getRuntimeConfig = (config: CodeartifactClientConfig) => ({ +export const getRuntimeConfig = (config: CodeartifactClientConfig = {}) => ({ apiVersion: "2018-09-22", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-codeartifact/runtimeConfig.ts b/clients/client-codeartifact/runtimeConfig.ts index 04922567d036e..c0923533bd7ce 100644 --- a/clients/client-codeartifact/runtimeConfig.ts +++ b/clients/client-codeartifact/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: CodeartifactClientConfig) => { +export const getRuntimeConfig = (config: CodeartifactClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-codebuild/runtimeConfig.browser.ts b/clients/client-codebuild/runtimeConfig.browser.ts index 79cb5c96c4a86..46d9484133aa3 100644 --- a/clients/client-codebuild/runtimeConfig.browser.ts +++ b/clients/client-codebuild/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: CodeBuildClientConfig) => { +export const getRuntimeConfig = (config: CodeBuildClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-codebuild/runtimeConfig.native.ts b/clients/client-codebuild/runtimeConfig.native.ts index a196e942fd952..c64b8350717c0 100644 --- a/clients/client-codebuild/runtimeConfig.native.ts +++ b/clients/client-codebuild/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: CodeBuildClientConfig) => { +export const getRuntimeConfig = (config: CodeBuildClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-codebuild/runtimeConfig.shared.ts b/clients/client-codebuild/runtimeConfig.shared.ts index 97f7006aaab09..a6b3be51f3e35 100644 --- a/clients/client-codebuild/runtimeConfig.shared.ts +++ b/clients/client-codebuild/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { CodeBuildClientConfig } from "./CodeBuildClient"; /** * @internal */ -export const getRuntimeConfig = (config: CodeBuildClientConfig) => ({ +export const getRuntimeConfig = (config: CodeBuildClientConfig = {}) => ({ apiVersion: "2016-10-06", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-codebuild/runtimeConfig.ts b/clients/client-codebuild/runtimeConfig.ts index 532416fa19fa8..a19f755f87f97 100644 --- a/clients/client-codebuild/runtimeConfig.ts +++ b/clients/client-codebuild/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: CodeBuildClientConfig) => { +export const getRuntimeConfig = (config: CodeBuildClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-codecommit/runtimeConfig.browser.ts b/clients/client-codecommit/runtimeConfig.browser.ts index 455eab4a9ddba..b5590bcdda121 100644 --- a/clients/client-codecommit/runtimeConfig.browser.ts +++ b/clients/client-codecommit/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: CodeCommitClientConfig) => { +export const getRuntimeConfig = (config: CodeCommitClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-codecommit/runtimeConfig.native.ts b/clients/client-codecommit/runtimeConfig.native.ts index 488f92b1a6763..8d0226326395a 100644 --- a/clients/client-codecommit/runtimeConfig.native.ts +++ b/clients/client-codecommit/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: CodeCommitClientConfig) => { +export const getRuntimeConfig = (config: CodeCommitClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-codecommit/runtimeConfig.shared.ts b/clients/client-codecommit/runtimeConfig.shared.ts index a99f80a0f3898..3fd319aaaab69 100644 --- a/clients/client-codecommit/runtimeConfig.shared.ts +++ b/clients/client-codecommit/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { CodeCommitClientConfig } from "./CodeCommitClient"; /** * @internal */ -export const getRuntimeConfig = (config: CodeCommitClientConfig) => ({ +export const getRuntimeConfig = (config: CodeCommitClientConfig = {}) => ({ apiVersion: "2015-04-13", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-codecommit/runtimeConfig.ts b/clients/client-codecommit/runtimeConfig.ts index a37a450f1c5d2..816227dccb13a 100644 --- a/clients/client-codecommit/runtimeConfig.ts +++ b/clients/client-codecommit/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: CodeCommitClientConfig) => { +export const getRuntimeConfig = (config: CodeCommitClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-codedeploy/runtimeConfig.browser.ts b/clients/client-codedeploy/runtimeConfig.browser.ts index ccb4bb6b04e89..a849e05d56d01 100644 --- a/clients/client-codedeploy/runtimeConfig.browser.ts +++ b/clients/client-codedeploy/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: CodeDeployClientConfig) => { +export const getRuntimeConfig = (config: CodeDeployClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-codedeploy/runtimeConfig.native.ts b/clients/client-codedeploy/runtimeConfig.native.ts index 4b0108a9dc39f..f851b8fcd41c2 100644 --- a/clients/client-codedeploy/runtimeConfig.native.ts +++ b/clients/client-codedeploy/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: CodeDeployClientConfig) => { +export const getRuntimeConfig = (config: CodeDeployClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-codedeploy/runtimeConfig.shared.ts b/clients/client-codedeploy/runtimeConfig.shared.ts index f3a7437c5e00e..9ed48fefb22e3 100644 --- a/clients/client-codedeploy/runtimeConfig.shared.ts +++ b/clients/client-codedeploy/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { CodeDeployClientConfig } from "./CodeDeployClient"; /** * @internal */ -export const getRuntimeConfig = (config: CodeDeployClientConfig) => ({ +export const getRuntimeConfig = (config: CodeDeployClientConfig = {}) => ({ apiVersion: "2014-10-06", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-codedeploy/runtimeConfig.ts b/clients/client-codedeploy/runtimeConfig.ts index b6a9b20ac6919..8194f5a85fd9e 100644 --- a/clients/client-codedeploy/runtimeConfig.ts +++ b/clients/client-codedeploy/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: CodeDeployClientConfig) => { +export const getRuntimeConfig = (config: CodeDeployClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-codeguru-reviewer/runtimeConfig.browser.ts b/clients/client-codeguru-reviewer/runtimeConfig.browser.ts index 62d370b19e853..1ae2707d32561 100644 --- a/clients/client-codeguru-reviewer/runtimeConfig.browser.ts +++ b/clients/client-codeguru-reviewer/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: CodeGuruReviewerClientConfig) => { +export const getRuntimeConfig = (config: CodeGuruReviewerClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-codeguru-reviewer/runtimeConfig.native.ts b/clients/client-codeguru-reviewer/runtimeConfig.native.ts index 6452f17d3d57d..34945c91d03f6 100644 --- a/clients/client-codeguru-reviewer/runtimeConfig.native.ts +++ b/clients/client-codeguru-reviewer/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: CodeGuruReviewerClientConfig) => { +export const getRuntimeConfig = (config: CodeGuruReviewerClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-codeguru-reviewer/runtimeConfig.shared.ts b/clients/client-codeguru-reviewer/runtimeConfig.shared.ts index 7d47e1e91aaff..77cacf970caa2 100644 --- a/clients/client-codeguru-reviewer/runtimeConfig.shared.ts +++ b/clients/client-codeguru-reviewer/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { CodeGuruReviewerClientConfig } from "./CodeGuruReviewerClient"; /** * @internal */ -export const getRuntimeConfig = (config: CodeGuruReviewerClientConfig) => ({ +export const getRuntimeConfig = (config: CodeGuruReviewerClientConfig = {}) => ({ apiVersion: "2019-09-19", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-codeguru-reviewer/runtimeConfig.ts b/clients/client-codeguru-reviewer/runtimeConfig.ts index 6511cd9ffedbd..89e5a43639ea4 100644 --- a/clients/client-codeguru-reviewer/runtimeConfig.ts +++ b/clients/client-codeguru-reviewer/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: CodeGuruReviewerClientConfig) => { +export const getRuntimeConfig = (config: CodeGuruReviewerClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-codeguruprofiler/runtimeConfig.browser.ts b/clients/client-codeguruprofiler/runtimeConfig.browser.ts index e9ddaf536a7d0..e39f56d3a1e3c 100644 --- a/clients/client-codeguruprofiler/runtimeConfig.browser.ts +++ b/clients/client-codeguruprofiler/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: CodeGuruProfilerClientConfig) => { +export const getRuntimeConfig = (config: CodeGuruProfilerClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-codeguruprofiler/runtimeConfig.native.ts b/clients/client-codeguruprofiler/runtimeConfig.native.ts index 4f98bd737c64b..3a869beebbdb1 100644 --- a/clients/client-codeguruprofiler/runtimeConfig.native.ts +++ b/clients/client-codeguruprofiler/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: CodeGuruProfilerClientConfig) => { +export const getRuntimeConfig = (config: CodeGuruProfilerClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-codeguruprofiler/runtimeConfig.shared.ts b/clients/client-codeguruprofiler/runtimeConfig.shared.ts index 2e37e581700df..47d67e6c39817 100644 --- a/clients/client-codeguruprofiler/runtimeConfig.shared.ts +++ b/clients/client-codeguruprofiler/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { CodeGuruProfilerClientConfig } from "./CodeGuruProfilerClient"; /** * @internal */ -export const getRuntimeConfig = (config: CodeGuruProfilerClientConfig) => ({ +export const getRuntimeConfig = (config: CodeGuruProfilerClientConfig = {}) => ({ apiVersion: "2019-07-18", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-codeguruprofiler/runtimeConfig.ts b/clients/client-codeguruprofiler/runtimeConfig.ts index 59e085e448c53..07dd824c752ad 100644 --- a/clients/client-codeguruprofiler/runtimeConfig.ts +++ b/clients/client-codeguruprofiler/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: CodeGuruProfilerClientConfig) => { +export const getRuntimeConfig = (config: CodeGuruProfilerClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-codepipeline/runtimeConfig.browser.ts b/clients/client-codepipeline/runtimeConfig.browser.ts index 1f2d8a72e1531..bfaba3f67ef77 100644 --- a/clients/client-codepipeline/runtimeConfig.browser.ts +++ b/clients/client-codepipeline/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: CodePipelineClientConfig) => { +export const getRuntimeConfig = (config: CodePipelineClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-codepipeline/runtimeConfig.native.ts b/clients/client-codepipeline/runtimeConfig.native.ts index 4fcffa0cedca3..240f7e03a0f6b 100644 --- a/clients/client-codepipeline/runtimeConfig.native.ts +++ b/clients/client-codepipeline/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: CodePipelineClientConfig) => { +export const getRuntimeConfig = (config: CodePipelineClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-codepipeline/runtimeConfig.shared.ts b/clients/client-codepipeline/runtimeConfig.shared.ts index eb5b492ca6f0d..06190e493aed2 100644 --- a/clients/client-codepipeline/runtimeConfig.shared.ts +++ b/clients/client-codepipeline/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { CodePipelineClientConfig } from "./CodePipelineClient"; /** * @internal */ -export const getRuntimeConfig = (config: CodePipelineClientConfig) => ({ +export const getRuntimeConfig = (config: CodePipelineClientConfig = {}) => ({ apiVersion: "2015-07-09", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-codepipeline/runtimeConfig.ts b/clients/client-codepipeline/runtimeConfig.ts index be6cf1afaa71b..ab05e4a04bfbb 100644 --- a/clients/client-codepipeline/runtimeConfig.ts +++ b/clients/client-codepipeline/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: CodePipelineClientConfig) => { +export const getRuntimeConfig = (config: CodePipelineClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-codestar-connections/runtimeConfig.browser.ts b/clients/client-codestar-connections/runtimeConfig.browser.ts index cff9ae1eedf92..5f2af03184892 100644 --- a/clients/client-codestar-connections/runtimeConfig.browser.ts +++ b/clients/client-codestar-connections/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: CodeStarConnectionsClientConfig) => { +export const getRuntimeConfig = (config: CodeStarConnectionsClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-codestar-connections/runtimeConfig.native.ts b/clients/client-codestar-connections/runtimeConfig.native.ts index 2c8cea23c005e..cdfb57473411a 100644 --- a/clients/client-codestar-connections/runtimeConfig.native.ts +++ b/clients/client-codestar-connections/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: CodeStarConnectionsClientConfig) => { +export const getRuntimeConfig = (config: CodeStarConnectionsClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-codestar-connections/runtimeConfig.shared.ts b/clients/client-codestar-connections/runtimeConfig.shared.ts index f03d78bea11c0..522f1df0fc9d3 100644 --- a/clients/client-codestar-connections/runtimeConfig.shared.ts +++ b/clients/client-codestar-connections/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { CodeStarConnectionsClientConfig } from "./CodeStarConnectionsClient"; /** * @internal */ -export const getRuntimeConfig = (config: CodeStarConnectionsClientConfig) => ({ +export const getRuntimeConfig = (config: CodeStarConnectionsClientConfig = {}) => ({ apiVersion: "2019-12-01", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-codestar-connections/runtimeConfig.ts b/clients/client-codestar-connections/runtimeConfig.ts index 562fb403f7563..d0ffbbf126e88 100644 --- a/clients/client-codestar-connections/runtimeConfig.ts +++ b/clients/client-codestar-connections/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: CodeStarConnectionsClientConfig) => { +export const getRuntimeConfig = (config: CodeStarConnectionsClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-codestar-notifications/runtimeConfig.browser.ts b/clients/client-codestar-notifications/runtimeConfig.browser.ts index 6697827f2f447..45e30900410ad 100644 --- a/clients/client-codestar-notifications/runtimeConfig.browser.ts +++ b/clients/client-codestar-notifications/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: CodestarNotificationsClientConfig) => { +export const getRuntimeConfig = (config: CodestarNotificationsClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-codestar-notifications/runtimeConfig.native.ts b/clients/client-codestar-notifications/runtimeConfig.native.ts index 92bbb37555ec0..211378a22f600 100644 --- a/clients/client-codestar-notifications/runtimeConfig.native.ts +++ b/clients/client-codestar-notifications/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: CodestarNotificationsClientConfig) => { +export const getRuntimeConfig = (config: CodestarNotificationsClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-codestar-notifications/runtimeConfig.shared.ts b/clients/client-codestar-notifications/runtimeConfig.shared.ts index 53c0e07df1ba0..be9d515b24eda 100644 --- a/clients/client-codestar-notifications/runtimeConfig.shared.ts +++ b/clients/client-codestar-notifications/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { CodestarNotificationsClientConfig } from "./CodestarNotificationsClient /** * @internal */ -export const getRuntimeConfig = (config: CodestarNotificationsClientConfig) => ({ +export const getRuntimeConfig = (config: CodestarNotificationsClientConfig = {}) => ({ apiVersion: "2019-10-15", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-codestar-notifications/runtimeConfig.ts b/clients/client-codestar-notifications/runtimeConfig.ts index 9775a76fb3bec..d95916324a6de 100644 --- a/clients/client-codestar-notifications/runtimeConfig.ts +++ b/clients/client-codestar-notifications/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: CodestarNotificationsClientConfig) => { +export const getRuntimeConfig = (config: CodestarNotificationsClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-codestar/runtimeConfig.browser.ts b/clients/client-codestar/runtimeConfig.browser.ts index 0ccfc63ebddd4..177013a8621c4 100644 --- a/clients/client-codestar/runtimeConfig.browser.ts +++ b/clients/client-codestar/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: CodeStarClientConfig) => { +export const getRuntimeConfig = (config: CodeStarClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-codestar/runtimeConfig.native.ts b/clients/client-codestar/runtimeConfig.native.ts index a73fdec1c940d..585196a803c50 100644 --- a/clients/client-codestar/runtimeConfig.native.ts +++ b/clients/client-codestar/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: CodeStarClientConfig) => { +export const getRuntimeConfig = (config: CodeStarClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-codestar/runtimeConfig.shared.ts b/clients/client-codestar/runtimeConfig.shared.ts index 1f5861569efd7..5ef1771f43d58 100644 --- a/clients/client-codestar/runtimeConfig.shared.ts +++ b/clients/client-codestar/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { CodeStarClientConfig } from "./CodeStarClient"; /** * @internal */ -export const getRuntimeConfig = (config: CodeStarClientConfig) => ({ +export const getRuntimeConfig = (config: CodeStarClientConfig = {}) => ({ apiVersion: "2017-04-19", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-codestar/runtimeConfig.ts b/clients/client-codestar/runtimeConfig.ts index 35edad1cb0091..b3de49f630e5c 100644 --- a/clients/client-codestar/runtimeConfig.ts +++ b/clients/client-codestar/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: CodeStarClientConfig) => { +export const getRuntimeConfig = (config: CodeStarClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-cognito-identity-provider/runtimeConfig.browser.ts b/clients/client-cognito-identity-provider/runtimeConfig.browser.ts index 63d75f1db140e..8670f3269909f 100644 --- a/clients/client-cognito-identity-provider/runtimeConfig.browser.ts +++ b/clients/client-cognito-identity-provider/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: CognitoIdentityProviderClientConfig) => { +export const getRuntimeConfig = (config: CognitoIdentityProviderClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-cognito-identity-provider/runtimeConfig.native.ts b/clients/client-cognito-identity-provider/runtimeConfig.native.ts index d74cf9b0a6646..1dd12ae4ffa38 100644 --- a/clients/client-cognito-identity-provider/runtimeConfig.native.ts +++ b/clients/client-cognito-identity-provider/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: CognitoIdentityProviderClientConfig) => { +export const getRuntimeConfig = (config: CognitoIdentityProviderClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-cognito-identity-provider/runtimeConfig.shared.ts b/clients/client-cognito-identity-provider/runtimeConfig.shared.ts index f7bfd581c863a..192dd4e95302d 100644 --- a/clients/client-cognito-identity-provider/runtimeConfig.shared.ts +++ b/clients/client-cognito-identity-provider/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { CognitoIdentityProviderClientConfig } from "./CognitoIdentityProviderCl /** * @internal */ -export const getRuntimeConfig = (config: CognitoIdentityProviderClientConfig) => ({ +export const getRuntimeConfig = (config: CognitoIdentityProviderClientConfig = {}) => ({ apiVersion: "2016-04-18", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-cognito-identity-provider/runtimeConfig.ts b/clients/client-cognito-identity-provider/runtimeConfig.ts index f86ac94c0bbee..86b9453208d17 100644 --- a/clients/client-cognito-identity-provider/runtimeConfig.ts +++ b/clients/client-cognito-identity-provider/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: CognitoIdentityProviderClientConfig) => { +export const getRuntimeConfig = (config: CognitoIdentityProviderClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-cognito-identity/runtimeConfig.browser.ts b/clients/client-cognito-identity/runtimeConfig.browser.ts index b928751e10d45..1d03b83218247 100644 --- a/clients/client-cognito-identity/runtimeConfig.browser.ts +++ b/clients/client-cognito-identity/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: CognitoIdentityClientConfig) => { +export const getRuntimeConfig = (config: CognitoIdentityClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-cognito-identity/runtimeConfig.native.ts b/clients/client-cognito-identity/runtimeConfig.native.ts index 4fefa77ed1604..8e481d66dc889 100644 --- a/clients/client-cognito-identity/runtimeConfig.native.ts +++ b/clients/client-cognito-identity/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: CognitoIdentityClientConfig) => { +export const getRuntimeConfig = (config: CognitoIdentityClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-cognito-identity/runtimeConfig.shared.ts b/clients/client-cognito-identity/runtimeConfig.shared.ts index 5c934131a68c5..371f5ae0bb1f6 100644 --- a/clients/client-cognito-identity/runtimeConfig.shared.ts +++ b/clients/client-cognito-identity/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { CognitoIdentityClientConfig } from "./CognitoIdentityClient"; /** * @internal */ -export const getRuntimeConfig = (config: CognitoIdentityClientConfig) => ({ +export const getRuntimeConfig = (config: CognitoIdentityClientConfig = {}) => ({ apiVersion: "2014-06-30", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-cognito-identity/runtimeConfig.ts b/clients/client-cognito-identity/runtimeConfig.ts index 3a79b257e5889..7500a2c92fbb6 100644 --- a/clients/client-cognito-identity/runtimeConfig.ts +++ b/clients/client-cognito-identity/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: CognitoIdentityClientConfig) => { +export const getRuntimeConfig = (config: CognitoIdentityClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-cognito-sync/runtimeConfig.browser.ts b/clients/client-cognito-sync/runtimeConfig.browser.ts index 8e775f19c4237..d1fe5a6e83e4a 100644 --- a/clients/client-cognito-sync/runtimeConfig.browser.ts +++ b/clients/client-cognito-sync/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: CognitoSyncClientConfig) => { +export const getRuntimeConfig = (config: CognitoSyncClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-cognito-sync/runtimeConfig.native.ts b/clients/client-cognito-sync/runtimeConfig.native.ts index 477e9c79eba20..1e2b124a67f14 100644 --- a/clients/client-cognito-sync/runtimeConfig.native.ts +++ b/clients/client-cognito-sync/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: CognitoSyncClientConfig) => { +export const getRuntimeConfig = (config: CognitoSyncClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-cognito-sync/runtimeConfig.shared.ts b/clients/client-cognito-sync/runtimeConfig.shared.ts index 95424ae31495c..0e58f5484621a 100644 --- a/clients/client-cognito-sync/runtimeConfig.shared.ts +++ b/clients/client-cognito-sync/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { CognitoSyncClientConfig } from "./CognitoSyncClient"; /** * @internal */ -export const getRuntimeConfig = (config: CognitoSyncClientConfig) => ({ +export const getRuntimeConfig = (config: CognitoSyncClientConfig = {}) => ({ apiVersion: "2014-06-30", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-cognito-sync/runtimeConfig.ts b/clients/client-cognito-sync/runtimeConfig.ts index 3c150945c4284..3f5bf09c8d8d2 100644 --- a/clients/client-cognito-sync/runtimeConfig.ts +++ b/clients/client-cognito-sync/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: CognitoSyncClientConfig) => { +export const getRuntimeConfig = (config: CognitoSyncClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-comprehend/runtimeConfig.browser.ts b/clients/client-comprehend/runtimeConfig.browser.ts index 55d017877341e..e80d08755aacb 100644 --- a/clients/client-comprehend/runtimeConfig.browser.ts +++ b/clients/client-comprehend/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: ComprehendClientConfig) => { +export const getRuntimeConfig = (config: ComprehendClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-comprehend/runtimeConfig.native.ts b/clients/client-comprehend/runtimeConfig.native.ts index f5e80e54efd19..9f0aa39bada25 100644 --- a/clients/client-comprehend/runtimeConfig.native.ts +++ b/clients/client-comprehend/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: ComprehendClientConfig) => { +export const getRuntimeConfig = (config: ComprehendClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-comprehend/runtimeConfig.shared.ts b/clients/client-comprehend/runtimeConfig.shared.ts index 5818b4127e2f9..5ea72e6b76374 100644 --- a/clients/client-comprehend/runtimeConfig.shared.ts +++ b/clients/client-comprehend/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { ComprehendClientConfig } from "./ComprehendClient"; /** * @internal */ -export const getRuntimeConfig = (config: ComprehendClientConfig) => ({ +export const getRuntimeConfig = (config: ComprehendClientConfig = {}) => ({ apiVersion: "2017-11-27", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-comprehend/runtimeConfig.ts b/clients/client-comprehend/runtimeConfig.ts index f4d9210eb8d59..ad4bbba5f4a39 100644 --- a/clients/client-comprehend/runtimeConfig.ts +++ b/clients/client-comprehend/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: ComprehendClientConfig) => { +export const getRuntimeConfig = (config: ComprehendClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-comprehendmedical/runtimeConfig.browser.ts b/clients/client-comprehendmedical/runtimeConfig.browser.ts index be62058ff57ed..ed17f5a2a1b34 100644 --- a/clients/client-comprehendmedical/runtimeConfig.browser.ts +++ b/clients/client-comprehendmedical/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: ComprehendMedicalClientConfig) => { +export const getRuntimeConfig = (config: ComprehendMedicalClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-comprehendmedical/runtimeConfig.native.ts b/clients/client-comprehendmedical/runtimeConfig.native.ts index 0b05c2ceed146..e4b0391b63001 100644 --- a/clients/client-comprehendmedical/runtimeConfig.native.ts +++ b/clients/client-comprehendmedical/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: ComprehendMedicalClientConfig) => { +export const getRuntimeConfig = (config: ComprehendMedicalClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-comprehendmedical/runtimeConfig.shared.ts b/clients/client-comprehendmedical/runtimeConfig.shared.ts index 2f24087746681..f7a67b9367de1 100644 --- a/clients/client-comprehendmedical/runtimeConfig.shared.ts +++ b/clients/client-comprehendmedical/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { ComprehendMedicalClientConfig } from "./ComprehendMedicalClient"; /** * @internal */ -export const getRuntimeConfig = (config: ComprehendMedicalClientConfig) => ({ +export const getRuntimeConfig = (config: ComprehendMedicalClientConfig = {}) => ({ apiVersion: "2018-10-30", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-comprehendmedical/runtimeConfig.ts b/clients/client-comprehendmedical/runtimeConfig.ts index 75cb2636da918..7cc7b8c6733fd 100644 --- a/clients/client-comprehendmedical/runtimeConfig.ts +++ b/clients/client-comprehendmedical/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: ComprehendMedicalClientConfig) => { +export const getRuntimeConfig = (config: ComprehendMedicalClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-compute-optimizer/runtimeConfig.browser.ts b/clients/client-compute-optimizer/runtimeConfig.browser.ts index 463cd5ed4b295..e02d03c81d870 100644 --- a/clients/client-compute-optimizer/runtimeConfig.browser.ts +++ b/clients/client-compute-optimizer/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: ComputeOptimizerClientConfig) => { +export const getRuntimeConfig = (config: ComputeOptimizerClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-compute-optimizer/runtimeConfig.native.ts b/clients/client-compute-optimizer/runtimeConfig.native.ts index b5d92c3c32d5e..e9e3c6a6b69de 100644 --- a/clients/client-compute-optimizer/runtimeConfig.native.ts +++ b/clients/client-compute-optimizer/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: ComputeOptimizerClientConfig) => { +export const getRuntimeConfig = (config: ComputeOptimizerClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-compute-optimizer/runtimeConfig.shared.ts b/clients/client-compute-optimizer/runtimeConfig.shared.ts index 57d7512e3d43c..848486ab4fa96 100644 --- a/clients/client-compute-optimizer/runtimeConfig.shared.ts +++ b/clients/client-compute-optimizer/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { ComputeOptimizerClientConfig } from "./ComputeOptimizerClient"; /** * @internal */ -export const getRuntimeConfig = (config: ComputeOptimizerClientConfig) => ({ +export const getRuntimeConfig = (config: ComputeOptimizerClientConfig = {}) => ({ apiVersion: "2019-11-01", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-compute-optimizer/runtimeConfig.ts b/clients/client-compute-optimizer/runtimeConfig.ts index 2fb5f95a280b2..8f1bd497d0cc9 100644 --- a/clients/client-compute-optimizer/runtimeConfig.ts +++ b/clients/client-compute-optimizer/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: ComputeOptimizerClientConfig) => { +export const getRuntimeConfig = (config: ComputeOptimizerClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-config-service/runtimeConfig.browser.ts b/clients/client-config-service/runtimeConfig.browser.ts index 40a30fde70f48..59c7742d51c4d 100644 --- a/clients/client-config-service/runtimeConfig.browser.ts +++ b/clients/client-config-service/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: ConfigServiceClientConfig) => { +export const getRuntimeConfig = (config: ConfigServiceClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-config-service/runtimeConfig.native.ts b/clients/client-config-service/runtimeConfig.native.ts index fe557cd6e4f2f..4d5677863200c 100644 --- a/clients/client-config-service/runtimeConfig.native.ts +++ b/clients/client-config-service/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: ConfigServiceClientConfig) => { +export const getRuntimeConfig = (config: ConfigServiceClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-config-service/runtimeConfig.shared.ts b/clients/client-config-service/runtimeConfig.shared.ts index 699c6b0090e21..3b0c82ee77b5c 100644 --- a/clients/client-config-service/runtimeConfig.shared.ts +++ b/clients/client-config-service/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { ConfigServiceClientConfig } from "./ConfigServiceClient"; /** * @internal */ -export const getRuntimeConfig = (config: ConfigServiceClientConfig) => ({ +export const getRuntimeConfig = (config: ConfigServiceClientConfig = {}) => ({ apiVersion: "2014-11-12", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-config-service/runtimeConfig.ts b/clients/client-config-service/runtimeConfig.ts index 3d8a9671fcba6..f5475645da012 100644 --- a/clients/client-config-service/runtimeConfig.ts +++ b/clients/client-config-service/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: ConfigServiceClientConfig) => { +export const getRuntimeConfig = (config: ConfigServiceClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-connect-contact-lens/runtimeConfig.browser.ts b/clients/client-connect-contact-lens/runtimeConfig.browser.ts index 571cee436c202..c75b92c99e48d 100644 --- a/clients/client-connect-contact-lens/runtimeConfig.browser.ts +++ b/clients/client-connect-contact-lens/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: ConnectContactLensClientConfig) => { +export const getRuntimeConfig = (config: ConnectContactLensClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-connect-contact-lens/runtimeConfig.native.ts b/clients/client-connect-contact-lens/runtimeConfig.native.ts index d5b63ba6b50df..e61f71515be9b 100644 --- a/clients/client-connect-contact-lens/runtimeConfig.native.ts +++ b/clients/client-connect-contact-lens/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: ConnectContactLensClientConfig) => { +export const getRuntimeConfig = (config: ConnectContactLensClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-connect-contact-lens/runtimeConfig.shared.ts b/clients/client-connect-contact-lens/runtimeConfig.shared.ts index 0f7b1ffa90fc8..005ff1df1a586 100644 --- a/clients/client-connect-contact-lens/runtimeConfig.shared.ts +++ b/clients/client-connect-contact-lens/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { ConnectContactLensClientConfig } from "./ConnectContactLensClient"; /** * @internal */ -export const getRuntimeConfig = (config: ConnectContactLensClientConfig) => ({ +export const getRuntimeConfig = (config: ConnectContactLensClientConfig = {}) => ({ apiVersion: "2020-08-21", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-connect-contact-lens/runtimeConfig.ts b/clients/client-connect-contact-lens/runtimeConfig.ts index 7de77b8e64658..b909b7da02e62 100644 --- a/clients/client-connect-contact-lens/runtimeConfig.ts +++ b/clients/client-connect-contact-lens/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: ConnectContactLensClientConfig) => { +export const getRuntimeConfig = (config: ConnectContactLensClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-connect/runtimeConfig.browser.ts b/clients/client-connect/runtimeConfig.browser.ts index 1d832d6471cb7..de7f1cb935ddc 100644 --- a/clients/client-connect/runtimeConfig.browser.ts +++ b/clients/client-connect/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: ConnectClientConfig) => { +export const getRuntimeConfig = (config: ConnectClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-connect/runtimeConfig.native.ts b/clients/client-connect/runtimeConfig.native.ts index 8c3b2212bfe67..741cbc9d1be01 100644 --- a/clients/client-connect/runtimeConfig.native.ts +++ b/clients/client-connect/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: ConnectClientConfig) => { +export const getRuntimeConfig = (config: ConnectClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-connect/runtimeConfig.shared.ts b/clients/client-connect/runtimeConfig.shared.ts index 56359a9a3c514..d3b13f1604b8d 100644 --- a/clients/client-connect/runtimeConfig.shared.ts +++ b/clients/client-connect/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { ConnectClientConfig } from "./ConnectClient"; /** * @internal */ -export const getRuntimeConfig = (config: ConnectClientConfig) => ({ +export const getRuntimeConfig = (config: ConnectClientConfig = {}) => ({ apiVersion: "2017-08-08", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-connect/runtimeConfig.ts b/clients/client-connect/runtimeConfig.ts index d7888b4daa0f9..fbba6c2965fee 100644 --- a/clients/client-connect/runtimeConfig.ts +++ b/clients/client-connect/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: ConnectClientConfig) => { +export const getRuntimeConfig = (config: ConnectClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-connectparticipant/runtimeConfig.browser.ts b/clients/client-connectparticipant/runtimeConfig.browser.ts index b349be3166df3..346d2bbf7cb09 100644 --- a/clients/client-connectparticipant/runtimeConfig.browser.ts +++ b/clients/client-connectparticipant/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: ConnectParticipantClientConfig) => { +export const getRuntimeConfig = (config: ConnectParticipantClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-connectparticipant/runtimeConfig.native.ts b/clients/client-connectparticipant/runtimeConfig.native.ts index ff2985ace01ff..ed0ccdac0c9e4 100644 --- a/clients/client-connectparticipant/runtimeConfig.native.ts +++ b/clients/client-connectparticipant/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: ConnectParticipantClientConfig) => { +export const getRuntimeConfig = (config: ConnectParticipantClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-connectparticipant/runtimeConfig.shared.ts b/clients/client-connectparticipant/runtimeConfig.shared.ts index c077cf8056a1d..f08b12bf0580c 100644 --- a/clients/client-connectparticipant/runtimeConfig.shared.ts +++ b/clients/client-connectparticipant/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { ConnectParticipantClientConfig } from "./ConnectParticipantClient"; /** * @internal */ -export const getRuntimeConfig = (config: ConnectParticipantClientConfig) => ({ +export const getRuntimeConfig = (config: ConnectParticipantClientConfig = {}) => ({ apiVersion: "2018-09-07", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-connectparticipant/runtimeConfig.ts b/clients/client-connectparticipant/runtimeConfig.ts index f194df2fcc2bd..63c00f64ef2b1 100644 --- a/clients/client-connectparticipant/runtimeConfig.ts +++ b/clients/client-connectparticipant/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: ConnectParticipantClientConfig) => { +export const getRuntimeConfig = (config: ConnectParticipantClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-cost-and-usage-report-service/runtimeConfig.browser.ts b/clients/client-cost-and-usage-report-service/runtimeConfig.browser.ts index 788d4cba961ba..02e6d63ce1c80 100644 --- a/clients/client-cost-and-usage-report-service/runtimeConfig.browser.ts +++ b/clients/client-cost-and-usage-report-service/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: CostAndUsageReportServiceClientConfig) => { +export const getRuntimeConfig = (config: CostAndUsageReportServiceClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-cost-and-usage-report-service/runtimeConfig.native.ts b/clients/client-cost-and-usage-report-service/runtimeConfig.native.ts index bec508c37c39e..813070a602180 100644 --- a/clients/client-cost-and-usage-report-service/runtimeConfig.native.ts +++ b/clients/client-cost-and-usage-report-service/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: CostAndUsageReportServiceClientConfig) => { +export const getRuntimeConfig = (config: CostAndUsageReportServiceClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-cost-and-usage-report-service/runtimeConfig.shared.ts b/clients/client-cost-and-usage-report-service/runtimeConfig.shared.ts index 7a26edc74f753..3049fd27fc998 100644 --- a/clients/client-cost-and-usage-report-service/runtimeConfig.shared.ts +++ b/clients/client-cost-and-usage-report-service/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { CostAndUsageReportServiceClientConfig } from "./CostAndUsageReportServi /** * @internal */ -export const getRuntimeConfig = (config: CostAndUsageReportServiceClientConfig) => ({ +export const getRuntimeConfig = (config: CostAndUsageReportServiceClientConfig = {}) => ({ apiVersion: "2017-01-06", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-cost-and-usage-report-service/runtimeConfig.ts b/clients/client-cost-and-usage-report-service/runtimeConfig.ts index ad5422df17b51..5635b4317a4dd 100644 --- a/clients/client-cost-and-usage-report-service/runtimeConfig.ts +++ b/clients/client-cost-and-usage-report-service/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: CostAndUsageReportServiceClientConfig) => { +export const getRuntimeConfig = (config: CostAndUsageReportServiceClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-cost-explorer/runtimeConfig.browser.ts b/clients/client-cost-explorer/runtimeConfig.browser.ts index 4a9bd25ddc972..849377dde1ce6 100644 --- a/clients/client-cost-explorer/runtimeConfig.browser.ts +++ b/clients/client-cost-explorer/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: CostExplorerClientConfig) => { +export const getRuntimeConfig = (config: CostExplorerClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-cost-explorer/runtimeConfig.native.ts b/clients/client-cost-explorer/runtimeConfig.native.ts index 6175b496c44c4..f144e58637a0a 100644 --- a/clients/client-cost-explorer/runtimeConfig.native.ts +++ b/clients/client-cost-explorer/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: CostExplorerClientConfig) => { +export const getRuntimeConfig = (config: CostExplorerClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-cost-explorer/runtimeConfig.shared.ts b/clients/client-cost-explorer/runtimeConfig.shared.ts index 4ae8b043dde55..584143616cc20 100644 --- a/clients/client-cost-explorer/runtimeConfig.shared.ts +++ b/clients/client-cost-explorer/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { CostExplorerClientConfig } from "./CostExplorerClient"; /** * @internal */ -export const getRuntimeConfig = (config: CostExplorerClientConfig) => ({ +export const getRuntimeConfig = (config: CostExplorerClientConfig = {}) => ({ apiVersion: "2017-10-25", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-cost-explorer/runtimeConfig.ts b/clients/client-cost-explorer/runtimeConfig.ts index bef5cf7eb18d2..b3f5786948549 100644 --- a/clients/client-cost-explorer/runtimeConfig.ts +++ b/clients/client-cost-explorer/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: CostExplorerClientConfig) => { +export const getRuntimeConfig = (config: CostExplorerClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-customer-profiles/runtimeConfig.browser.ts b/clients/client-customer-profiles/runtimeConfig.browser.ts index bb3571391f0f1..2aa2086a8ad04 100644 --- a/clients/client-customer-profiles/runtimeConfig.browser.ts +++ b/clients/client-customer-profiles/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: CustomerProfilesClientConfig) => { +export const getRuntimeConfig = (config: CustomerProfilesClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-customer-profiles/runtimeConfig.native.ts b/clients/client-customer-profiles/runtimeConfig.native.ts index a7df02fcacf0f..a43fe9581dfa5 100644 --- a/clients/client-customer-profiles/runtimeConfig.native.ts +++ b/clients/client-customer-profiles/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: CustomerProfilesClientConfig) => { +export const getRuntimeConfig = (config: CustomerProfilesClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-customer-profiles/runtimeConfig.shared.ts b/clients/client-customer-profiles/runtimeConfig.shared.ts index 00928c07418c4..8e316ea558f30 100644 --- a/clients/client-customer-profiles/runtimeConfig.shared.ts +++ b/clients/client-customer-profiles/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { CustomerProfilesClientConfig } from "./CustomerProfilesClient"; /** * @internal */ -export const getRuntimeConfig = (config: CustomerProfilesClientConfig) => ({ +export const getRuntimeConfig = (config: CustomerProfilesClientConfig = {}) => ({ apiVersion: "2020-08-15", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-customer-profiles/runtimeConfig.ts b/clients/client-customer-profiles/runtimeConfig.ts index d8dbf7eee35ba..c80f3beed9ed9 100644 --- a/clients/client-customer-profiles/runtimeConfig.ts +++ b/clients/client-customer-profiles/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: CustomerProfilesClientConfig) => { +export const getRuntimeConfig = (config: CustomerProfilesClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-data-pipeline/runtimeConfig.browser.ts b/clients/client-data-pipeline/runtimeConfig.browser.ts index e4d57aea29be2..68a31b28db72f 100644 --- a/clients/client-data-pipeline/runtimeConfig.browser.ts +++ b/clients/client-data-pipeline/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: DataPipelineClientConfig) => { +export const getRuntimeConfig = (config: DataPipelineClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-data-pipeline/runtimeConfig.native.ts b/clients/client-data-pipeline/runtimeConfig.native.ts index 0e6b49560bfd1..578bcc64ebef7 100644 --- a/clients/client-data-pipeline/runtimeConfig.native.ts +++ b/clients/client-data-pipeline/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: DataPipelineClientConfig) => { +export const getRuntimeConfig = (config: DataPipelineClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-data-pipeline/runtimeConfig.shared.ts b/clients/client-data-pipeline/runtimeConfig.shared.ts index d4338f572b76d..76db3ee8f59b2 100644 --- a/clients/client-data-pipeline/runtimeConfig.shared.ts +++ b/clients/client-data-pipeline/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { DataPipelineClientConfig } from "./DataPipelineClient"; /** * @internal */ -export const getRuntimeConfig = (config: DataPipelineClientConfig) => ({ +export const getRuntimeConfig = (config: DataPipelineClientConfig = {}) => ({ apiVersion: "2012-10-29", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-data-pipeline/runtimeConfig.ts b/clients/client-data-pipeline/runtimeConfig.ts index 36fb50f51ec60..1ad39dc3ac8ef 100644 --- a/clients/client-data-pipeline/runtimeConfig.ts +++ b/clients/client-data-pipeline/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: DataPipelineClientConfig) => { +export const getRuntimeConfig = (config: DataPipelineClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-database-migration-service/runtimeConfig.browser.ts b/clients/client-database-migration-service/runtimeConfig.browser.ts index 17f10e4304120..b7406cb22f5d8 100644 --- a/clients/client-database-migration-service/runtimeConfig.browser.ts +++ b/clients/client-database-migration-service/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: DatabaseMigrationServiceClientConfig) => { +export const getRuntimeConfig = (config: DatabaseMigrationServiceClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-database-migration-service/runtimeConfig.native.ts b/clients/client-database-migration-service/runtimeConfig.native.ts index 0fbcf65ac3c06..e7fd686def3ef 100644 --- a/clients/client-database-migration-service/runtimeConfig.native.ts +++ b/clients/client-database-migration-service/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: DatabaseMigrationServiceClientConfig) => { +export const getRuntimeConfig = (config: DatabaseMigrationServiceClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-database-migration-service/runtimeConfig.shared.ts b/clients/client-database-migration-service/runtimeConfig.shared.ts index 1a22deed676dd..a05e3ff1c042f 100644 --- a/clients/client-database-migration-service/runtimeConfig.shared.ts +++ b/clients/client-database-migration-service/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { DatabaseMigrationServiceClientConfig } from "./DatabaseMigrationService /** * @internal */ -export const getRuntimeConfig = (config: DatabaseMigrationServiceClientConfig) => ({ +export const getRuntimeConfig = (config: DatabaseMigrationServiceClientConfig = {}) => ({ apiVersion: "2016-01-01", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-database-migration-service/runtimeConfig.ts b/clients/client-database-migration-service/runtimeConfig.ts index cccb10a031373..4e01501396f45 100644 --- a/clients/client-database-migration-service/runtimeConfig.ts +++ b/clients/client-database-migration-service/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: DatabaseMigrationServiceClientConfig) => { +export const getRuntimeConfig = (config: DatabaseMigrationServiceClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-databrew/runtimeConfig.browser.ts b/clients/client-databrew/runtimeConfig.browser.ts index 62100bc8a4542..849090f12801e 100644 --- a/clients/client-databrew/runtimeConfig.browser.ts +++ b/clients/client-databrew/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: DataBrewClientConfig) => { +export const getRuntimeConfig = (config: DataBrewClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-databrew/runtimeConfig.native.ts b/clients/client-databrew/runtimeConfig.native.ts index e38ce4273968f..b373e44050e23 100644 --- a/clients/client-databrew/runtimeConfig.native.ts +++ b/clients/client-databrew/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: DataBrewClientConfig) => { +export const getRuntimeConfig = (config: DataBrewClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-databrew/runtimeConfig.shared.ts b/clients/client-databrew/runtimeConfig.shared.ts index 112131f119e6f..21ad64b61f26a 100644 --- a/clients/client-databrew/runtimeConfig.shared.ts +++ b/clients/client-databrew/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { DataBrewClientConfig } from "./DataBrewClient"; /** * @internal */ -export const getRuntimeConfig = (config: DataBrewClientConfig) => ({ +export const getRuntimeConfig = (config: DataBrewClientConfig = {}) => ({ apiVersion: "2017-07-25", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-databrew/runtimeConfig.ts b/clients/client-databrew/runtimeConfig.ts index 5a4e2bb4497a8..d1e5f3e463456 100644 --- a/clients/client-databrew/runtimeConfig.ts +++ b/clients/client-databrew/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: DataBrewClientConfig) => { +export const getRuntimeConfig = (config: DataBrewClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-dataexchange/runtimeConfig.browser.ts b/clients/client-dataexchange/runtimeConfig.browser.ts index 05286455ae155..5fc3f03fba9c4 100644 --- a/clients/client-dataexchange/runtimeConfig.browser.ts +++ b/clients/client-dataexchange/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: DataExchangeClientConfig) => { +export const getRuntimeConfig = (config: DataExchangeClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-dataexchange/runtimeConfig.native.ts b/clients/client-dataexchange/runtimeConfig.native.ts index 28609c42eae89..dc838ba9175c2 100644 --- a/clients/client-dataexchange/runtimeConfig.native.ts +++ b/clients/client-dataexchange/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: DataExchangeClientConfig) => { +export const getRuntimeConfig = (config: DataExchangeClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-dataexchange/runtimeConfig.shared.ts b/clients/client-dataexchange/runtimeConfig.shared.ts index 068f6cb826e8b..4ae8adf7400de 100644 --- a/clients/client-dataexchange/runtimeConfig.shared.ts +++ b/clients/client-dataexchange/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { DataExchangeClientConfig } from "./DataExchangeClient"; /** * @internal */ -export const getRuntimeConfig = (config: DataExchangeClientConfig) => ({ +export const getRuntimeConfig = (config: DataExchangeClientConfig = {}) => ({ apiVersion: "2017-07-25", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-dataexchange/runtimeConfig.ts b/clients/client-dataexchange/runtimeConfig.ts index 5b479c22528c7..b656f4f0a6cfe 100644 --- a/clients/client-dataexchange/runtimeConfig.ts +++ b/clients/client-dataexchange/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: DataExchangeClientConfig) => { +export const getRuntimeConfig = (config: DataExchangeClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-datasync/runtimeConfig.browser.ts b/clients/client-datasync/runtimeConfig.browser.ts index 36c3826bc6bcd..d156767f225b0 100644 --- a/clients/client-datasync/runtimeConfig.browser.ts +++ b/clients/client-datasync/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: DataSyncClientConfig) => { +export const getRuntimeConfig = (config: DataSyncClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-datasync/runtimeConfig.native.ts b/clients/client-datasync/runtimeConfig.native.ts index e369b625b83ba..4f60a269b5c59 100644 --- a/clients/client-datasync/runtimeConfig.native.ts +++ b/clients/client-datasync/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: DataSyncClientConfig) => { +export const getRuntimeConfig = (config: DataSyncClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-datasync/runtimeConfig.shared.ts b/clients/client-datasync/runtimeConfig.shared.ts index f9cdf5b39a910..fd0774dc5d97a 100644 --- a/clients/client-datasync/runtimeConfig.shared.ts +++ b/clients/client-datasync/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { DataSyncClientConfig } from "./DataSyncClient"; /** * @internal */ -export const getRuntimeConfig = (config: DataSyncClientConfig) => ({ +export const getRuntimeConfig = (config: DataSyncClientConfig = {}) => ({ apiVersion: "2018-11-09", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-datasync/runtimeConfig.ts b/clients/client-datasync/runtimeConfig.ts index 059eb56a2102f..e9aafd6d0d603 100644 --- a/clients/client-datasync/runtimeConfig.ts +++ b/clients/client-datasync/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: DataSyncClientConfig) => { +export const getRuntimeConfig = (config: DataSyncClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-dax/runtimeConfig.browser.ts b/clients/client-dax/runtimeConfig.browser.ts index acb5562c9799d..088d5fcc55e5a 100644 --- a/clients/client-dax/runtimeConfig.browser.ts +++ b/clients/client-dax/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: DAXClientConfig) => { +export const getRuntimeConfig = (config: DAXClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-dax/runtimeConfig.native.ts b/clients/client-dax/runtimeConfig.native.ts index 2fab517976205..4ee2c45aa8d47 100644 --- a/clients/client-dax/runtimeConfig.native.ts +++ b/clients/client-dax/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: DAXClientConfig) => { +export const getRuntimeConfig = (config: DAXClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-dax/runtimeConfig.shared.ts b/clients/client-dax/runtimeConfig.shared.ts index ecf9d8c628e53..c3d5e10eb37df 100644 --- a/clients/client-dax/runtimeConfig.shared.ts +++ b/clients/client-dax/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { DAXClientConfig } from "./DAXClient"; /** * @internal */ -export const getRuntimeConfig = (config: DAXClientConfig) => ({ +export const getRuntimeConfig = (config: DAXClientConfig = {}) => ({ apiVersion: "2017-04-19", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-dax/runtimeConfig.ts b/clients/client-dax/runtimeConfig.ts index 7391bd05627c7..11eda1ad670db 100644 --- a/clients/client-dax/runtimeConfig.ts +++ b/clients/client-dax/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: DAXClientConfig) => { +export const getRuntimeConfig = (config: DAXClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-detective/runtimeConfig.browser.ts b/clients/client-detective/runtimeConfig.browser.ts index 88afaefd15e98..094411fb4f6d8 100644 --- a/clients/client-detective/runtimeConfig.browser.ts +++ b/clients/client-detective/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: DetectiveClientConfig) => { +export const getRuntimeConfig = (config: DetectiveClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-detective/runtimeConfig.native.ts b/clients/client-detective/runtimeConfig.native.ts index b673d584dc103..7e525610f8170 100644 --- a/clients/client-detective/runtimeConfig.native.ts +++ b/clients/client-detective/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: DetectiveClientConfig) => { +export const getRuntimeConfig = (config: DetectiveClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-detective/runtimeConfig.shared.ts b/clients/client-detective/runtimeConfig.shared.ts index cbd3aecdff96f..82f83a48a6ff9 100644 --- a/clients/client-detective/runtimeConfig.shared.ts +++ b/clients/client-detective/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { DetectiveClientConfig } from "./DetectiveClient"; /** * @internal */ -export const getRuntimeConfig = (config: DetectiveClientConfig) => ({ +export const getRuntimeConfig = (config: DetectiveClientConfig = {}) => ({ apiVersion: "2018-10-26", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-detective/runtimeConfig.ts b/clients/client-detective/runtimeConfig.ts index ac29b71ee898a..9a41ee1617e42 100644 --- a/clients/client-detective/runtimeConfig.ts +++ b/clients/client-detective/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: DetectiveClientConfig) => { +export const getRuntimeConfig = (config: DetectiveClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-device-farm/runtimeConfig.browser.ts b/clients/client-device-farm/runtimeConfig.browser.ts index a8b36d24c814d..3120a205e93c0 100644 --- a/clients/client-device-farm/runtimeConfig.browser.ts +++ b/clients/client-device-farm/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: DeviceFarmClientConfig) => { +export const getRuntimeConfig = (config: DeviceFarmClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-device-farm/runtimeConfig.native.ts b/clients/client-device-farm/runtimeConfig.native.ts index ff60387eea195..ac81357604612 100644 --- a/clients/client-device-farm/runtimeConfig.native.ts +++ b/clients/client-device-farm/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: DeviceFarmClientConfig) => { +export const getRuntimeConfig = (config: DeviceFarmClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-device-farm/runtimeConfig.shared.ts b/clients/client-device-farm/runtimeConfig.shared.ts index cf3d897679ce1..47ae7dc62d9a0 100644 --- a/clients/client-device-farm/runtimeConfig.shared.ts +++ b/clients/client-device-farm/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { DeviceFarmClientConfig } from "./DeviceFarmClient"; /** * @internal */ -export const getRuntimeConfig = (config: DeviceFarmClientConfig) => ({ +export const getRuntimeConfig = (config: DeviceFarmClientConfig = {}) => ({ apiVersion: "2015-06-23", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-device-farm/runtimeConfig.ts b/clients/client-device-farm/runtimeConfig.ts index 5ef0459d54885..90d5417c5e1e7 100644 --- a/clients/client-device-farm/runtimeConfig.ts +++ b/clients/client-device-farm/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: DeviceFarmClientConfig) => { +export const getRuntimeConfig = (config: DeviceFarmClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-devops-guru/runtimeConfig.browser.ts b/clients/client-devops-guru/runtimeConfig.browser.ts index 9c462d8c9c3a8..a63381c5b5676 100644 --- a/clients/client-devops-guru/runtimeConfig.browser.ts +++ b/clients/client-devops-guru/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: DevOpsGuruClientConfig) => { +export const getRuntimeConfig = (config: DevOpsGuruClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-devops-guru/runtimeConfig.native.ts b/clients/client-devops-guru/runtimeConfig.native.ts index f30ad35da2fb3..d6d42712c4542 100644 --- a/clients/client-devops-guru/runtimeConfig.native.ts +++ b/clients/client-devops-guru/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: DevOpsGuruClientConfig) => { +export const getRuntimeConfig = (config: DevOpsGuruClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-devops-guru/runtimeConfig.shared.ts b/clients/client-devops-guru/runtimeConfig.shared.ts index 1e2648d1d5939..faf19e9091661 100644 --- a/clients/client-devops-guru/runtimeConfig.shared.ts +++ b/clients/client-devops-guru/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { DevOpsGuruClientConfig } from "./DevOpsGuruClient"; /** * @internal */ -export const getRuntimeConfig = (config: DevOpsGuruClientConfig) => ({ +export const getRuntimeConfig = (config: DevOpsGuruClientConfig = {}) => ({ apiVersion: "2020-12-01", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-devops-guru/runtimeConfig.ts b/clients/client-devops-guru/runtimeConfig.ts index 76abd09014fa4..bdd8e68e46bd6 100644 --- a/clients/client-devops-guru/runtimeConfig.ts +++ b/clients/client-devops-guru/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: DevOpsGuruClientConfig) => { +export const getRuntimeConfig = (config: DevOpsGuruClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-direct-connect/runtimeConfig.browser.ts b/clients/client-direct-connect/runtimeConfig.browser.ts index 21d3ecbfd0d0b..ff32b24441c15 100644 --- a/clients/client-direct-connect/runtimeConfig.browser.ts +++ b/clients/client-direct-connect/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: DirectConnectClientConfig) => { +export const getRuntimeConfig = (config: DirectConnectClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-direct-connect/runtimeConfig.native.ts b/clients/client-direct-connect/runtimeConfig.native.ts index 89b80b302aa8f..8735ee6bcc37e 100644 --- a/clients/client-direct-connect/runtimeConfig.native.ts +++ b/clients/client-direct-connect/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: DirectConnectClientConfig) => { +export const getRuntimeConfig = (config: DirectConnectClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-direct-connect/runtimeConfig.shared.ts b/clients/client-direct-connect/runtimeConfig.shared.ts index b80eb3005bef4..b316d68ff42d5 100644 --- a/clients/client-direct-connect/runtimeConfig.shared.ts +++ b/clients/client-direct-connect/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { DirectConnectClientConfig } from "./DirectConnectClient"; /** * @internal */ -export const getRuntimeConfig = (config: DirectConnectClientConfig) => ({ +export const getRuntimeConfig = (config: DirectConnectClientConfig = {}) => ({ apiVersion: "2012-10-25", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-direct-connect/runtimeConfig.ts b/clients/client-direct-connect/runtimeConfig.ts index d35dea98eb000..61370ac3b9f8d 100644 --- a/clients/client-direct-connect/runtimeConfig.ts +++ b/clients/client-direct-connect/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: DirectConnectClientConfig) => { +export const getRuntimeConfig = (config: DirectConnectClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-directory-service/runtimeConfig.browser.ts b/clients/client-directory-service/runtimeConfig.browser.ts index 1be3963c1b715..2efd78e83f5d8 100644 --- a/clients/client-directory-service/runtimeConfig.browser.ts +++ b/clients/client-directory-service/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: DirectoryServiceClientConfig) => { +export const getRuntimeConfig = (config: DirectoryServiceClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-directory-service/runtimeConfig.native.ts b/clients/client-directory-service/runtimeConfig.native.ts index 82b5727a09cff..b5e4a83a0cfc5 100644 --- a/clients/client-directory-service/runtimeConfig.native.ts +++ b/clients/client-directory-service/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: DirectoryServiceClientConfig) => { +export const getRuntimeConfig = (config: DirectoryServiceClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-directory-service/runtimeConfig.shared.ts b/clients/client-directory-service/runtimeConfig.shared.ts index 2469ccba760d2..40b282e5d140b 100644 --- a/clients/client-directory-service/runtimeConfig.shared.ts +++ b/clients/client-directory-service/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { DirectoryServiceClientConfig } from "./DirectoryServiceClient"; /** * @internal */ -export const getRuntimeConfig = (config: DirectoryServiceClientConfig) => ({ +export const getRuntimeConfig = (config: DirectoryServiceClientConfig = {}) => ({ apiVersion: "2015-04-16", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-directory-service/runtimeConfig.ts b/clients/client-directory-service/runtimeConfig.ts index cb2394a0a0109..40cfa63ec0a69 100644 --- a/clients/client-directory-service/runtimeConfig.ts +++ b/clients/client-directory-service/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: DirectoryServiceClientConfig) => { +export const getRuntimeConfig = (config: DirectoryServiceClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-dlm/runtimeConfig.browser.ts b/clients/client-dlm/runtimeConfig.browser.ts index fd564bac50d57..19fdf8f3e0bb3 100644 --- a/clients/client-dlm/runtimeConfig.browser.ts +++ b/clients/client-dlm/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: DLMClientConfig) => { +export const getRuntimeConfig = (config: DLMClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-dlm/runtimeConfig.native.ts b/clients/client-dlm/runtimeConfig.native.ts index e05ec2ab3fbb6..d73528e40e2e8 100644 --- a/clients/client-dlm/runtimeConfig.native.ts +++ b/clients/client-dlm/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: DLMClientConfig) => { +export const getRuntimeConfig = (config: DLMClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-dlm/runtimeConfig.shared.ts b/clients/client-dlm/runtimeConfig.shared.ts index 33c003f3a2aae..814e3ac677f6d 100644 --- a/clients/client-dlm/runtimeConfig.shared.ts +++ b/clients/client-dlm/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { DLMClientConfig } from "./DLMClient"; /** * @internal */ -export const getRuntimeConfig = (config: DLMClientConfig) => ({ +export const getRuntimeConfig = (config: DLMClientConfig = {}) => ({ apiVersion: "2018-01-12", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-dlm/runtimeConfig.ts b/clients/client-dlm/runtimeConfig.ts index 73dc87352b45b..3f625261ec488 100644 --- a/clients/client-dlm/runtimeConfig.ts +++ b/clients/client-dlm/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: DLMClientConfig) => { +export const getRuntimeConfig = (config: DLMClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-docdb/runtimeConfig.browser.ts b/clients/client-docdb/runtimeConfig.browser.ts index 53b0b93f1cb4c..c722b27dcde12 100644 --- a/clients/client-docdb/runtimeConfig.browser.ts +++ b/clients/client-docdb/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: DocDBClientConfig) => { +export const getRuntimeConfig = (config: DocDBClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-docdb/runtimeConfig.native.ts b/clients/client-docdb/runtimeConfig.native.ts index 06a6bd4b70bf6..d495bb01ef181 100644 --- a/clients/client-docdb/runtimeConfig.native.ts +++ b/clients/client-docdb/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: DocDBClientConfig) => { +export const getRuntimeConfig = (config: DocDBClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-docdb/runtimeConfig.shared.ts b/clients/client-docdb/runtimeConfig.shared.ts index a8c2ae41a4b14..990af19422d32 100644 --- a/clients/client-docdb/runtimeConfig.shared.ts +++ b/clients/client-docdb/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { DocDBClientConfig } from "./DocDBClient"; /** * @internal */ -export const getRuntimeConfig = (config: DocDBClientConfig) => ({ +export const getRuntimeConfig = (config: DocDBClientConfig = {}) => ({ apiVersion: "2014-10-31", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-docdb/runtimeConfig.ts b/clients/client-docdb/runtimeConfig.ts index 6f267f1546913..1690978145533 100644 --- a/clients/client-docdb/runtimeConfig.ts +++ b/clients/client-docdb/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: DocDBClientConfig) => { +export const getRuntimeConfig = (config: DocDBClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-dynamodb-streams/runtimeConfig.browser.ts b/clients/client-dynamodb-streams/runtimeConfig.browser.ts index 9d70d929e7f6a..5ee70b8431685 100644 --- a/clients/client-dynamodb-streams/runtimeConfig.browser.ts +++ b/clients/client-dynamodb-streams/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: DynamoDBStreamsClientConfig) => { +export const getRuntimeConfig = (config: DynamoDBStreamsClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-dynamodb-streams/runtimeConfig.native.ts b/clients/client-dynamodb-streams/runtimeConfig.native.ts index 60b6a01407d8f..027b401334d55 100644 --- a/clients/client-dynamodb-streams/runtimeConfig.native.ts +++ b/clients/client-dynamodb-streams/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: DynamoDBStreamsClientConfig) => { +export const getRuntimeConfig = (config: DynamoDBStreamsClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-dynamodb-streams/runtimeConfig.shared.ts b/clients/client-dynamodb-streams/runtimeConfig.shared.ts index dee631eccef12..b8171d19f4c4b 100644 --- a/clients/client-dynamodb-streams/runtimeConfig.shared.ts +++ b/clients/client-dynamodb-streams/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { DynamoDBStreamsClientConfig } from "./DynamoDBStreamsClient"; /** * @internal */ -export const getRuntimeConfig = (config: DynamoDBStreamsClientConfig) => ({ +export const getRuntimeConfig = (config: DynamoDBStreamsClientConfig = {}) => ({ apiVersion: "2012-08-10", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-dynamodb-streams/runtimeConfig.ts b/clients/client-dynamodb-streams/runtimeConfig.ts index 1aa8d5779ac48..cf14df2c9616f 100644 --- a/clients/client-dynamodb-streams/runtimeConfig.ts +++ b/clients/client-dynamodb-streams/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: DynamoDBStreamsClientConfig) => { +export const getRuntimeConfig = (config: DynamoDBStreamsClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-dynamodb/runtimeConfig.browser.ts b/clients/client-dynamodb/runtimeConfig.browser.ts index e0e418fd5927c..bf5b22cea132a 100644 --- a/clients/client-dynamodb/runtimeConfig.browser.ts +++ b/clients/client-dynamodb/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: DynamoDBClientConfig) => { +export const getRuntimeConfig = (config: DynamoDBClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-dynamodb/runtimeConfig.native.ts b/clients/client-dynamodb/runtimeConfig.native.ts index bb6dc79133d21..5961f8d5a077b 100644 --- a/clients/client-dynamodb/runtimeConfig.native.ts +++ b/clients/client-dynamodb/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: DynamoDBClientConfig) => { +export const getRuntimeConfig = (config: DynamoDBClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-dynamodb/runtimeConfig.shared.ts b/clients/client-dynamodb/runtimeConfig.shared.ts index aab6347f744bb..fd69457ccaed6 100644 --- a/clients/client-dynamodb/runtimeConfig.shared.ts +++ b/clients/client-dynamodb/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { DynamoDBClientConfig } from "./DynamoDBClient"; /** * @internal */ -export const getRuntimeConfig = (config: DynamoDBClientConfig) => ({ +export const getRuntimeConfig = (config: DynamoDBClientConfig = {}) => ({ apiVersion: "2012-08-10", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-dynamodb/runtimeConfig.ts b/clients/client-dynamodb/runtimeConfig.ts index 30105babed08d..7d01b3becbfb3 100644 --- a/clients/client-dynamodb/runtimeConfig.ts +++ b/clients/client-dynamodb/runtimeConfig.ts @@ -18,7 +18,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: DynamoDBClientConfig) => { +export const getRuntimeConfig = (config: DynamoDBClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-ebs/runtimeConfig.browser.ts b/clients/client-ebs/runtimeConfig.browser.ts index c17a53826af1d..6c87c4ae4d7e7 100644 --- a/clients/client-ebs/runtimeConfig.browser.ts +++ b/clients/client-ebs/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: EBSClientConfig) => { +export const getRuntimeConfig = (config: EBSClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-ebs/runtimeConfig.native.ts b/clients/client-ebs/runtimeConfig.native.ts index a11a5399993d1..258cae5d7b975 100644 --- a/clients/client-ebs/runtimeConfig.native.ts +++ b/clients/client-ebs/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: EBSClientConfig) => { +export const getRuntimeConfig = (config: EBSClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-ebs/runtimeConfig.shared.ts b/clients/client-ebs/runtimeConfig.shared.ts index 55b67ca11295c..8b8961376bbf8 100644 --- a/clients/client-ebs/runtimeConfig.shared.ts +++ b/clients/client-ebs/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { EBSClientConfig } from "./EBSClient"; /** * @internal */ -export const getRuntimeConfig = (config: EBSClientConfig) => ({ +export const getRuntimeConfig = (config: EBSClientConfig = {}) => ({ apiVersion: "2019-11-02", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-ebs/runtimeConfig.ts b/clients/client-ebs/runtimeConfig.ts index e6b8c2c62b6c2..9664d32403df7 100644 --- a/clients/client-ebs/runtimeConfig.ts +++ b/clients/client-ebs/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: EBSClientConfig) => { +export const getRuntimeConfig = (config: EBSClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-ec2-instance-connect/runtimeConfig.browser.ts b/clients/client-ec2-instance-connect/runtimeConfig.browser.ts index ab6bf404b55ed..2cd6326225c54 100644 --- a/clients/client-ec2-instance-connect/runtimeConfig.browser.ts +++ b/clients/client-ec2-instance-connect/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: EC2InstanceConnectClientConfig) => { +export const getRuntimeConfig = (config: EC2InstanceConnectClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-ec2-instance-connect/runtimeConfig.native.ts b/clients/client-ec2-instance-connect/runtimeConfig.native.ts index c6a7f283ad016..bba3893861e42 100644 --- a/clients/client-ec2-instance-connect/runtimeConfig.native.ts +++ b/clients/client-ec2-instance-connect/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: EC2InstanceConnectClientConfig) => { +export const getRuntimeConfig = (config: EC2InstanceConnectClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-ec2-instance-connect/runtimeConfig.shared.ts b/clients/client-ec2-instance-connect/runtimeConfig.shared.ts index 130909cc58376..468ad887c53dc 100644 --- a/clients/client-ec2-instance-connect/runtimeConfig.shared.ts +++ b/clients/client-ec2-instance-connect/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { EC2InstanceConnectClientConfig } from "./EC2InstanceConnectClient"; /** * @internal */ -export const getRuntimeConfig = (config: EC2InstanceConnectClientConfig) => ({ +export const getRuntimeConfig = (config: EC2InstanceConnectClientConfig = {}) => ({ apiVersion: "2018-04-02", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-ec2-instance-connect/runtimeConfig.ts b/clients/client-ec2-instance-connect/runtimeConfig.ts index 30c695789e267..7607e5c0c7142 100644 --- a/clients/client-ec2-instance-connect/runtimeConfig.ts +++ b/clients/client-ec2-instance-connect/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: EC2InstanceConnectClientConfig) => { +export const getRuntimeConfig = (config: EC2InstanceConnectClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-ec2/runtimeConfig.browser.ts b/clients/client-ec2/runtimeConfig.browser.ts index 5d90ad6764e29..896884916c2f9 100644 --- a/clients/client-ec2/runtimeConfig.browser.ts +++ b/clients/client-ec2/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: EC2ClientConfig) => { +export const getRuntimeConfig = (config: EC2ClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-ec2/runtimeConfig.native.ts b/clients/client-ec2/runtimeConfig.native.ts index feacabcce215b..9da827822c5eb 100644 --- a/clients/client-ec2/runtimeConfig.native.ts +++ b/clients/client-ec2/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: EC2ClientConfig) => { +export const getRuntimeConfig = (config: EC2ClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-ec2/runtimeConfig.shared.ts b/clients/client-ec2/runtimeConfig.shared.ts index 6caa26acd1329..d3c87419ea117 100644 --- a/clients/client-ec2/runtimeConfig.shared.ts +++ b/clients/client-ec2/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { EC2ClientConfig } from "./EC2Client"; /** * @internal */ -export const getRuntimeConfig = (config: EC2ClientConfig) => ({ +export const getRuntimeConfig = (config: EC2ClientConfig = {}) => ({ apiVersion: "2016-11-15", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-ec2/runtimeConfig.ts b/clients/client-ec2/runtimeConfig.ts index 12f3ced93eb6c..a6752ad511710 100644 --- a/clients/client-ec2/runtimeConfig.ts +++ b/clients/client-ec2/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: EC2ClientConfig) => { +export const getRuntimeConfig = (config: EC2ClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-ecr-public/runtimeConfig.browser.ts b/clients/client-ecr-public/runtimeConfig.browser.ts index 76c95a942ddbe..4999a4ae53da5 100644 --- a/clients/client-ecr-public/runtimeConfig.browser.ts +++ b/clients/client-ecr-public/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: ECRPUBLICClientConfig) => { +export const getRuntimeConfig = (config: ECRPUBLICClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-ecr-public/runtimeConfig.native.ts b/clients/client-ecr-public/runtimeConfig.native.ts index 6c9436148db65..69759c724170b 100644 --- a/clients/client-ecr-public/runtimeConfig.native.ts +++ b/clients/client-ecr-public/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: ECRPUBLICClientConfig) => { +export const getRuntimeConfig = (config: ECRPUBLICClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-ecr-public/runtimeConfig.shared.ts b/clients/client-ecr-public/runtimeConfig.shared.ts index b5f610186b747..328d21078de31 100644 --- a/clients/client-ecr-public/runtimeConfig.shared.ts +++ b/clients/client-ecr-public/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { ECRPUBLICClientConfig } from "./ECRPUBLICClient"; /** * @internal */ -export const getRuntimeConfig = (config: ECRPUBLICClientConfig) => ({ +export const getRuntimeConfig = (config: ECRPUBLICClientConfig = {}) => ({ apiVersion: "2020-10-30", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-ecr-public/runtimeConfig.ts b/clients/client-ecr-public/runtimeConfig.ts index 3c569161eecf0..6075bf4adb7a4 100644 --- a/clients/client-ecr-public/runtimeConfig.ts +++ b/clients/client-ecr-public/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: ECRPUBLICClientConfig) => { +export const getRuntimeConfig = (config: ECRPUBLICClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-ecr/runtimeConfig.browser.ts b/clients/client-ecr/runtimeConfig.browser.ts index 367c9899dbd15..8e7fcae133844 100644 --- a/clients/client-ecr/runtimeConfig.browser.ts +++ b/clients/client-ecr/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: ECRClientConfig) => { +export const getRuntimeConfig = (config: ECRClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-ecr/runtimeConfig.native.ts b/clients/client-ecr/runtimeConfig.native.ts index 42329907d8eba..a384720d3096e 100644 --- a/clients/client-ecr/runtimeConfig.native.ts +++ b/clients/client-ecr/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: ECRClientConfig) => { +export const getRuntimeConfig = (config: ECRClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-ecr/runtimeConfig.shared.ts b/clients/client-ecr/runtimeConfig.shared.ts index 144f0c864b489..55f0ec97671d3 100644 --- a/clients/client-ecr/runtimeConfig.shared.ts +++ b/clients/client-ecr/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { ECRClientConfig } from "./ECRClient"; /** * @internal */ -export const getRuntimeConfig = (config: ECRClientConfig) => ({ +export const getRuntimeConfig = (config: ECRClientConfig = {}) => ({ apiVersion: "2015-09-21", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-ecr/runtimeConfig.ts b/clients/client-ecr/runtimeConfig.ts index 8257a1fdc0fb6..7eebce325f7a8 100644 --- a/clients/client-ecr/runtimeConfig.ts +++ b/clients/client-ecr/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: ECRClientConfig) => { +export const getRuntimeConfig = (config: ECRClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-ecs/runtimeConfig.browser.ts b/clients/client-ecs/runtimeConfig.browser.ts index f89c4fbb39943..e27dc32a6f64c 100644 --- a/clients/client-ecs/runtimeConfig.browser.ts +++ b/clients/client-ecs/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: ECSClientConfig) => { +export const getRuntimeConfig = (config: ECSClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-ecs/runtimeConfig.native.ts b/clients/client-ecs/runtimeConfig.native.ts index 547c6261c9518..c65c05e02510d 100644 --- a/clients/client-ecs/runtimeConfig.native.ts +++ b/clients/client-ecs/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: ECSClientConfig) => { +export const getRuntimeConfig = (config: ECSClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-ecs/runtimeConfig.shared.ts b/clients/client-ecs/runtimeConfig.shared.ts index 3ac2f4389a53f..47bc5262540c6 100644 --- a/clients/client-ecs/runtimeConfig.shared.ts +++ b/clients/client-ecs/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { ECSClientConfig } from "./ECSClient"; /** * @internal */ -export const getRuntimeConfig = (config: ECSClientConfig) => ({ +export const getRuntimeConfig = (config: ECSClientConfig = {}) => ({ apiVersion: "2014-11-13", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-ecs/runtimeConfig.ts b/clients/client-ecs/runtimeConfig.ts index 27e058a49d912..4e677933e74dc 100644 --- a/clients/client-ecs/runtimeConfig.ts +++ b/clients/client-ecs/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: ECSClientConfig) => { +export const getRuntimeConfig = (config: ECSClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-efs/runtimeConfig.browser.ts b/clients/client-efs/runtimeConfig.browser.ts index 120bdcab46cd3..0aafa436765ba 100644 --- a/clients/client-efs/runtimeConfig.browser.ts +++ b/clients/client-efs/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: EFSClientConfig) => { +export const getRuntimeConfig = (config: EFSClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-efs/runtimeConfig.native.ts b/clients/client-efs/runtimeConfig.native.ts index df59b2a970c3f..52b4c0a3504a1 100644 --- a/clients/client-efs/runtimeConfig.native.ts +++ b/clients/client-efs/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: EFSClientConfig) => { +export const getRuntimeConfig = (config: EFSClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-efs/runtimeConfig.shared.ts b/clients/client-efs/runtimeConfig.shared.ts index d1e66f6d3774c..7c3551e9b1a82 100644 --- a/clients/client-efs/runtimeConfig.shared.ts +++ b/clients/client-efs/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { EFSClientConfig } from "./EFSClient"; /** * @internal */ -export const getRuntimeConfig = (config: EFSClientConfig) => ({ +export const getRuntimeConfig = (config: EFSClientConfig = {}) => ({ apiVersion: "2015-02-01", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-efs/runtimeConfig.ts b/clients/client-efs/runtimeConfig.ts index cd9244181a343..9c0c0fedbd2ab 100644 --- a/clients/client-efs/runtimeConfig.ts +++ b/clients/client-efs/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: EFSClientConfig) => { +export const getRuntimeConfig = (config: EFSClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-eks/runtimeConfig.browser.ts b/clients/client-eks/runtimeConfig.browser.ts index 96e9708943f4e..a224f8e31d647 100644 --- a/clients/client-eks/runtimeConfig.browser.ts +++ b/clients/client-eks/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: EKSClientConfig) => { +export const getRuntimeConfig = (config: EKSClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-eks/runtimeConfig.native.ts b/clients/client-eks/runtimeConfig.native.ts index e789dd8b657a8..2bf6e8056e1af 100644 --- a/clients/client-eks/runtimeConfig.native.ts +++ b/clients/client-eks/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: EKSClientConfig) => { +export const getRuntimeConfig = (config: EKSClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-eks/runtimeConfig.shared.ts b/clients/client-eks/runtimeConfig.shared.ts index a3bfa26157b5f..eebb2ff1855af 100644 --- a/clients/client-eks/runtimeConfig.shared.ts +++ b/clients/client-eks/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { EKSClientConfig } from "./EKSClient"; /** * @internal */ -export const getRuntimeConfig = (config: EKSClientConfig) => ({ +export const getRuntimeConfig = (config: EKSClientConfig = {}) => ({ apiVersion: "2017-11-01", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-eks/runtimeConfig.ts b/clients/client-eks/runtimeConfig.ts index 39acf72f84373..0913cdf537384 100644 --- a/clients/client-eks/runtimeConfig.ts +++ b/clients/client-eks/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: EKSClientConfig) => { +export const getRuntimeConfig = (config: EKSClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-elastic-beanstalk/runtimeConfig.browser.ts b/clients/client-elastic-beanstalk/runtimeConfig.browser.ts index ad81a7df8538b..bf908256d001a 100644 --- a/clients/client-elastic-beanstalk/runtimeConfig.browser.ts +++ b/clients/client-elastic-beanstalk/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: ElasticBeanstalkClientConfig) => { +export const getRuntimeConfig = (config: ElasticBeanstalkClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-elastic-beanstalk/runtimeConfig.native.ts b/clients/client-elastic-beanstalk/runtimeConfig.native.ts index e9b55f275d8a8..6ec9ca4b066f3 100644 --- a/clients/client-elastic-beanstalk/runtimeConfig.native.ts +++ b/clients/client-elastic-beanstalk/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: ElasticBeanstalkClientConfig) => { +export const getRuntimeConfig = (config: ElasticBeanstalkClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-elastic-beanstalk/runtimeConfig.shared.ts b/clients/client-elastic-beanstalk/runtimeConfig.shared.ts index ef06e8a029b90..d49c06a96fd39 100644 --- a/clients/client-elastic-beanstalk/runtimeConfig.shared.ts +++ b/clients/client-elastic-beanstalk/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { ElasticBeanstalkClientConfig } from "./ElasticBeanstalkClient"; /** * @internal */ -export const getRuntimeConfig = (config: ElasticBeanstalkClientConfig) => ({ +export const getRuntimeConfig = (config: ElasticBeanstalkClientConfig = {}) => ({ apiVersion: "2010-12-01", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-elastic-beanstalk/runtimeConfig.ts b/clients/client-elastic-beanstalk/runtimeConfig.ts index 6d537b718e1a5..188ce311a3efa 100644 --- a/clients/client-elastic-beanstalk/runtimeConfig.ts +++ b/clients/client-elastic-beanstalk/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: ElasticBeanstalkClientConfig) => { +export const getRuntimeConfig = (config: ElasticBeanstalkClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-elastic-inference/runtimeConfig.browser.ts b/clients/client-elastic-inference/runtimeConfig.browser.ts index a7886262c962d..4b8ffc5b09005 100644 --- a/clients/client-elastic-inference/runtimeConfig.browser.ts +++ b/clients/client-elastic-inference/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: ElasticInferenceClientConfig) => { +export const getRuntimeConfig = (config: ElasticInferenceClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-elastic-inference/runtimeConfig.native.ts b/clients/client-elastic-inference/runtimeConfig.native.ts index 9eac357a03088..ac59db72ba865 100644 --- a/clients/client-elastic-inference/runtimeConfig.native.ts +++ b/clients/client-elastic-inference/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: ElasticInferenceClientConfig) => { +export const getRuntimeConfig = (config: ElasticInferenceClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-elastic-inference/runtimeConfig.shared.ts b/clients/client-elastic-inference/runtimeConfig.shared.ts index c7bc71743b1f3..991a15beaa8d2 100644 --- a/clients/client-elastic-inference/runtimeConfig.shared.ts +++ b/clients/client-elastic-inference/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { ElasticInferenceClientConfig } from "./ElasticInferenceClient"; /** * @internal */ -export const getRuntimeConfig = (config: ElasticInferenceClientConfig) => ({ +export const getRuntimeConfig = (config: ElasticInferenceClientConfig = {}) => ({ apiVersion: "2017-07-25", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-elastic-inference/runtimeConfig.ts b/clients/client-elastic-inference/runtimeConfig.ts index a18e13c482aa9..afe352c52e933 100644 --- a/clients/client-elastic-inference/runtimeConfig.ts +++ b/clients/client-elastic-inference/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: ElasticInferenceClientConfig) => { +export const getRuntimeConfig = (config: ElasticInferenceClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-elastic-load-balancing-v2/runtimeConfig.browser.ts b/clients/client-elastic-load-balancing-v2/runtimeConfig.browser.ts index abc7141ed89e1..e02230666e4e6 100644 --- a/clients/client-elastic-load-balancing-v2/runtimeConfig.browser.ts +++ b/clients/client-elastic-load-balancing-v2/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: ElasticLoadBalancingV2ClientConfig) => { +export const getRuntimeConfig = (config: ElasticLoadBalancingV2ClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-elastic-load-balancing-v2/runtimeConfig.native.ts b/clients/client-elastic-load-balancing-v2/runtimeConfig.native.ts index 93305ca1e2a6d..e7a8f432e5406 100644 --- a/clients/client-elastic-load-balancing-v2/runtimeConfig.native.ts +++ b/clients/client-elastic-load-balancing-v2/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: ElasticLoadBalancingV2ClientConfig) => { +export const getRuntimeConfig = (config: ElasticLoadBalancingV2ClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-elastic-load-balancing-v2/runtimeConfig.shared.ts b/clients/client-elastic-load-balancing-v2/runtimeConfig.shared.ts index 52cf89c111199..00ce3f43d7c10 100644 --- a/clients/client-elastic-load-balancing-v2/runtimeConfig.shared.ts +++ b/clients/client-elastic-load-balancing-v2/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { ElasticLoadBalancingV2ClientConfig } from "./ElasticLoadBalancingV2Clie /** * @internal */ -export const getRuntimeConfig = (config: ElasticLoadBalancingV2ClientConfig) => ({ +export const getRuntimeConfig = (config: ElasticLoadBalancingV2ClientConfig = {}) => ({ apiVersion: "2015-12-01", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-elastic-load-balancing-v2/runtimeConfig.ts b/clients/client-elastic-load-balancing-v2/runtimeConfig.ts index 92bd1e1e11332..8f28b9c457a61 100644 --- a/clients/client-elastic-load-balancing-v2/runtimeConfig.ts +++ b/clients/client-elastic-load-balancing-v2/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: ElasticLoadBalancingV2ClientConfig) => { +export const getRuntimeConfig = (config: ElasticLoadBalancingV2ClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-elastic-load-balancing/runtimeConfig.browser.ts b/clients/client-elastic-load-balancing/runtimeConfig.browser.ts index 7c5854814a17b..e10d370c5df18 100644 --- a/clients/client-elastic-load-balancing/runtimeConfig.browser.ts +++ b/clients/client-elastic-load-balancing/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: ElasticLoadBalancingClientConfig) => { +export const getRuntimeConfig = (config: ElasticLoadBalancingClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-elastic-load-balancing/runtimeConfig.native.ts b/clients/client-elastic-load-balancing/runtimeConfig.native.ts index 0f623d9c3adb3..e97855bddd135 100644 --- a/clients/client-elastic-load-balancing/runtimeConfig.native.ts +++ b/clients/client-elastic-load-balancing/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: ElasticLoadBalancingClientConfig) => { +export const getRuntimeConfig = (config: ElasticLoadBalancingClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-elastic-load-balancing/runtimeConfig.shared.ts b/clients/client-elastic-load-balancing/runtimeConfig.shared.ts index c76e8fefc7e2f..cb56d341584d1 100644 --- a/clients/client-elastic-load-balancing/runtimeConfig.shared.ts +++ b/clients/client-elastic-load-balancing/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { ElasticLoadBalancingClientConfig } from "./ElasticLoadBalancingClient"; /** * @internal */ -export const getRuntimeConfig = (config: ElasticLoadBalancingClientConfig) => ({ +export const getRuntimeConfig = (config: ElasticLoadBalancingClientConfig = {}) => ({ apiVersion: "2012-06-01", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-elastic-load-balancing/runtimeConfig.ts b/clients/client-elastic-load-balancing/runtimeConfig.ts index 7427d893e096e..18a7cc8abd51b 100644 --- a/clients/client-elastic-load-balancing/runtimeConfig.ts +++ b/clients/client-elastic-load-balancing/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: ElasticLoadBalancingClientConfig) => { +export const getRuntimeConfig = (config: ElasticLoadBalancingClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-elastic-transcoder/runtimeConfig.browser.ts b/clients/client-elastic-transcoder/runtimeConfig.browser.ts index 479db6e5012bd..f24c116883301 100644 --- a/clients/client-elastic-transcoder/runtimeConfig.browser.ts +++ b/clients/client-elastic-transcoder/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: ElasticTranscoderClientConfig) => { +export const getRuntimeConfig = (config: ElasticTranscoderClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-elastic-transcoder/runtimeConfig.native.ts b/clients/client-elastic-transcoder/runtimeConfig.native.ts index 57673e5ae3164..e4ced3bd53ba3 100644 --- a/clients/client-elastic-transcoder/runtimeConfig.native.ts +++ b/clients/client-elastic-transcoder/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: ElasticTranscoderClientConfig) => { +export const getRuntimeConfig = (config: ElasticTranscoderClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-elastic-transcoder/runtimeConfig.shared.ts b/clients/client-elastic-transcoder/runtimeConfig.shared.ts index 8b932fecaf18f..8bc2b24de9cb4 100644 --- a/clients/client-elastic-transcoder/runtimeConfig.shared.ts +++ b/clients/client-elastic-transcoder/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { ElasticTranscoderClientConfig } from "./ElasticTranscoderClient"; /** * @internal */ -export const getRuntimeConfig = (config: ElasticTranscoderClientConfig) => ({ +export const getRuntimeConfig = (config: ElasticTranscoderClientConfig = {}) => ({ apiVersion: "2012-09-25", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-elastic-transcoder/runtimeConfig.ts b/clients/client-elastic-transcoder/runtimeConfig.ts index 5d7251d3c1f1e..582f957cddbe8 100644 --- a/clients/client-elastic-transcoder/runtimeConfig.ts +++ b/clients/client-elastic-transcoder/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: ElasticTranscoderClientConfig) => { +export const getRuntimeConfig = (config: ElasticTranscoderClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-elasticache/runtimeConfig.browser.ts b/clients/client-elasticache/runtimeConfig.browser.ts index c12f7c3030714..e6793028d0e9b 100644 --- a/clients/client-elasticache/runtimeConfig.browser.ts +++ b/clients/client-elasticache/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: ElastiCacheClientConfig) => { +export const getRuntimeConfig = (config: ElastiCacheClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-elasticache/runtimeConfig.native.ts b/clients/client-elasticache/runtimeConfig.native.ts index ed7edb87ba429..ca128398a208f 100644 --- a/clients/client-elasticache/runtimeConfig.native.ts +++ b/clients/client-elasticache/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: ElastiCacheClientConfig) => { +export const getRuntimeConfig = (config: ElastiCacheClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-elasticache/runtimeConfig.shared.ts b/clients/client-elasticache/runtimeConfig.shared.ts index 861fb559db63d..d0cffd554ae66 100644 --- a/clients/client-elasticache/runtimeConfig.shared.ts +++ b/clients/client-elasticache/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { ElastiCacheClientConfig } from "./ElastiCacheClient"; /** * @internal */ -export const getRuntimeConfig = (config: ElastiCacheClientConfig) => ({ +export const getRuntimeConfig = (config: ElastiCacheClientConfig = {}) => ({ apiVersion: "2015-02-02", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-elasticache/runtimeConfig.ts b/clients/client-elasticache/runtimeConfig.ts index 6b136b30a2839..d506fcc2efd01 100644 --- a/clients/client-elasticache/runtimeConfig.ts +++ b/clients/client-elasticache/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: ElastiCacheClientConfig) => { +export const getRuntimeConfig = (config: ElastiCacheClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-elasticsearch-service/runtimeConfig.browser.ts b/clients/client-elasticsearch-service/runtimeConfig.browser.ts index 41c49a671fd03..73dbcb18d18e8 100644 --- a/clients/client-elasticsearch-service/runtimeConfig.browser.ts +++ b/clients/client-elasticsearch-service/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: ElasticsearchServiceClientConfig) => { +export const getRuntimeConfig = (config: ElasticsearchServiceClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-elasticsearch-service/runtimeConfig.native.ts b/clients/client-elasticsearch-service/runtimeConfig.native.ts index 25a3db5134154..59c27d2395b1e 100644 --- a/clients/client-elasticsearch-service/runtimeConfig.native.ts +++ b/clients/client-elasticsearch-service/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: ElasticsearchServiceClientConfig) => { +export const getRuntimeConfig = (config: ElasticsearchServiceClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-elasticsearch-service/runtimeConfig.shared.ts b/clients/client-elasticsearch-service/runtimeConfig.shared.ts index 2e8e06dbb6754..e703fd3a1a543 100644 --- a/clients/client-elasticsearch-service/runtimeConfig.shared.ts +++ b/clients/client-elasticsearch-service/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { ElasticsearchServiceClientConfig } from "./ElasticsearchServiceClient"; /** * @internal */ -export const getRuntimeConfig = (config: ElasticsearchServiceClientConfig) => ({ +export const getRuntimeConfig = (config: ElasticsearchServiceClientConfig = {}) => ({ apiVersion: "2015-01-01", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-elasticsearch-service/runtimeConfig.ts b/clients/client-elasticsearch-service/runtimeConfig.ts index 3b429b8eb047e..de30c5f2d7b82 100644 --- a/clients/client-elasticsearch-service/runtimeConfig.ts +++ b/clients/client-elasticsearch-service/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: ElasticsearchServiceClientConfig) => { +export const getRuntimeConfig = (config: ElasticsearchServiceClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-emr-containers/runtimeConfig.browser.ts b/clients/client-emr-containers/runtimeConfig.browser.ts index 6b42cdb68043e..46982054d6068 100644 --- a/clients/client-emr-containers/runtimeConfig.browser.ts +++ b/clients/client-emr-containers/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: EMRContainersClientConfig) => { +export const getRuntimeConfig = (config: EMRContainersClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-emr-containers/runtimeConfig.native.ts b/clients/client-emr-containers/runtimeConfig.native.ts index f722d3834dbd1..c261cf501de01 100644 --- a/clients/client-emr-containers/runtimeConfig.native.ts +++ b/clients/client-emr-containers/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: EMRContainersClientConfig) => { +export const getRuntimeConfig = (config: EMRContainersClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-emr-containers/runtimeConfig.shared.ts b/clients/client-emr-containers/runtimeConfig.shared.ts index 6660f5cfbe75d..ecfda64217e35 100644 --- a/clients/client-emr-containers/runtimeConfig.shared.ts +++ b/clients/client-emr-containers/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { EMRContainersClientConfig } from "./EMRContainersClient"; /** * @internal */ -export const getRuntimeConfig = (config: EMRContainersClientConfig) => ({ +export const getRuntimeConfig = (config: EMRContainersClientConfig = {}) => ({ apiVersion: "2020-10-01", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-emr-containers/runtimeConfig.ts b/clients/client-emr-containers/runtimeConfig.ts index d91f8145dbde9..4f2fd6db838d7 100644 --- a/clients/client-emr-containers/runtimeConfig.ts +++ b/clients/client-emr-containers/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: EMRContainersClientConfig) => { +export const getRuntimeConfig = (config: EMRContainersClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-emr/runtimeConfig.browser.ts b/clients/client-emr/runtimeConfig.browser.ts index 1d4a33f508adb..7ec0716a06195 100644 --- a/clients/client-emr/runtimeConfig.browser.ts +++ b/clients/client-emr/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: EMRClientConfig) => { +export const getRuntimeConfig = (config: EMRClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-emr/runtimeConfig.native.ts b/clients/client-emr/runtimeConfig.native.ts index cd70b44ad7a9d..4e5534609b80e 100644 --- a/clients/client-emr/runtimeConfig.native.ts +++ b/clients/client-emr/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: EMRClientConfig) => { +export const getRuntimeConfig = (config: EMRClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-emr/runtimeConfig.shared.ts b/clients/client-emr/runtimeConfig.shared.ts index 7eb98c1bfe76a..91154cda7647e 100644 --- a/clients/client-emr/runtimeConfig.shared.ts +++ b/clients/client-emr/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { EMRClientConfig } from "./EMRClient"; /** * @internal */ -export const getRuntimeConfig = (config: EMRClientConfig) => ({ +export const getRuntimeConfig = (config: EMRClientConfig = {}) => ({ apiVersion: "2009-03-31", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-emr/runtimeConfig.ts b/clients/client-emr/runtimeConfig.ts index de85bc0a11c66..e11bbbfd46287 100644 --- a/clients/client-emr/runtimeConfig.ts +++ b/clients/client-emr/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: EMRClientConfig) => { +export const getRuntimeConfig = (config: EMRClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-eventbridge/runtimeConfig.browser.ts b/clients/client-eventbridge/runtimeConfig.browser.ts index f4544f513fbbe..e3d3d8f91ea70 100644 --- a/clients/client-eventbridge/runtimeConfig.browser.ts +++ b/clients/client-eventbridge/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: EventBridgeClientConfig) => { +export const getRuntimeConfig = (config: EventBridgeClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-eventbridge/runtimeConfig.native.ts b/clients/client-eventbridge/runtimeConfig.native.ts index 112e116cd1280..21763f593b3a8 100644 --- a/clients/client-eventbridge/runtimeConfig.native.ts +++ b/clients/client-eventbridge/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: EventBridgeClientConfig) => { +export const getRuntimeConfig = (config: EventBridgeClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-eventbridge/runtimeConfig.shared.ts b/clients/client-eventbridge/runtimeConfig.shared.ts index 95c827eb66e18..51a86e26d1324 100644 --- a/clients/client-eventbridge/runtimeConfig.shared.ts +++ b/clients/client-eventbridge/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { EventBridgeClientConfig } from "./EventBridgeClient"; /** * @internal */ -export const getRuntimeConfig = (config: EventBridgeClientConfig) => ({ +export const getRuntimeConfig = (config: EventBridgeClientConfig = {}) => ({ apiVersion: "2015-10-07", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-eventbridge/runtimeConfig.ts b/clients/client-eventbridge/runtimeConfig.ts index 5477978a91fc0..14b510e922f9b 100644 --- a/clients/client-eventbridge/runtimeConfig.ts +++ b/clients/client-eventbridge/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: EventBridgeClientConfig) => { +export const getRuntimeConfig = (config: EventBridgeClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-finspace-data/runtimeConfig.browser.ts b/clients/client-finspace-data/runtimeConfig.browser.ts index eb3e9ff0476b9..7a4470fb89a7e 100644 --- a/clients/client-finspace-data/runtimeConfig.browser.ts +++ b/clients/client-finspace-data/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: FinspaceDataClientConfig) => { +export const getRuntimeConfig = (config: FinspaceDataClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-finspace-data/runtimeConfig.native.ts b/clients/client-finspace-data/runtimeConfig.native.ts index 37c48ac012186..3a7f5a3039752 100644 --- a/clients/client-finspace-data/runtimeConfig.native.ts +++ b/clients/client-finspace-data/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: FinspaceDataClientConfig) => { +export const getRuntimeConfig = (config: FinspaceDataClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-finspace-data/runtimeConfig.shared.ts b/clients/client-finspace-data/runtimeConfig.shared.ts index b4cd2f4e86847..230091fbd6a0c 100644 --- a/clients/client-finspace-data/runtimeConfig.shared.ts +++ b/clients/client-finspace-data/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { FinspaceDataClientConfig } from "./FinspaceDataClient"; /** * @internal */ -export const getRuntimeConfig = (config: FinspaceDataClientConfig) => ({ +export const getRuntimeConfig = (config: FinspaceDataClientConfig = {}) => ({ apiVersion: "2020-07-13", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-finspace-data/runtimeConfig.ts b/clients/client-finspace-data/runtimeConfig.ts index ecaa3deea09f7..276e7e60c9568 100644 --- a/clients/client-finspace-data/runtimeConfig.ts +++ b/clients/client-finspace-data/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: FinspaceDataClientConfig) => { +export const getRuntimeConfig = (config: FinspaceDataClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-finspace/runtimeConfig.browser.ts b/clients/client-finspace/runtimeConfig.browser.ts index dc8621120d4d8..0caa14020f8e2 100644 --- a/clients/client-finspace/runtimeConfig.browser.ts +++ b/clients/client-finspace/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: FinspaceClientConfig) => { +export const getRuntimeConfig = (config: FinspaceClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-finspace/runtimeConfig.native.ts b/clients/client-finspace/runtimeConfig.native.ts index b2443e797ef82..5351ec4c06848 100644 --- a/clients/client-finspace/runtimeConfig.native.ts +++ b/clients/client-finspace/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: FinspaceClientConfig) => { +export const getRuntimeConfig = (config: FinspaceClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-finspace/runtimeConfig.shared.ts b/clients/client-finspace/runtimeConfig.shared.ts index 4d2b7949be890..9e051486058f7 100644 --- a/clients/client-finspace/runtimeConfig.shared.ts +++ b/clients/client-finspace/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { FinspaceClientConfig } from "./FinspaceClient"; /** * @internal */ -export const getRuntimeConfig = (config: FinspaceClientConfig) => ({ +export const getRuntimeConfig = (config: FinspaceClientConfig = {}) => ({ apiVersion: "2021-03-12", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-finspace/runtimeConfig.ts b/clients/client-finspace/runtimeConfig.ts index ef5795be4e94a..79d156183795e 100644 --- a/clients/client-finspace/runtimeConfig.ts +++ b/clients/client-finspace/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: FinspaceClientConfig) => { +export const getRuntimeConfig = (config: FinspaceClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-firehose/runtimeConfig.browser.ts b/clients/client-firehose/runtimeConfig.browser.ts index 9b91dc7d05568..d76d38cf6acfc 100644 --- a/clients/client-firehose/runtimeConfig.browser.ts +++ b/clients/client-firehose/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: FirehoseClientConfig) => { +export const getRuntimeConfig = (config: FirehoseClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-firehose/runtimeConfig.native.ts b/clients/client-firehose/runtimeConfig.native.ts index 4d6d907ace038..415cf02401268 100644 --- a/clients/client-firehose/runtimeConfig.native.ts +++ b/clients/client-firehose/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: FirehoseClientConfig) => { +export const getRuntimeConfig = (config: FirehoseClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-firehose/runtimeConfig.shared.ts b/clients/client-firehose/runtimeConfig.shared.ts index cd59da498c545..58e605af31a7d 100644 --- a/clients/client-firehose/runtimeConfig.shared.ts +++ b/clients/client-firehose/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { FirehoseClientConfig } from "./FirehoseClient"; /** * @internal */ -export const getRuntimeConfig = (config: FirehoseClientConfig) => ({ +export const getRuntimeConfig = (config: FirehoseClientConfig = {}) => ({ apiVersion: "2015-08-04", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-firehose/runtimeConfig.ts b/clients/client-firehose/runtimeConfig.ts index 83ae32523eed1..4b81b78bf12ec 100644 --- a/clients/client-firehose/runtimeConfig.ts +++ b/clients/client-firehose/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: FirehoseClientConfig) => { +export const getRuntimeConfig = (config: FirehoseClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-fis/runtimeConfig.browser.ts b/clients/client-fis/runtimeConfig.browser.ts index e0be5c0c99cf2..584a95474bb48 100644 --- a/clients/client-fis/runtimeConfig.browser.ts +++ b/clients/client-fis/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: FisClientConfig) => { +export const getRuntimeConfig = (config: FisClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-fis/runtimeConfig.native.ts b/clients/client-fis/runtimeConfig.native.ts index 4084d14f9da95..a6dae7fa5a9c2 100644 --- a/clients/client-fis/runtimeConfig.native.ts +++ b/clients/client-fis/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: FisClientConfig) => { +export const getRuntimeConfig = (config: FisClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-fis/runtimeConfig.shared.ts b/clients/client-fis/runtimeConfig.shared.ts index 817d2bc8927a7..62e2e16decd5e 100644 --- a/clients/client-fis/runtimeConfig.shared.ts +++ b/clients/client-fis/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { FisClientConfig } from "./FisClient"; /** * @internal */ -export const getRuntimeConfig = (config: FisClientConfig) => ({ +export const getRuntimeConfig = (config: FisClientConfig = {}) => ({ apiVersion: "2020-12-01", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-fis/runtimeConfig.ts b/clients/client-fis/runtimeConfig.ts index 53ec4324e219d..65250a53a3f36 100644 --- a/clients/client-fis/runtimeConfig.ts +++ b/clients/client-fis/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: FisClientConfig) => { +export const getRuntimeConfig = (config: FisClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-fms/runtimeConfig.browser.ts b/clients/client-fms/runtimeConfig.browser.ts index ff413fbcf4878..483cbddd57950 100644 --- a/clients/client-fms/runtimeConfig.browser.ts +++ b/clients/client-fms/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: FMSClientConfig) => { +export const getRuntimeConfig = (config: FMSClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-fms/runtimeConfig.native.ts b/clients/client-fms/runtimeConfig.native.ts index a7cef71e8566f..d2e6d1d8dd259 100644 --- a/clients/client-fms/runtimeConfig.native.ts +++ b/clients/client-fms/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: FMSClientConfig) => { +export const getRuntimeConfig = (config: FMSClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-fms/runtimeConfig.shared.ts b/clients/client-fms/runtimeConfig.shared.ts index d53ed016bbb39..a17361b0f8414 100644 --- a/clients/client-fms/runtimeConfig.shared.ts +++ b/clients/client-fms/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { FMSClientConfig } from "./FMSClient"; /** * @internal */ -export const getRuntimeConfig = (config: FMSClientConfig) => ({ +export const getRuntimeConfig = (config: FMSClientConfig = {}) => ({ apiVersion: "2018-01-01", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-fms/runtimeConfig.ts b/clients/client-fms/runtimeConfig.ts index 6c83d16376c70..cedc5c4990126 100644 --- a/clients/client-fms/runtimeConfig.ts +++ b/clients/client-fms/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: FMSClientConfig) => { +export const getRuntimeConfig = (config: FMSClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-forecast/runtimeConfig.browser.ts b/clients/client-forecast/runtimeConfig.browser.ts index e2309e951f3c2..4f09ce6ad2c12 100644 --- a/clients/client-forecast/runtimeConfig.browser.ts +++ b/clients/client-forecast/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: ForecastClientConfig) => { +export const getRuntimeConfig = (config: ForecastClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-forecast/runtimeConfig.native.ts b/clients/client-forecast/runtimeConfig.native.ts index 031a2f863fe12..30501260e79c2 100644 --- a/clients/client-forecast/runtimeConfig.native.ts +++ b/clients/client-forecast/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: ForecastClientConfig) => { +export const getRuntimeConfig = (config: ForecastClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-forecast/runtimeConfig.shared.ts b/clients/client-forecast/runtimeConfig.shared.ts index 5cb077f9dc820..17ec25d3b92c4 100644 --- a/clients/client-forecast/runtimeConfig.shared.ts +++ b/clients/client-forecast/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { ForecastClientConfig } from "./ForecastClient"; /** * @internal */ -export const getRuntimeConfig = (config: ForecastClientConfig) => ({ +export const getRuntimeConfig = (config: ForecastClientConfig = {}) => ({ apiVersion: "2018-06-26", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-forecast/runtimeConfig.ts b/clients/client-forecast/runtimeConfig.ts index 905bd9b9c3866..81492dcd6b3cc 100644 --- a/clients/client-forecast/runtimeConfig.ts +++ b/clients/client-forecast/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: ForecastClientConfig) => { +export const getRuntimeConfig = (config: ForecastClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-forecastquery/runtimeConfig.browser.ts b/clients/client-forecastquery/runtimeConfig.browser.ts index f0f0c9af3e51d..3ef3afee16bfa 100644 --- a/clients/client-forecastquery/runtimeConfig.browser.ts +++ b/clients/client-forecastquery/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: ForecastqueryClientConfig) => { +export const getRuntimeConfig = (config: ForecastqueryClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-forecastquery/runtimeConfig.native.ts b/clients/client-forecastquery/runtimeConfig.native.ts index 1ce473220198a..24c3bbcc6d786 100644 --- a/clients/client-forecastquery/runtimeConfig.native.ts +++ b/clients/client-forecastquery/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: ForecastqueryClientConfig) => { +export const getRuntimeConfig = (config: ForecastqueryClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-forecastquery/runtimeConfig.shared.ts b/clients/client-forecastquery/runtimeConfig.shared.ts index 96de7f5a545ed..cdfaf5e88c055 100644 --- a/clients/client-forecastquery/runtimeConfig.shared.ts +++ b/clients/client-forecastquery/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { ForecastqueryClientConfig } from "./ForecastqueryClient"; /** * @internal */ -export const getRuntimeConfig = (config: ForecastqueryClientConfig) => ({ +export const getRuntimeConfig = (config: ForecastqueryClientConfig = {}) => ({ apiVersion: "2018-06-26", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-forecastquery/runtimeConfig.ts b/clients/client-forecastquery/runtimeConfig.ts index fcfc78e50952a..6372f86c36987 100644 --- a/clients/client-forecastquery/runtimeConfig.ts +++ b/clients/client-forecastquery/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: ForecastqueryClientConfig) => { +export const getRuntimeConfig = (config: ForecastqueryClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-frauddetector/runtimeConfig.browser.ts b/clients/client-frauddetector/runtimeConfig.browser.ts index 09b5b33ea76e1..b483a485aaa1f 100644 --- a/clients/client-frauddetector/runtimeConfig.browser.ts +++ b/clients/client-frauddetector/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: FraudDetectorClientConfig) => { +export const getRuntimeConfig = (config: FraudDetectorClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-frauddetector/runtimeConfig.native.ts b/clients/client-frauddetector/runtimeConfig.native.ts index a678374e27d70..1e29e69f3189b 100644 --- a/clients/client-frauddetector/runtimeConfig.native.ts +++ b/clients/client-frauddetector/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: FraudDetectorClientConfig) => { +export const getRuntimeConfig = (config: FraudDetectorClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-frauddetector/runtimeConfig.shared.ts b/clients/client-frauddetector/runtimeConfig.shared.ts index dbab0f6547e6c..84c50d5102afd 100644 --- a/clients/client-frauddetector/runtimeConfig.shared.ts +++ b/clients/client-frauddetector/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { FraudDetectorClientConfig } from "./FraudDetectorClient"; /** * @internal */ -export const getRuntimeConfig = (config: FraudDetectorClientConfig) => ({ +export const getRuntimeConfig = (config: FraudDetectorClientConfig = {}) => ({ apiVersion: "2019-11-15", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-frauddetector/runtimeConfig.ts b/clients/client-frauddetector/runtimeConfig.ts index b20ce36cbb253..1e436388c314f 100644 --- a/clients/client-frauddetector/runtimeConfig.ts +++ b/clients/client-frauddetector/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: FraudDetectorClientConfig) => { +export const getRuntimeConfig = (config: FraudDetectorClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-fsx/runtimeConfig.browser.ts b/clients/client-fsx/runtimeConfig.browser.ts index 45988a7945566..c7348dd5c4072 100644 --- a/clients/client-fsx/runtimeConfig.browser.ts +++ b/clients/client-fsx/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: FSxClientConfig) => { +export const getRuntimeConfig = (config: FSxClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-fsx/runtimeConfig.native.ts b/clients/client-fsx/runtimeConfig.native.ts index 243207f4fa826..e0b4c9719dd32 100644 --- a/clients/client-fsx/runtimeConfig.native.ts +++ b/clients/client-fsx/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: FSxClientConfig) => { +export const getRuntimeConfig = (config: FSxClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-fsx/runtimeConfig.shared.ts b/clients/client-fsx/runtimeConfig.shared.ts index bd08ffa6d94c8..fbf1370cbbf76 100644 --- a/clients/client-fsx/runtimeConfig.shared.ts +++ b/clients/client-fsx/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { FSxClientConfig } from "./FSxClient"; /** * @internal */ -export const getRuntimeConfig = (config: FSxClientConfig) => ({ +export const getRuntimeConfig = (config: FSxClientConfig = {}) => ({ apiVersion: "2018-03-01", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-fsx/runtimeConfig.ts b/clients/client-fsx/runtimeConfig.ts index 8c1e7ffc8b46c..c95ea18134cde 100644 --- a/clients/client-fsx/runtimeConfig.ts +++ b/clients/client-fsx/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: FSxClientConfig) => { +export const getRuntimeConfig = (config: FSxClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-gamelift/runtimeConfig.browser.ts b/clients/client-gamelift/runtimeConfig.browser.ts index b9daa48fcebbc..b427f2f1754cb 100644 --- a/clients/client-gamelift/runtimeConfig.browser.ts +++ b/clients/client-gamelift/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: GameLiftClientConfig) => { +export const getRuntimeConfig = (config: GameLiftClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-gamelift/runtimeConfig.native.ts b/clients/client-gamelift/runtimeConfig.native.ts index 6a584470804a9..e6592eeff1443 100644 --- a/clients/client-gamelift/runtimeConfig.native.ts +++ b/clients/client-gamelift/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: GameLiftClientConfig) => { +export const getRuntimeConfig = (config: GameLiftClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-gamelift/runtimeConfig.shared.ts b/clients/client-gamelift/runtimeConfig.shared.ts index 4ba8a3f3db1fd..02d1ecc5a64ce 100644 --- a/clients/client-gamelift/runtimeConfig.shared.ts +++ b/clients/client-gamelift/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { GameLiftClientConfig } from "./GameLiftClient"; /** * @internal */ -export const getRuntimeConfig = (config: GameLiftClientConfig) => ({ +export const getRuntimeConfig = (config: GameLiftClientConfig = {}) => ({ apiVersion: "2015-10-01", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-gamelift/runtimeConfig.ts b/clients/client-gamelift/runtimeConfig.ts index aad3383ccf46e..c219bb19a67b5 100644 --- a/clients/client-gamelift/runtimeConfig.ts +++ b/clients/client-gamelift/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: GameLiftClientConfig) => { +export const getRuntimeConfig = (config: GameLiftClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-glacier/runtimeConfig.browser.ts b/clients/client-glacier/runtimeConfig.browser.ts index 18d0141b87bec..994b2cc2a111a 100644 --- a/clients/client-glacier/runtimeConfig.browser.ts +++ b/clients/client-glacier/runtimeConfig.browser.ts @@ -15,7 +15,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: GlacierClientConfig) => { +export const getRuntimeConfig = (config: GlacierClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-glacier/runtimeConfig.native.ts b/clients/client-glacier/runtimeConfig.native.ts index 6b52dcc4ae665..1b447c66b8d70 100644 --- a/clients/client-glacier/runtimeConfig.native.ts +++ b/clients/client-glacier/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: GlacierClientConfig) => { +export const getRuntimeConfig = (config: GlacierClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-glacier/runtimeConfig.shared.ts b/clients/client-glacier/runtimeConfig.shared.ts index b8867e891b053..2655e7b58954f 100644 --- a/clients/client-glacier/runtimeConfig.shared.ts +++ b/clients/client-glacier/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { GlacierClientConfig } from "./GlacierClient"; /** * @internal */ -export const getRuntimeConfig = (config: GlacierClientConfig) => ({ +export const getRuntimeConfig = (config: GlacierClientConfig = {}) => ({ apiVersion: "2012-06-01", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-glacier/runtimeConfig.ts b/clients/client-glacier/runtimeConfig.ts index f428a6b506892..f8b8b2f4ab3fa 100644 --- a/clients/client-glacier/runtimeConfig.ts +++ b/clients/client-glacier/runtimeConfig.ts @@ -18,7 +18,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: GlacierClientConfig) => { +export const getRuntimeConfig = (config: GlacierClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-global-accelerator/runtimeConfig.browser.ts b/clients/client-global-accelerator/runtimeConfig.browser.ts index a070c1d15fb64..7a36537904454 100644 --- a/clients/client-global-accelerator/runtimeConfig.browser.ts +++ b/clients/client-global-accelerator/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: GlobalAcceleratorClientConfig) => { +export const getRuntimeConfig = (config: GlobalAcceleratorClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-global-accelerator/runtimeConfig.native.ts b/clients/client-global-accelerator/runtimeConfig.native.ts index 97bd4c0a5dbd1..725ebb95a32e5 100644 --- a/clients/client-global-accelerator/runtimeConfig.native.ts +++ b/clients/client-global-accelerator/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: GlobalAcceleratorClientConfig) => { +export const getRuntimeConfig = (config: GlobalAcceleratorClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-global-accelerator/runtimeConfig.shared.ts b/clients/client-global-accelerator/runtimeConfig.shared.ts index 59ddead7208af..a2adda5b81b0d 100644 --- a/clients/client-global-accelerator/runtimeConfig.shared.ts +++ b/clients/client-global-accelerator/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { GlobalAcceleratorClientConfig } from "./GlobalAcceleratorClient"; /** * @internal */ -export const getRuntimeConfig = (config: GlobalAcceleratorClientConfig) => ({ +export const getRuntimeConfig = (config: GlobalAcceleratorClientConfig = {}) => ({ apiVersion: "2018-08-08", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-global-accelerator/runtimeConfig.ts b/clients/client-global-accelerator/runtimeConfig.ts index 992a3f19b7e2d..17824a45c5cc2 100644 --- a/clients/client-global-accelerator/runtimeConfig.ts +++ b/clients/client-global-accelerator/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: GlobalAcceleratorClientConfig) => { +export const getRuntimeConfig = (config: GlobalAcceleratorClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-glue/runtimeConfig.browser.ts b/clients/client-glue/runtimeConfig.browser.ts index 7543e45c05360..efb453cc2b5a3 100644 --- a/clients/client-glue/runtimeConfig.browser.ts +++ b/clients/client-glue/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: GlueClientConfig) => { +export const getRuntimeConfig = (config: GlueClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-glue/runtimeConfig.native.ts b/clients/client-glue/runtimeConfig.native.ts index 5f00c06f749fb..a18b693fbf112 100644 --- a/clients/client-glue/runtimeConfig.native.ts +++ b/clients/client-glue/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: GlueClientConfig) => { +export const getRuntimeConfig = (config: GlueClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-glue/runtimeConfig.shared.ts b/clients/client-glue/runtimeConfig.shared.ts index 214a06eb76f9e..617ba5b7f3940 100644 --- a/clients/client-glue/runtimeConfig.shared.ts +++ b/clients/client-glue/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { GlueClientConfig } from "./GlueClient"; /** * @internal */ -export const getRuntimeConfig = (config: GlueClientConfig) => ({ +export const getRuntimeConfig = (config: GlueClientConfig = {}) => ({ apiVersion: "2017-03-31", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-glue/runtimeConfig.ts b/clients/client-glue/runtimeConfig.ts index 96ba1076bf0f9..f7fd407256508 100644 --- a/clients/client-glue/runtimeConfig.ts +++ b/clients/client-glue/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: GlueClientConfig) => { +export const getRuntimeConfig = (config: GlueClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-greengrass/runtimeConfig.browser.ts b/clients/client-greengrass/runtimeConfig.browser.ts index 5b00069633add..da9f1a3db35c8 100644 --- a/clients/client-greengrass/runtimeConfig.browser.ts +++ b/clients/client-greengrass/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: GreengrassClientConfig) => { +export const getRuntimeConfig = (config: GreengrassClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-greengrass/runtimeConfig.native.ts b/clients/client-greengrass/runtimeConfig.native.ts index 5bf1543181bf7..643198e19c68a 100644 --- a/clients/client-greengrass/runtimeConfig.native.ts +++ b/clients/client-greengrass/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: GreengrassClientConfig) => { +export const getRuntimeConfig = (config: GreengrassClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-greengrass/runtimeConfig.shared.ts b/clients/client-greengrass/runtimeConfig.shared.ts index b0b29241c21fa..45bbf56a3c712 100644 --- a/clients/client-greengrass/runtimeConfig.shared.ts +++ b/clients/client-greengrass/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { GreengrassClientConfig } from "./GreengrassClient"; /** * @internal */ -export const getRuntimeConfig = (config: GreengrassClientConfig) => ({ +export const getRuntimeConfig = (config: GreengrassClientConfig = {}) => ({ apiVersion: "2017-06-07", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-greengrass/runtimeConfig.ts b/clients/client-greengrass/runtimeConfig.ts index 2fd69badb638e..193b18e129d42 100644 --- a/clients/client-greengrass/runtimeConfig.ts +++ b/clients/client-greengrass/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: GreengrassClientConfig) => { +export const getRuntimeConfig = (config: GreengrassClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-greengrassv2/runtimeConfig.browser.ts b/clients/client-greengrassv2/runtimeConfig.browser.ts index 9e74a92a67daf..fc51035ea9b9a 100644 --- a/clients/client-greengrassv2/runtimeConfig.browser.ts +++ b/clients/client-greengrassv2/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: GreengrassV2ClientConfig) => { +export const getRuntimeConfig = (config: GreengrassV2ClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-greengrassv2/runtimeConfig.native.ts b/clients/client-greengrassv2/runtimeConfig.native.ts index f3c652fc01d88..c96addb1d5936 100644 --- a/clients/client-greengrassv2/runtimeConfig.native.ts +++ b/clients/client-greengrassv2/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: GreengrassV2ClientConfig) => { +export const getRuntimeConfig = (config: GreengrassV2ClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-greengrassv2/runtimeConfig.shared.ts b/clients/client-greengrassv2/runtimeConfig.shared.ts index 0a68ff83b4ecd..0d410a471059f 100644 --- a/clients/client-greengrassv2/runtimeConfig.shared.ts +++ b/clients/client-greengrassv2/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { GreengrassV2ClientConfig } from "./GreengrassV2Client"; /** * @internal */ -export const getRuntimeConfig = (config: GreengrassV2ClientConfig) => ({ +export const getRuntimeConfig = (config: GreengrassV2ClientConfig = {}) => ({ apiVersion: "2020-11-30", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-greengrassv2/runtimeConfig.ts b/clients/client-greengrassv2/runtimeConfig.ts index 901a768ba898f..2cbfe82ad804c 100644 --- a/clients/client-greengrassv2/runtimeConfig.ts +++ b/clients/client-greengrassv2/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: GreengrassV2ClientConfig) => { +export const getRuntimeConfig = (config: GreengrassV2ClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-groundstation/runtimeConfig.browser.ts b/clients/client-groundstation/runtimeConfig.browser.ts index fe7b375ac437e..4721f52cc6ec8 100644 --- a/clients/client-groundstation/runtimeConfig.browser.ts +++ b/clients/client-groundstation/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: GroundStationClientConfig) => { +export const getRuntimeConfig = (config: GroundStationClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-groundstation/runtimeConfig.native.ts b/clients/client-groundstation/runtimeConfig.native.ts index 448b205013193..564dceb965a6d 100644 --- a/clients/client-groundstation/runtimeConfig.native.ts +++ b/clients/client-groundstation/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: GroundStationClientConfig) => { +export const getRuntimeConfig = (config: GroundStationClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-groundstation/runtimeConfig.shared.ts b/clients/client-groundstation/runtimeConfig.shared.ts index e84d268a68bfb..157ba855c80d2 100644 --- a/clients/client-groundstation/runtimeConfig.shared.ts +++ b/clients/client-groundstation/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { GroundStationClientConfig } from "./GroundStationClient"; /** * @internal */ -export const getRuntimeConfig = (config: GroundStationClientConfig) => ({ +export const getRuntimeConfig = (config: GroundStationClientConfig = {}) => ({ apiVersion: "2019-05-23", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-groundstation/runtimeConfig.ts b/clients/client-groundstation/runtimeConfig.ts index 934e402ecb81d..312156227b544 100644 --- a/clients/client-groundstation/runtimeConfig.ts +++ b/clients/client-groundstation/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: GroundStationClientConfig) => { +export const getRuntimeConfig = (config: GroundStationClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-guardduty/runtimeConfig.browser.ts b/clients/client-guardduty/runtimeConfig.browser.ts index 3b7c977eb989e..ef5950b90fe5b 100644 --- a/clients/client-guardduty/runtimeConfig.browser.ts +++ b/clients/client-guardduty/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: GuardDutyClientConfig) => { +export const getRuntimeConfig = (config: GuardDutyClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-guardduty/runtimeConfig.native.ts b/clients/client-guardduty/runtimeConfig.native.ts index bbe34fc601055..d385d324b15a0 100644 --- a/clients/client-guardduty/runtimeConfig.native.ts +++ b/clients/client-guardduty/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: GuardDutyClientConfig) => { +export const getRuntimeConfig = (config: GuardDutyClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-guardduty/runtimeConfig.shared.ts b/clients/client-guardduty/runtimeConfig.shared.ts index f0b1b406dfa4e..7a61bc4c8867a 100644 --- a/clients/client-guardduty/runtimeConfig.shared.ts +++ b/clients/client-guardduty/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { GuardDutyClientConfig } from "./GuardDutyClient"; /** * @internal */ -export const getRuntimeConfig = (config: GuardDutyClientConfig) => ({ +export const getRuntimeConfig = (config: GuardDutyClientConfig = {}) => ({ apiVersion: "2017-11-28", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-guardduty/runtimeConfig.ts b/clients/client-guardduty/runtimeConfig.ts index f674441819e37..45513dbf23e24 100644 --- a/clients/client-guardduty/runtimeConfig.ts +++ b/clients/client-guardduty/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: GuardDutyClientConfig) => { +export const getRuntimeConfig = (config: GuardDutyClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-health/runtimeConfig.browser.ts b/clients/client-health/runtimeConfig.browser.ts index cf92f97be361e..c80059c1dde04 100644 --- a/clients/client-health/runtimeConfig.browser.ts +++ b/clients/client-health/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: HealthClientConfig) => { +export const getRuntimeConfig = (config: HealthClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-health/runtimeConfig.native.ts b/clients/client-health/runtimeConfig.native.ts index ba4414cfbbb7b..01d08ca8438f4 100644 --- a/clients/client-health/runtimeConfig.native.ts +++ b/clients/client-health/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: HealthClientConfig) => { +export const getRuntimeConfig = (config: HealthClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-health/runtimeConfig.shared.ts b/clients/client-health/runtimeConfig.shared.ts index 749b19072aeb5..8aa820dca36fe 100644 --- a/clients/client-health/runtimeConfig.shared.ts +++ b/clients/client-health/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { HealthClientConfig } from "./HealthClient"; /** * @internal */ -export const getRuntimeConfig = (config: HealthClientConfig) => ({ +export const getRuntimeConfig = (config: HealthClientConfig = {}) => ({ apiVersion: "2016-08-04", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-health/runtimeConfig.ts b/clients/client-health/runtimeConfig.ts index a4a9a5e422fba..2785ea6c9e8a1 100644 --- a/clients/client-health/runtimeConfig.ts +++ b/clients/client-health/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: HealthClientConfig) => { +export const getRuntimeConfig = (config: HealthClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-healthlake/runtimeConfig.browser.ts b/clients/client-healthlake/runtimeConfig.browser.ts index 3b83fece8a938..834a051b3f116 100644 --- a/clients/client-healthlake/runtimeConfig.browser.ts +++ b/clients/client-healthlake/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: HealthLakeClientConfig) => { +export const getRuntimeConfig = (config: HealthLakeClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-healthlake/runtimeConfig.native.ts b/clients/client-healthlake/runtimeConfig.native.ts index 02a80ebe2a904..5f01eaa035ec5 100644 --- a/clients/client-healthlake/runtimeConfig.native.ts +++ b/clients/client-healthlake/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: HealthLakeClientConfig) => { +export const getRuntimeConfig = (config: HealthLakeClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-healthlake/runtimeConfig.shared.ts b/clients/client-healthlake/runtimeConfig.shared.ts index 87d86b911834d..23f82e2f62255 100644 --- a/clients/client-healthlake/runtimeConfig.shared.ts +++ b/clients/client-healthlake/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { HealthLakeClientConfig } from "./HealthLakeClient"; /** * @internal */ -export const getRuntimeConfig = (config: HealthLakeClientConfig) => ({ +export const getRuntimeConfig = (config: HealthLakeClientConfig = {}) => ({ apiVersion: "2017-07-01", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-healthlake/runtimeConfig.ts b/clients/client-healthlake/runtimeConfig.ts index 0342a655eed3c..10e111d1ef375 100644 --- a/clients/client-healthlake/runtimeConfig.ts +++ b/clients/client-healthlake/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: HealthLakeClientConfig) => { +export const getRuntimeConfig = (config: HealthLakeClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-honeycode/runtimeConfig.browser.ts b/clients/client-honeycode/runtimeConfig.browser.ts index cc8ef6a609bba..029fe8bc78de8 100644 --- a/clients/client-honeycode/runtimeConfig.browser.ts +++ b/clients/client-honeycode/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: HoneycodeClientConfig) => { +export const getRuntimeConfig = (config: HoneycodeClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-honeycode/runtimeConfig.native.ts b/clients/client-honeycode/runtimeConfig.native.ts index c3a556dc6b6e6..306d5317a7eae 100644 --- a/clients/client-honeycode/runtimeConfig.native.ts +++ b/clients/client-honeycode/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: HoneycodeClientConfig) => { +export const getRuntimeConfig = (config: HoneycodeClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-honeycode/runtimeConfig.shared.ts b/clients/client-honeycode/runtimeConfig.shared.ts index 748b828c065e7..b27fa4a7cc2d9 100644 --- a/clients/client-honeycode/runtimeConfig.shared.ts +++ b/clients/client-honeycode/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { HoneycodeClientConfig } from "./HoneycodeClient"; /** * @internal */ -export const getRuntimeConfig = (config: HoneycodeClientConfig) => ({ +export const getRuntimeConfig = (config: HoneycodeClientConfig = {}) => ({ apiVersion: "2020-03-01", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-honeycode/runtimeConfig.ts b/clients/client-honeycode/runtimeConfig.ts index f9f3149f2168f..d0b69ae46e81f 100644 --- a/clients/client-honeycode/runtimeConfig.ts +++ b/clients/client-honeycode/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: HoneycodeClientConfig) => { +export const getRuntimeConfig = (config: HoneycodeClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-iam/runtimeConfig.browser.ts b/clients/client-iam/runtimeConfig.browser.ts index cbab4359cdada..59c908c0d22f1 100644 --- a/clients/client-iam/runtimeConfig.browser.ts +++ b/clients/client-iam/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: IAMClientConfig) => { +export const getRuntimeConfig = (config: IAMClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-iam/runtimeConfig.native.ts b/clients/client-iam/runtimeConfig.native.ts index d221e60fab82a..118e8986e9108 100644 --- a/clients/client-iam/runtimeConfig.native.ts +++ b/clients/client-iam/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: IAMClientConfig) => { +export const getRuntimeConfig = (config: IAMClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-iam/runtimeConfig.shared.ts b/clients/client-iam/runtimeConfig.shared.ts index f2c648466388f..0b9dfda36b389 100644 --- a/clients/client-iam/runtimeConfig.shared.ts +++ b/clients/client-iam/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { IAMClientConfig } from "./IAMClient"; /** * @internal */ -export const getRuntimeConfig = (config: IAMClientConfig) => ({ +export const getRuntimeConfig = (config: IAMClientConfig = {}) => ({ apiVersion: "2010-05-08", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-iam/runtimeConfig.ts b/clients/client-iam/runtimeConfig.ts index 4b362166f98b5..3dc5a8487d03d 100644 --- a/clients/client-iam/runtimeConfig.ts +++ b/clients/client-iam/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: IAMClientConfig) => { +export const getRuntimeConfig = (config: IAMClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-identitystore/runtimeConfig.browser.ts b/clients/client-identitystore/runtimeConfig.browser.ts index 6f1e5a1ee0ef6..b4307b143a3e8 100644 --- a/clients/client-identitystore/runtimeConfig.browser.ts +++ b/clients/client-identitystore/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: IdentitystoreClientConfig) => { +export const getRuntimeConfig = (config: IdentitystoreClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-identitystore/runtimeConfig.native.ts b/clients/client-identitystore/runtimeConfig.native.ts index 268e07d288788..aecb819d52731 100644 --- a/clients/client-identitystore/runtimeConfig.native.ts +++ b/clients/client-identitystore/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: IdentitystoreClientConfig) => { +export const getRuntimeConfig = (config: IdentitystoreClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-identitystore/runtimeConfig.shared.ts b/clients/client-identitystore/runtimeConfig.shared.ts index 924de6c0e1f2b..5c8e128254594 100644 --- a/clients/client-identitystore/runtimeConfig.shared.ts +++ b/clients/client-identitystore/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { IdentitystoreClientConfig } from "./IdentitystoreClient"; /** * @internal */ -export const getRuntimeConfig = (config: IdentitystoreClientConfig) => ({ +export const getRuntimeConfig = (config: IdentitystoreClientConfig = {}) => ({ apiVersion: "2020-06-15", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-identitystore/runtimeConfig.ts b/clients/client-identitystore/runtimeConfig.ts index aa5f8a3930391..f8012270a0979 100644 --- a/clients/client-identitystore/runtimeConfig.ts +++ b/clients/client-identitystore/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: IdentitystoreClientConfig) => { +export const getRuntimeConfig = (config: IdentitystoreClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-imagebuilder/runtimeConfig.browser.ts b/clients/client-imagebuilder/runtimeConfig.browser.ts index da4a2ed128c61..5c3bcb70bbf23 100644 --- a/clients/client-imagebuilder/runtimeConfig.browser.ts +++ b/clients/client-imagebuilder/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: ImagebuilderClientConfig) => { +export const getRuntimeConfig = (config: ImagebuilderClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-imagebuilder/runtimeConfig.native.ts b/clients/client-imagebuilder/runtimeConfig.native.ts index fb92dff232cd9..f79c17404f099 100644 --- a/clients/client-imagebuilder/runtimeConfig.native.ts +++ b/clients/client-imagebuilder/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: ImagebuilderClientConfig) => { +export const getRuntimeConfig = (config: ImagebuilderClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-imagebuilder/runtimeConfig.shared.ts b/clients/client-imagebuilder/runtimeConfig.shared.ts index 7618708bd8c83..c6d0942897db4 100644 --- a/clients/client-imagebuilder/runtimeConfig.shared.ts +++ b/clients/client-imagebuilder/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { ImagebuilderClientConfig } from "./ImagebuilderClient"; /** * @internal */ -export const getRuntimeConfig = (config: ImagebuilderClientConfig) => ({ +export const getRuntimeConfig = (config: ImagebuilderClientConfig = {}) => ({ apiVersion: "2019-12-02", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-imagebuilder/runtimeConfig.ts b/clients/client-imagebuilder/runtimeConfig.ts index 75676fc8add68..0e54d7109b9d7 100644 --- a/clients/client-imagebuilder/runtimeConfig.ts +++ b/clients/client-imagebuilder/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: ImagebuilderClientConfig) => { +export const getRuntimeConfig = (config: ImagebuilderClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-inspector/runtimeConfig.browser.ts b/clients/client-inspector/runtimeConfig.browser.ts index 84c01966e7024..9c21819240c93 100644 --- a/clients/client-inspector/runtimeConfig.browser.ts +++ b/clients/client-inspector/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: InspectorClientConfig) => { +export const getRuntimeConfig = (config: InspectorClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-inspector/runtimeConfig.native.ts b/clients/client-inspector/runtimeConfig.native.ts index 9916d3f679137..99695f5f14d68 100644 --- a/clients/client-inspector/runtimeConfig.native.ts +++ b/clients/client-inspector/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: InspectorClientConfig) => { +export const getRuntimeConfig = (config: InspectorClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-inspector/runtimeConfig.shared.ts b/clients/client-inspector/runtimeConfig.shared.ts index 9f2d1d67ccf37..f1334e8d6d95e 100644 --- a/clients/client-inspector/runtimeConfig.shared.ts +++ b/clients/client-inspector/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { InspectorClientConfig } from "./InspectorClient"; /** * @internal */ -export const getRuntimeConfig = (config: InspectorClientConfig) => ({ +export const getRuntimeConfig = (config: InspectorClientConfig = {}) => ({ apiVersion: "2016-02-16", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-inspector/runtimeConfig.ts b/clients/client-inspector/runtimeConfig.ts index 500fabf454724..23e9bcbcc723b 100644 --- a/clients/client-inspector/runtimeConfig.ts +++ b/clients/client-inspector/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: InspectorClientConfig) => { +export const getRuntimeConfig = (config: InspectorClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-iot-1click-devices-service/runtimeConfig.browser.ts b/clients/client-iot-1click-devices-service/runtimeConfig.browser.ts index aac868b53e378..1ae5970f34def 100644 --- a/clients/client-iot-1click-devices-service/runtimeConfig.browser.ts +++ b/clients/client-iot-1click-devices-service/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: IoT1ClickDevicesServiceClientConfig) => { +export const getRuntimeConfig = (config: IoT1ClickDevicesServiceClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-iot-1click-devices-service/runtimeConfig.native.ts b/clients/client-iot-1click-devices-service/runtimeConfig.native.ts index 92a20c7792eb5..b630f8492ee9d 100644 --- a/clients/client-iot-1click-devices-service/runtimeConfig.native.ts +++ b/clients/client-iot-1click-devices-service/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: IoT1ClickDevicesServiceClientConfig) => { +export const getRuntimeConfig = (config: IoT1ClickDevicesServiceClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-iot-1click-devices-service/runtimeConfig.shared.ts b/clients/client-iot-1click-devices-service/runtimeConfig.shared.ts index a4db5db5b163e..128a6a88743e4 100644 --- a/clients/client-iot-1click-devices-service/runtimeConfig.shared.ts +++ b/clients/client-iot-1click-devices-service/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { IoT1ClickDevicesServiceClientConfig } from "./IoT1ClickDevicesServiceCl /** * @internal */ -export const getRuntimeConfig = (config: IoT1ClickDevicesServiceClientConfig) => ({ +export const getRuntimeConfig = (config: IoT1ClickDevicesServiceClientConfig = {}) => ({ apiVersion: "2018-05-14", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-iot-1click-devices-service/runtimeConfig.ts b/clients/client-iot-1click-devices-service/runtimeConfig.ts index 929a62b7d983c..0bcb6fc2150c6 100644 --- a/clients/client-iot-1click-devices-service/runtimeConfig.ts +++ b/clients/client-iot-1click-devices-service/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: IoT1ClickDevicesServiceClientConfig) => { +export const getRuntimeConfig = (config: IoT1ClickDevicesServiceClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-iot-1click-projects/runtimeConfig.browser.ts b/clients/client-iot-1click-projects/runtimeConfig.browser.ts index 85954523d6808..6d7c4393a79fd 100644 --- a/clients/client-iot-1click-projects/runtimeConfig.browser.ts +++ b/clients/client-iot-1click-projects/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: IoT1ClickProjectsClientConfig) => { +export const getRuntimeConfig = (config: IoT1ClickProjectsClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-iot-1click-projects/runtimeConfig.native.ts b/clients/client-iot-1click-projects/runtimeConfig.native.ts index 4635b922d3be6..bf2ded1e510e1 100644 --- a/clients/client-iot-1click-projects/runtimeConfig.native.ts +++ b/clients/client-iot-1click-projects/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: IoT1ClickProjectsClientConfig) => { +export const getRuntimeConfig = (config: IoT1ClickProjectsClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-iot-1click-projects/runtimeConfig.shared.ts b/clients/client-iot-1click-projects/runtimeConfig.shared.ts index c0e8c308f9e9e..6f8e18e7377ab 100644 --- a/clients/client-iot-1click-projects/runtimeConfig.shared.ts +++ b/clients/client-iot-1click-projects/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { IoT1ClickProjectsClientConfig } from "./IoT1ClickProjectsClient"; /** * @internal */ -export const getRuntimeConfig = (config: IoT1ClickProjectsClientConfig) => ({ +export const getRuntimeConfig = (config: IoT1ClickProjectsClientConfig = {}) => ({ apiVersion: "2018-05-14", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-iot-1click-projects/runtimeConfig.ts b/clients/client-iot-1click-projects/runtimeConfig.ts index e455a2defed26..6515b72d3a75c 100644 --- a/clients/client-iot-1click-projects/runtimeConfig.ts +++ b/clients/client-iot-1click-projects/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: IoT1ClickProjectsClientConfig) => { +export const getRuntimeConfig = (config: IoT1ClickProjectsClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-iot-data-plane/runtimeConfig.browser.ts b/clients/client-iot-data-plane/runtimeConfig.browser.ts index d3d57f0a40b68..5257f4da77edb 100644 --- a/clients/client-iot-data-plane/runtimeConfig.browser.ts +++ b/clients/client-iot-data-plane/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: IoTDataPlaneClientConfig) => { +export const getRuntimeConfig = (config: IoTDataPlaneClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-iot-data-plane/runtimeConfig.native.ts b/clients/client-iot-data-plane/runtimeConfig.native.ts index aaf57f58a32a3..e9fca76377b49 100644 --- a/clients/client-iot-data-plane/runtimeConfig.native.ts +++ b/clients/client-iot-data-plane/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: IoTDataPlaneClientConfig) => { +export const getRuntimeConfig = (config: IoTDataPlaneClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-iot-data-plane/runtimeConfig.shared.ts b/clients/client-iot-data-plane/runtimeConfig.shared.ts index 1b22298e8de09..6005d1d2ac0b1 100644 --- a/clients/client-iot-data-plane/runtimeConfig.shared.ts +++ b/clients/client-iot-data-plane/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { IoTDataPlaneClientConfig } from "./IoTDataPlaneClient"; /** * @internal */ -export const getRuntimeConfig = (config: IoTDataPlaneClientConfig) => ({ +export const getRuntimeConfig = (config: IoTDataPlaneClientConfig = {}) => ({ apiVersion: "2015-05-28", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-iot-data-plane/runtimeConfig.ts b/clients/client-iot-data-plane/runtimeConfig.ts index 7a03cb83ca482..f48b53519ecb9 100644 --- a/clients/client-iot-data-plane/runtimeConfig.ts +++ b/clients/client-iot-data-plane/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: IoTDataPlaneClientConfig) => { +export const getRuntimeConfig = (config: IoTDataPlaneClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-iot-events-data/runtimeConfig.browser.ts b/clients/client-iot-events-data/runtimeConfig.browser.ts index d7f8fc6326a75..c48b31905e6b0 100644 --- a/clients/client-iot-events-data/runtimeConfig.browser.ts +++ b/clients/client-iot-events-data/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: IoTEventsDataClientConfig) => { +export const getRuntimeConfig = (config: IoTEventsDataClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-iot-events-data/runtimeConfig.native.ts b/clients/client-iot-events-data/runtimeConfig.native.ts index f925574a33f31..ac4ccaeaa3e79 100644 --- a/clients/client-iot-events-data/runtimeConfig.native.ts +++ b/clients/client-iot-events-data/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: IoTEventsDataClientConfig) => { +export const getRuntimeConfig = (config: IoTEventsDataClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-iot-events-data/runtimeConfig.shared.ts b/clients/client-iot-events-data/runtimeConfig.shared.ts index 195f511b14dc1..49134929fd6d8 100644 --- a/clients/client-iot-events-data/runtimeConfig.shared.ts +++ b/clients/client-iot-events-data/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { IoTEventsDataClientConfig } from "./IoTEventsDataClient"; /** * @internal */ -export const getRuntimeConfig = (config: IoTEventsDataClientConfig) => ({ +export const getRuntimeConfig = (config: IoTEventsDataClientConfig = {}) => ({ apiVersion: "2018-10-23", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-iot-events-data/runtimeConfig.ts b/clients/client-iot-events-data/runtimeConfig.ts index ebcd80bbd86d1..0373c43b079f8 100644 --- a/clients/client-iot-events-data/runtimeConfig.ts +++ b/clients/client-iot-events-data/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: IoTEventsDataClientConfig) => { +export const getRuntimeConfig = (config: IoTEventsDataClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-iot-events/runtimeConfig.browser.ts b/clients/client-iot-events/runtimeConfig.browser.ts index 328da661ba67f..f8e237faf3987 100644 --- a/clients/client-iot-events/runtimeConfig.browser.ts +++ b/clients/client-iot-events/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: IoTEventsClientConfig) => { +export const getRuntimeConfig = (config: IoTEventsClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-iot-events/runtimeConfig.native.ts b/clients/client-iot-events/runtimeConfig.native.ts index 67fca378f7304..f2a1e86d1c93d 100644 --- a/clients/client-iot-events/runtimeConfig.native.ts +++ b/clients/client-iot-events/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: IoTEventsClientConfig) => { +export const getRuntimeConfig = (config: IoTEventsClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-iot-events/runtimeConfig.shared.ts b/clients/client-iot-events/runtimeConfig.shared.ts index 359b6d3c556e0..566d354a2cd1c 100644 --- a/clients/client-iot-events/runtimeConfig.shared.ts +++ b/clients/client-iot-events/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { IoTEventsClientConfig } from "./IoTEventsClient"; /** * @internal */ -export const getRuntimeConfig = (config: IoTEventsClientConfig) => ({ +export const getRuntimeConfig = (config: IoTEventsClientConfig = {}) => ({ apiVersion: "2018-07-27", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-iot-events/runtimeConfig.ts b/clients/client-iot-events/runtimeConfig.ts index f59e61a96a0b1..d328e885b2110 100644 --- a/clients/client-iot-events/runtimeConfig.ts +++ b/clients/client-iot-events/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: IoTEventsClientConfig) => { +export const getRuntimeConfig = (config: IoTEventsClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-iot-jobs-data-plane/runtimeConfig.browser.ts b/clients/client-iot-jobs-data-plane/runtimeConfig.browser.ts index 2f80c81dfe4f7..f8053605f9554 100644 --- a/clients/client-iot-jobs-data-plane/runtimeConfig.browser.ts +++ b/clients/client-iot-jobs-data-plane/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: IoTJobsDataPlaneClientConfig) => { +export const getRuntimeConfig = (config: IoTJobsDataPlaneClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-iot-jobs-data-plane/runtimeConfig.native.ts b/clients/client-iot-jobs-data-plane/runtimeConfig.native.ts index 423d1d958cb22..a8e9585792501 100644 --- a/clients/client-iot-jobs-data-plane/runtimeConfig.native.ts +++ b/clients/client-iot-jobs-data-plane/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: IoTJobsDataPlaneClientConfig) => { +export const getRuntimeConfig = (config: IoTJobsDataPlaneClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-iot-jobs-data-plane/runtimeConfig.shared.ts b/clients/client-iot-jobs-data-plane/runtimeConfig.shared.ts index d4f858ef4a7cc..31528f110b1b2 100644 --- a/clients/client-iot-jobs-data-plane/runtimeConfig.shared.ts +++ b/clients/client-iot-jobs-data-plane/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { IoTJobsDataPlaneClientConfig } from "./IoTJobsDataPlaneClient"; /** * @internal */ -export const getRuntimeConfig = (config: IoTJobsDataPlaneClientConfig) => ({ +export const getRuntimeConfig = (config: IoTJobsDataPlaneClientConfig = {}) => ({ apiVersion: "2017-09-29", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-iot-jobs-data-plane/runtimeConfig.ts b/clients/client-iot-jobs-data-plane/runtimeConfig.ts index 47daf361a3160..359e6a92a5969 100644 --- a/clients/client-iot-jobs-data-plane/runtimeConfig.ts +++ b/clients/client-iot-jobs-data-plane/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: IoTJobsDataPlaneClientConfig) => { +export const getRuntimeConfig = (config: IoTJobsDataPlaneClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-iot-wireless/runtimeConfig.browser.ts b/clients/client-iot-wireless/runtimeConfig.browser.ts index 5bafc877f5738..956b0d8e21fc7 100644 --- a/clients/client-iot-wireless/runtimeConfig.browser.ts +++ b/clients/client-iot-wireless/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: IoTWirelessClientConfig) => { +export const getRuntimeConfig = (config: IoTWirelessClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-iot-wireless/runtimeConfig.native.ts b/clients/client-iot-wireless/runtimeConfig.native.ts index 855d3281eae3f..1c9f13d4e2732 100644 --- a/clients/client-iot-wireless/runtimeConfig.native.ts +++ b/clients/client-iot-wireless/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: IoTWirelessClientConfig) => { +export const getRuntimeConfig = (config: IoTWirelessClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-iot-wireless/runtimeConfig.shared.ts b/clients/client-iot-wireless/runtimeConfig.shared.ts index 87be4d64605d3..ccb93e1c195ff 100644 --- a/clients/client-iot-wireless/runtimeConfig.shared.ts +++ b/clients/client-iot-wireless/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { IoTWirelessClientConfig } from "./IoTWirelessClient"; /** * @internal */ -export const getRuntimeConfig = (config: IoTWirelessClientConfig) => ({ +export const getRuntimeConfig = (config: IoTWirelessClientConfig = {}) => ({ apiVersion: "2020-11-22", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-iot-wireless/runtimeConfig.ts b/clients/client-iot-wireless/runtimeConfig.ts index 5dc4940d70a06..a2ac622e28138 100644 --- a/clients/client-iot-wireless/runtimeConfig.ts +++ b/clients/client-iot-wireless/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: IoTWirelessClientConfig) => { +export const getRuntimeConfig = (config: IoTWirelessClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-iot/runtimeConfig.browser.ts b/clients/client-iot/runtimeConfig.browser.ts index 6db689dda83a1..22856dce595d2 100644 --- a/clients/client-iot/runtimeConfig.browser.ts +++ b/clients/client-iot/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: IoTClientConfig) => { +export const getRuntimeConfig = (config: IoTClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-iot/runtimeConfig.native.ts b/clients/client-iot/runtimeConfig.native.ts index de6fbdc29e047..8b97345afe3bc 100644 --- a/clients/client-iot/runtimeConfig.native.ts +++ b/clients/client-iot/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: IoTClientConfig) => { +export const getRuntimeConfig = (config: IoTClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-iot/runtimeConfig.shared.ts b/clients/client-iot/runtimeConfig.shared.ts index d619d030aa618..7dd94f2b8cd39 100644 --- a/clients/client-iot/runtimeConfig.shared.ts +++ b/clients/client-iot/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { IoTClientConfig } from "./IoTClient"; /** * @internal */ -export const getRuntimeConfig = (config: IoTClientConfig) => ({ +export const getRuntimeConfig = (config: IoTClientConfig = {}) => ({ apiVersion: "2015-05-28", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-iot/runtimeConfig.ts b/clients/client-iot/runtimeConfig.ts index fab89af608523..f34f20be1b878 100644 --- a/clients/client-iot/runtimeConfig.ts +++ b/clients/client-iot/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: IoTClientConfig) => { +export const getRuntimeConfig = (config: IoTClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-iotanalytics/runtimeConfig.browser.ts b/clients/client-iotanalytics/runtimeConfig.browser.ts index 179523da62ce4..38bc6dd560144 100644 --- a/clients/client-iotanalytics/runtimeConfig.browser.ts +++ b/clients/client-iotanalytics/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: IoTAnalyticsClientConfig) => { +export const getRuntimeConfig = (config: IoTAnalyticsClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-iotanalytics/runtimeConfig.native.ts b/clients/client-iotanalytics/runtimeConfig.native.ts index 174810610b29a..cacf827956fea 100644 --- a/clients/client-iotanalytics/runtimeConfig.native.ts +++ b/clients/client-iotanalytics/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: IoTAnalyticsClientConfig) => { +export const getRuntimeConfig = (config: IoTAnalyticsClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-iotanalytics/runtimeConfig.shared.ts b/clients/client-iotanalytics/runtimeConfig.shared.ts index 6e709be0c39fe..729e73c87bfa1 100644 --- a/clients/client-iotanalytics/runtimeConfig.shared.ts +++ b/clients/client-iotanalytics/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { IoTAnalyticsClientConfig } from "./IoTAnalyticsClient"; /** * @internal */ -export const getRuntimeConfig = (config: IoTAnalyticsClientConfig) => ({ +export const getRuntimeConfig = (config: IoTAnalyticsClientConfig = {}) => ({ apiVersion: "2017-11-27", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-iotanalytics/runtimeConfig.ts b/clients/client-iotanalytics/runtimeConfig.ts index 36dbfbde6e897..46cfab6819b1c 100644 --- a/clients/client-iotanalytics/runtimeConfig.ts +++ b/clients/client-iotanalytics/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: IoTAnalyticsClientConfig) => { +export const getRuntimeConfig = (config: IoTAnalyticsClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-iotdeviceadvisor/runtimeConfig.browser.ts b/clients/client-iotdeviceadvisor/runtimeConfig.browser.ts index cc21dac4eb3be..ad87e411499d8 100644 --- a/clients/client-iotdeviceadvisor/runtimeConfig.browser.ts +++ b/clients/client-iotdeviceadvisor/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: IotDeviceAdvisorClientConfig) => { +export const getRuntimeConfig = (config: IotDeviceAdvisorClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-iotdeviceadvisor/runtimeConfig.native.ts b/clients/client-iotdeviceadvisor/runtimeConfig.native.ts index 1d82eeafd9fea..7085979313242 100644 --- a/clients/client-iotdeviceadvisor/runtimeConfig.native.ts +++ b/clients/client-iotdeviceadvisor/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: IotDeviceAdvisorClientConfig) => { +export const getRuntimeConfig = (config: IotDeviceAdvisorClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-iotdeviceadvisor/runtimeConfig.shared.ts b/clients/client-iotdeviceadvisor/runtimeConfig.shared.ts index 14174fdff0dff..178bc2ecb0c02 100644 --- a/clients/client-iotdeviceadvisor/runtimeConfig.shared.ts +++ b/clients/client-iotdeviceadvisor/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { IotDeviceAdvisorClientConfig } from "./IotDeviceAdvisorClient"; /** * @internal */ -export const getRuntimeConfig = (config: IotDeviceAdvisorClientConfig) => ({ +export const getRuntimeConfig = (config: IotDeviceAdvisorClientConfig = {}) => ({ apiVersion: "2020-09-18", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-iotdeviceadvisor/runtimeConfig.ts b/clients/client-iotdeviceadvisor/runtimeConfig.ts index 2e93862053b8e..25668a365f273 100644 --- a/clients/client-iotdeviceadvisor/runtimeConfig.ts +++ b/clients/client-iotdeviceadvisor/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: IotDeviceAdvisorClientConfig) => { +export const getRuntimeConfig = (config: IotDeviceAdvisorClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-iotfleethub/runtimeConfig.browser.ts b/clients/client-iotfleethub/runtimeConfig.browser.ts index 83a7e0d8418b2..69ebe05672c76 100644 --- a/clients/client-iotfleethub/runtimeConfig.browser.ts +++ b/clients/client-iotfleethub/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: IoTFleetHubClientConfig) => { +export const getRuntimeConfig = (config: IoTFleetHubClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-iotfleethub/runtimeConfig.native.ts b/clients/client-iotfleethub/runtimeConfig.native.ts index 15bddb6b57f29..6379f72488a19 100644 --- a/clients/client-iotfleethub/runtimeConfig.native.ts +++ b/clients/client-iotfleethub/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: IoTFleetHubClientConfig) => { +export const getRuntimeConfig = (config: IoTFleetHubClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-iotfleethub/runtimeConfig.shared.ts b/clients/client-iotfleethub/runtimeConfig.shared.ts index 291046dc167b4..08bfa7c9d4a2c 100644 --- a/clients/client-iotfleethub/runtimeConfig.shared.ts +++ b/clients/client-iotfleethub/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { IoTFleetHubClientConfig } from "./IoTFleetHubClient"; /** * @internal */ -export const getRuntimeConfig = (config: IoTFleetHubClientConfig) => ({ +export const getRuntimeConfig = (config: IoTFleetHubClientConfig = {}) => ({ apiVersion: "2020-11-03", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-iotfleethub/runtimeConfig.ts b/clients/client-iotfleethub/runtimeConfig.ts index d6e54df8edbab..40b233fade548 100644 --- a/clients/client-iotfleethub/runtimeConfig.ts +++ b/clients/client-iotfleethub/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: IoTFleetHubClientConfig) => { +export const getRuntimeConfig = (config: IoTFleetHubClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-iotsecuretunneling/runtimeConfig.browser.ts b/clients/client-iotsecuretunneling/runtimeConfig.browser.ts index 01013153f6ada..b230780ff4ded 100644 --- a/clients/client-iotsecuretunneling/runtimeConfig.browser.ts +++ b/clients/client-iotsecuretunneling/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: IoTSecureTunnelingClientConfig) => { +export const getRuntimeConfig = (config: IoTSecureTunnelingClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-iotsecuretunneling/runtimeConfig.native.ts b/clients/client-iotsecuretunneling/runtimeConfig.native.ts index 21d4fc7d00e3c..e0998af682a93 100644 --- a/clients/client-iotsecuretunneling/runtimeConfig.native.ts +++ b/clients/client-iotsecuretunneling/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: IoTSecureTunnelingClientConfig) => { +export const getRuntimeConfig = (config: IoTSecureTunnelingClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-iotsecuretunneling/runtimeConfig.shared.ts b/clients/client-iotsecuretunneling/runtimeConfig.shared.ts index c5c92ec34b424..ebb9e2647fbfb 100644 --- a/clients/client-iotsecuretunneling/runtimeConfig.shared.ts +++ b/clients/client-iotsecuretunneling/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { IoTSecureTunnelingClientConfig } from "./IoTSecureTunnelingClient"; /** * @internal */ -export const getRuntimeConfig = (config: IoTSecureTunnelingClientConfig) => ({ +export const getRuntimeConfig = (config: IoTSecureTunnelingClientConfig = {}) => ({ apiVersion: "2018-10-05", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-iotsecuretunneling/runtimeConfig.ts b/clients/client-iotsecuretunneling/runtimeConfig.ts index 344916d1ac2be..9c4dc35dd2905 100644 --- a/clients/client-iotsecuretunneling/runtimeConfig.ts +++ b/clients/client-iotsecuretunneling/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: IoTSecureTunnelingClientConfig) => { +export const getRuntimeConfig = (config: IoTSecureTunnelingClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-iotsitewise/runtimeConfig.browser.ts b/clients/client-iotsitewise/runtimeConfig.browser.ts index 6bad9b95fa9b0..0833fc1da2c6b 100644 --- a/clients/client-iotsitewise/runtimeConfig.browser.ts +++ b/clients/client-iotsitewise/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: IoTSiteWiseClientConfig) => { +export const getRuntimeConfig = (config: IoTSiteWiseClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-iotsitewise/runtimeConfig.native.ts b/clients/client-iotsitewise/runtimeConfig.native.ts index c43466b24ae76..392e7189afdd5 100644 --- a/clients/client-iotsitewise/runtimeConfig.native.ts +++ b/clients/client-iotsitewise/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: IoTSiteWiseClientConfig) => { +export const getRuntimeConfig = (config: IoTSiteWiseClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-iotsitewise/runtimeConfig.shared.ts b/clients/client-iotsitewise/runtimeConfig.shared.ts index f9170625c10cb..128a6b8213eab 100644 --- a/clients/client-iotsitewise/runtimeConfig.shared.ts +++ b/clients/client-iotsitewise/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { IoTSiteWiseClientConfig } from "./IoTSiteWiseClient"; /** * @internal */ -export const getRuntimeConfig = (config: IoTSiteWiseClientConfig) => ({ +export const getRuntimeConfig = (config: IoTSiteWiseClientConfig = {}) => ({ apiVersion: "2019-12-02", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-iotsitewise/runtimeConfig.ts b/clients/client-iotsitewise/runtimeConfig.ts index 3a8fd56123f40..f951df7f34291 100644 --- a/clients/client-iotsitewise/runtimeConfig.ts +++ b/clients/client-iotsitewise/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: IoTSiteWiseClientConfig) => { +export const getRuntimeConfig = (config: IoTSiteWiseClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-iotthingsgraph/runtimeConfig.browser.ts b/clients/client-iotthingsgraph/runtimeConfig.browser.ts index 99a7269772c23..6f4d54c3dbf96 100644 --- a/clients/client-iotthingsgraph/runtimeConfig.browser.ts +++ b/clients/client-iotthingsgraph/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: IoTThingsGraphClientConfig) => { +export const getRuntimeConfig = (config: IoTThingsGraphClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-iotthingsgraph/runtimeConfig.native.ts b/clients/client-iotthingsgraph/runtimeConfig.native.ts index d97fc41d1e3f9..1d44e8877dcd9 100644 --- a/clients/client-iotthingsgraph/runtimeConfig.native.ts +++ b/clients/client-iotthingsgraph/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: IoTThingsGraphClientConfig) => { +export const getRuntimeConfig = (config: IoTThingsGraphClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-iotthingsgraph/runtimeConfig.shared.ts b/clients/client-iotthingsgraph/runtimeConfig.shared.ts index ec1e7f7112e9d..cb19e419cdc27 100644 --- a/clients/client-iotthingsgraph/runtimeConfig.shared.ts +++ b/clients/client-iotthingsgraph/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { IoTThingsGraphClientConfig } from "./IoTThingsGraphClient"; /** * @internal */ -export const getRuntimeConfig = (config: IoTThingsGraphClientConfig) => ({ +export const getRuntimeConfig = (config: IoTThingsGraphClientConfig = {}) => ({ apiVersion: "2018-09-06", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-iotthingsgraph/runtimeConfig.ts b/clients/client-iotthingsgraph/runtimeConfig.ts index d91fbaeb29949..1ff85248e24a4 100644 --- a/clients/client-iotthingsgraph/runtimeConfig.ts +++ b/clients/client-iotthingsgraph/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: IoTThingsGraphClientConfig) => { +export const getRuntimeConfig = (config: IoTThingsGraphClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-ivs/runtimeConfig.browser.ts b/clients/client-ivs/runtimeConfig.browser.ts index 5f85c9138630a..2e75b0a08928e 100644 --- a/clients/client-ivs/runtimeConfig.browser.ts +++ b/clients/client-ivs/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: IvsClientConfig) => { +export const getRuntimeConfig = (config: IvsClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-ivs/runtimeConfig.native.ts b/clients/client-ivs/runtimeConfig.native.ts index d1cbe19911e80..96df7d1c3e5f7 100644 --- a/clients/client-ivs/runtimeConfig.native.ts +++ b/clients/client-ivs/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: IvsClientConfig) => { +export const getRuntimeConfig = (config: IvsClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-ivs/runtimeConfig.shared.ts b/clients/client-ivs/runtimeConfig.shared.ts index eb40e88a03624..3882a87142c79 100644 --- a/clients/client-ivs/runtimeConfig.shared.ts +++ b/clients/client-ivs/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { IvsClientConfig } from "./IvsClient"; /** * @internal */ -export const getRuntimeConfig = (config: IvsClientConfig) => ({ +export const getRuntimeConfig = (config: IvsClientConfig = {}) => ({ apiVersion: "2020-07-14", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-ivs/runtimeConfig.ts b/clients/client-ivs/runtimeConfig.ts index 1cb76cd8d0a46..c11fd5c56059d 100644 --- a/clients/client-ivs/runtimeConfig.ts +++ b/clients/client-ivs/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: IvsClientConfig) => { +export const getRuntimeConfig = (config: IvsClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-kafka/runtimeConfig.browser.ts b/clients/client-kafka/runtimeConfig.browser.ts index 8562d039dadb7..578264e3171cd 100644 --- a/clients/client-kafka/runtimeConfig.browser.ts +++ b/clients/client-kafka/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: KafkaClientConfig) => { +export const getRuntimeConfig = (config: KafkaClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-kafka/runtimeConfig.native.ts b/clients/client-kafka/runtimeConfig.native.ts index 4bc8cfff5ce5f..d6e2da24d3f11 100644 --- a/clients/client-kafka/runtimeConfig.native.ts +++ b/clients/client-kafka/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: KafkaClientConfig) => { +export const getRuntimeConfig = (config: KafkaClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-kafka/runtimeConfig.shared.ts b/clients/client-kafka/runtimeConfig.shared.ts index b3018256d8fba..443226f33063d 100644 --- a/clients/client-kafka/runtimeConfig.shared.ts +++ b/clients/client-kafka/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { KafkaClientConfig } from "./KafkaClient"; /** * @internal */ -export const getRuntimeConfig = (config: KafkaClientConfig) => ({ +export const getRuntimeConfig = (config: KafkaClientConfig = {}) => ({ apiVersion: "2018-11-14", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-kafka/runtimeConfig.ts b/clients/client-kafka/runtimeConfig.ts index 6b1869378053e..bb7c89cb3c468 100644 --- a/clients/client-kafka/runtimeConfig.ts +++ b/clients/client-kafka/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: KafkaClientConfig) => { +export const getRuntimeConfig = (config: KafkaClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-kendra/runtimeConfig.browser.ts b/clients/client-kendra/runtimeConfig.browser.ts index 9766e630bfe31..32cdaeab4fbfb 100644 --- a/clients/client-kendra/runtimeConfig.browser.ts +++ b/clients/client-kendra/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: KendraClientConfig) => { +export const getRuntimeConfig = (config: KendraClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-kendra/runtimeConfig.native.ts b/clients/client-kendra/runtimeConfig.native.ts index 4b9896fe5183e..58dbe95bce186 100644 --- a/clients/client-kendra/runtimeConfig.native.ts +++ b/clients/client-kendra/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: KendraClientConfig) => { +export const getRuntimeConfig = (config: KendraClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-kendra/runtimeConfig.shared.ts b/clients/client-kendra/runtimeConfig.shared.ts index 2fd4a11e61622..ffcf23f677922 100644 --- a/clients/client-kendra/runtimeConfig.shared.ts +++ b/clients/client-kendra/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { KendraClientConfig } from "./KendraClient"; /** * @internal */ -export const getRuntimeConfig = (config: KendraClientConfig) => ({ +export const getRuntimeConfig = (config: KendraClientConfig = {}) => ({ apiVersion: "2019-02-03", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-kendra/runtimeConfig.ts b/clients/client-kendra/runtimeConfig.ts index 3016ebe9cdd5b..3a8d2f5ab5c01 100644 --- a/clients/client-kendra/runtimeConfig.ts +++ b/clients/client-kendra/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: KendraClientConfig) => { +export const getRuntimeConfig = (config: KendraClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-kinesis-analytics-v2/runtimeConfig.browser.ts b/clients/client-kinesis-analytics-v2/runtimeConfig.browser.ts index b08ab42a0df4e..a8693cde41fc0 100644 --- a/clients/client-kinesis-analytics-v2/runtimeConfig.browser.ts +++ b/clients/client-kinesis-analytics-v2/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: KinesisAnalyticsV2ClientConfig) => { +export const getRuntimeConfig = (config: KinesisAnalyticsV2ClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-kinesis-analytics-v2/runtimeConfig.native.ts b/clients/client-kinesis-analytics-v2/runtimeConfig.native.ts index 192a06fd49856..14616944b8ffc 100644 --- a/clients/client-kinesis-analytics-v2/runtimeConfig.native.ts +++ b/clients/client-kinesis-analytics-v2/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: KinesisAnalyticsV2ClientConfig) => { +export const getRuntimeConfig = (config: KinesisAnalyticsV2ClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-kinesis-analytics-v2/runtimeConfig.shared.ts b/clients/client-kinesis-analytics-v2/runtimeConfig.shared.ts index 07053bda9de1a..2371a6b9dcb0d 100644 --- a/clients/client-kinesis-analytics-v2/runtimeConfig.shared.ts +++ b/clients/client-kinesis-analytics-v2/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { KinesisAnalyticsV2ClientConfig } from "./KinesisAnalyticsV2Client"; /** * @internal */ -export const getRuntimeConfig = (config: KinesisAnalyticsV2ClientConfig) => ({ +export const getRuntimeConfig = (config: KinesisAnalyticsV2ClientConfig = {}) => ({ apiVersion: "2018-05-23", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-kinesis-analytics-v2/runtimeConfig.ts b/clients/client-kinesis-analytics-v2/runtimeConfig.ts index 40d682ea245c6..de361d20223a1 100644 --- a/clients/client-kinesis-analytics-v2/runtimeConfig.ts +++ b/clients/client-kinesis-analytics-v2/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: KinesisAnalyticsV2ClientConfig) => { +export const getRuntimeConfig = (config: KinesisAnalyticsV2ClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-kinesis-analytics/runtimeConfig.browser.ts b/clients/client-kinesis-analytics/runtimeConfig.browser.ts index d2c7681c79de7..e2ef6f71c492b 100644 --- a/clients/client-kinesis-analytics/runtimeConfig.browser.ts +++ b/clients/client-kinesis-analytics/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: KinesisAnalyticsClientConfig) => { +export const getRuntimeConfig = (config: KinesisAnalyticsClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-kinesis-analytics/runtimeConfig.native.ts b/clients/client-kinesis-analytics/runtimeConfig.native.ts index a1a9c9f645148..7580d6752bde9 100644 --- a/clients/client-kinesis-analytics/runtimeConfig.native.ts +++ b/clients/client-kinesis-analytics/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: KinesisAnalyticsClientConfig) => { +export const getRuntimeConfig = (config: KinesisAnalyticsClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-kinesis-analytics/runtimeConfig.shared.ts b/clients/client-kinesis-analytics/runtimeConfig.shared.ts index 2351e4420bacd..0e1d76b9e663d 100644 --- a/clients/client-kinesis-analytics/runtimeConfig.shared.ts +++ b/clients/client-kinesis-analytics/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { KinesisAnalyticsClientConfig } from "./KinesisAnalyticsClient"; /** * @internal */ -export const getRuntimeConfig = (config: KinesisAnalyticsClientConfig) => ({ +export const getRuntimeConfig = (config: KinesisAnalyticsClientConfig = {}) => ({ apiVersion: "2015-08-14", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-kinesis-analytics/runtimeConfig.ts b/clients/client-kinesis-analytics/runtimeConfig.ts index 22e3866cde013..fdddaaafde5e7 100644 --- a/clients/client-kinesis-analytics/runtimeConfig.ts +++ b/clients/client-kinesis-analytics/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: KinesisAnalyticsClientConfig) => { +export const getRuntimeConfig = (config: KinesisAnalyticsClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-kinesis-video-archived-media/runtimeConfig.browser.ts b/clients/client-kinesis-video-archived-media/runtimeConfig.browser.ts index 46aee5b2aa1a3..1960616f1c407 100644 --- a/clients/client-kinesis-video-archived-media/runtimeConfig.browser.ts +++ b/clients/client-kinesis-video-archived-media/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: KinesisVideoArchivedMediaClientConfig) => { +export const getRuntimeConfig = (config: KinesisVideoArchivedMediaClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-kinesis-video-archived-media/runtimeConfig.native.ts b/clients/client-kinesis-video-archived-media/runtimeConfig.native.ts index 4d5e2eeb88a18..861657f8d321f 100644 --- a/clients/client-kinesis-video-archived-media/runtimeConfig.native.ts +++ b/clients/client-kinesis-video-archived-media/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: KinesisVideoArchivedMediaClientConfig) => { +export const getRuntimeConfig = (config: KinesisVideoArchivedMediaClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-kinesis-video-archived-media/runtimeConfig.shared.ts b/clients/client-kinesis-video-archived-media/runtimeConfig.shared.ts index 25b0cb8de7b7c..475ef1be57de5 100644 --- a/clients/client-kinesis-video-archived-media/runtimeConfig.shared.ts +++ b/clients/client-kinesis-video-archived-media/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { KinesisVideoArchivedMediaClientConfig } from "./KinesisVideoArchivedMed /** * @internal */ -export const getRuntimeConfig = (config: KinesisVideoArchivedMediaClientConfig) => ({ +export const getRuntimeConfig = (config: KinesisVideoArchivedMediaClientConfig = {}) => ({ apiVersion: "2017-09-30", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-kinesis-video-archived-media/runtimeConfig.ts b/clients/client-kinesis-video-archived-media/runtimeConfig.ts index 205bce509e5da..ba7a1b8832f6f 100644 --- a/clients/client-kinesis-video-archived-media/runtimeConfig.ts +++ b/clients/client-kinesis-video-archived-media/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: KinesisVideoArchivedMediaClientConfig) => { +export const getRuntimeConfig = (config: KinesisVideoArchivedMediaClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-kinesis-video-media/runtimeConfig.browser.ts b/clients/client-kinesis-video-media/runtimeConfig.browser.ts index 93262a2f8885b..3537fba7cc903 100644 --- a/clients/client-kinesis-video-media/runtimeConfig.browser.ts +++ b/clients/client-kinesis-video-media/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: KinesisVideoMediaClientConfig) => { +export const getRuntimeConfig = (config: KinesisVideoMediaClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-kinesis-video-media/runtimeConfig.native.ts b/clients/client-kinesis-video-media/runtimeConfig.native.ts index 1615e63802ee3..2f4559372c8aa 100644 --- a/clients/client-kinesis-video-media/runtimeConfig.native.ts +++ b/clients/client-kinesis-video-media/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: KinesisVideoMediaClientConfig) => { +export const getRuntimeConfig = (config: KinesisVideoMediaClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-kinesis-video-media/runtimeConfig.shared.ts b/clients/client-kinesis-video-media/runtimeConfig.shared.ts index 46d6c7aa077c0..7b53db0af7937 100644 --- a/clients/client-kinesis-video-media/runtimeConfig.shared.ts +++ b/clients/client-kinesis-video-media/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { KinesisVideoMediaClientConfig } from "./KinesisVideoMediaClient"; /** * @internal */ -export const getRuntimeConfig = (config: KinesisVideoMediaClientConfig) => ({ +export const getRuntimeConfig = (config: KinesisVideoMediaClientConfig = {}) => ({ apiVersion: "2017-09-30", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-kinesis-video-media/runtimeConfig.ts b/clients/client-kinesis-video-media/runtimeConfig.ts index 0b7dce958c000..2990fb42784d7 100644 --- a/clients/client-kinesis-video-media/runtimeConfig.ts +++ b/clients/client-kinesis-video-media/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: KinesisVideoMediaClientConfig) => { +export const getRuntimeConfig = (config: KinesisVideoMediaClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-kinesis-video-signaling/runtimeConfig.browser.ts b/clients/client-kinesis-video-signaling/runtimeConfig.browser.ts index d971cedee136e..98963706c5805 100644 --- a/clients/client-kinesis-video-signaling/runtimeConfig.browser.ts +++ b/clients/client-kinesis-video-signaling/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: KinesisVideoSignalingClientConfig) => { +export const getRuntimeConfig = (config: KinesisVideoSignalingClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-kinesis-video-signaling/runtimeConfig.native.ts b/clients/client-kinesis-video-signaling/runtimeConfig.native.ts index eb4303d1b4222..375c68f8776a9 100644 --- a/clients/client-kinesis-video-signaling/runtimeConfig.native.ts +++ b/clients/client-kinesis-video-signaling/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: KinesisVideoSignalingClientConfig) => { +export const getRuntimeConfig = (config: KinesisVideoSignalingClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-kinesis-video-signaling/runtimeConfig.shared.ts b/clients/client-kinesis-video-signaling/runtimeConfig.shared.ts index 2624a06a30ea7..30e8cf3caea91 100644 --- a/clients/client-kinesis-video-signaling/runtimeConfig.shared.ts +++ b/clients/client-kinesis-video-signaling/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { KinesisVideoSignalingClientConfig } from "./KinesisVideoSignalingClient /** * @internal */ -export const getRuntimeConfig = (config: KinesisVideoSignalingClientConfig) => ({ +export const getRuntimeConfig = (config: KinesisVideoSignalingClientConfig = {}) => ({ apiVersion: "2019-12-04", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-kinesis-video-signaling/runtimeConfig.ts b/clients/client-kinesis-video-signaling/runtimeConfig.ts index d1d7f0a6cc610..600b325c448ce 100644 --- a/clients/client-kinesis-video-signaling/runtimeConfig.ts +++ b/clients/client-kinesis-video-signaling/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: KinesisVideoSignalingClientConfig) => { +export const getRuntimeConfig = (config: KinesisVideoSignalingClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-kinesis-video/runtimeConfig.browser.ts b/clients/client-kinesis-video/runtimeConfig.browser.ts index 09eb8597af36c..b64f45735d69e 100644 --- a/clients/client-kinesis-video/runtimeConfig.browser.ts +++ b/clients/client-kinesis-video/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: KinesisVideoClientConfig) => { +export const getRuntimeConfig = (config: KinesisVideoClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-kinesis-video/runtimeConfig.native.ts b/clients/client-kinesis-video/runtimeConfig.native.ts index 4d1c87ceb3457..198b74469b87c 100644 --- a/clients/client-kinesis-video/runtimeConfig.native.ts +++ b/clients/client-kinesis-video/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: KinesisVideoClientConfig) => { +export const getRuntimeConfig = (config: KinesisVideoClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-kinesis-video/runtimeConfig.shared.ts b/clients/client-kinesis-video/runtimeConfig.shared.ts index 066ff5635678a..9bf8c9acae9e3 100644 --- a/clients/client-kinesis-video/runtimeConfig.shared.ts +++ b/clients/client-kinesis-video/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { KinesisVideoClientConfig } from "./KinesisVideoClient"; /** * @internal */ -export const getRuntimeConfig = (config: KinesisVideoClientConfig) => ({ +export const getRuntimeConfig = (config: KinesisVideoClientConfig = {}) => ({ apiVersion: "2017-09-30", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-kinesis-video/runtimeConfig.ts b/clients/client-kinesis-video/runtimeConfig.ts index c344f6e657ac2..f7a84ddf19984 100644 --- a/clients/client-kinesis-video/runtimeConfig.ts +++ b/clients/client-kinesis-video/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: KinesisVideoClientConfig) => { +export const getRuntimeConfig = (config: KinesisVideoClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-kinesis/runtimeConfig.browser.ts b/clients/client-kinesis/runtimeConfig.browser.ts index b36398ee67a80..38d68f137c251 100644 --- a/clients/client-kinesis/runtimeConfig.browser.ts +++ b/clients/client-kinesis/runtimeConfig.browser.ts @@ -15,7 +15,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: KinesisClientConfig) => { +export const getRuntimeConfig = (config: KinesisClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-kinesis/runtimeConfig.native.ts b/clients/client-kinesis/runtimeConfig.native.ts index ec82e232a1c69..00b0ae3989029 100644 --- a/clients/client-kinesis/runtimeConfig.native.ts +++ b/clients/client-kinesis/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: KinesisClientConfig) => { +export const getRuntimeConfig = (config: KinesisClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-kinesis/runtimeConfig.shared.ts b/clients/client-kinesis/runtimeConfig.shared.ts index 1c87d24ceb37e..663ec05c01191 100644 --- a/clients/client-kinesis/runtimeConfig.shared.ts +++ b/clients/client-kinesis/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { KinesisClientConfig } from "./KinesisClient"; /** * @internal */ -export const getRuntimeConfig = (config: KinesisClientConfig) => ({ +export const getRuntimeConfig = (config: KinesisClientConfig = {}) => ({ apiVersion: "2013-12-02", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-kinesis/runtimeConfig.ts b/clients/client-kinesis/runtimeConfig.ts index 9b0fa80fe2d10..de1a0f2d93a17 100644 --- a/clients/client-kinesis/runtimeConfig.ts +++ b/clients/client-kinesis/runtimeConfig.ts @@ -18,7 +18,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: KinesisClientConfig) => { +export const getRuntimeConfig = (config: KinesisClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-kms/runtimeConfig.browser.ts b/clients/client-kms/runtimeConfig.browser.ts index 013b4271902e2..f53cc0e33c14d 100644 --- a/clients/client-kms/runtimeConfig.browser.ts +++ b/clients/client-kms/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: KMSClientConfig) => { +export const getRuntimeConfig = (config: KMSClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-kms/runtimeConfig.native.ts b/clients/client-kms/runtimeConfig.native.ts index 09025cc4b6b72..f67a722d6d50d 100644 --- a/clients/client-kms/runtimeConfig.native.ts +++ b/clients/client-kms/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: KMSClientConfig) => { +export const getRuntimeConfig = (config: KMSClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-kms/runtimeConfig.shared.ts b/clients/client-kms/runtimeConfig.shared.ts index c151af1a1b14e..4f5bea43b5869 100644 --- a/clients/client-kms/runtimeConfig.shared.ts +++ b/clients/client-kms/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { KMSClientConfig } from "./KMSClient"; /** * @internal */ -export const getRuntimeConfig = (config: KMSClientConfig) => ({ +export const getRuntimeConfig = (config: KMSClientConfig = {}) => ({ apiVersion: "2014-11-01", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-kms/runtimeConfig.ts b/clients/client-kms/runtimeConfig.ts index e8d4c951052e5..4cb6e469f73f1 100644 --- a/clients/client-kms/runtimeConfig.ts +++ b/clients/client-kms/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: KMSClientConfig) => { +export const getRuntimeConfig = (config: KMSClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-lakeformation/runtimeConfig.browser.ts b/clients/client-lakeformation/runtimeConfig.browser.ts index 8117f894d2cec..de43c36fe6134 100644 --- a/clients/client-lakeformation/runtimeConfig.browser.ts +++ b/clients/client-lakeformation/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: LakeFormationClientConfig) => { +export const getRuntimeConfig = (config: LakeFormationClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-lakeformation/runtimeConfig.native.ts b/clients/client-lakeformation/runtimeConfig.native.ts index ee0c111f979db..721a447a1532a 100644 --- a/clients/client-lakeformation/runtimeConfig.native.ts +++ b/clients/client-lakeformation/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: LakeFormationClientConfig) => { +export const getRuntimeConfig = (config: LakeFormationClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-lakeformation/runtimeConfig.shared.ts b/clients/client-lakeformation/runtimeConfig.shared.ts index 935ea38cb4a66..77526cc6ab3d8 100644 --- a/clients/client-lakeformation/runtimeConfig.shared.ts +++ b/clients/client-lakeformation/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { LakeFormationClientConfig } from "./LakeFormationClient"; /** * @internal */ -export const getRuntimeConfig = (config: LakeFormationClientConfig) => ({ +export const getRuntimeConfig = (config: LakeFormationClientConfig = {}) => ({ apiVersion: "2017-03-31", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-lakeformation/runtimeConfig.ts b/clients/client-lakeformation/runtimeConfig.ts index dcabc19ca764b..8e3d81f915a4e 100644 --- a/clients/client-lakeformation/runtimeConfig.ts +++ b/clients/client-lakeformation/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: LakeFormationClientConfig) => { +export const getRuntimeConfig = (config: LakeFormationClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-lambda/runtimeConfig.browser.ts b/clients/client-lambda/runtimeConfig.browser.ts index bdddc7b9ca66a..29f2da2e43988 100644 --- a/clients/client-lambda/runtimeConfig.browser.ts +++ b/clients/client-lambda/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: LambdaClientConfig) => { +export const getRuntimeConfig = (config: LambdaClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-lambda/runtimeConfig.native.ts b/clients/client-lambda/runtimeConfig.native.ts index 9a1d443b8f5fd..3620ca5d36dc4 100644 --- a/clients/client-lambda/runtimeConfig.native.ts +++ b/clients/client-lambda/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: LambdaClientConfig) => { +export const getRuntimeConfig = (config: LambdaClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-lambda/runtimeConfig.shared.ts b/clients/client-lambda/runtimeConfig.shared.ts index 63c56ec86933a..c09688b02ce2d 100644 --- a/clients/client-lambda/runtimeConfig.shared.ts +++ b/clients/client-lambda/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { LambdaClientConfig } from "./LambdaClient"; /** * @internal */ -export const getRuntimeConfig = (config: LambdaClientConfig) => ({ +export const getRuntimeConfig = (config: LambdaClientConfig = {}) => ({ apiVersion: "2015-03-31", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-lambda/runtimeConfig.ts b/clients/client-lambda/runtimeConfig.ts index 4a441ddd4d275..660f23546dd42 100644 --- a/clients/client-lambda/runtimeConfig.ts +++ b/clients/client-lambda/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: LambdaClientConfig) => { +export const getRuntimeConfig = (config: LambdaClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-lex-model-building-service/runtimeConfig.browser.ts b/clients/client-lex-model-building-service/runtimeConfig.browser.ts index a93051744aa01..0e8a28d8ed440 100644 --- a/clients/client-lex-model-building-service/runtimeConfig.browser.ts +++ b/clients/client-lex-model-building-service/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: LexModelBuildingServiceClientConfig) => { +export const getRuntimeConfig = (config: LexModelBuildingServiceClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-lex-model-building-service/runtimeConfig.native.ts b/clients/client-lex-model-building-service/runtimeConfig.native.ts index 782012a13f587..fb3217104be7f 100644 --- a/clients/client-lex-model-building-service/runtimeConfig.native.ts +++ b/clients/client-lex-model-building-service/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: LexModelBuildingServiceClientConfig) => { +export const getRuntimeConfig = (config: LexModelBuildingServiceClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-lex-model-building-service/runtimeConfig.shared.ts b/clients/client-lex-model-building-service/runtimeConfig.shared.ts index 375e02df6627c..4d522c444ea2e 100644 --- a/clients/client-lex-model-building-service/runtimeConfig.shared.ts +++ b/clients/client-lex-model-building-service/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { LexModelBuildingServiceClientConfig } from "./LexModelBuildingServiceCl /** * @internal */ -export const getRuntimeConfig = (config: LexModelBuildingServiceClientConfig) => ({ +export const getRuntimeConfig = (config: LexModelBuildingServiceClientConfig = {}) => ({ apiVersion: "2017-04-19", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-lex-model-building-service/runtimeConfig.ts b/clients/client-lex-model-building-service/runtimeConfig.ts index aab767216da75..a97255de39f81 100644 --- a/clients/client-lex-model-building-service/runtimeConfig.ts +++ b/clients/client-lex-model-building-service/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: LexModelBuildingServiceClientConfig) => { +export const getRuntimeConfig = (config: LexModelBuildingServiceClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-lex-models-v2/runtimeConfig.browser.ts b/clients/client-lex-models-v2/runtimeConfig.browser.ts index 7a7b9d7737523..62070c4279e67 100644 --- a/clients/client-lex-models-v2/runtimeConfig.browser.ts +++ b/clients/client-lex-models-v2/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: LexModelsV2ClientConfig) => { +export const getRuntimeConfig = (config: LexModelsV2ClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-lex-models-v2/runtimeConfig.native.ts b/clients/client-lex-models-v2/runtimeConfig.native.ts index 40c02fd41fb29..f9fe3748d5bd0 100644 --- a/clients/client-lex-models-v2/runtimeConfig.native.ts +++ b/clients/client-lex-models-v2/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: LexModelsV2ClientConfig) => { +export const getRuntimeConfig = (config: LexModelsV2ClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-lex-models-v2/runtimeConfig.shared.ts b/clients/client-lex-models-v2/runtimeConfig.shared.ts index 40a3a1fd6576b..a66f67fefdd3e 100644 --- a/clients/client-lex-models-v2/runtimeConfig.shared.ts +++ b/clients/client-lex-models-v2/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { LexModelsV2ClientConfig } from "./LexModelsV2Client"; /** * @internal */ -export const getRuntimeConfig = (config: LexModelsV2ClientConfig) => ({ +export const getRuntimeConfig = (config: LexModelsV2ClientConfig = {}) => ({ apiVersion: "2020-08-07", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-lex-models-v2/runtimeConfig.ts b/clients/client-lex-models-v2/runtimeConfig.ts index f2cbbe6d9d121..ff63e9b5b3df6 100644 --- a/clients/client-lex-models-v2/runtimeConfig.ts +++ b/clients/client-lex-models-v2/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: LexModelsV2ClientConfig) => { +export const getRuntimeConfig = (config: LexModelsV2ClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-lex-runtime-service/runtimeConfig.browser.ts b/clients/client-lex-runtime-service/runtimeConfig.browser.ts index 53deb97ce5fcd..a3a4abe980ce4 100644 --- a/clients/client-lex-runtime-service/runtimeConfig.browser.ts +++ b/clients/client-lex-runtime-service/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: LexRuntimeServiceClientConfig) => { +export const getRuntimeConfig = (config: LexRuntimeServiceClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-lex-runtime-service/runtimeConfig.native.ts b/clients/client-lex-runtime-service/runtimeConfig.native.ts index 42836d1de452d..1d39cf671b2dd 100644 --- a/clients/client-lex-runtime-service/runtimeConfig.native.ts +++ b/clients/client-lex-runtime-service/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: LexRuntimeServiceClientConfig) => { +export const getRuntimeConfig = (config: LexRuntimeServiceClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-lex-runtime-service/runtimeConfig.shared.ts b/clients/client-lex-runtime-service/runtimeConfig.shared.ts index 95d4cfecfddea..33061e0234ba5 100644 --- a/clients/client-lex-runtime-service/runtimeConfig.shared.ts +++ b/clients/client-lex-runtime-service/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { LexRuntimeServiceClientConfig } from "./LexRuntimeServiceClient"; /** * @internal */ -export const getRuntimeConfig = (config: LexRuntimeServiceClientConfig) => ({ +export const getRuntimeConfig = (config: LexRuntimeServiceClientConfig = {}) => ({ apiVersion: "2016-11-28", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-lex-runtime-service/runtimeConfig.ts b/clients/client-lex-runtime-service/runtimeConfig.ts index 5998674c0f9dd..d3736e500c500 100644 --- a/clients/client-lex-runtime-service/runtimeConfig.ts +++ b/clients/client-lex-runtime-service/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: LexRuntimeServiceClientConfig) => { +export const getRuntimeConfig = (config: LexRuntimeServiceClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-lex-runtime-v2/runtimeConfig.browser.ts b/clients/client-lex-runtime-v2/runtimeConfig.browser.ts index 8740dc76753bd..280503a006d4e 100644 --- a/clients/client-lex-runtime-v2/runtimeConfig.browser.ts +++ b/clients/client-lex-runtime-v2/runtimeConfig.browser.ts @@ -15,7 +15,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: LexRuntimeV2ClientConfig) => { +export const getRuntimeConfig = (config: LexRuntimeV2ClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-lex-runtime-v2/runtimeConfig.native.ts b/clients/client-lex-runtime-v2/runtimeConfig.native.ts index 7759af6b6fb21..0a910bf7fe198 100644 --- a/clients/client-lex-runtime-v2/runtimeConfig.native.ts +++ b/clients/client-lex-runtime-v2/runtimeConfig.native.ts @@ -6,7 +6,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: LexRuntimeV2ClientConfig) => { +export const getRuntimeConfig = (config: LexRuntimeV2ClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-lex-runtime-v2/runtimeConfig.shared.ts b/clients/client-lex-runtime-v2/runtimeConfig.shared.ts index 5f49afca340b8..c82d995f31996 100644 --- a/clients/client-lex-runtime-v2/runtimeConfig.shared.ts +++ b/clients/client-lex-runtime-v2/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { LexRuntimeV2ClientConfig } from "./LexRuntimeV2Client"; /** * @internal */ -export const getRuntimeConfig = (config: LexRuntimeV2ClientConfig) => ({ +export const getRuntimeConfig = (config: LexRuntimeV2ClientConfig = {}) => ({ apiVersion: "2020-08-07", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-lex-runtime-v2/runtimeConfig.ts b/clients/client-lex-runtime-v2/runtimeConfig.ts index e295fa3332f59..131fa938832ff 100644 --- a/clients/client-lex-runtime-v2/runtimeConfig.ts +++ b/clients/client-lex-runtime-v2/runtimeConfig.ts @@ -19,7 +19,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: LexRuntimeV2ClientConfig) => { +export const getRuntimeConfig = (config: LexRuntimeV2ClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-license-manager/runtimeConfig.browser.ts b/clients/client-license-manager/runtimeConfig.browser.ts index 6763167e54abd..118ab4f2186a2 100644 --- a/clients/client-license-manager/runtimeConfig.browser.ts +++ b/clients/client-license-manager/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: LicenseManagerClientConfig) => { +export const getRuntimeConfig = (config: LicenseManagerClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-license-manager/runtimeConfig.native.ts b/clients/client-license-manager/runtimeConfig.native.ts index acbb4326de394..589d28745c2e6 100644 --- a/clients/client-license-manager/runtimeConfig.native.ts +++ b/clients/client-license-manager/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: LicenseManagerClientConfig) => { +export const getRuntimeConfig = (config: LicenseManagerClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-license-manager/runtimeConfig.shared.ts b/clients/client-license-manager/runtimeConfig.shared.ts index f58e465766d79..fc1072083b25d 100644 --- a/clients/client-license-manager/runtimeConfig.shared.ts +++ b/clients/client-license-manager/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { LicenseManagerClientConfig } from "./LicenseManagerClient"; /** * @internal */ -export const getRuntimeConfig = (config: LicenseManagerClientConfig) => ({ +export const getRuntimeConfig = (config: LicenseManagerClientConfig = {}) => ({ apiVersion: "2018-08-01", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-license-manager/runtimeConfig.ts b/clients/client-license-manager/runtimeConfig.ts index 3e15122a7bd29..edce4de150847 100644 --- a/clients/client-license-manager/runtimeConfig.ts +++ b/clients/client-license-manager/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: LicenseManagerClientConfig) => { +export const getRuntimeConfig = (config: LicenseManagerClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-lightsail/runtimeConfig.browser.ts b/clients/client-lightsail/runtimeConfig.browser.ts index 37dcab8839fa8..b7dfa9bcf7391 100644 --- a/clients/client-lightsail/runtimeConfig.browser.ts +++ b/clients/client-lightsail/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: LightsailClientConfig) => { +export const getRuntimeConfig = (config: LightsailClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-lightsail/runtimeConfig.native.ts b/clients/client-lightsail/runtimeConfig.native.ts index 96fbee9722f2b..c38ca73d4aa05 100644 --- a/clients/client-lightsail/runtimeConfig.native.ts +++ b/clients/client-lightsail/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: LightsailClientConfig) => { +export const getRuntimeConfig = (config: LightsailClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-lightsail/runtimeConfig.shared.ts b/clients/client-lightsail/runtimeConfig.shared.ts index 5891055cb9bab..b91f672eec4e1 100644 --- a/clients/client-lightsail/runtimeConfig.shared.ts +++ b/clients/client-lightsail/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { LightsailClientConfig } from "./LightsailClient"; /** * @internal */ -export const getRuntimeConfig = (config: LightsailClientConfig) => ({ +export const getRuntimeConfig = (config: LightsailClientConfig = {}) => ({ apiVersion: "2016-11-28", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-lightsail/runtimeConfig.ts b/clients/client-lightsail/runtimeConfig.ts index 35fcfd8d5ce01..b6fe3e2e94095 100644 --- a/clients/client-lightsail/runtimeConfig.ts +++ b/clients/client-lightsail/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: LightsailClientConfig) => { +export const getRuntimeConfig = (config: LightsailClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-location/runtimeConfig.browser.ts b/clients/client-location/runtimeConfig.browser.ts index f0f11dc436a2f..b73ae236d4fa9 100644 --- a/clients/client-location/runtimeConfig.browser.ts +++ b/clients/client-location/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: LocationClientConfig) => { +export const getRuntimeConfig = (config: LocationClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-location/runtimeConfig.native.ts b/clients/client-location/runtimeConfig.native.ts index dc5e90f6305d6..fb0660bb5914b 100644 --- a/clients/client-location/runtimeConfig.native.ts +++ b/clients/client-location/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: LocationClientConfig) => { +export const getRuntimeConfig = (config: LocationClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-location/runtimeConfig.shared.ts b/clients/client-location/runtimeConfig.shared.ts index e1465543f59e6..de449c04d8bc1 100644 --- a/clients/client-location/runtimeConfig.shared.ts +++ b/clients/client-location/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { LocationClientConfig } from "./LocationClient"; /** * @internal */ -export const getRuntimeConfig = (config: LocationClientConfig) => ({ +export const getRuntimeConfig = (config: LocationClientConfig = {}) => ({ apiVersion: "2020-11-19", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-location/runtimeConfig.ts b/clients/client-location/runtimeConfig.ts index 0e91bf395fcbb..fb27532ae0bf2 100644 --- a/clients/client-location/runtimeConfig.ts +++ b/clients/client-location/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: LocationClientConfig) => { +export const getRuntimeConfig = (config: LocationClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-lookoutequipment/runtimeConfig.browser.ts b/clients/client-lookoutequipment/runtimeConfig.browser.ts index 3bbbd3d6b0768..80041d58f05cb 100644 --- a/clients/client-lookoutequipment/runtimeConfig.browser.ts +++ b/clients/client-lookoutequipment/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: LookoutEquipmentClientConfig) => { +export const getRuntimeConfig = (config: LookoutEquipmentClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-lookoutequipment/runtimeConfig.native.ts b/clients/client-lookoutequipment/runtimeConfig.native.ts index e2d82f55e76ef..799fdfd7a6d06 100644 --- a/clients/client-lookoutequipment/runtimeConfig.native.ts +++ b/clients/client-lookoutequipment/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: LookoutEquipmentClientConfig) => { +export const getRuntimeConfig = (config: LookoutEquipmentClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-lookoutequipment/runtimeConfig.shared.ts b/clients/client-lookoutequipment/runtimeConfig.shared.ts index 0150d461a4618..ebdeb994335bb 100644 --- a/clients/client-lookoutequipment/runtimeConfig.shared.ts +++ b/clients/client-lookoutequipment/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { LookoutEquipmentClientConfig } from "./LookoutEquipmentClient"; /** * @internal */ -export const getRuntimeConfig = (config: LookoutEquipmentClientConfig) => ({ +export const getRuntimeConfig = (config: LookoutEquipmentClientConfig = {}) => ({ apiVersion: "2020-12-15", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-lookoutequipment/runtimeConfig.ts b/clients/client-lookoutequipment/runtimeConfig.ts index 4ad2507111d8b..9cf5354b2bd80 100644 --- a/clients/client-lookoutequipment/runtimeConfig.ts +++ b/clients/client-lookoutequipment/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: LookoutEquipmentClientConfig) => { +export const getRuntimeConfig = (config: LookoutEquipmentClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-lookoutmetrics/runtimeConfig.browser.ts b/clients/client-lookoutmetrics/runtimeConfig.browser.ts index d08d93cee7cd0..635d49def9bd7 100644 --- a/clients/client-lookoutmetrics/runtimeConfig.browser.ts +++ b/clients/client-lookoutmetrics/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: LookoutMetricsClientConfig) => { +export const getRuntimeConfig = (config: LookoutMetricsClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-lookoutmetrics/runtimeConfig.native.ts b/clients/client-lookoutmetrics/runtimeConfig.native.ts index 69623a0fc2c63..7431118e35166 100644 --- a/clients/client-lookoutmetrics/runtimeConfig.native.ts +++ b/clients/client-lookoutmetrics/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: LookoutMetricsClientConfig) => { +export const getRuntimeConfig = (config: LookoutMetricsClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-lookoutmetrics/runtimeConfig.shared.ts b/clients/client-lookoutmetrics/runtimeConfig.shared.ts index 69eb25ecbce1e..822e44f12387b 100644 --- a/clients/client-lookoutmetrics/runtimeConfig.shared.ts +++ b/clients/client-lookoutmetrics/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { LookoutMetricsClientConfig } from "./LookoutMetricsClient"; /** * @internal */ -export const getRuntimeConfig = (config: LookoutMetricsClientConfig) => ({ +export const getRuntimeConfig = (config: LookoutMetricsClientConfig = {}) => ({ apiVersion: "2017-07-25", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-lookoutmetrics/runtimeConfig.ts b/clients/client-lookoutmetrics/runtimeConfig.ts index 4ba43e40be556..49c06506b3a3a 100644 --- a/clients/client-lookoutmetrics/runtimeConfig.ts +++ b/clients/client-lookoutmetrics/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: LookoutMetricsClientConfig) => { +export const getRuntimeConfig = (config: LookoutMetricsClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-lookoutvision/runtimeConfig.browser.ts b/clients/client-lookoutvision/runtimeConfig.browser.ts index 189c12bae4915..9b1204005cb92 100644 --- a/clients/client-lookoutvision/runtimeConfig.browser.ts +++ b/clients/client-lookoutvision/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: LookoutVisionClientConfig) => { +export const getRuntimeConfig = (config: LookoutVisionClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-lookoutvision/runtimeConfig.native.ts b/clients/client-lookoutvision/runtimeConfig.native.ts index 21110b8630bf3..4fe375f675349 100644 --- a/clients/client-lookoutvision/runtimeConfig.native.ts +++ b/clients/client-lookoutvision/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: LookoutVisionClientConfig) => { +export const getRuntimeConfig = (config: LookoutVisionClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-lookoutvision/runtimeConfig.shared.ts b/clients/client-lookoutvision/runtimeConfig.shared.ts index 2b92cd9bd350a..0dcec438d45b3 100644 --- a/clients/client-lookoutvision/runtimeConfig.shared.ts +++ b/clients/client-lookoutvision/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { LookoutVisionClientConfig } from "./LookoutVisionClient"; /** * @internal */ -export const getRuntimeConfig = (config: LookoutVisionClientConfig) => ({ +export const getRuntimeConfig = (config: LookoutVisionClientConfig = {}) => ({ apiVersion: "2020-11-20", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-lookoutvision/runtimeConfig.ts b/clients/client-lookoutvision/runtimeConfig.ts index 977aedcee071a..31b1eed8e32ae 100644 --- a/clients/client-lookoutvision/runtimeConfig.ts +++ b/clients/client-lookoutvision/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: LookoutVisionClientConfig) => { +export const getRuntimeConfig = (config: LookoutVisionClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-machine-learning/runtimeConfig.browser.ts b/clients/client-machine-learning/runtimeConfig.browser.ts index 6e32aca7c09ea..e96eba3cc899e 100644 --- a/clients/client-machine-learning/runtimeConfig.browser.ts +++ b/clients/client-machine-learning/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: MachineLearningClientConfig) => { +export const getRuntimeConfig = (config: MachineLearningClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-machine-learning/runtimeConfig.native.ts b/clients/client-machine-learning/runtimeConfig.native.ts index 6842d86b340a0..886e6d1c9d267 100644 --- a/clients/client-machine-learning/runtimeConfig.native.ts +++ b/clients/client-machine-learning/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: MachineLearningClientConfig) => { +export const getRuntimeConfig = (config: MachineLearningClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-machine-learning/runtimeConfig.shared.ts b/clients/client-machine-learning/runtimeConfig.shared.ts index 5c7984e2685b7..ead81f1590639 100644 --- a/clients/client-machine-learning/runtimeConfig.shared.ts +++ b/clients/client-machine-learning/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { MachineLearningClientConfig } from "./MachineLearningClient"; /** * @internal */ -export const getRuntimeConfig = (config: MachineLearningClientConfig) => ({ +export const getRuntimeConfig = (config: MachineLearningClientConfig = {}) => ({ apiVersion: "2014-12-12", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-machine-learning/runtimeConfig.ts b/clients/client-machine-learning/runtimeConfig.ts index 37e55ec0a9296..c9c5e8fe474bb 100644 --- a/clients/client-machine-learning/runtimeConfig.ts +++ b/clients/client-machine-learning/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: MachineLearningClientConfig) => { +export const getRuntimeConfig = (config: MachineLearningClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-macie/runtimeConfig.browser.ts b/clients/client-macie/runtimeConfig.browser.ts index ea5222a1a9c13..96d6fd3b738c5 100644 --- a/clients/client-macie/runtimeConfig.browser.ts +++ b/clients/client-macie/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: MacieClientConfig) => { +export const getRuntimeConfig = (config: MacieClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-macie/runtimeConfig.native.ts b/clients/client-macie/runtimeConfig.native.ts index 9761cf41075f9..9c4df02ac2794 100644 --- a/clients/client-macie/runtimeConfig.native.ts +++ b/clients/client-macie/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: MacieClientConfig) => { +export const getRuntimeConfig = (config: MacieClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-macie/runtimeConfig.shared.ts b/clients/client-macie/runtimeConfig.shared.ts index cdfcde30d2636..c8bb2f5a606e5 100644 --- a/clients/client-macie/runtimeConfig.shared.ts +++ b/clients/client-macie/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { MacieClientConfig } from "./MacieClient"; /** * @internal */ -export const getRuntimeConfig = (config: MacieClientConfig) => ({ +export const getRuntimeConfig = (config: MacieClientConfig = {}) => ({ apiVersion: "2017-12-19", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-macie/runtimeConfig.ts b/clients/client-macie/runtimeConfig.ts index 2d4531519f70a..04cc963ce51ff 100644 --- a/clients/client-macie/runtimeConfig.ts +++ b/clients/client-macie/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: MacieClientConfig) => { +export const getRuntimeConfig = (config: MacieClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-macie2/runtimeConfig.browser.ts b/clients/client-macie2/runtimeConfig.browser.ts index 79b12691291d6..61be6d53ddf9a 100644 --- a/clients/client-macie2/runtimeConfig.browser.ts +++ b/clients/client-macie2/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: Macie2ClientConfig) => { +export const getRuntimeConfig = (config: Macie2ClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-macie2/runtimeConfig.native.ts b/clients/client-macie2/runtimeConfig.native.ts index b4f8d93069ed0..ee549158657e8 100644 --- a/clients/client-macie2/runtimeConfig.native.ts +++ b/clients/client-macie2/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: Macie2ClientConfig) => { +export const getRuntimeConfig = (config: Macie2ClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-macie2/runtimeConfig.shared.ts b/clients/client-macie2/runtimeConfig.shared.ts index 0d668c406a639..2e8c2e9a1023e 100644 --- a/clients/client-macie2/runtimeConfig.shared.ts +++ b/clients/client-macie2/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { Macie2ClientConfig } from "./Macie2Client"; /** * @internal */ -export const getRuntimeConfig = (config: Macie2ClientConfig) => ({ +export const getRuntimeConfig = (config: Macie2ClientConfig = {}) => ({ apiVersion: "2020-01-01", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-macie2/runtimeConfig.ts b/clients/client-macie2/runtimeConfig.ts index ee87d5c61aaa0..2adf81cdc1dcf 100644 --- a/clients/client-macie2/runtimeConfig.ts +++ b/clients/client-macie2/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: Macie2ClientConfig) => { +export const getRuntimeConfig = (config: Macie2ClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-managedblockchain/runtimeConfig.browser.ts b/clients/client-managedblockchain/runtimeConfig.browser.ts index e0c98bff5e1f7..bd29aeb9fedab 100644 --- a/clients/client-managedblockchain/runtimeConfig.browser.ts +++ b/clients/client-managedblockchain/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: ManagedBlockchainClientConfig) => { +export const getRuntimeConfig = (config: ManagedBlockchainClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-managedblockchain/runtimeConfig.native.ts b/clients/client-managedblockchain/runtimeConfig.native.ts index 8158e30ac5a03..58546b89279c9 100644 --- a/clients/client-managedblockchain/runtimeConfig.native.ts +++ b/clients/client-managedblockchain/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: ManagedBlockchainClientConfig) => { +export const getRuntimeConfig = (config: ManagedBlockchainClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-managedblockchain/runtimeConfig.shared.ts b/clients/client-managedblockchain/runtimeConfig.shared.ts index eaa5d25fbd362..7c7778520d8cc 100644 --- a/clients/client-managedblockchain/runtimeConfig.shared.ts +++ b/clients/client-managedblockchain/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { ManagedBlockchainClientConfig } from "./ManagedBlockchainClient"; /** * @internal */ -export const getRuntimeConfig = (config: ManagedBlockchainClientConfig) => ({ +export const getRuntimeConfig = (config: ManagedBlockchainClientConfig = {}) => ({ apiVersion: "2018-09-24", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-managedblockchain/runtimeConfig.ts b/clients/client-managedblockchain/runtimeConfig.ts index 6d19c044e279b..16a28657c91fa 100644 --- a/clients/client-managedblockchain/runtimeConfig.ts +++ b/clients/client-managedblockchain/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: ManagedBlockchainClientConfig) => { +export const getRuntimeConfig = (config: ManagedBlockchainClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-marketplace-catalog/runtimeConfig.browser.ts b/clients/client-marketplace-catalog/runtimeConfig.browser.ts index 0bcb2b9431576..41c3d8a822464 100644 --- a/clients/client-marketplace-catalog/runtimeConfig.browser.ts +++ b/clients/client-marketplace-catalog/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: MarketplaceCatalogClientConfig) => { +export const getRuntimeConfig = (config: MarketplaceCatalogClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-marketplace-catalog/runtimeConfig.native.ts b/clients/client-marketplace-catalog/runtimeConfig.native.ts index 5ea89c06b7ffb..0538a867b80d7 100644 --- a/clients/client-marketplace-catalog/runtimeConfig.native.ts +++ b/clients/client-marketplace-catalog/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: MarketplaceCatalogClientConfig) => { +export const getRuntimeConfig = (config: MarketplaceCatalogClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-marketplace-catalog/runtimeConfig.shared.ts b/clients/client-marketplace-catalog/runtimeConfig.shared.ts index 2ea07c1177d65..0a190b737053c 100644 --- a/clients/client-marketplace-catalog/runtimeConfig.shared.ts +++ b/clients/client-marketplace-catalog/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { MarketplaceCatalogClientConfig } from "./MarketplaceCatalogClient"; /** * @internal */ -export const getRuntimeConfig = (config: MarketplaceCatalogClientConfig) => ({ +export const getRuntimeConfig = (config: MarketplaceCatalogClientConfig = {}) => ({ apiVersion: "2018-09-17", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-marketplace-catalog/runtimeConfig.ts b/clients/client-marketplace-catalog/runtimeConfig.ts index 1ead06a0bc932..a5a312c6b267a 100644 --- a/clients/client-marketplace-catalog/runtimeConfig.ts +++ b/clients/client-marketplace-catalog/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: MarketplaceCatalogClientConfig) => { +export const getRuntimeConfig = (config: MarketplaceCatalogClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-marketplace-commerce-analytics/runtimeConfig.browser.ts b/clients/client-marketplace-commerce-analytics/runtimeConfig.browser.ts index a4d95a572634a..b94fd9672e0ab 100644 --- a/clients/client-marketplace-commerce-analytics/runtimeConfig.browser.ts +++ b/clients/client-marketplace-commerce-analytics/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: MarketplaceCommerceAnalyticsClientConfig) => { +export const getRuntimeConfig = (config: MarketplaceCommerceAnalyticsClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-marketplace-commerce-analytics/runtimeConfig.native.ts b/clients/client-marketplace-commerce-analytics/runtimeConfig.native.ts index 9624ca81b9508..b8f9566124ed2 100644 --- a/clients/client-marketplace-commerce-analytics/runtimeConfig.native.ts +++ b/clients/client-marketplace-commerce-analytics/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: MarketplaceCommerceAnalyticsClientConfig) => { +export const getRuntimeConfig = (config: MarketplaceCommerceAnalyticsClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-marketplace-commerce-analytics/runtimeConfig.shared.ts b/clients/client-marketplace-commerce-analytics/runtimeConfig.shared.ts index 063c145fc639a..f9296e69c09c0 100644 --- a/clients/client-marketplace-commerce-analytics/runtimeConfig.shared.ts +++ b/clients/client-marketplace-commerce-analytics/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { MarketplaceCommerceAnalyticsClientConfig } from "./MarketplaceCommerceA /** * @internal */ -export const getRuntimeConfig = (config: MarketplaceCommerceAnalyticsClientConfig) => ({ +export const getRuntimeConfig = (config: MarketplaceCommerceAnalyticsClientConfig = {}) => ({ apiVersion: "2015-07-01", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-marketplace-commerce-analytics/runtimeConfig.ts b/clients/client-marketplace-commerce-analytics/runtimeConfig.ts index 8ba61381f1b6f..3b6b2963789ab 100644 --- a/clients/client-marketplace-commerce-analytics/runtimeConfig.ts +++ b/clients/client-marketplace-commerce-analytics/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: MarketplaceCommerceAnalyticsClientConfig) => { +export const getRuntimeConfig = (config: MarketplaceCommerceAnalyticsClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-marketplace-entitlement-service/runtimeConfig.browser.ts b/clients/client-marketplace-entitlement-service/runtimeConfig.browser.ts index 84ae854d1b0bd..8314a585958e1 100644 --- a/clients/client-marketplace-entitlement-service/runtimeConfig.browser.ts +++ b/clients/client-marketplace-entitlement-service/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: MarketplaceEntitlementServiceClientConfig) => { +export const getRuntimeConfig = (config: MarketplaceEntitlementServiceClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-marketplace-entitlement-service/runtimeConfig.native.ts b/clients/client-marketplace-entitlement-service/runtimeConfig.native.ts index 17515cbe98c7e..e57e24d0c9753 100644 --- a/clients/client-marketplace-entitlement-service/runtimeConfig.native.ts +++ b/clients/client-marketplace-entitlement-service/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: MarketplaceEntitlementServiceClientConfig) => { +export const getRuntimeConfig = (config: MarketplaceEntitlementServiceClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-marketplace-entitlement-service/runtimeConfig.shared.ts b/clients/client-marketplace-entitlement-service/runtimeConfig.shared.ts index 7d12cdb07b53d..66d7f789d17d0 100644 --- a/clients/client-marketplace-entitlement-service/runtimeConfig.shared.ts +++ b/clients/client-marketplace-entitlement-service/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { MarketplaceEntitlementServiceClientConfig } from "./MarketplaceEntitlem /** * @internal */ -export const getRuntimeConfig = (config: MarketplaceEntitlementServiceClientConfig) => ({ +export const getRuntimeConfig = (config: MarketplaceEntitlementServiceClientConfig = {}) => ({ apiVersion: "2017-01-11", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-marketplace-entitlement-service/runtimeConfig.ts b/clients/client-marketplace-entitlement-service/runtimeConfig.ts index 9ed6fadb656c6..5f00632189e25 100644 --- a/clients/client-marketplace-entitlement-service/runtimeConfig.ts +++ b/clients/client-marketplace-entitlement-service/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: MarketplaceEntitlementServiceClientConfig) => { +export const getRuntimeConfig = (config: MarketplaceEntitlementServiceClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-marketplace-metering/runtimeConfig.browser.ts b/clients/client-marketplace-metering/runtimeConfig.browser.ts index 39c81273d9886..282c4cdccfd91 100644 --- a/clients/client-marketplace-metering/runtimeConfig.browser.ts +++ b/clients/client-marketplace-metering/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: MarketplaceMeteringClientConfig) => { +export const getRuntimeConfig = (config: MarketplaceMeteringClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-marketplace-metering/runtimeConfig.native.ts b/clients/client-marketplace-metering/runtimeConfig.native.ts index 8b8292bc9850c..cfd6d5a85148d 100644 --- a/clients/client-marketplace-metering/runtimeConfig.native.ts +++ b/clients/client-marketplace-metering/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: MarketplaceMeteringClientConfig) => { +export const getRuntimeConfig = (config: MarketplaceMeteringClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-marketplace-metering/runtimeConfig.shared.ts b/clients/client-marketplace-metering/runtimeConfig.shared.ts index 259ea3e789a77..112c6e42c1664 100644 --- a/clients/client-marketplace-metering/runtimeConfig.shared.ts +++ b/clients/client-marketplace-metering/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { MarketplaceMeteringClientConfig } from "./MarketplaceMeteringClient"; /** * @internal */ -export const getRuntimeConfig = (config: MarketplaceMeteringClientConfig) => ({ +export const getRuntimeConfig = (config: MarketplaceMeteringClientConfig = {}) => ({ apiVersion: "2016-01-14", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-marketplace-metering/runtimeConfig.ts b/clients/client-marketplace-metering/runtimeConfig.ts index 53e3784f9dfcc..077a3b9d370c3 100644 --- a/clients/client-marketplace-metering/runtimeConfig.ts +++ b/clients/client-marketplace-metering/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: MarketplaceMeteringClientConfig) => { +export const getRuntimeConfig = (config: MarketplaceMeteringClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-mediaconnect/runtimeConfig.browser.ts b/clients/client-mediaconnect/runtimeConfig.browser.ts index 19402b6da068f..1b59e44102b75 100644 --- a/clients/client-mediaconnect/runtimeConfig.browser.ts +++ b/clients/client-mediaconnect/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: MediaConnectClientConfig) => { +export const getRuntimeConfig = (config: MediaConnectClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-mediaconnect/runtimeConfig.native.ts b/clients/client-mediaconnect/runtimeConfig.native.ts index 44cee921ec25c..b127e1c2cd06e 100644 --- a/clients/client-mediaconnect/runtimeConfig.native.ts +++ b/clients/client-mediaconnect/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: MediaConnectClientConfig) => { +export const getRuntimeConfig = (config: MediaConnectClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-mediaconnect/runtimeConfig.shared.ts b/clients/client-mediaconnect/runtimeConfig.shared.ts index 8cecb4ab28ac7..659d25acccb10 100644 --- a/clients/client-mediaconnect/runtimeConfig.shared.ts +++ b/clients/client-mediaconnect/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { MediaConnectClientConfig } from "./MediaConnectClient"; /** * @internal */ -export const getRuntimeConfig = (config: MediaConnectClientConfig) => ({ +export const getRuntimeConfig = (config: MediaConnectClientConfig = {}) => ({ apiVersion: "2018-11-14", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-mediaconnect/runtimeConfig.ts b/clients/client-mediaconnect/runtimeConfig.ts index 85502d8a7df70..fba658fe7d409 100644 --- a/clients/client-mediaconnect/runtimeConfig.ts +++ b/clients/client-mediaconnect/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: MediaConnectClientConfig) => { +export const getRuntimeConfig = (config: MediaConnectClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-mediaconvert/runtimeConfig.browser.ts b/clients/client-mediaconvert/runtimeConfig.browser.ts index 107cf3c18f751..65bd4b94a8487 100644 --- a/clients/client-mediaconvert/runtimeConfig.browser.ts +++ b/clients/client-mediaconvert/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: MediaConvertClientConfig) => { +export const getRuntimeConfig = (config: MediaConvertClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-mediaconvert/runtimeConfig.native.ts b/clients/client-mediaconvert/runtimeConfig.native.ts index 6a0ca580eb7d1..e8115dc3fd686 100644 --- a/clients/client-mediaconvert/runtimeConfig.native.ts +++ b/clients/client-mediaconvert/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: MediaConvertClientConfig) => { +export const getRuntimeConfig = (config: MediaConvertClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-mediaconvert/runtimeConfig.shared.ts b/clients/client-mediaconvert/runtimeConfig.shared.ts index 4e0273b13b51f..41b8346e42186 100644 --- a/clients/client-mediaconvert/runtimeConfig.shared.ts +++ b/clients/client-mediaconvert/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { MediaConvertClientConfig } from "./MediaConvertClient"; /** * @internal */ -export const getRuntimeConfig = (config: MediaConvertClientConfig) => ({ +export const getRuntimeConfig = (config: MediaConvertClientConfig = {}) => ({ apiVersion: "2017-08-29", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-mediaconvert/runtimeConfig.ts b/clients/client-mediaconvert/runtimeConfig.ts index cf508455f0d2a..74eef2a902e1f 100644 --- a/clients/client-mediaconvert/runtimeConfig.ts +++ b/clients/client-mediaconvert/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: MediaConvertClientConfig) => { +export const getRuntimeConfig = (config: MediaConvertClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-medialive/runtimeConfig.browser.ts b/clients/client-medialive/runtimeConfig.browser.ts index 151492f6b3025..fa491b0d96285 100644 --- a/clients/client-medialive/runtimeConfig.browser.ts +++ b/clients/client-medialive/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: MediaLiveClientConfig) => { +export const getRuntimeConfig = (config: MediaLiveClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-medialive/runtimeConfig.native.ts b/clients/client-medialive/runtimeConfig.native.ts index ed3797f0668ee..caf6676b866cf 100644 --- a/clients/client-medialive/runtimeConfig.native.ts +++ b/clients/client-medialive/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: MediaLiveClientConfig) => { +export const getRuntimeConfig = (config: MediaLiveClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-medialive/runtimeConfig.shared.ts b/clients/client-medialive/runtimeConfig.shared.ts index 9135f59d2cba5..5ead13ea37977 100644 --- a/clients/client-medialive/runtimeConfig.shared.ts +++ b/clients/client-medialive/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { MediaLiveClientConfig } from "./MediaLiveClient"; /** * @internal */ -export const getRuntimeConfig = (config: MediaLiveClientConfig) => ({ +export const getRuntimeConfig = (config: MediaLiveClientConfig = {}) => ({ apiVersion: "2017-10-14", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-medialive/runtimeConfig.ts b/clients/client-medialive/runtimeConfig.ts index 8f88dc21bf6af..9029bad07201b 100644 --- a/clients/client-medialive/runtimeConfig.ts +++ b/clients/client-medialive/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: MediaLiveClientConfig) => { +export const getRuntimeConfig = (config: MediaLiveClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-mediapackage-vod/runtimeConfig.browser.ts b/clients/client-mediapackage-vod/runtimeConfig.browser.ts index 9997c30313596..08b21f7ef57ff 100644 --- a/clients/client-mediapackage-vod/runtimeConfig.browser.ts +++ b/clients/client-mediapackage-vod/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: MediaPackageVodClientConfig) => { +export const getRuntimeConfig = (config: MediaPackageVodClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-mediapackage-vod/runtimeConfig.native.ts b/clients/client-mediapackage-vod/runtimeConfig.native.ts index 490b2d171e363..29afac872b798 100644 --- a/clients/client-mediapackage-vod/runtimeConfig.native.ts +++ b/clients/client-mediapackage-vod/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: MediaPackageVodClientConfig) => { +export const getRuntimeConfig = (config: MediaPackageVodClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-mediapackage-vod/runtimeConfig.shared.ts b/clients/client-mediapackage-vod/runtimeConfig.shared.ts index 4a0a7d0f02025..12bd153bc5814 100644 --- a/clients/client-mediapackage-vod/runtimeConfig.shared.ts +++ b/clients/client-mediapackage-vod/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { MediaPackageVodClientConfig } from "./MediaPackageVodClient"; /** * @internal */ -export const getRuntimeConfig = (config: MediaPackageVodClientConfig) => ({ +export const getRuntimeConfig = (config: MediaPackageVodClientConfig = {}) => ({ apiVersion: "2018-11-07", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-mediapackage-vod/runtimeConfig.ts b/clients/client-mediapackage-vod/runtimeConfig.ts index a604f995de562..f6252d272260c 100644 --- a/clients/client-mediapackage-vod/runtimeConfig.ts +++ b/clients/client-mediapackage-vod/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: MediaPackageVodClientConfig) => { +export const getRuntimeConfig = (config: MediaPackageVodClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-mediapackage/runtimeConfig.browser.ts b/clients/client-mediapackage/runtimeConfig.browser.ts index 61666e1594aa7..12bca539b26db 100644 --- a/clients/client-mediapackage/runtimeConfig.browser.ts +++ b/clients/client-mediapackage/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: MediaPackageClientConfig) => { +export const getRuntimeConfig = (config: MediaPackageClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-mediapackage/runtimeConfig.native.ts b/clients/client-mediapackage/runtimeConfig.native.ts index 94a68712a298c..9892035db0373 100644 --- a/clients/client-mediapackage/runtimeConfig.native.ts +++ b/clients/client-mediapackage/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: MediaPackageClientConfig) => { +export const getRuntimeConfig = (config: MediaPackageClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-mediapackage/runtimeConfig.shared.ts b/clients/client-mediapackage/runtimeConfig.shared.ts index 458c7ed644269..5d5f378643966 100644 --- a/clients/client-mediapackage/runtimeConfig.shared.ts +++ b/clients/client-mediapackage/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { MediaPackageClientConfig } from "./MediaPackageClient"; /** * @internal */ -export const getRuntimeConfig = (config: MediaPackageClientConfig) => ({ +export const getRuntimeConfig = (config: MediaPackageClientConfig = {}) => ({ apiVersion: "2017-10-12", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-mediapackage/runtimeConfig.ts b/clients/client-mediapackage/runtimeConfig.ts index f09912607eeb7..bf4901c2cee61 100644 --- a/clients/client-mediapackage/runtimeConfig.ts +++ b/clients/client-mediapackage/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: MediaPackageClientConfig) => { +export const getRuntimeConfig = (config: MediaPackageClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-mediastore-data/runtimeConfig.browser.ts b/clients/client-mediastore-data/runtimeConfig.browser.ts index ed1b7db9f593d..f9c50194714e3 100644 --- a/clients/client-mediastore-data/runtimeConfig.browser.ts +++ b/clients/client-mediastore-data/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: MediaStoreDataClientConfig) => { +export const getRuntimeConfig = (config: MediaStoreDataClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-mediastore-data/runtimeConfig.native.ts b/clients/client-mediastore-data/runtimeConfig.native.ts index 2bf097d28c53c..cf0abdec08610 100644 --- a/clients/client-mediastore-data/runtimeConfig.native.ts +++ b/clients/client-mediastore-data/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: MediaStoreDataClientConfig) => { +export const getRuntimeConfig = (config: MediaStoreDataClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-mediastore-data/runtimeConfig.shared.ts b/clients/client-mediastore-data/runtimeConfig.shared.ts index 9511d38fbdc78..c79795630ff6b 100644 --- a/clients/client-mediastore-data/runtimeConfig.shared.ts +++ b/clients/client-mediastore-data/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { MediaStoreDataClientConfig } from "./MediaStoreDataClient"; /** * @internal */ -export const getRuntimeConfig = (config: MediaStoreDataClientConfig) => ({ +export const getRuntimeConfig = (config: MediaStoreDataClientConfig = {}) => ({ apiVersion: "2017-09-01", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-mediastore-data/runtimeConfig.ts b/clients/client-mediastore-data/runtimeConfig.ts index 5507b7676a35d..4fc8aeed092bd 100644 --- a/clients/client-mediastore-data/runtimeConfig.ts +++ b/clients/client-mediastore-data/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: MediaStoreDataClientConfig) => { +export const getRuntimeConfig = (config: MediaStoreDataClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-mediastore/runtimeConfig.browser.ts b/clients/client-mediastore/runtimeConfig.browser.ts index 558513a134410..d6eed97be8af3 100644 --- a/clients/client-mediastore/runtimeConfig.browser.ts +++ b/clients/client-mediastore/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: MediaStoreClientConfig) => { +export const getRuntimeConfig = (config: MediaStoreClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-mediastore/runtimeConfig.native.ts b/clients/client-mediastore/runtimeConfig.native.ts index 625cca134c51c..cb32e65c9a067 100644 --- a/clients/client-mediastore/runtimeConfig.native.ts +++ b/clients/client-mediastore/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: MediaStoreClientConfig) => { +export const getRuntimeConfig = (config: MediaStoreClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-mediastore/runtimeConfig.shared.ts b/clients/client-mediastore/runtimeConfig.shared.ts index e7fb05c9eaf77..a7e721170e4bb 100644 --- a/clients/client-mediastore/runtimeConfig.shared.ts +++ b/clients/client-mediastore/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { MediaStoreClientConfig } from "./MediaStoreClient"; /** * @internal */ -export const getRuntimeConfig = (config: MediaStoreClientConfig) => ({ +export const getRuntimeConfig = (config: MediaStoreClientConfig = {}) => ({ apiVersion: "2017-09-01", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-mediastore/runtimeConfig.ts b/clients/client-mediastore/runtimeConfig.ts index 4456eb58d9323..8db87230e47d2 100644 --- a/clients/client-mediastore/runtimeConfig.ts +++ b/clients/client-mediastore/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: MediaStoreClientConfig) => { +export const getRuntimeConfig = (config: MediaStoreClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-mediatailor/runtimeConfig.browser.ts b/clients/client-mediatailor/runtimeConfig.browser.ts index 61a02ef6e9bdf..0986c00d78b18 100644 --- a/clients/client-mediatailor/runtimeConfig.browser.ts +++ b/clients/client-mediatailor/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: MediaTailorClientConfig) => { +export const getRuntimeConfig = (config: MediaTailorClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-mediatailor/runtimeConfig.native.ts b/clients/client-mediatailor/runtimeConfig.native.ts index e905f01da136a..1be651c259eb1 100644 --- a/clients/client-mediatailor/runtimeConfig.native.ts +++ b/clients/client-mediatailor/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: MediaTailorClientConfig) => { +export const getRuntimeConfig = (config: MediaTailorClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-mediatailor/runtimeConfig.shared.ts b/clients/client-mediatailor/runtimeConfig.shared.ts index 29adcafc4a746..394b472c19a75 100644 --- a/clients/client-mediatailor/runtimeConfig.shared.ts +++ b/clients/client-mediatailor/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { MediaTailorClientConfig } from "./MediaTailorClient"; /** * @internal */ -export const getRuntimeConfig = (config: MediaTailorClientConfig) => ({ +export const getRuntimeConfig = (config: MediaTailorClientConfig = {}) => ({ apiVersion: "2018-04-23", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-mediatailor/runtimeConfig.ts b/clients/client-mediatailor/runtimeConfig.ts index 32c22c1102d44..5ec04b9e3db1e 100644 --- a/clients/client-mediatailor/runtimeConfig.ts +++ b/clients/client-mediatailor/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: MediaTailorClientConfig) => { +export const getRuntimeConfig = (config: MediaTailorClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-mgn/runtimeConfig.browser.ts b/clients/client-mgn/runtimeConfig.browser.ts index 1921effa74ad2..7c32b19720e33 100644 --- a/clients/client-mgn/runtimeConfig.browser.ts +++ b/clients/client-mgn/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: MgnClientConfig) => { +export const getRuntimeConfig = (config: MgnClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-mgn/runtimeConfig.native.ts b/clients/client-mgn/runtimeConfig.native.ts index d9a33dfdd418b..ad063b4a69c6c 100644 --- a/clients/client-mgn/runtimeConfig.native.ts +++ b/clients/client-mgn/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: MgnClientConfig) => { +export const getRuntimeConfig = (config: MgnClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-mgn/runtimeConfig.shared.ts b/clients/client-mgn/runtimeConfig.shared.ts index adcec5ac4db04..e894ccd04adf9 100644 --- a/clients/client-mgn/runtimeConfig.shared.ts +++ b/clients/client-mgn/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { MgnClientConfig } from "./MgnClient"; /** * @internal */ -export const getRuntimeConfig = (config: MgnClientConfig) => ({ +export const getRuntimeConfig = (config: MgnClientConfig = {}) => ({ apiVersion: "2020-02-26", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-mgn/runtimeConfig.ts b/clients/client-mgn/runtimeConfig.ts index 040761f9e4bdc..d8a0595b21bbf 100644 --- a/clients/client-mgn/runtimeConfig.ts +++ b/clients/client-mgn/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: MgnClientConfig) => { +export const getRuntimeConfig = (config: MgnClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-migration-hub/runtimeConfig.browser.ts b/clients/client-migration-hub/runtimeConfig.browser.ts index 835fbcbd717ef..b6aaba2aed740 100644 --- a/clients/client-migration-hub/runtimeConfig.browser.ts +++ b/clients/client-migration-hub/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: MigrationHubClientConfig) => { +export const getRuntimeConfig = (config: MigrationHubClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-migration-hub/runtimeConfig.native.ts b/clients/client-migration-hub/runtimeConfig.native.ts index 534225442de19..08a3042e98503 100644 --- a/clients/client-migration-hub/runtimeConfig.native.ts +++ b/clients/client-migration-hub/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: MigrationHubClientConfig) => { +export const getRuntimeConfig = (config: MigrationHubClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-migration-hub/runtimeConfig.shared.ts b/clients/client-migration-hub/runtimeConfig.shared.ts index 33d7600f6eaf7..ed09d241e9a28 100644 --- a/clients/client-migration-hub/runtimeConfig.shared.ts +++ b/clients/client-migration-hub/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { MigrationHubClientConfig } from "./MigrationHubClient"; /** * @internal */ -export const getRuntimeConfig = (config: MigrationHubClientConfig) => ({ +export const getRuntimeConfig = (config: MigrationHubClientConfig = {}) => ({ apiVersion: "2017-05-31", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-migration-hub/runtimeConfig.ts b/clients/client-migration-hub/runtimeConfig.ts index 082480789a992..91be868ccaeb0 100644 --- a/clients/client-migration-hub/runtimeConfig.ts +++ b/clients/client-migration-hub/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: MigrationHubClientConfig) => { +export const getRuntimeConfig = (config: MigrationHubClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-migrationhub-config/runtimeConfig.browser.ts b/clients/client-migrationhub-config/runtimeConfig.browser.ts index e8c24b1b5d890..fefa54a03ddf7 100644 --- a/clients/client-migrationhub-config/runtimeConfig.browser.ts +++ b/clients/client-migrationhub-config/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: MigrationHubConfigClientConfig) => { +export const getRuntimeConfig = (config: MigrationHubConfigClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-migrationhub-config/runtimeConfig.native.ts b/clients/client-migrationhub-config/runtimeConfig.native.ts index 0e0edc48a431c..d3d7525f82eae 100644 --- a/clients/client-migrationhub-config/runtimeConfig.native.ts +++ b/clients/client-migrationhub-config/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: MigrationHubConfigClientConfig) => { +export const getRuntimeConfig = (config: MigrationHubConfigClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-migrationhub-config/runtimeConfig.shared.ts b/clients/client-migrationhub-config/runtimeConfig.shared.ts index 99e7cc3ed331d..c822477c2ff5a 100644 --- a/clients/client-migrationhub-config/runtimeConfig.shared.ts +++ b/clients/client-migrationhub-config/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { MigrationHubConfigClientConfig } from "./MigrationHubConfigClient"; /** * @internal */ -export const getRuntimeConfig = (config: MigrationHubConfigClientConfig) => ({ +export const getRuntimeConfig = (config: MigrationHubConfigClientConfig = {}) => ({ apiVersion: "2019-06-30", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-migrationhub-config/runtimeConfig.ts b/clients/client-migrationhub-config/runtimeConfig.ts index 2285946facc0e..a44ac33ad9ae8 100644 --- a/clients/client-migrationhub-config/runtimeConfig.ts +++ b/clients/client-migrationhub-config/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: MigrationHubConfigClientConfig) => { +export const getRuntimeConfig = (config: MigrationHubConfigClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-mobile/runtimeConfig.browser.ts b/clients/client-mobile/runtimeConfig.browser.ts index 281b5d2c10c4c..ab53af15d4b82 100644 --- a/clients/client-mobile/runtimeConfig.browser.ts +++ b/clients/client-mobile/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: MobileClientConfig) => { +export const getRuntimeConfig = (config: MobileClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-mobile/runtimeConfig.native.ts b/clients/client-mobile/runtimeConfig.native.ts index 7b8cbccb335cb..8ffba63f23bf3 100644 --- a/clients/client-mobile/runtimeConfig.native.ts +++ b/clients/client-mobile/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: MobileClientConfig) => { +export const getRuntimeConfig = (config: MobileClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-mobile/runtimeConfig.shared.ts b/clients/client-mobile/runtimeConfig.shared.ts index c2fa7896ea0bb..53637569ff7f9 100644 --- a/clients/client-mobile/runtimeConfig.shared.ts +++ b/clients/client-mobile/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { MobileClientConfig } from "./MobileClient"; /** * @internal */ -export const getRuntimeConfig = (config: MobileClientConfig) => ({ +export const getRuntimeConfig = (config: MobileClientConfig = {}) => ({ apiVersion: "2017-07-01", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-mobile/runtimeConfig.ts b/clients/client-mobile/runtimeConfig.ts index c7ccd8a84f438..b50803914fd0f 100644 --- a/clients/client-mobile/runtimeConfig.ts +++ b/clients/client-mobile/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: MobileClientConfig) => { +export const getRuntimeConfig = (config: MobileClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-mq/runtimeConfig.browser.ts b/clients/client-mq/runtimeConfig.browser.ts index 640f704970940..e4ef3611db63a 100644 --- a/clients/client-mq/runtimeConfig.browser.ts +++ b/clients/client-mq/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: MqClientConfig) => { +export const getRuntimeConfig = (config: MqClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-mq/runtimeConfig.native.ts b/clients/client-mq/runtimeConfig.native.ts index c073bd049201d..a9ae9a93706ec 100644 --- a/clients/client-mq/runtimeConfig.native.ts +++ b/clients/client-mq/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: MqClientConfig) => { +export const getRuntimeConfig = (config: MqClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-mq/runtimeConfig.shared.ts b/clients/client-mq/runtimeConfig.shared.ts index b6b3d86ac06a7..2a36122e9d26a 100644 --- a/clients/client-mq/runtimeConfig.shared.ts +++ b/clients/client-mq/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { MqClientConfig } from "./MqClient"; /** * @internal */ -export const getRuntimeConfig = (config: MqClientConfig) => ({ +export const getRuntimeConfig = (config: MqClientConfig = {}) => ({ apiVersion: "2017-11-27", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-mq/runtimeConfig.ts b/clients/client-mq/runtimeConfig.ts index 07c8df455819c..0c00897877a11 100644 --- a/clients/client-mq/runtimeConfig.ts +++ b/clients/client-mq/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: MqClientConfig) => { +export const getRuntimeConfig = (config: MqClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-mturk/runtimeConfig.browser.ts b/clients/client-mturk/runtimeConfig.browser.ts index 02327dfb9ac3b..04092b3a50338 100644 --- a/clients/client-mturk/runtimeConfig.browser.ts +++ b/clients/client-mturk/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: MTurkClientConfig) => { +export const getRuntimeConfig = (config: MTurkClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-mturk/runtimeConfig.native.ts b/clients/client-mturk/runtimeConfig.native.ts index c2bf64607e5a2..7a54ffd3620eb 100644 --- a/clients/client-mturk/runtimeConfig.native.ts +++ b/clients/client-mturk/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: MTurkClientConfig) => { +export const getRuntimeConfig = (config: MTurkClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-mturk/runtimeConfig.shared.ts b/clients/client-mturk/runtimeConfig.shared.ts index 354d5b5996b53..09ca4e4448890 100644 --- a/clients/client-mturk/runtimeConfig.shared.ts +++ b/clients/client-mturk/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { MTurkClientConfig } from "./MTurkClient"; /** * @internal */ -export const getRuntimeConfig = (config: MTurkClientConfig) => ({ +export const getRuntimeConfig = (config: MTurkClientConfig = {}) => ({ apiVersion: "2017-01-17", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-mturk/runtimeConfig.ts b/clients/client-mturk/runtimeConfig.ts index c6e6c34b1f9f4..3038a69e36ec5 100644 --- a/clients/client-mturk/runtimeConfig.ts +++ b/clients/client-mturk/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: MTurkClientConfig) => { +export const getRuntimeConfig = (config: MTurkClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-mwaa/runtimeConfig.browser.ts b/clients/client-mwaa/runtimeConfig.browser.ts index b4b4a813be58b..3d394b70f9a81 100644 --- a/clients/client-mwaa/runtimeConfig.browser.ts +++ b/clients/client-mwaa/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: MWAAClientConfig) => { +export const getRuntimeConfig = (config: MWAAClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-mwaa/runtimeConfig.native.ts b/clients/client-mwaa/runtimeConfig.native.ts index f41c59335acf1..1867a4bce3261 100644 --- a/clients/client-mwaa/runtimeConfig.native.ts +++ b/clients/client-mwaa/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: MWAAClientConfig) => { +export const getRuntimeConfig = (config: MWAAClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-mwaa/runtimeConfig.shared.ts b/clients/client-mwaa/runtimeConfig.shared.ts index ae4802e378d46..6729c92e62e38 100644 --- a/clients/client-mwaa/runtimeConfig.shared.ts +++ b/clients/client-mwaa/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { MWAAClientConfig } from "./MWAAClient"; /** * @internal */ -export const getRuntimeConfig = (config: MWAAClientConfig) => ({ +export const getRuntimeConfig = (config: MWAAClientConfig = {}) => ({ apiVersion: "2020-07-01", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-mwaa/runtimeConfig.ts b/clients/client-mwaa/runtimeConfig.ts index 0f275cd30db4b..9399eafd57819 100644 --- a/clients/client-mwaa/runtimeConfig.ts +++ b/clients/client-mwaa/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: MWAAClientConfig) => { +export const getRuntimeConfig = (config: MWAAClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-neptune/runtimeConfig.browser.ts b/clients/client-neptune/runtimeConfig.browser.ts index 3b4611c71b7bd..cf165ee270ad6 100644 --- a/clients/client-neptune/runtimeConfig.browser.ts +++ b/clients/client-neptune/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: NeptuneClientConfig) => { +export const getRuntimeConfig = (config: NeptuneClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-neptune/runtimeConfig.native.ts b/clients/client-neptune/runtimeConfig.native.ts index ffaa9958be086..109082bc7017a 100644 --- a/clients/client-neptune/runtimeConfig.native.ts +++ b/clients/client-neptune/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: NeptuneClientConfig) => { +export const getRuntimeConfig = (config: NeptuneClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-neptune/runtimeConfig.shared.ts b/clients/client-neptune/runtimeConfig.shared.ts index 2089db65bf851..49d1101d812ea 100644 --- a/clients/client-neptune/runtimeConfig.shared.ts +++ b/clients/client-neptune/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { NeptuneClientConfig } from "./NeptuneClient"; /** * @internal */ -export const getRuntimeConfig = (config: NeptuneClientConfig) => ({ +export const getRuntimeConfig = (config: NeptuneClientConfig = {}) => ({ apiVersion: "2014-10-31", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-neptune/runtimeConfig.ts b/clients/client-neptune/runtimeConfig.ts index 73a3380685006..4b471ed9cc154 100644 --- a/clients/client-neptune/runtimeConfig.ts +++ b/clients/client-neptune/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: NeptuneClientConfig) => { +export const getRuntimeConfig = (config: NeptuneClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-network-firewall/runtimeConfig.browser.ts b/clients/client-network-firewall/runtimeConfig.browser.ts index 731fe5ea01d29..5caaeabd6d42d 100644 --- a/clients/client-network-firewall/runtimeConfig.browser.ts +++ b/clients/client-network-firewall/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: NetworkFirewallClientConfig) => { +export const getRuntimeConfig = (config: NetworkFirewallClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-network-firewall/runtimeConfig.native.ts b/clients/client-network-firewall/runtimeConfig.native.ts index 5eb62f50bade8..052556eae094f 100644 --- a/clients/client-network-firewall/runtimeConfig.native.ts +++ b/clients/client-network-firewall/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: NetworkFirewallClientConfig) => { +export const getRuntimeConfig = (config: NetworkFirewallClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-network-firewall/runtimeConfig.shared.ts b/clients/client-network-firewall/runtimeConfig.shared.ts index 0872b41a15435..ceac60755983c 100644 --- a/clients/client-network-firewall/runtimeConfig.shared.ts +++ b/clients/client-network-firewall/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { NetworkFirewallClientConfig } from "./NetworkFirewallClient"; /** * @internal */ -export const getRuntimeConfig = (config: NetworkFirewallClientConfig) => ({ +export const getRuntimeConfig = (config: NetworkFirewallClientConfig = {}) => ({ apiVersion: "2020-11-12", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-network-firewall/runtimeConfig.ts b/clients/client-network-firewall/runtimeConfig.ts index 97c73bca9368b..103903b0bcdf6 100644 --- a/clients/client-network-firewall/runtimeConfig.ts +++ b/clients/client-network-firewall/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: NetworkFirewallClientConfig) => { +export const getRuntimeConfig = (config: NetworkFirewallClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-networkmanager/runtimeConfig.browser.ts b/clients/client-networkmanager/runtimeConfig.browser.ts index 6220eb0e58f42..20f3f0287207e 100644 --- a/clients/client-networkmanager/runtimeConfig.browser.ts +++ b/clients/client-networkmanager/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: NetworkManagerClientConfig) => { +export const getRuntimeConfig = (config: NetworkManagerClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-networkmanager/runtimeConfig.native.ts b/clients/client-networkmanager/runtimeConfig.native.ts index d3d5afd733acb..2420ab3a228cc 100644 --- a/clients/client-networkmanager/runtimeConfig.native.ts +++ b/clients/client-networkmanager/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: NetworkManagerClientConfig) => { +export const getRuntimeConfig = (config: NetworkManagerClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-networkmanager/runtimeConfig.shared.ts b/clients/client-networkmanager/runtimeConfig.shared.ts index dfeec1ecb7896..457573ec6f023 100644 --- a/clients/client-networkmanager/runtimeConfig.shared.ts +++ b/clients/client-networkmanager/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { NetworkManagerClientConfig } from "./NetworkManagerClient"; /** * @internal */ -export const getRuntimeConfig = (config: NetworkManagerClientConfig) => ({ +export const getRuntimeConfig = (config: NetworkManagerClientConfig = {}) => ({ apiVersion: "2019-07-05", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-networkmanager/runtimeConfig.ts b/clients/client-networkmanager/runtimeConfig.ts index 2f9de3c713389..5fd4091bdb363 100644 --- a/clients/client-networkmanager/runtimeConfig.ts +++ b/clients/client-networkmanager/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: NetworkManagerClientConfig) => { +export const getRuntimeConfig = (config: NetworkManagerClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-nimble/runtimeConfig.browser.ts b/clients/client-nimble/runtimeConfig.browser.ts index 20d31010fea9a..2c85d33d7ce0e 100644 --- a/clients/client-nimble/runtimeConfig.browser.ts +++ b/clients/client-nimble/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: NimbleClientConfig) => { +export const getRuntimeConfig = (config: NimbleClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-nimble/runtimeConfig.native.ts b/clients/client-nimble/runtimeConfig.native.ts index 46f0102fb9d34..25fe76316e7e8 100644 --- a/clients/client-nimble/runtimeConfig.native.ts +++ b/clients/client-nimble/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: NimbleClientConfig) => { +export const getRuntimeConfig = (config: NimbleClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-nimble/runtimeConfig.shared.ts b/clients/client-nimble/runtimeConfig.shared.ts index 014bc7e31a80e..92938e4ce67cc 100644 --- a/clients/client-nimble/runtimeConfig.shared.ts +++ b/clients/client-nimble/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { NimbleClientConfig } from "./NimbleClient"; /** * @internal */ -export const getRuntimeConfig = (config: NimbleClientConfig) => ({ +export const getRuntimeConfig = (config: NimbleClientConfig = {}) => ({ apiVersion: "2020-08-01", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-nimble/runtimeConfig.ts b/clients/client-nimble/runtimeConfig.ts index d24fde95d29f7..64aadd51f2ea4 100644 --- a/clients/client-nimble/runtimeConfig.ts +++ b/clients/client-nimble/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: NimbleClientConfig) => { +export const getRuntimeConfig = (config: NimbleClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-opsworks/runtimeConfig.browser.ts b/clients/client-opsworks/runtimeConfig.browser.ts index d7c4314b39d41..d2ba75231cdd1 100644 --- a/clients/client-opsworks/runtimeConfig.browser.ts +++ b/clients/client-opsworks/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: OpsWorksClientConfig) => { +export const getRuntimeConfig = (config: OpsWorksClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-opsworks/runtimeConfig.native.ts b/clients/client-opsworks/runtimeConfig.native.ts index b84b319fa24c5..76883cc270bb4 100644 --- a/clients/client-opsworks/runtimeConfig.native.ts +++ b/clients/client-opsworks/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: OpsWorksClientConfig) => { +export const getRuntimeConfig = (config: OpsWorksClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-opsworks/runtimeConfig.shared.ts b/clients/client-opsworks/runtimeConfig.shared.ts index 4fabc99fb3d99..2aa7723fafe0c 100644 --- a/clients/client-opsworks/runtimeConfig.shared.ts +++ b/clients/client-opsworks/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { OpsWorksClientConfig } from "./OpsWorksClient"; /** * @internal */ -export const getRuntimeConfig = (config: OpsWorksClientConfig) => ({ +export const getRuntimeConfig = (config: OpsWorksClientConfig = {}) => ({ apiVersion: "2013-02-18", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-opsworks/runtimeConfig.ts b/clients/client-opsworks/runtimeConfig.ts index 836460b070dc1..327ff6b74fa04 100644 --- a/clients/client-opsworks/runtimeConfig.ts +++ b/clients/client-opsworks/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: OpsWorksClientConfig) => { +export const getRuntimeConfig = (config: OpsWorksClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-opsworkscm/runtimeConfig.browser.ts b/clients/client-opsworkscm/runtimeConfig.browser.ts index e595c5e481e9d..4ad4d3f4128d1 100644 --- a/clients/client-opsworkscm/runtimeConfig.browser.ts +++ b/clients/client-opsworkscm/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: OpsWorksCMClientConfig) => { +export const getRuntimeConfig = (config: OpsWorksCMClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-opsworkscm/runtimeConfig.native.ts b/clients/client-opsworkscm/runtimeConfig.native.ts index ac409b3308ad3..13a638a1c62e1 100644 --- a/clients/client-opsworkscm/runtimeConfig.native.ts +++ b/clients/client-opsworkscm/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: OpsWorksCMClientConfig) => { +export const getRuntimeConfig = (config: OpsWorksCMClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-opsworkscm/runtimeConfig.shared.ts b/clients/client-opsworkscm/runtimeConfig.shared.ts index 767b9edaba2b6..a6f3d4b5c5c1f 100644 --- a/clients/client-opsworkscm/runtimeConfig.shared.ts +++ b/clients/client-opsworkscm/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { OpsWorksCMClientConfig } from "./OpsWorksCMClient"; /** * @internal */ -export const getRuntimeConfig = (config: OpsWorksCMClientConfig) => ({ +export const getRuntimeConfig = (config: OpsWorksCMClientConfig = {}) => ({ apiVersion: "2016-11-01", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-opsworkscm/runtimeConfig.ts b/clients/client-opsworkscm/runtimeConfig.ts index 6322764bddfc4..ff27ba28d1326 100644 --- a/clients/client-opsworkscm/runtimeConfig.ts +++ b/clients/client-opsworkscm/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: OpsWorksCMClientConfig) => { +export const getRuntimeConfig = (config: OpsWorksCMClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-organizations/runtimeConfig.browser.ts b/clients/client-organizations/runtimeConfig.browser.ts index 218f2233d5f3f..298217a2e95a8 100644 --- a/clients/client-organizations/runtimeConfig.browser.ts +++ b/clients/client-organizations/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: OrganizationsClientConfig) => { +export const getRuntimeConfig = (config: OrganizationsClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-organizations/runtimeConfig.native.ts b/clients/client-organizations/runtimeConfig.native.ts index 01164331286a3..7dfa82ff9e90f 100644 --- a/clients/client-organizations/runtimeConfig.native.ts +++ b/clients/client-organizations/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: OrganizationsClientConfig) => { +export const getRuntimeConfig = (config: OrganizationsClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-organizations/runtimeConfig.shared.ts b/clients/client-organizations/runtimeConfig.shared.ts index 11da91c92f16a..ee9df44d0231f 100644 --- a/clients/client-organizations/runtimeConfig.shared.ts +++ b/clients/client-organizations/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { OrganizationsClientConfig } from "./OrganizationsClient"; /** * @internal */ -export const getRuntimeConfig = (config: OrganizationsClientConfig) => ({ +export const getRuntimeConfig = (config: OrganizationsClientConfig = {}) => ({ apiVersion: "2016-11-28", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-organizations/runtimeConfig.ts b/clients/client-organizations/runtimeConfig.ts index c886d004212b3..a6ffb27a2fd83 100644 --- a/clients/client-organizations/runtimeConfig.ts +++ b/clients/client-organizations/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: OrganizationsClientConfig) => { +export const getRuntimeConfig = (config: OrganizationsClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-outposts/runtimeConfig.browser.ts b/clients/client-outposts/runtimeConfig.browser.ts index 0ee3943f45d12..60da58ed90e60 100644 --- a/clients/client-outposts/runtimeConfig.browser.ts +++ b/clients/client-outposts/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: OutpostsClientConfig) => { +export const getRuntimeConfig = (config: OutpostsClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-outposts/runtimeConfig.native.ts b/clients/client-outposts/runtimeConfig.native.ts index 189f77bfff414..8757e7cd3e283 100644 --- a/clients/client-outposts/runtimeConfig.native.ts +++ b/clients/client-outposts/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: OutpostsClientConfig) => { +export const getRuntimeConfig = (config: OutpostsClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-outposts/runtimeConfig.shared.ts b/clients/client-outposts/runtimeConfig.shared.ts index 1e7a9fcb75b61..00b8441968685 100644 --- a/clients/client-outposts/runtimeConfig.shared.ts +++ b/clients/client-outposts/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { OutpostsClientConfig } from "./OutpostsClient"; /** * @internal */ -export const getRuntimeConfig = (config: OutpostsClientConfig) => ({ +export const getRuntimeConfig = (config: OutpostsClientConfig = {}) => ({ apiVersion: "2019-12-03", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-outposts/runtimeConfig.ts b/clients/client-outposts/runtimeConfig.ts index f3876a186ce60..36f06a1695cac 100644 --- a/clients/client-outposts/runtimeConfig.ts +++ b/clients/client-outposts/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: OutpostsClientConfig) => { +export const getRuntimeConfig = (config: OutpostsClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-personalize-events/runtimeConfig.browser.ts b/clients/client-personalize-events/runtimeConfig.browser.ts index 2c00c395711da..765049d8502c2 100644 --- a/clients/client-personalize-events/runtimeConfig.browser.ts +++ b/clients/client-personalize-events/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: PersonalizeEventsClientConfig) => { +export const getRuntimeConfig = (config: PersonalizeEventsClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-personalize-events/runtimeConfig.native.ts b/clients/client-personalize-events/runtimeConfig.native.ts index 47f42cf255b0a..ba307906cd63a 100644 --- a/clients/client-personalize-events/runtimeConfig.native.ts +++ b/clients/client-personalize-events/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: PersonalizeEventsClientConfig) => { +export const getRuntimeConfig = (config: PersonalizeEventsClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-personalize-events/runtimeConfig.shared.ts b/clients/client-personalize-events/runtimeConfig.shared.ts index 3c77f09768ffe..2b8cbeebb0fad 100644 --- a/clients/client-personalize-events/runtimeConfig.shared.ts +++ b/clients/client-personalize-events/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { PersonalizeEventsClientConfig } from "./PersonalizeEventsClient"; /** * @internal */ -export const getRuntimeConfig = (config: PersonalizeEventsClientConfig) => ({ +export const getRuntimeConfig = (config: PersonalizeEventsClientConfig = {}) => ({ apiVersion: "2018-03-22", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-personalize-events/runtimeConfig.ts b/clients/client-personalize-events/runtimeConfig.ts index d456e8689dc86..304acc21f1097 100644 --- a/clients/client-personalize-events/runtimeConfig.ts +++ b/clients/client-personalize-events/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: PersonalizeEventsClientConfig) => { +export const getRuntimeConfig = (config: PersonalizeEventsClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-personalize-runtime/runtimeConfig.browser.ts b/clients/client-personalize-runtime/runtimeConfig.browser.ts index 167bf2b8893db..bf921891453c5 100644 --- a/clients/client-personalize-runtime/runtimeConfig.browser.ts +++ b/clients/client-personalize-runtime/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: PersonalizeRuntimeClientConfig) => { +export const getRuntimeConfig = (config: PersonalizeRuntimeClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-personalize-runtime/runtimeConfig.native.ts b/clients/client-personalize-runtime/runtimeConfig.native.ts index 1f4b4c4bbfc5a..0ff3d552a9ebb 100644 --- a/clients/client-personalize-runtime/runtimeConfig.native.ts +++ b/clients/client-personalize-runtime/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: PersonalizeRuntimeClientConfig) => { +export const getRuntimeConfig = (config: PersonalizeRuntimeClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-personalize-runtime/runtimeConfig.shared.ts b/clients/client-personalize-runtime/runtimeConfig.shared.ts index 17879be9c2fa2..aaf51530a4eb7 100644 --- a/clients/client-personalize-runtime/runtimeConfig.shared.ts +++ b/clients/client-personalize-runtime/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { PersonalizeRuntimeClientConfig } from "./PersonalizeRuntimeClient"; /** * @internal */ -export const getRuntimeConfig = (config: PersonalizeRuntimeClientConfig) => ({ +export const getRuntimeConfig = (config: PersonalizeRuntimeClientConfig = {}) => ({ apiVersion: "2018-05-22", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-personalize-runtime/runtimeConfig.ts b/clients/client-personalize-runtime/runtimeConfig.ts index 7718eef303d6d..8e1f4efad6f38 100644 --- a/clients/client-personalize-runtime/runtimeConfig.ts +++ b/clients/client-personalize-runtime/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: PersonalizeRuntimeClientConfig) => { +export const getRuntimeConfig = (config: PersonalizeRuntimeClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-personalize/runtimeConfig.browser.ts b/clients/client-personalize/runtimeConfig.browser.ts index fc31eb0d8fade..58a76bb1ed273 100644 --- a/clients/client-personalize/runtimeConfig.browser.ts +++ b/clients/client-personalize/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: PersonalizeClientConfig) => { +export const getRuntimeConfig = (config: PersonalizeClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-personalize/runtimeConfig.native.ts b/clients/client-personalize/runtimeConfig.native.ts index 06612f2451a21..59a05926e6166 100644 --- a/clients/client-personalize/runtimeConfig.native.ts +++ b/clients/client-personalize/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: PersonalizeClientConfig) => { +export const getRuntimeConfig = (config: PersonalizeClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-personalize/runtimeConfig.shared.ts b/clients/client-personalize/runtimeConfig.shared.ts index 9fa72c876aa81..acbeda86d63ee 100644 --- a/clients/client-personalize/runtimeConfig.shared.ts +++ b/clients/client-personalize/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { PersonalizeClientConfig } from "./PersonalizeClient"; /** * @internal */ -export const getRuntimeConfig = (config: PersonalizeClientConfig) => ({ +export const getRuntimeConfig = (config: PersonalizeClientConfig = {}) => ({ apiVersion: "2018-05-22", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-personalize/runtimeConfig.ts b/clients/client-personalize/runtimeConfig.ts index d604bc4bf0933..e5b050104cd75 100644 --- a/clients/client-personalize/runtimeConfig.ts +++ b/clients/client-personalize/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: PersonalizeClientConfig) => { +export const getRuntimeConfig = (config: PersonalizeClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-pi/runtimeConfig.browser.ts b/clients/client-pi/runtimeConfig.browser.ts index 351296bae3c37..ecd9fb52b7eea 100644 --- a/clients/client-pi/runtimeConfig.browser.ts +++ b/clients/client-pi/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: PIClientConfig) => { +export const getRuntimeConfig = (config: PIClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-pi/runtimeConfig.native.ts b/clients/client-pi/runtimeConfig.native.ts index 67d833bbce287..0b0b0c6f136b8 100644 --- a/clients/client-pi/runtimeConfig.native.ts +++ b/clients/client-pi/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: PIClientConfig) => { +export const getRuntimeConfig = (config: PIClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-pi/runtimeConfig.shared.ts b/clients/client-pi/runtimeConfig.shared.ts index 5ce6edc9bc937..412e836c323a2 100644 --- a/clients/client-pi/runtimeConfig.shared.ts +++ b/clients/client-pi/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { PIClientConfig } from "./PIClient"; /** * @internal */ -export const getRuntimeConfig = (config: PIClientConfig) => ({ +export const getRuntimeConfig = (config: PIClientConfig = {}) => ({ apiVersion: "2018-02-27", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-pi/runtimeConfig.ts b/clients/client-pi/runtimeConfig.ts index ac2c888420adf..c1080cb6a4fd2 100644 --- a/clients/client-pi/runtimeConfig.ts +++ b/clients/client-pi/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: PIClientConfig) => { +export const getRuntimeConfig = (config: PIClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-pinpoint-email/runtimeConfig.browser.ts b/clients/client-pinpoint-email/runtimeConfig.browser.ts index 9684a001f3d48..9d426b9a476d5 100644 --- a/clients/client-pinpoint-email/runtimeConfig.browser.ts +++ b/clients/client-pinpoint-email/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: PinpointEmailClientConfig) => { +export const getRuntimeConfig = (config: PinpointEmailClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-pinpoint-email/runtimeConfig.native.ts b/clients/client-pinpoint-email/runtimeConfig.native.ts index 50979281f95f0..9305c02ca315a 100644 --- a/clients/client-pinpoint-email/runtimeConfig.native.ts +++ b/clients/client-pinpoint-email/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: PinpointEmailClientConfig) => { +export const getRuntimeConfig = (config: PinpointEmailClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-pinpoint-email/runtimeConfig.shared.ts b/clients/client-pinpoint-email/runtimeConfig.shared.ts index 6770b3806a1d2..e3c28a73ea27b 100644 --- a/clients/client-pinpoint-email/runtimeConfig.shared.ts +++ b/clients/client-pinpoint-email/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { PinpointEmailClientConfig } from "./PinpointEmailClient"; /** * @internal */ -export const getRuntimeConfig = (config: PinpointEmailClientConfig) => ({ +export const getRuntimeConfig = (config: PinpointEmailClientConfig = {}) => ({ apiVersion: "2018-07-26", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-pinpoint-email/runtimeConfig.ts b/clients/client-pinpoint-email/runtimeConfig.ts index 112d602414897..81a64c1303c69 100644 --- a/clients/client-pinpoint-email/runtimeConfig.ts +++ b/clients/client-pinpoint-email/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: PinpointEmailClientConfig) => { +export const getRuntimeConfig = (config: PinpointEmailClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-pinpoint-sms-voice/runtimeConfig.browser.ts b/clients/client-pinpoint-sms-voice/runtimeConfig.browser.ts index a1bf560e646a6..0425f376b6c8e 100644 --- a/clients/client-pinpoint-sms-voice/runtimeConfig.browser.ts +++ b/clients/client-pinpoint-sms-voice/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: PinpointSMSVoiceClientConfig) => { +export const getRuntimeConfig = (config: PinpointSMSVoiceClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-pinpoint-sms-voice/runtimeConfig.native.ts b/clients/client-pinpoint-sms-voice/runtimeConfig.native.ts index 9e470ca4d3c84..c983378ee549e 100644 --- a/clients/client-pinpoint-sms-voice/runtimeConfig.native.ts +++ b/clients/client-pinpoint-sms-voice/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: PinpointSMSVoiceClientConfig) => { +export const getRuntimeConfig = (config: PinpointSMSVoiceClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-pinpoint-sms-voice/runtimeConfig.shared.ts b/clients/client-pinpoint-sms-voice/runtimeConfig.shared.ts index 5a26506585a2d..c04a4d5e65ef9 100644 --- a/clients/client-pinpoint-sms-voice/runtimeConfig.shared.ts +++ b/clients/client-pinpoint-sms-voice/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { PinpointSMSVoiceClientConfig } from "./PinpointSMSVoiceClient"; /** * @internal */ -export const getRuntimeConfig = (config: PinpointSMSVoiceClientConfig) => ({ +export const getRuntimeConfig = (config: PinpointSMSVoiceClientConfig = {}) => ({ apiVersion: "2018-09-05", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-pinpoint-sms-voice/runtimeConfig.ts b/clients/client-pinpoint-sms-voice/runtimeConfig.ts index 32c18fd5e2a4f..8ff35506d5b34 100644 --- a/clients/client-pinpoint-sms-voice/runtimeConfig.ts +++ b/clients/client-pinpoint-sms-voice/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: PinpointSMSVoiceClientConfig) => { +export const getRuntimeConfig = (config: PinpointSMSVoiceClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-pinpoint/runtimeConfig.browser.ts b/clients/client-pinpoint/runtimeConfig.browser.ts index d2be1d445d599..10c5c82b77f8b 100644 --- a/clients/client-pinpoint/runtimeConfig.browser.ts +++ b/clients/client-pinpoint/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: PinpointClientConfig) => { +export const getRuntimeConfig = (config: PinpointClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-pinpoint/runtimeConfig.native.ts b/clients/client-pinpoint/runtimeConfig.native.ts index eda3832734d6c..222a5bd33e995 100644 --- a/clients/client-pinpoint/runtimeConfig.native.ts +++ b/clients/client-pinpoint/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: PinpointClientConfig) => { +export const getRuntimeConfig = (config: PinpointClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-pinpoint/runtimeConfig.shared.ts b/clients/client-pinpoint/runtimeConfig.shared.ts index a4c2c867f307a..4a2f9e12ac628 100644 --- a/clients/client-pinpoint/runtimeConfig.shared.ts +++ b/clients/client-pinpoint/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { PinpointClientConfig } from "./PinpointClient"; /** * @internal */ -export const getRuntimeConfig = (config: PinpointClientConfig) => ({ +export const getRuntimeConfig = (config: PinpointClientConfig = {}) => ({ apiVersion: "2016-12-01", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-pinpoint/runtimeConfig.ts b/clients/client-pinpoint/runtimeConfig.ts index f1bcc4b5bfdb4..d486808ccb280 100644 --- a/clients/client-pinpoint/runtimeConfig.ts +++ b/clients/client-pinpoint/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: PinpointClientConfig) => { +export const getRuntimeConfig = (config: PinpointClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-polly/runtimeConfig.browser.ts b/clients/client-polly/runtimeConfig.browser.ts index 19f7ac9fdd02d..370d80e18a2c1 100644 --- a/clients/client-polly/runtimeConfig.browser.ts +++ b/clients/client-polly/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: PollyClientConfig) => { +export const getRuntimeConfig = (config: PollyClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-polly/runtimeConfig.native.ts b/clients/client-polly/runtimeConfig.native.ts index 395e99222592e..d0e29118e8055 100644 --- a/clients/client-polly/runtimeConfig.native.ts +++ b/clients/client-polly/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: PollyClientConfig) => { +export const getRuntimeConfig = (config: PollyClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-polly/runtimeConfig.shared.ts b/clients/client-polly/runtimeConfig.shared.ts index ecf27e50dc571..5a66d11a93b33 100644 --- a/clients/client-polly/runtimeConfig.shared.ts +++ b/clients/client-polly/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { PollyClientConfig } from "./PollyClient"; /** * @internal */ -export const getRuntimeConfig = (config: PollyClientConfig) => ({ +export const getRuntimeConfig = (config: PollyClientConfig = {}) => ({ apiVersion: "2016-06-10", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-polly/runtimeConfig.ts b/clients/client-polly/runtimeConfig.ts index cd32462fffe68..bb1c5c4fd2c23 100644 --- a/clients/client-polly/runtimeConfig.ts +++ b/clients/client-polly/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: PollyClientConfig) => { +export const getRuntimeConfig = (config: PollyClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-pricing/runtimeConfig.browser.ts b/clients/client-pricing/runtimeConfig.browser.ts index 18fd15dfc0c88..4c9ff360d2b00 100644 --- a/clients/client-pricing/runtimeConfig.browser.ts +++ b/clients/client-pricing/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: PricingClientConfig) => { +export const getRuntimeConfig = (config: PricingClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-pricing/runtimeConfig.native.ts b/clients/client-pricing/runtimeConfig.native.ts index 05f7637bebeea..c4a66c34d034c 100644 --- a/clients/client-pricing/runtimeConfig.native.ts +++ b/clients/client-pricing/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: PricingClientConfig) => { +export const getRuntimeConfig = (config: PricingClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-pricing/runtimeConfig.shared.ts b/clients/client-pricing/runtimeConfig.shared.ts index dbb218d0b2a8f..de95aacb6fcb4 100644 --- a/clients/client-pricing/runtimeConfig.shared.ts +++ b/clients/client-pricing/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { PricingClientConfig } from "./PricingClient"; /** * @internal */ -export const getRuntimeConfig = (config: PricingClientConfig) => ({ +export const getRuntimeConfig = (config: PricingClientConfig = {}) => ({ apiVersion: "2017-10-15", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-pricing/runtimeConfig.ts b/clients/client-pricing/runtimeConfig.ts index e7743a2121c37..e9d972aa2dc55 100644 --- a/clients/client-pricing/runtimeConfig.ts +++ b/clients/client-pricing/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: PricingClientConfig) => { +export const getRuntimeConfig = (config: PricingClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-proton/runtimeConfig.browser.ts b/clients/client-proton/runtimeConfig.browser.ts index ba0589bfb3f93..ed16449509112 100644 --- a/clients/client-proton/runtimeConfig.browser.ts +++ b/clients/client-proton/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: ProtonClientConfig) => { +export const getRuntimeConfig = (config: ProtonClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-proton/runtimeConfig.native.ts b/clients/client-proton/runtimeConfig.native.ts index 03c2a0d10e093..be29ce70a5989 100644 --- a/clients/client-proton/runtimeConfig.native.ts +++ b/clients/client-proton/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: ProtonClientConfig) => { +export const getRuntimeConfig = (config: ProtonClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-proton/runtimeConfig.shared.ts b/clients/client-proton/runtimeConfig.shared.ts index 0926c4fac30aa..5e87eb8c910ec 100644 --- a/clients/client-proton/runtimeConfig.shared.ts +++ b/clients/client-proton/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { ProtonClientConfig } from "./ProtonClient"; /** * @internal */ -export const getRuntimeConfig = (config: ProtonClientConfig) => ({ +export const getRuntimeConfig = (config: ProtonClientConfig = {}) => ({ apiVersion: "2020-07-20", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-proton/runtimeConfig.ts b/clients/client-proton/runtimeConfig.ts index b8c0f5fb0878c..2a6b6ca62153e 100644 --- a/clients/client-proton/runtimeConfig.ts +++ b/clients/client-proton/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: ProtonClientConfig) => { +export const getRuntimeConfig = (config: ProtonClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-qldb-session/runtimeConfig.browser.ts b/clients/client-qldb-session/runtimeConfig.browser.ts index e82588999a3d6..3f1694343271e 100644 --- a/clients/client-qldb-session/runtimeConfig.browser.ts +++ b/clients/client-qldb-session/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: QLDBSessionClientConfig) => { +export const getRuntimeConfig = (config: QLDBSessionClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-qldb-session/runtimeConfig.native.ts b/clients/client-qldb-session/runtimeConfig.native.ts index 9350e29fa5b8a..34231b0a9d0ce 100644 --- a/clients/client-qldb-session/runtimeConfig.native.ts +++ b/clients/client-qldb-session/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: QLDBSessionClientConfig) => { +export const getRuntimeConfig = (config: QLDBSessionClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-qldb-session/runtimeConfig.shared.ts b/clients/client-qldb-session/runtimeConfig.shared.ts index 56b95c40ee52a..4a7163a7a01df 100644 --- a/clients/client-qldb-session/runtimeConfig.shared.ts +++ b/clients/client-qldb-session/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { QLDBSessionClientConfig } from "./QLDBSessionClient"; /** * @internal */ -export const getRuntimeConfig = (config: QLDBSessionClientConfig) => ({ +export const getRuntimeConfig = (config: QLDBSessionClientConfig = {}) => ({ apiVersion: "2019-07-11", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-qldb-session/runtimeConfig.ts b/clients/client-qldb-session/runtimeConfig.ts index 86aa73861a518..a8bb81b19a37c 100644 --- a/clients/client-qldb-session/runtimeConfig.ts +++ b/clients/client-qldb-session/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: QLDBSessionClientConfig) => { +export const getRuntimeConfig = (config: QLDBSessionClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-qldb/runtimeConfig.browser.ts b/clients/client-qldb/runtimeConfig.browser.ts index 5a49dff4f3ea2..740c0b8b03582 100644 --- a/clients/client-qldb/runtimeConfig.browser.ts +++ b/clients/client-qldb/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: QLDBClientConfig) => { +export const getRuntimeConfig = (config: QLDBClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-qldb/runtimeConfig.native.ts b/clients/client-qldb/runtimeConfig.native.ts index e209ac561cef4..853f4753b8464 100644 --- a/clients/client-qldb/runtimeConfig.native.ts +++ b/clients/client-qldb/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: QLDBClientConfig) => { +export const getRuntimeConfig = (config: QLDBClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-qldb/runtimeConfig.shared.ts b/clients/client-qldb/runtimeConfig.shared.ts index 41a3fda07474e..84678ac125779 100644 --- a/clients/client-qldb/runtimeConfig.shared.ts +++ b/clients/client-qldb/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { QLDBClientConfig } from "./QLDBClient"; /** * @internal */ -export const getRuntimeConfig = (config: QLDBClientConfig) => ({ +export const getRuntimeConfig = (config: QLDBClientConfig = {}) => ({ apiVersion: "2019-01-02", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-qldb/runtimeConfig.ts b/clients/client-qldb/runtimeConfig.ts index b4cc80ff4ba74..33df10788a34d 100644 --- a/clients/client-qldb/runtimeConfig.ts +++ b/clients/client-qldb/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: QLDBClientConfig) => { +export const getRuntimeConfig = (config: QLDBClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-quicksight/runtimeConfig.browser.ts b/clients/client-quicksight/runtimeConfig.browser.ts index f4434420efe69..0f7eb74a64577 100644 --- a/clients/client-quicksight/runtimeConfig.browser.ts +++ b/clients/client-quicksight/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: QuickSightClientConfig) => { +export const getRuntimeConfig = (config: QuickSightClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-quicksight/runtimeConfig.native.ts b/clients/client-quicksight/runtimeConfig.native.ts index 263cc4b0a7657..a64b0b5058c50 100644 --- a/clients/client-quicksight/runtimeConfig.native.ts +++ b/clients/client-quicksight/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: QuickSightClientConfig) => { +export const getRuntimeConfig = (config: QuickSightClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-quicksight/runtimeConfig.shared.ts b/clients/client-quicksight/runtimeConfig.shared.ts index 9f2d3198267ae..ef17455091eba 100644 --- a/clients/client-quicksight/runtimeConfig.shared.ts +++ b/clients/client-quicksight/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { QuickSightClientConfig } from "./QuickSightClient"; /** * @internal */ -export const getRuntimeConfig = (config: QuickSightClientConfig) => ({ +export const getRuntimeConfig = (config: QuickSightClientConfig = {}) => ({ apiVersion: "2018-04-01", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-quicksight/runtimeConfig.ts b/clients/client-quicksight/runtimeConfig.ts index 3f72f66b4f0a2..77f6d700603fa 100644 --- a/clients/client-quicksight/runtimeConfig.ts +++ b/clients/client-quicksight/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: QuickSightClientConfig) => { +export const getRuntimeConfig = (config: QuickSightClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-ram/runtimeConfig.browser.ts b/clients/client-ram/runtimeConfig.browser.ts index d5aaad456d739..f523d106954e9 100644 --- a/clients/client-ram/runtimeConfig.browser.ts +++ b/clients/client-ram/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: RAMClientConfig) => { +export const getRuntimeConfig = (config: RAMClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-ram/runtimeConfig.native.ts b/clients/client-ram/runtimeConfig.native.ts index 6d7410c768ffe..65ce5b36f6c56 100644 --- a/clients/client-ram/runtimeConfig.native.ts +++ b/clients/client-ram/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: RAMClientConfig) => { +export const getRuntimeConfig = (config: RAMClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-ram/runtimeConfig.shared.ts b/clients/client-ram/runtimeConfig.shared.ts index cd94f0fba434a..72c8c8bfd290b 100644 --- a/clients/client-ram/runtimeConfig.shared.ts +++ b/clients/client-ram/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { RAMClientConfig } from "./RAMClient"; /** * @internal */ -export const getRuntimeConfig = (config: RAMClientConfig) => ({ +export const getRuntimeConfig = (config: RAMClientConfig = {}) => ({ apiVersion: "2018-01-04", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-ram/runtimeConfig.ts b/clients/client-ram/runtimeConfig.ts index 0c78f43168531..40e2134efe11e 100644 --- a/clients/client-ram/runtimeConfig.ts +++ b/clients/client-ram/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: RAMClientConfig) => { +export const getRuntimeConfig = (config: RAMClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-rds-data/runtimeConfig.browser.ts b/clients/client-rds-data/runtimeConfig.browser.ts index c9bd710c7c615..4de98fd046d53 100644 --- a/clients/client-rds-data/runtimeConfig.browser.ts +++ b/clients/client-rds-data/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: RDSDataClientConfig) => { +export const getRuntimeConfig = (config: RDSDataClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-rds-data/runtimeConfig.native.ts b/clients/client-rds-data/runtimeConfig.native.ts index 0593e91f5f9df..0330b515669ff 100644 --- a/clients/client-rds-data/runtimeConfig.native.ts +++ b/clients/client-rds-data/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: RDSDataClientConfig) => { +export const getRuntimeConfig = (config: RDSDataClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-rds-data/runtimeConfig.shared.ts b/clients/client-rds-data/runtimeConfig.shared.ts index 9b3ed733470a9..0d695a328c253 100644 --- a/clients/client-rds-data/runtimeConfig.shared.ts +++ b/clients/client-rds-data/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { RDSDataClientConfig } from "./RDSDataClient"; /** * @internal */ -export const getRuntimeConfig = (config: RDSDataClientConfig) => ({ +export const getRuntimeConfig = (config: RDSDataClientConfig = {}) => ({ apiVersion: "2018-08-01", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-rds-data/runtimeConfig.ts b/clients/client-rds-data/runtimeConfig.ts index d97464df5cc47..0151e73de7ef5 100644 --- a/clients/client-rds-data/runtimeConfig.ts +++ b/clients/client-rds-data/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: RDSDataClientConfig) => { +export const getRuntimeConfig = (config: RDSDataClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-rds/runtimeConfig.browser.ts b/clients/client-rds/runtimeConfig.browser.ts index 5794fb811b9fa..e80f894b88722 100644 --- a/clients/client-rds/runtimeConfig.browser.ts +++ b/clients/client-rds/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: RDSClientConfig) => { +export const getRuntimeConfig = (config: RDSClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-rds/runtimeConfig.native.ts b/clients/client-rds/runtimeConfig.native.ts index 8e3bad2acf808..efb08bfb30b31 100644 --- a/clients/client-rds/runtimeConfig.native.ts +++ b/clients/client-rds/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: RDSClientConfig) => { +export const getRuntimeConfig = (config: RDSClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-rds/runtimeConfig.shared.ts b/clients/client-rds/runtimeConfig.shared.ts index b3f26db10e55a..820d4e4d865cf 100644 --- a/clients/client-rds/runtimeConfig.shared.ts +++ b/clients/client-rds/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { RDSClientConfig } from "./RDSClient"; /** * @internal */ -export const getRuntimeConfig = (config: RDSClientConfig) => ({ +export const getRuntimeConfig = (config: RDSClientConfig = {}) => ({ apiVersion: "2014-10-31", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-rds/runtimeConfig.ts b/clients/client-rds/runtimeConfig.ts index 845e8a9725ec3..7691400d298db 100644 --- a/clients/client-rds/runtimeConfig.ts +++ b/clients/client-rds/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: RDSClientConfig) => { +export const getRuntimeConfig = (config: RDSClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-redshift-data/runtimeConfig.browser.ts b/clients/client-redshift-data/runtimeConfig.browser.ts index aad32b59e6917..b82732b7cac66 100644 --- a/clients/client-redshift-data/runtimeConfig.browser.ts +++ b/clients/client-redshift-data/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: RedshiftDataClientConfig) => { +export const getRuntimeConfig = (config: RedshiftDataClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-redshift-data/runtimeConfig.native.ts b/clients/client-redshift-data/runtimeConfig.native.ts index 0e9e3e1171753..4e92107bdcc6d 100644 --- a/clients/client-redshift-data/runtimeConfig.native.ts +++ b/clients/client-redshift-data/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: RedshiftDataClientConfig) => { +export const getRuntimeConfig = (config: RedshiftDataClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-redshift-data/runtimeConfig.shared.ts b/clients/client-redshift-data/runtimeConfig.shared.ts index 4bfb1f7a10e13..18a3bafe39d5a 100644 --- a/clients/client-redshift-data/runtimeConfig.shared.ts +++ b/clients/client-redshift-data/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { RedshiftDataClientConfig } from "./RedshiftDataClient"; /** * @internal */ -export const getRuntimeConfig = (config: RedshiftDataClientConfig) => ({ +export const getRuntimeConfig = (config: RedshiftDataClientConfig = {}) => ({ apiVersion: "2019-12-20", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-redshift-data/runtimeConfig.ts b/clients/client-redshift-data/runtimeConfig.ts index ea4573050a6b6..c7ce542525758 100644 --- a/clients/client-redshift-data/runtimeConfig.ts +++ b/clients/client-redshift-data/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: RedshiftDataClientConfig) => { +export const getRuntimeConfig = (config: RedshiftDataClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-redshift/runtimeConfig.browser.ts b/clients/client-redshift/runtimeConfig.browser.ts index f3c52c63b0722..879930545af42 100644 --- a/clients/client-redshift/runtimeConfig.browser.ts +++ b/clients/client-redshift/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: RedshiftClientConfig) => { +export const getRuntimeConfig = (config: RedshiftClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-redshift/runtimeConfig.native.ts b/clients/client-redshift/runtimeConfig.native.ts index 29360a336d15e..28e964eee3385 100644 --- a/clients/client-redshift/runtimeConfig.native.ts +++ b/clients/client-redshift/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: RedshiftClientConfig) => { +export const getRuntimeConfig = (config: RedshiftClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-redshift/runtimeConfig.shared.ts b/clients/client-redshift/runtimeConfig.shared.ts index 9e9d6d2c42936..7c250072af22d 100644 --- a/clients/client-redshift/runtimeConfig.shared.ts +++ b/clients/client-redshift/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { RedshiftClientConfig } from "./RedshiftClient"; /** * @internal */ -export const getRuntimeConfig = (config: RedshiftClientConfig) => ({ +export const getRuntimeConfig = (config: RedshiftClientConfig = {}) => ({ apiVersion: "2012-12-01", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-redshift/runtimeConfig.ts b/clients/client-redshift/runtimeConfig.ts index 6ce05fae7658b..ae1b7f0a2f24d 100644 --- a/clients/client-redshift/runtimeConfig.ts +++ b/clients/client-redshift/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: RedshiftClientConfig) => { +export const getRuntimeConfig = (config: RedshiftClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-rekognition/runtimeConfig.browser.ts b/clients/client-rekognition/runtimeConfig.browser.ts index cf2cef7850d5b..9b55e4b0c5396 100644 --- a/clients/client-rekognition/runtimeConfig.browser.ts +++ b/clients/client-rekognition/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: RekognitionClientConfig) => { +export const getRuntimeConfig = (config: RekognitionClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-rekognition/runtimeConfig.native.ts b/clients/client-rekognition/runtimeConfig.native.ts index 090454466fddd..4f6345fec1f6a 100644 --- a/clients/client-rekognition/runtimeConfig.native.ts +++ b/clients/client-rekognition/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: RekognitionClientConfig) => { +export const getRuntimeConfig = (config: RekognitionClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-rekognition/runtimeConfig.shared.ts b/clients/client-rekognition/runtimeConfig.shared.ts index 87c181841e9e5..cd41b6cbb0891 100644 --- a/clients/client-rekognition/runtimeConfig.shared.ts +++ b/clients/client-rekognition/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { RekognitionClientConfig } from "./RekognitionClient"; /** * @internal */ -export const getRuntimeConfig = (config: RekognitionClientConfig) => ({ +export const getRuntimeConfig = (config: RekognitionClientConfig = {}) => ({ apiVersion: "2016-06-27", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-rekognition/runtimeConfig.ts b/clients/client-rekognition/runtimeConfig.ts index e8ff60537d6c1..c760de8607303 100644 --- a/clients/client-rekognition/runtimeConfig.ts +++ b/clients/client-rekognition/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: RekognitionClientConfig) => { +export const getRuntimeConfig = (config: RekognitionClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-resource-groups-tagging-api/runtimeConfig.browser.ts b/clients/client-resource-groups-tagging-api/runtimeConfig.browser.ts index ef408a052008f..dabd3cf75ff81 100644 --- a/clients/client-resource-groups-tagging-api/runtimeConfig.browser.ts +++ b/clients/client-resource-groups-tagging-api/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: ResourceGroupsTaggingAPIClientConfig) => { +export const getRuntimeConfig = (config: ResourceGroupsTaggingAPIClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-resource-groups-tagging-api/runtimeConfig.native.ts b/clients/client-resource-groups-tagging-api/runtimeConfig.native.ts index efc10fd638942..b7cdf507fcb45 100644 --- a/clients/client-resource-groups-tagging-api/runtimeConfig.native.ts +++ b/clients/client-resource-groups-tagging-api/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: ResourceGroupsTaggingAPIClientConfig) => { +export const getRuntimeConfig = (config: ResourceGroupsTaggingAPIClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-resource-groups-tagging-api/runtimeConfig.shared.ts b/clients/client-resource-groups-tagging-api/runtimeConfig.shared.ts index c6e0e5157049d..c8d028d97eeda 100644 --- a/clients/client-resource-groups-tagging-api/runtimeConfig.shared.ts +++ b/clients/client-resource-groups-tagging-api/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { ResourceGroupsTaggingAPIClientConfig } from "./ResourceGroupsTaggingAPI /** * @internal */ -export const getRuntimeConfig = (config: ResourceGroupsTaggingAPIClientConfig) => ({ +export const getRuntimeConfig = (config: ResourceGroupsTaggingAPIClientConfig = {}) => ({ apiVersion: "2017-01-26", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-resource-groups-tagging-api/runtimeConfig.ts b/clients/client-resource-groups-tagging-api/runtimeConfig.ts index 661f203d54bba..6e6b584ca9940 100644 --- a/clients/client-resource-groups-tagging-api/runtimeConfig.ts +++ b/clients/client-resource-groups-tagging-api/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: ResourceGroupsTaggingAPIClientConfig) => { +export const getRuntimeConfig = (config: ResourceGroupsTaggingAPIClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-resource-groups/runtimeConfig.browser.ts b/clients/client-resource-groups/runtimeConfig.browser.ts index 49050b01b2ff1..c145de20a9c65 100644 --- a/clients/client-resource-groups/runtimeConfig.browser.ts +++ b/clients/client-resource-groups/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: ResourceGroupsClientConfig) => { +export const getRuntimeConfig = (config: ResourceGroupsClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-resource-groups/runtimeConfig.native.ts b/clients/client-resource-groups/runtimeConfig.native.ts index 95a2df4f6dd0a..2e7f9a41f34a8 100644 --- a/clients/client-resource-groups/runtimeConfig.native.ts +++ b/clients/client-resource-groups/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: ResourceGroupsClientConfig) => { +export const getRuntimeConfig = (config: ResourceGroupsClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-resource-groups/runtimeConfig.shared.ts b/clients/client-resource-groups/runtimeConfig.shared.ts index b147faad5ce7d..b69b08a742c28 100644 --- a/clients/client-resource-groups/runtimeConfig.shared.ts +++ b/clients/client-resource-groups/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { ResourceGroupsClientConfig } from "./ResourceGroupsClient"; /** * @internal */ -export const getRuntimeConfig = (config: ResourceGroupsClientConfig) => ({ +export const getRuntimeConfig = (config: ResourceGroupsClientConfig = {}) => ({ apiVersion: "2017-11-27", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-resource-groups/runtimeConfig.ts b/clients/client-resource-groups/runtimeConfig.ts index cd1df6cef423d..7433667af5b08 100644 --- a/clients/client-resource-groups/runtimeConfig.ts +++ b/clients/client-resource-groups/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: ResourceGroupsClientConfig) => { +export const getRuntimeConfig = (config: ResourceGroupsClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-robomaker/runtimeConfig.browser.ts b/clients/client-robomaker/runtimeConfig.browser.ts index 8d4fa5411e750..90845f234c7bc 100644 --- a/clients/client-robomaker/runtimeConfig.browser.ts +++ b/clients/client-robomaker/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: RoboMakerClientConfig) => { +export const getRuntimeConfig = (config: RoboMakerClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-robomaker/runtimeConfig.native.ts b/clients/client-robomaker/runtimeConfig.native.ts index b2922309b48fd..70a6416a6aaf4 100644 --- a/clients/client-robomaker/runtimeConfig.native.ts +++ b/clients/client-robomaker/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: RoboMakerClientConfig) => { +export const getRuntimeConfig = (config: RoboMakerClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-robomaker/runtimeConfig.shared.ts b/clients/client-robomaker/runtimeConfig.shared.ts index 2169217105383..c15269594ca45 100644 --- a/clients/client-robomaker/runtimeConfig.shared.ts +++ b/clients/client-robomaker/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { RoboMakerClientConfig } from "./RoboMakerClient"; /** * @internal */ -export const getRuntimeConfig = (config: RoboMakerClientConfig) => ({ +export const getRuntimeConfig = (config: RoboMakerClientConfig = {}) => ({ apiVersion: "2018-06-29", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-robomaker/runtimeConfig.ts b/clients/client-robomaker/runtimeConfig.ts index 5b7a0824ccf69..c19e5dea89d36 100644 --- a/clients/client-robomaker/runtimeConfig.ts +++ b/clients/client-robomaker/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: RoboMakerClientConfig) => { +export const getRuntimeConfig = (config: RoboMakerClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-route-53-domains/runtimeConfig.browser.ts b/clients/client-route-53-domains/runtimeConfig.browser.ts index 00d1003aa27ec..c236b4eb58ad2 100644 --- a/clients/client-route-53-domains/runtimeConfig.browser.ts +++ b/clients/client-route-53-domains/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: Route53DomainsClientConfig) => { +export const getRuntimeConfig = (config: Route53DomainsClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-route-53-domains/runtimeConfig.native.ts b/clients/client-route-53-domains/runtimeConfig.native.ts index cc2c631e6cabf..835b4b921ec7b 100644 --- a/clients/client-route-53-domains/runtimeConfig.native.ts +++ b/clients/client-route-53-domains/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: Route53DomainsClientConfig) => { +export const getRuntimeConfig = (config: Route53DomainsClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-route-53-domains/runtimeConfig.shared.ts b/clients/client-route-53-domains/runtimeConfig.shared.ts index c891f5d588925..5368e8d8a4107 100644 --- a/clients/client-route-53-domains/runtimeConfig.shared.ts +++ b/clients/client-route-53-domains/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { Route53DomainsClientConfig } from "./Route53DomainsClient"; /** * @internal */ -export const getRuntimeConfig = (config: Route53DomainsClientConfig) => ({ +export const getRuntimeConfig = (config: Route53DomainsClientConfig = {}) => ({ apiVersion: "2014-05-15", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-route-53-domains/runtimeConfig.ts b/clients/client-route-53-domains/runtimeConfig.ts index 12173951ff870..9159c4e5bc81a 100644 --- a/clients/client-route-53-domains/runtimeConfig.ts +++ b/clients/client-route-53-domains/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: Route53DomainsClientConfig) => { +export const getRuntimeConfig = (config: Route53DomainsClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-route-53/runtimeConfig.browser.ts b/clients/client-route-53/runtimeConfig.browser.ts index 4e673774835e7..e2cf486d6b025 100644 --- a/clients/client-route-53/runtimeConfig.browser.ts +++ b/clients/client-route-53/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: Route53ClientConfig) => { +export const getRuntimeConfig = (config: Route53ClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-route-53/runtimeConfig.native.ts b/clients/client-route-53/runtimeConfig.native.ts index 2f411d9bdca31..04d8649b8cbf3 100644 --- a/clients/client-route-53/runtimeConfig.native.ts +++ b/clients/client-route-53/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: Route53ClientConfig) => { +export const getRuntimeConfig = (config: Route53ClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-route-53/runtimeConfig.shared.ts b/clients/client-route-53/runtimeConfig.shared.ts index c8a06cb888fb7..13c0ecafa89e1 100644 --- a/clients/client-route-53/runtimeConfig.shared.ts +++ b/clients/client-route-53/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { Route53ClientConfig } from "./Route53Client"; /** * @internal */ -export const getRuntimeConfig = (config: Route53ClientConfig) => ({ +export const getRuntimeConfig = (config: Route53ClientConfig = {}) => ({ apiVersion: "2013-04-01", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-route-53/runtimeConfig.ts b/clients/client-route-53/runtimeConfig.ts index 09ff09787221e..77021a34b1a40 100644 --- a/clients/client-route-53/runtimeConfig.ts +++ b/clients/client-route-53/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: Route53ClientConfig) => { +export const getRuntimeConfig = (config: Route53ClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-route53resolver/runtimeConfig.browser.ts b/clients/client-route53resolver/runtimeConfig.browser.ts index 932d043f932c2..a51b7f708ad4f 100644 --- a/clients/client-route53resolver/runtimeConfig.browser.ts +++ b/clients/client-route53resolver/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: Route53ResolverClientConfig) => { +export const getRuntimeConfig = (config: Route53ResolverClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-route53resolver/runtimeConfig.native.ts b/clients/client-route53resolver/runtimeConfig.native.ts index 76c79bb74043e..fea1d40274c5e 100644 --- a/clients/client-route53resolver/runtimeConfig.native.ts +++ b/clients/client-route53resolver/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: Route53ResolverClientConfig) => { +export const getRuntimeConfig = (config: Route53ResolverClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-route53resolver/runtimeConfig.shared.ts b/clients/client-route53resolver/runtimeConfig.shared.ts index 4492b5845167a..077640481eb41 100644 --- a/clients/client-route53resolver/runtimeConfig.shared.ts +++ b/clients/client-route53resolver/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { Route53ResolverClientConfig } from "./Route53ResolverClient"; /** * @internal */ -export const getRuntimeConfig = (config: Route53ResolverClientConfig) => ({ +export const getRuntimeConfig = (config: Route53ResolverClientConfig = {}) => ({ apiVersion: "2018-04-01", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-route53resolver/runtimeConfig.ts b/clients/client-route53resolver/runtimeConfig.ts index 1629690442e0c..3a7129f168acd 100644 --- a/clients/client-route53resolver/runtimeConfig.ts +++ b/clients/client-route53resolver/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: Route53ResolverClientConfig) => { +export const getRuntimeConfig = (config: Route53ResolverClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-s3-control/runtimeConfig.browser.ts b/clients/client-s3-control/runtimeConfig.browser.ts index 0b53a9558a0da..a8aa21ce5bef4 100644 --- a/clients/client-s3-control/runtimeConfig.browser.ts +++ b/clients/client-s3-control/runtimeConfig.browser.ts @@ -16,7 +16,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: S3ControlClientConfig) => { +export const getRuntimeConfig = (config: S3ControlClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-s3-control/runtimeConfig.native.ts b/clients/client-s3-control/runtimeConfig.native.ts index 973ea862230b9..639f39bb3ac5d 100644 --- a/clients/client-s3-control/runtimeConfig.native.ts +++ b/clients/client-s3-control/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: S3ControlClientConfig) => { +export const getRuntimeConfig = (config: S3ControlClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-s3-control/runtimeConfig.shared.ts b/clients/client-s3-control/runtimeConfig.shared.ts index 7ec8a6d6b1234..2d1ffcabcac80 100644 --- a/clients/client-s3-control/runtimeConfig.shared.ts +++ b/clients/client-s3-control/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { S3ControlClientConfig } from "./S3ControlClient"; /** * @internal */ -export const getRuntimeConfig = (config: S3ControlClientConfig) => ({ +export const getRuntimeConfig = (config: S3ControlClientConfig = {}) => ({ apiVersion: "2018-08-20", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-s3-control/runtimeConfig.ts b/clients/client-s3-control/runtimeConfig.ts index 7d7a8260e28e8..f6f8ae9cbd5ab 100644 --- a/clients/client-s3-control/runtimeConfig.ts +++ b/clients/client-s3-control/runtimeConfig.ts @@ -19,7 +19,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: S3ControlClientConfig) => { +export const getRuntimeConfig = (config: S3ControlClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-s3/runtimeConfig.browser.ts b/clients/client-s3/runtimeConfig.browser.ts index 57ec0e655ffdd..1b3adc4b7da7f 100644 --- a/clients/client-s3/runtimeConfig.browser.ts +++ b/clients/client-s3/runtimeConfig.browser.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: S3ClientConfig) => { +export const getRuntimeConfig = (config: S3ClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-s3/runtimeConfig.native.ts b/clients/client-s3/runtimeConfig.native.ts index 26979d09e8096..3e083b44f1c33 100644 --- a/clients/client-s3/runtimeConfig.native.ts +++ b/clients/client-s3/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: S3ClientConfig) => { +export const getRuntimeConfig = (config: S3ClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-s3/runtimeConfig.shared.ts b/clients/client-s3/runtimeConfig.shared.ts index 9d5ae1dc693de..a707c31e76cb5 100644 --- a/clients/client-s3/runtimeConfig.shared.ts +++ b/clients/client-s3/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { S3ClientConfig } from "./S3Client"; /** * @internal */ -export const getRuntimeConfig = (config: S3ClientConfig) => ({ +export const getRuntimeConfig = (config: S3ClientConfig = {}) => ({ apiVersion: "2006-03-01", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-s3/runtimeConfig.ts b/clients/client-s3/runtimeConfig.ts index 3b9f085311291..e8d4a50befda2 100644 --- a/clients/client-s3/runtimeConfig.ts +++ b/clients/client-s3/runtimeConfig.ts @@ -21,7 +21,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: S3ClientConfig) => { +export const getRuntimeConfig = (config: S3ClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-s3outposts/runtimeConfig.browser.ts b/clients/client-s3outposts/runtimeConfig.browser.ts index c47019c8f644d..a2ab2398fbe5e 100644 --- a/clients/client-s3outposts/runtimeConfig.browser.ts +++ b/clients/client-s3outposts/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: S3OutpostsClientConfig) => { +export const getRuntimeConfig = (config: S3OutpostsClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-s3outposts/runtimeConfig.native.ts b/clients/client-s3outposts/runtimeConfig.native.ts index acc637dc62730..65185e0479d07 100644 --- a/clients/client-s3outposts/runtimeConfig.native.ts +++ b/clients/client-s3outposts/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: S3OutpostsClientConfig) => { +export const getRuntimeConfig = (config: S3OutpostsClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-s3outposts/runtimeConfig.shared.ts b/clients/client-s3outposts/runtimeConfig.shared.ts index 7e2056de6197d..ee0aff6367526 100644 --- a/clients/client-s3outposts/runtimeConfig.shared.ts +++ b/clients/client-s3outposts/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { S3OutpostsClientConfig } from "./S3OutpostsClient"; /** * @internal */ -export const getRuntimeConfig = (config: S3OutpostsClientConfig) => ({ +export const getRuntimeConfig = (config: S3OutpostsClientConfig = {}) => ({ apiVersion: "2017-07-25", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-s3outposts/runtimeConfig.ts b/clients/client-s3outposts/runtimeConfig.ts index c4c56945be66b..824dcaaea2807 100644 --- a/clients/client-s3outposts/runtimeConfig.ts +++ b/clients/client-s3outposts/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: S3OutpostsClientConfig) => { +export const getRuntimeConfig = (config: S3OutpostsClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-sagemaker-a2i-runtime/runtimeConfig.browser.ts b/clients/client-sagemaker-a2i-runtime/runtimeConfig.browser.ts index 03580f17e177d..468ccf11b6d91 100644 --- a/clients/client-sagemaker-a2i-runtime/runtimeConfig.browser.ts +++ b/clients/client-sagemaker-a2i-runtime/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: SageMakerA2IRuntimeClientConfig) => { +export const getRuntimeConfig = (config: SageMakerA2IRuntimeClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-sagemaker-a2i-runtime/runtimeConfig.native.ts b/clients/client-sagemaker-a2i-runtime/runtimeConfig.native.ts index 094ea469e3284..7f79ebffee459 100644 --- a/clients/client-sagemaker-a2i-runtime/runtimeConfig.native.ts +++ b/clients/client-sagemaker-a2i-runtime/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: SageMakerA2IRuntimeClientConfig) => { +export const getRuntimeConfig = (config: SageMakerA2IRuntimeClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-sagemaker-a2i-runtime/runtimeConfig.shared.ts b/clients/client-sagemaker-a2i-runtime/runtimeConfig.shared.ts index 97fa844e91c99..f0c373a460b79 100644 --- a/clients/client-sagemaker-a2i-runtime/runtimeConfig.shared.ts +++ b/clients/client-sagemaker-a2i-runtime/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { SageMakerA2IRuntimeClientConfig } from "./SageMakerA2IRuntimeClient"; /** * @internal */ -export const getRuntimeConfig = (config: SageMakerA2IRuntimeClientConfig) => ({ +export const getRuntimeConfig = (config: SageMakerA2IRuntimeClientConfig = {}) => ({ apiVersion: "2019-11-07", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-sagemaker-a2i-runtime/runtimeConfig.ts b/clients/client-sagemaker-a2i-runtime/runtimeConfig.ts index 89867ca646c3c..ede7119f9376c 100644 --- a/clients/client-sagemaker-a2i-runtime/runtimeConfig.ts +++ b/clients/client-sagemaker-a2i-runtime/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: SageMakerA2IRuntimeClientConfig) => { +export const getRuntimeConfig = (config: SageMakerA2IRuntimeClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-sagemaker-edge/runtimeConfig.browser.ts b/clients/client-sagemaker-edge/runtimeConfig.browser.ts index 2f561d611d110..58ee43c9bdde2 100644 --- a/clients/client-sagemaker-edge/runtimeConfig.browser.ts +++ b/clients/client-sagemaker-edge/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: SagemakerEdgeClientConfig) => { +export const getRuntimeConfig = (config: SagemakerEdgeClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-sagemaker-edge/runtimeConfig.native.ts b/clients/client-sagemaker-edge/runtimeConfig.native.ts index fd6b7cd128234..0e5c114fd5cce 100644 --- a/clients/client-sagemaker-edge/runtimeConfig.native.ts +++ b/clients/client-sagemaker-edge/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: SagemakerEdgeClientConfig) => { +export const getRuntimeConfig = (config: SagemakerEdgeClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-sagemaker-edge/runtimeConfig.shared.ts b/clients/client-sagemaker-edge/runtimeConfig.shared.ts index 92ed0520ec6c0..7794e1d7420c7 100644 --- a/clients/client-sagemaker-edge/runtimeConfig.shared.ts +++ b/clients/client-sagemaker-edge/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { SagemakerEdgeClientConfig } from "./SagemakerEdgeClient"; /** * @internal */ -export const getRuntimeConfig = (config: SagemakerEdgeClientConfig) => ({ +export const getRuntimeConfig = (config: SagemakerEdgeClientConfig = {}) => ({ apiVersion: "2020-09-23", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-sagemaker-edge/runtimeConfig.ts b/clients/client-sagemaker-edge/runtimeConfig.ts index 133bab8978c1c..643083b75e3d6 100644 --- a/clients/client-sagemaker-edge/runtimeConfig.ts +++ b/clients/client-sagemaker-edge/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: SagemakerEdgeClientConfig) => { +export const getRuntimeConfig = (config: SagemakerEdgeClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-sagemaker-featurestore-runtime/runtimeConfig.browser.ts b/clients/client-sagemaker-featurestore-runtime/runtimeConfig.browser.ts index f40d20513cb87..24e65621de36c 100644 --- a/clients/client-sagemaker-featurestore-runtime/runtimeConfig.browser.ts +++ b/clients/client-sagemaker-featurestore-runtime/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: SageMakerFeatureStoreRuntimeClientConfig) => { +export const getRuntimeConfig = (config: SageMakerFeatureStoreRuntimeClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-sagemaker-featurestore-runtime/runtimeConfig.native.ts b/clients/client-sagemaker-featurestore-runtime/runtimeConfig.native.ts index e4f4ad59212e0..e81c5677e4733 100644 --- a/clients/client-sagemaker-featurestore-runtime/runtimeConfig.native.ts +++ b/clients/client-sagemaker-featurestore-runtime/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: SageMakerFeatureStoreRuntimeClientConfig) => { +export const getRuntimeConfig = (config: SageMakerFeatureStoreRuntimeClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-sagemaker-featurestore-runtime/runtimeConfig.shared.ts b/clients/client-sagemaker-featurestore-runtime/runtimeConfig.shared.ts index 34be1771f9ede..f2ee5ee790191 100644 --- a/clients/client-sagemaker-featurestore-runtime/runtimeConfig.shared.ts +++ b/clients/client-sagemaker-featurestore-runtime/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { SageMakerFeatureStoreRuntimeClientConfig } from "./SageMakerFeatureStor /** * @internal */ -export const getRuntimeConfig = (config: SageMakerFeatureStoreRuntimeClientConfig) => ({ +export const getRuntimeConfig = (config: SageMakerFeatureStoreRuntimeClientConfig = {}) => ({ apiVersion: "2020-07-01", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-sagemaker-featurestore-runtime/runtimeConfig.ts b/clients/client-sagemaker-featurestore-runtime/runtimeConfig.ts index f5b10a4ccfc26..ac8b6b2b0a457 100644 --- a/clients/client-sagemaker-featurestore-runtime/runtimeConfig.ts +++ b/clients/client-sagemaker-featurestore-runtime/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: SageMakerFeatureStoreRuntimeClientConfig) => { +export const getRuntimeConfig = (config: SageMakerFeatureStoreRuntimeClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-sagemaker-runtime/runtimeConfig.browser.ts b/clients/client-sagemaker-runtime/runtimeConfig.browser.ts index 7a8cc9e62e3e2..a9ca2d116225e 100644 --- a/clients/client-sagemaker-runtime/runtimeConfig.browser.ts +++ b/clients/client-sagemaker-runtime/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: SageMakerRuntimeClientConfig) => { +export const getRuntimeConfig = (config: SageMakerRuntimeClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-sagemaker-runtime/runtimeConfig.native.ts b/clients/client-sagemaker-runtime/runtimeConfig.native.ts index 51063ff4b631e..9758222e7b784 100644 --- a/clients/client-sagemaker-runtime/runtimeConfig.native.ts +++ b/clients/client-sagemaker-runtime/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: SageMakerRuntimeClientConfig) => { +export const getRuntimeConfig = (config: SageMakerRuntimeClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-sagemaker-runtime/runtimeConfig.shared.ts b/clients/client-sagemaker-runtime/runtimeConfig.shared.ts index 69521077eed49..871535b168881 100644 --- a/clients/client-sagemaker-runtime/runtimeConfig.shared.ts +++ b/clients/client-sagemaker-runtime/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { SageMakerRuntimeClientConfig } from "./SageMakerRuntimeClient"; /** * @internal */ -export const getRuntimeConfig = (config: SageMakerRuntimeClientConfig) => ({ +export const getRuntimeConfig = (config: SageMakerRuntimeClientConfig = {}) => ({ apiVersion: "2017-05-13", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-sagemaker-runtime/runtimeConfig.ts b/clients/client-sagemaker-runtime/runtimeConfig.ts index d04bd1b730f56..f86e46a95c4c3 100644 --- a/clients/client-sagemaker-runtime/runtimeConfig.ts +++ b/clients/client-sagemaker-runtime/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: SageMakerRuntimeClientConfig) => { +export const getRuntimeConfig = (config: SageMakerRuntimeClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-sagemaker/runtimeConfig.browser.ts b/clients/client-sagemaker/runtimeConfig.browser.ts index 825521a312219..3c0239ceecceb 100644 --- a/clients/client-sagemaker/runtimeConfig.browser.ts +++ b/clients/client-sagemaker/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: SageMakerClientConfig) => { +export const getRuntimeConfig = (config: SageMakerClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-sagemaker/runtimeConfig.native.ts b/clients/client-sagemaker/runtimeConfig.native.ts index 7c01d313a0108..7ff626abb5540 100644 --- a/clients/client-sagemaker/runtimeConfig.native.ts +++ b/clients/client-sagemaker/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: SageMakerClientConfig) => { +export const getRuntimeConfig = (config: SageMakerClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-sagemaker/runtimeConfig.shared.ts b/clients/client-sagemaker/runtimeConfig.shared.ts index 15f6a80c9dada..7fc803e9ad612 100644 --- a/clients/client-sagemaker/runtimeConfig.shared.ts +++ b/clients/client-sagemaker/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { SageMakerClientConfig } from "./SageMakerClient"; /** * @internal */ -export const getRuntimeConfig = (config: SageMakerClientConfig) => ({ +export const getRuntimeConfig = (config: SageMakerClientConfig = {}) => ({ apiVersion: "2017-07-24", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-sagemaker/runtimeConfig.ts b/clients/client-sagemaker/runtimeConfig.ts index 2989f4601777e..f0f155ee3d29b 100644 --- a/clients/client-sagemaker/runtimeConfig.ts +++ b/clients/client-sagemaker/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: SageMakerClientConfig) => { +export const getRuntimeConfig = (config: SageMakerClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-savingsplans/runtimeConfig.browser.ts b/clients/client-savingsplans/runtimeConfig.browser.ts index 4cc6b1d2eed2d..66928076d23bd 100644 --- a/clients/client-savingsplans/runtimeConfig.browser.ts +++ b/clients/client-savingsplans/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: SavingsplansClientConfig) => { +export const getRuntimeConfig = (config: SavingsplansClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-savingsplans/runtimeConfig.native.ts b/clients/client-savingsplans/runtimeConfig.native.ts index 48a0b7d11ba59..ec923633552b5 100644 --- a/clients/client-savingsplans/runtimeConfig.native.ts +++ b/clients/client-savingsplans/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: SavingsplansClientConfig) => { +export const getRuntimeConfig = (config: SavingsplansClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-savingsplans/runtimeConfig.shared.ts b/clients/client-savingsplans/runtimeConfig.shared.ts index a02d35d1680e5..06a04383727b5 100644 --- a/clients/client-savingsplans/runtimeConfig.shared.ts +++ b/clients/client-savingsplans/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { SavingsplansClientConfig } from "./SavingsplansClient"; /** * @internal */ -export const getRuntimeConfig = (config: SavingsplansClientConfig) => ({ +export const getRuntimeConfig = (config: SavingsplansClientConfig = {}) => ({ apiVersion: "2019-06-28", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-savingsplans/runtimeConfig.ts b/clients/client-savingsplans/runtimeConfig.ts index af5e973d0f8e3..631c455a8ed29 100644 --- a/clients/client-savingsplans/runtimeConfig.ts +++ b/clients/client-savingsplans/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: SavingsplansClientConfig) => { +export const getRuntimeConfig = (config: SavingsplansClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-schemas/runtimeConfig.browser.ts b/clients/client-schemas/runtimeConfig.browser.ts index 12cb4aa42289c..d6240170e2adf 100644 --- a/clients/client-schemas/runtimeConfig.browser.ts +++ b/clients/client-schemas/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: SchemasClientConfig) => { +export const getRuntimeConfig = (config: SchemasClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-schemas/runtimeConfig.native.ts b/clients/client-schemas/runtimeConfig.native.ts index 0898502c4bdff..01e1941a6a290 100644 --- a/clients/client-schemas/runtimeConfig.native.ts +++ b/clients/client-schemas/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: SchemasClientConfig) => { +export const getRuntimeConfig = (config: SchemasClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-schemas/runtimeConfig.shared.ts b/clients/client-schemas/runtimeConfig.shared.ts index 3623abe9e6657..e043768abd463 100644 --- a/clients/client-schemas/runtimeConfig.shared.ts +++ b/clients/client-schemas/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { SchemasClientConfig } from "./SchemasClient"; /** * @internal */ -export const getRuntimeConfig = (config: SchemasClientConfig) => ({ +export const getRuntimeConfig = (config: SchemasClientConfig = {}) => ({ apiVersion: "2019-12-02", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-schemas/runtimeConfig.ts b/clients/client-schemas/runtimeConfig.ts index 21388a6850590..d4a2d6c6745e6 100644 --- a/clients/client-schemas/runtimeConfig.ts +++ b/clients/client-schemas/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: SchemasClientConfig) => { +export const getRuntimeConfig = (config: SchemasClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-secrets-manager/runtimeConfig.browser.ts b/clients/client-secrets-manager/runtimeConfig.browser.ts index 32cc1889c963b..f9b8354ae4e90 100644 --- a/clients/client-secrets-manager/runtimeConfig.browser.ts +++ b/clients/client-secrets-manager/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: SecretsManagerClientConfig) => { +export const getRuntimeConfig = (config: SecretsManagerClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-secrets-manager/runtimeConfig.native.ts b/clients/client-secrets-manager/runtimeConfig.native.ts index 1ce38b48fccf7..c88c62be938ca 100644 --- a/clients/client-secrets-manager/runtimeConfig.native.ts +++ b/clients/client-secrets-manager/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: SecretsManagerClientConfig) => { +export const getRuntimeConfig = (config: SecretsManagerClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-secrets-manager/runtimeConfig.shared.ts b/clients/client-secrets-manager/runtimeConfig.shared.ts index a39e27bbf482b..91cdb6c571ac1 100644 --- a/clients/client-secrets-manager/runtimeConfig.shared.ts +++ b/clients/client-secrets-manager/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { SecretsManagerClientConfig } from "./SecretsManagerClient"; /** * @internal */ -export const getRuntimeConfig = (config: SecretsManagerClientConfig) => ({ +export const getRuntimeConfig = (config: SecretsManagerClientConfig = {}) => ({ apiVersion: "2017-10-17", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-secrets-manager/runtimeConfig.ts b/clients/client-secrets-manager/runtimeConfig.ts index 243aeb3bf30f8..d55c862b55368 100644 --- a/clients/client-secrets-manager/runtimeConfig.ts +++ b/clients/client-secrets-manager/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: SecretsManagerClientConfig) => { +export const getRuntimeConfig = (config: SecretsManagerClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-securityhub/runtimeConfig.browser.ts b/clients/client-securityhub/runtimeConfig.browser.ts index e962f7439f6b1..b702b5c810300 100644 --- a/clients/client-securityhub/runtimeConfig.browser.ts +++ b/clients/client-securityhub/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: SecurityHubClientConfig) => { +export const getRuntimeConfig = (config: SecurityHubClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-securityhub/runtimeConfig.native.ts b/clients/client-securityhub/runtimeConfig.native.ts index f838f18dd2071..a8d715c72a73b 100644 --- a/clients/client-securityhub/runtimeConfig.native.ts +++ b/clients/client-securityhub/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: SecurityHubClientConfig) => { +export const getRuntimeConfig = (config: SecurityHubClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-securityhub/runtimeConfig.shared.ts b/clients/client-securityhub/runtimeConfig.shared.ts index f46bb72d44105..40ba8b1df49cd 100644 --- a/clients/client-securityhub/runtimeConfig.shared.ts +++ b/clients/client-securityhub/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { SecurityHubClientConfig } from "./SecurityHubClient"; /** * @internal */ -export const getRuntimeConfig = (config: SecurityHubClientConfig) => ({ +export const getRuntimeConfig = (config: SecurityHubClientConfig = {}) => ({ apiVersion: "2018-10-26", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-securityhub/runtimeConfig.ts b/clients/client-securityhub/runtimeConfig.ts index 3dddb6159305c..1c0734e7e33e4 100644 --- a/clients/client-securityhub/runtimeConfig.ts +++ b/clients/client-securityhub/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: SecurityHubClientConfig) => { +export const getRuntimeConfig = (config: SecurityHubClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-serverlessapplicationrepository/runtimeConfig.browser.ts b/clients/client-serverlessapplicationrepository/runtimeConfig.browser.ts index 82bc48b0a9f3c..1e06c3031e59a 100644 --- a/clients/client-serverlessapplicationrepository/runtimeConfig.browser.ts +++ b/clients/client-serverlessapplicationrepository/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: ServerlessApplicationRepositoryClientConfig) => { +export const getRuntimeConfig = (config: ServerlessApplicationRepositoryClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-serverlessapplicationrepository/runtimeConfig.native.ts b/clients/client-serverlessapplicationrepository/runtimeConfig.native.ts index 34e427da43b64..1d004880f2761 100644 --- a/clients/client-serverlessapplicationrepository/runtimeConfig.native.ts +++ b/clients/client-serverlessapplicationrepository/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: ServerlessApplicationRepositoryClientConfig) => { +export const getRuntimeConfig = (config: ServerlessApplicationRepositoryClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-serverlessapplicationrepository/runtimeConfig.shared.ts b/clients/client-serverlessapplicationrepository/runtimeConfig.shared.ts index 21466de3636b2..c978ee7446014 100644 --- a/clients/client-serverlessapplicationrepository/runtimeConfig.shared.ts +++ b/clients/client-serverlessapplicationrepository/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { ServerlessApplicationRepositoryClientConfig } from "./ServerlessApplica /** * @internal */ -export const getRuntimeConfig = (config: ServerlessApplicationRepositoryClientConfig) => ({ +export const getRuntimeConfig = (config: ServerlessApplicationRepositoryClientConfig = {}) => ({ apiVersion: "2017-09-08", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-serverlessapplicationrepository/runtimeConfig.ts b/clients/client-serverlessapplicationrepository/runtimeConfig.ts index 48131d80c2ac5..5719d8b8f99c2 100644 --- a/clients/client-serverlessapplicationrepository/runtimeConfig.ts +++ b/clients/client-serverlessapplicationrepository/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: ServerlessApplicationRepositoryClientConfig) => { +export const getRuntimeConfig = (config: ServerlessApplicationRepositoryClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-service-catalog-appregistry/runtimeConfig.browser.ts b/clients/client-service-catalog-appregistry/runtimeConfig.browser.ts index 1b5632b05971e..63be51108c7f9 100644 --- a/clients/client-service-catalog-appregistry/runtimeConfig.browser.ts +++ b/clients/client-service-catalog-appregistry/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: ServiceCatalogAppRegistryClientConfig) => { +export const getRuntimeConfig = (config: ServiceCatalogAppRegistryClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-service-catalog-appregistry/runtimeConfig.native.ts b/clients/client-service-catalog-appregistry/runtimeConfig.native.ts index 0c90d94b5fcf3..28913232036f8 100644 --- a/clients/client-service-catalog-appregistry/runtimeConfig.native.ts +++ b/clients/client-service-catalog-appregistry/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: ServiceCatalogAppRegistryClientConfig) => { +export const getRuntimeConfig = (config: ServiceCatalogAppRegistryClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-service-catalog-appregistry/runtimeConfig.shared.ts b/clients/client-service-catalog-appregistry/runtimeConfig.shared.ts index ea2d942814c23..88b1966820519 100644 --- a/clients/client-service-catalog-appregistry/runtimeConfig.shared.ts +++ b/clients/client-service-catalog-appregistry/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { ServiceCatalogAppRegistryClientConfig } from "./ServiceCatalogAppRegist /** * @internal */ -export const getRuntimeConfig = (config: ServiceCatalogAppRegistryClientConfig) => ({ +export const getRuntimeConfig = (config: ServiceCatalogAppRegistryClientConfig = {}) => ({ apiVersion: "2020-06-24", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-service-catalog-appregistry/runtimeConfig.ts b/clients/client-service-catalog-appregistry/runtimeConfig.ts index 6830204f9eed6..35e96862d0dc1 100644 --- a/clients/client-service-catalog-appregistry/runtimeConfig.ts +++ b/clients/client-service-catalog-appregistry/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: ServiceCatalogAppRegistryClientConfig) => { +export const getRuntimeConfig = (config: ServiceCatalogAppRegistryClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-service-catalog/runtimeConfig.browser.ts b/clients/client-service-catalog/runtimeConfig.browser.ts index dbdab34f1eb7c..437c7979086cc 100644 --- a/clients/client-service-catalog/runtimeConfig.browser.ts +++ b/clients/client-service-catalog/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: ServiceCatalogClientConfig) => { +export const getRuntimeConfig = (config: ServiceCatalogClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-service-catalog/runtimeConfig.native.ts b/clients/client-service-catalog/runtimeConfig.native.ts index 85fabe8cfd8e7..b18ff0dc4c1e2 100644 --- a/clients/client-service-catalog/runtimeConfig.native.ts +++ b/clients/client-service-catalog/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: ServiceCatalogClientConfig) => { +export const getRuntimeConfig = (config: ServiceCatalogClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-service-catalog/runtimeConfig.shared.ts b/clients/client-service-catalog/runtimeConfig.shared.ts index 97cb2331e4781..daedfdc1b1bf4 100644 --- a/clients/client-service-catalog/runtimeConfig.shared.ts +++ b/clients/client-service-catalog/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { ServiceCatalogClientConfig } from "./ServiceCatalogClient"; /** * @internal */ -export const getRuntimeConfig = (config: ServiceCatalogClientConfig) => ({ +export const getRuntimeConfig = (config: ServiceCatalogClientConfig = {}) => ({ apiVersion: "2015-12-10", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-service-catalog/runtimeConfig.ts b/clients/client-service-catalog/runtimeConfig.ts index 410a13671db2f..9ff786e58978e 100644 --- a/clients/client-service-catalog/runtimeConfig.ts +++ b/clients/client-service-catalog/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: ServiceCatalogClientConfig) => { +export const getRuntimeConfig = (config: ServiceCatalogClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-service-quotas/runtimeConfig.browser.ts b/clients/client-service-quotas/runtimeConfig.browser.ts index 5719907f105b3..15fee2ee74d1b 100644 --- a/clients/client-service-quotas/runtimeConfig.browser.ts +++ b/clients/client-service-quotas/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: ServiceQuotasClientConfig) => { +export const getRuntimeConfig = (config: ServiceQuotasClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-service-quotas/runtimeConfig.native.ts b/clients/client-service-quotas/runtimeConfig.native.ts index 027a231228323..e5e9941675933 100644 --- a/clients/client-service-quotas/runtimeConfig.native.ts +++ b/clients/client-service-quotas/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: ServiceQuotasClientConfig) => { +export const getRuntimeConfig = (config: ServiceQuotasClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-service-quotas/runtimeConfig.shared.ts b/clients/client-service-quotas/runtimeConfig.shared.ts index 298cdea303d66..8a99237cedeeb 100644 --- a/clients/client-service-quotas/runtimeConfig.shared.ts +++ b/clients/client-service-quotas/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { ServiceQuotasClientConfig } from "./ServiceQuotasClient"; /** * @internal */ -export const getRuntimeConfig = (config: ServiceQuotasClientConfig) => ({ +export const getRuntimeConfig = (config: ServiceQuotasClientConfig = {}) => ({ apiVersion: "2019-06-24", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-service-quotas/runtimeConfig.ts b/clients/client-service-quotas/runtimeConfig.ts index 19f13ccbd6b46..d81e51a431dea 100644 --- a/clients/client-service-quotas/runtimeConfig.ts +++ b/clients/client-service-quotas/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: ServiceQuotasClientConfig) => { +export const getRuntimeConfig = (config: ServiceQuotasClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-servicediscovery/runtimeConfig.browser.ts b/clients/client-servicediscovery/runtimeConfig.browser.ts index 572e617e1baa8..67c7628cd7048 100644 --- a/clients/client-servicediscovery/runtimeConfig.browser.ts +++ b/clients/client-servicediscovery/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: ServiceDiscoveryClientConfig) => { +export const getRuntimeConfig = (config: ServiceDiscoveryClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-servicediscovery/runtimeConfig.native.ts b/clients/client-servicediscovery/runtimeConfig.native.ts index ca61275a1075b..96c53aa1a60b5 100644 --- a/clients/client-servicediscovery/runtimeConfig.native.ts +++ b/clients/client-servicediscovery/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: ServiceDiscoveryClientConfig) => { +export const getRuntimeConfig = (config: ServiceDiscoveryClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-servicediscovery/runtimeConfig.shared.ts b/clients/client-servicediscovery/runtimeConfig.shared.ts index 5a6736b460aa8..eb68cb19d3de6 100644 --- a/clients/client-servicediscovery/runtimeConfig.shared.ts +++ b/clients/client-servicediscovery/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { ServiceDiscoveryClientConfig } from "./ServiceDiscoveryClient"; /** * @internal */ -export const getRuntimeConfig = (config: ServiceDiscoveryClientConfig) => ({ +export const getRuntimeConfig = (config: ServiceDiscoveryClientConfig = {}) => ({ apiVersion: "2017-03-14", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-servicediscovery/runtimeConfig.ts b/clients/client-servicediscovery/runtimeConfig.ts index 0382691f03adb..3b4df39e4920c 100644 --- a/clients/client-servicediscovery/runtimeConfig.ts +++ b/clients/client-servicediscovery/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: ServiceDiscoveryClientConfig) => { +export const getRuntimeConfig = (config: ServiceDiscoveryClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-ses/runtimeConfig.browser.ts b/clients/client-ses/runtimeConfig.browser.ts index e94546f157bc6..ea41898236676 100644 --- a/clients/client-ses/runtimeConfig.browser.ts +++ b/clients/client-ses/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: SESClientConfig) => { +export const getRuntimeConfig = (config: SESClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-ses/runtimeConfig.native.ts b/clients/client-ses/runtimeConfig.native.ts index 0d784cebbd61c..e5f1c58f58498 100644 --- a/clients/client-ses/runtimeConfig.native.ts +++ b/clients/client-ses/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: SESClientConfig) => { +export const getRuntimeConfig = (config: SESClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-ses/runtimeConfig.shared.ts b/clients/client-ses/runtimeConfig.shared.ts index edb372f6e8b7b..ef7ebe3953e51 100644 --- a/clients/client-ses/runtimeConfig.shared.ts +++ b/clients/client-ses/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { SESClientConfig } from "./SESClient"; /** * @internal */ -export const getRuntimeConfig = (config: SESClientConfig) => ({ +export const getRuntimeConfig = (config: SESClientConfig = {}) => ({ apiVersion: "2010-12-01", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-ses/runtimeConfig.ts b/clients/client-ses/runtimeConfig.ts index e6d1cc41fd0c0..66808f43625a5 100644 --- a/clients/client-ses/runtimeConfig.ts +++ b/clients/client-ses/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: SESClientConfig) => { +export const getRuntimeConfig = (config: SESClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-sesv2/runtimeConfig.browser.ts b/clients/client-sesv2/runtimeConfig.browser.ts index 0c120e3f29482..16cedbf4ff1b4 100644 --- a/clients/client-sesv2/runtimeConfig.browser.ts +++ b/clients/client-sesv2/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: SESv2ClientConfig) => { +export const getRuntimeConfig = (config: SESv2ClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-sesv2/runtimeConfig.native.ts b/clients/client-sesv2/runtimeConfig.native.ts index 4192f5782da19..96710bca9f368 100644 --- a/clients/client-sesv2/runtimeConfig.native.ts +++ b/clients/client-sesv2/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: SESv2ClientConfig) => { +export const getRuntimeConfig = (config: SESv2ClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-sesv2/runtimeConfig.shared.ts b/clients/client-sesv2/runtimeConfig.shared.ts index 9f59f23ccdc85..457d182ffe2e2 100644 --- a/clients/client-sesv2/runtimeConfig.shared.ts +++ b/clients/client-sesv2/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { SESv2ClientConfig } from "./SESv2Client"; /** * @internal */ -export const getRuntimeConfig = (config: SESv2ClientConfig) => ({ +export const getRuntimeConfig = (config: SESv2ClientConfig = {}) => ({ apiVersion: "2019-09-27", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-sesv2/runtimeConfig.ts b/clients/client-sesv2/runtimeConfig.ts index 2b44791951993..2f4009c6b2bd5 100644 --- a/clients/client-sesv2/runtimeConfig.ts +++ b/clients/client-sesv2/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: SESv2ClientConfig) => { +export const getRuntimeConfig = (config: SESv2ClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-sfn/runtimeConfig.browser.ts b/clients/client-sfn/runtimeConfig.browser.ts index 0c59b3950c2ce..0742ca4f0cbaa 100644 --- a/clients/client-sfn/runtimeConfig.browser.ts +++ b/clients/client-sfn/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: SFNClientConfig) => { +export const getRuntimeConfig = (config: SFNClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-sfn/runtimeConfig.native.ts b/clients/client-sfn/runtimeConfig.native.ts index b52aeabdec13a..a2219b3ea8465 100644 --- a/clients/client-sfn/runtimeConfig.native.ts +++ b/clients/client-sfn/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: SFNClientConfig) => { +export const getRuntimeConfig = (config: SFNClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-sfn/runtimeConfig.shared.ts b/clients/client-sfn/runtimeConfig.shared.ts index 869ac6e9a1850..49b59f25c374a 100644 --- a/clients/client-sfn/runtimeConfig.shared.ts +++ b/clients/client-sfn/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { SFNClientConfig } from "./SFNClient"; /** * @internal */ -export const getRuntimeConfig = (config: SFNClientConfig) => ({ +export const getRuntimeConfig = (config: SFNClientConfig = {}) => ({ apiVersion: "2016-11-23", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-sfn/runtimeConfig.ts b/clients/client-sfn/runtimeConfig.ts index f92fbf0b63db0..a417f626d5e7a 100644 --- a/clients/client-sfn/runtimeConfig.ts +++ b/clients/client-sfn/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: SFNClientConfig) => { +export const getRuntimeConfig = (config: SFNClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-shield/runtimeConfig.browser.ts b/clients/client-shield/runtimeConfig.browser.ts index b6b34c7e83953..b4b3dcf82ed02 100644 --- a/clients/client-shield/runtimeConfig.browser.ts +++ b/clients/client-shield/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: ShieldClientConfig) => { +export const getRuntimeConfig = (config: ShieldClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-shield/runtimeConfig.native.ts b/clients/client-shield/runtimeConfig.native.ts index d5aca17e53464..8d060dab25fc4 100644 --- a/clients/client-shield/runtimeConfig.native.ts +++ b/clients/client-shield/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: ShieldClientConfig) => { +export const getRuntimeConfig = (config: ShieldClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-shield/runtimeConfig.shared.ts b/clients/client-shield/runtimeConfig.shared.ts index e80e574fe9920..e6868cf6abd83 100644 --- a/clients/client-shield/runtimeConfig.shared.ts +++ b/clients/client-shield/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { ShieldClientConfig } from "./ShieldClient"; /** * @internal */ -export const getRuntimeConfig = (config: ShieldClientConfig) => ({ +export const getRuntimeConfig = (config: ShieldClientConfig = {}) => ({ apiVersion: "2016-06-02", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-shield/runtimeConfig.ts b/clients/client-shield/runtimeConfig.ts index d44f9813b0b99..d9dd6f35c1a65 100644 --- a/clients/client-shield/runtimeConfig.ts +++ b/clients/client-shield/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: ShieldClientConfig) => { +export const getRuntimeConfig = (config: ShieldClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-signer/runtimeConfig.browser.ts b/clients/client-signer/runtimeConfig.browser.ts index c2e8465bed36a..eaec730f96d27 100644 --- a/clients/client-signer/runtimeConfig.browser.ts +++ b/clients/client-signer/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: SignerClientConfig) => { +export const getRuntimeConfig = (config: SignerClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-signer/runtimeConfig.native.ts b/clients/client-signer/runtimeConfig.native.ts index 8ebf00324e413..029d984a380b9 100644 --- a/clients/client-signer/runtimeConfig.native.ts +++ b/clients/client-signer/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: SignerClientConfig) => { +export const getRuntimeConfig = (config: SignerClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-signer/runtimeConfig.shared.ts b/clients/client-signer/runtimeConfig.shared.ts index e607e33048dc9..90cd27a90a0ad 100644 --- a/clients/client-signer/runtimeConfig.shared.ts +++ b/clients/client-signer/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { SignerClientConfig } from "./SignerClient"; /** * @internal */ -export const getRuntimeConfig = (config: SignerClientConfig) => ({ +export const getRuntimeConfig = (config: SignerClientConfig = {}) => ({ apiVersion: "2017-08-25", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-signer/runtimeConfig.ts b/clients/client-signer/runtimeConfig.ts index 15afc47c26c29..8971532d0ef83 100644 --- a/clients/client-signer/runtimeConfig.ts +++ b/clients/client-signer/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: SignerClientConfig) => { +export const getRuntimeConfig = (config: SignerClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-sms/runtimeConfig.browser.ts b/clients/client-sms/runtimeConfig.browser.ts index 08e1d6a68b2fb..c1112748f352f 100644 --- a/clients/client-sms/runtimeConfig.browser.ts +++ b/clients/client-sms/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: SMSClientConfig) => { +export const getRuntimeConfig = (config: SMSClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-sms/runtimeConfig.native.ts b/clients/client-sms/runtimeConfig.native.ts index 06a638d1f449d..a7f6acb4bc331 100644 --- a/clients/client-sms/runtimeConfig.native.ts +++ b/clients/client-sms/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: SMSClientConfig) => { +export const getRuntimeConfig = (config: SMSClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-sms/runtimeConfig.shared.ts b/clients/client-sms/runtimeConfig.shared.ts index 8eed773e9eea9..939eacef3c611 100644 --- a/clients/client-sms/runtimeConfig.shared.ts +++ b/clients/client-sms/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { SMSClientConfig } from "./SMSClient"; /** * @internal */ -export const getRuntimeConfig = (config: SMSClientConfig) => ({ +export const getRuntimeConfig = (config: SMSClientConfig = {}) => ({ apiVersion: "2016-10-24", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-sms/runtimeConfig.ts b/clients/client-sms/runtimeConfig.ts index d6cc5768b246e..20c2942898432 100644 --- a/clients/client-sms/runtimeConfig.ts +++ b/clients/client-sms/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: SMSClientConfig) => { +export const getRuntimeConfig = (config: SMSClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-snowball/runtimeConfig.browser.ts b/clients/client-snowball/runtimeConfig.browser.ts index 72a0017a4b15b..6f5d0f6e51816 100644 --- a/clients/client-snowball/runtimeConfig.browser.ts +++ b/clients/client-snowball/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: SnowballClientConfig) => { +export const getRuntimeConfig = (config: SnowballClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-snowball/runtimeConfig.native.ts b/clients/client-snowball/runtimeConfig.native.ts index a4e443880ff81..6f0b42b0e319a 100644 --- a/clients/client-snowball/runtimeConfig.native.ts +++ b/clients/client-snowball/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: SnowballClientConfig) => { +export const getRuntimeConfig = (config: SnowballClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-snowball/runtimeConfig.shared.ts b/clients/client-snowball/runtimeConfig.shared.ts index 5bbb4b923b958..4dd0877c4aa6b 100644 --- a/clients/client-snowball/runtimeConfig.shared.ts +++ b/clients/client-snowball/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { SnowballClientConfig } from "./SnowballClient"; /** * @internal */ -export const getRuntimeConfig = (config: SnowballClientConfig) => ({ +export const getRuntimeConfig = (config: SnowballClientConfig = {}) => ({ apiVersion: "2016-06-30", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-snowball/runtimeConfig.ts b/clients/client-snowball/runtimeConfig.ts index 86725821f8300..c9574c2f3d7ae 100644 --- a/clients/client-snowball/runtimeConfig.ts +++ b/clients/client-snowball/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: SnowballClientConfig) => { +export const getRuntimeConfig = (config: SnowballClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-sns/runtimeConfig.browser.ts b/clients/client-sns/runtimeConfig.browser.ts index aa4532c24cedf..7b6ca113c37b3 100644 --- a/clients/client-sns/runtimeConfig.browser.ts +++ b/clients/client-sns/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: SNSClientConfig) => { +export const getRuntimeConfig = (config: SNSClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-sns/runtimeConfig.native.ts b/clients/client-sns/runtimeConfig.native.ts index 8c44aa86d2cfb..b481d998cbc48 100644 --- a/clients/client-sns/runtimeConfig.native.ts +++ b/clients/client-sns/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: SNSClientConfig) => { +export const getRuntimeConfig = (config: SNSClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-sns/runtimeConfig.shared.ts b/clients/client-sns/runtimeConfig.shared.ts index b5dad9ecbca34..bd5e08a331fca 100644 --- a/clients/client-sns/runtimeConfig.shared.ts +++ b/clients/client-sns/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { SNSClientConfig } from "./SNSClient"; /** * @internal */ -export const getRuntimeConfig = (config: SNSClientConfig) => ({ +export const getRuntimeConfig = (config: SNSClientConfig = {}) => ({ apiVersion: "2010-03-31", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-sns/runtimeConfig.ts b/clients/client-sns/runtimeConfig.ts index dde2b51d791f4..11874ea53b88d 100644 --- a/clients/client-sns/runtimeConfig.ts +++ b/clients/client-sns/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: SNSClientConfig) => { +export const getRuntimeConfig = (config: SNSClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-sqs/runtimeConfig.browser.ts b/clients/client-sqs/runtimeConfig.browser.ts index 67915dafa3604..b9121d28ea022 100644 --- a/clients/client-sqs/runtimeConfig.browser.ts +++ b/clients/client-sqs/runtimeConfig.browser.ts @@ -15,7 +15,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: SQSClientConfig) => { +export const getRuntimeConfig = (config: SQSClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-sqs/runtimeConfig.native.ts b/clients/client-sqs/runtimeConfig.native.ts index ae80b26a042d8..3066dd80d6c74 100644 --- a/clients/client-sqs/runtimeConfig.native.ts +++ b/clients/client-sqs/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: SQSClientConfig) => { +export const getRuntimeConfig = (config: SQSClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-sqs/runtimeConfig.shared.ts b/clients/client-sqs/runtimeConfig.shared.ts index 1331b6fa83d76..87c2be61cea78 100644 --- a/clients/client-sqs/runtimeConfig.shared.ts +++ b/clients/client-sqs/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { SQSClientConfig } from "./SQSClient"; /** * @internal */ -export const getRuntimeConfig = (config: SQSClientConfig) => ({ +export const getRuntimeConfig = (config: SQSClientConfig = {}) => ({ apiVersion: "2012-11-05", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-sqs/runtimeConfig.ts b/clients/client-sqs/runtimeConfig.ts index 0fcbb6ba5e093..2c9f69fe59470 100644 --- a/clients/client-sqs/runtimeConfig.ts +++ b/clients/client-sqs/runtimeConfig.ts @@ -18,7 +18,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: SQSClientConfig) => { +export const getRuntimeConfig = (config: SQSClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-ssm-contacts/runtimeConfig.browser.ts b/clients/client-ssm-contacts/runtimeConfig.browser.ts index 1b6e86a05a230..f9555df82b12b 100644 --- a/clients/client-ssm-contacts/runtimeConfig.browser.ts +++ b/clients/client-ssm-contacts/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: SSMContactsClientConfig) => { +export const getRuntimeConfig = (config: SSMContactsClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-ssm-contacts/runtimeConfig.native.ts b/clients/client-ssm-contacts/runtimeConfig.native.ts index 7280824773cb2..f7f89898a312c 100644 --- a/clients/client-ssm-contacts/runtimeConfig.native.ts +++ b/clients/client-ssm-contacts/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: SSMContactsClientConfig) => { +export const getRuntimeConfig = (config: SSMContactsClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-ssm-contacts/runtimeConfig.shared.ts b/clients/client-ssm-contacts/runtimeConfig.shared.ts index 660a260e8e1c5..ca310d31fd915 100644 --- a/clients/client-ssm-contacts/runtimeConfig.shared.ts +++ b/clients/client-ssm-contacts/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { SSMContactsClientConfig } from "./SSMContactsClient"; /** * @internal */ -export const getRuntimeConfig = (config: SSMContactsClientConfig) => ({ +export const getRuntimeConfig = (config: SSMContactsClientConfig = {}) => ({ apiVersion: "2021-05-03", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-ssm-contacts/runtimeConfig.ts b/clients/client-ssm-contacts/runtimeConfig.ts index 0c7f349743785..6d0fbe6f278ba 100644 --- a/clients/client-ssm-contacts/runtimeConfig.ts +++ b/clients/client-ssm-contacts/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: SSMContactsClientConfig) => { +export const getRuntimeConfig = (config: SSMContactsClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-ssm-incidents/runtimeConfig.browser.ts b/clients/client-ssm-incidents/runtimeConfig.browser.ts index 9a4ec3b4209c9..f18a90bac0b29 100644 --- a/clients/client-ssm-incidents/runtimeConfig.browser.ts +++ b/clients/client-ssm-incidents/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: SSMIncidentsClientConfig) => { +export const getRuntimeConfig = (config: SSMIncidentsClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-ssm-incidents/runtimeConfig.native.ts b/clients/client-ssm-incidents/runtimeConfig.native.ts index 7072b47f9468e..29449087527e0 100644 --- a/clients/client-ssm-incidents/runtimeConfig.native.ts +++ b/clients/client-ssm-incidents/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: SSMIncidentsClientConfig) => { +export const getRuntimeConfig = (config: SSMIncidentsClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-ssm-incidents/runtimeConfig.shared.ts b/clients/client-ssm-incidents/runtimeConfig.shared.ts index 2d52470917277..331ee172f1947 100644 --- a/clients/client-ssm-incidents/runtimeConfig.shared.ts +++ b/clients/client-ssm-incidents/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { SSMIncidentsClientConfig } from "./SSMIncidentsClient"; /** * @internal */ -export const getRuntimeConfig = (config: SSMIncidentsClientConfig) => ({ +export const getRuntimeConfig = (config: SSMIncidentsClientConfig = {}) => ({ apiVersion: "2018-05-10", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-ssm-incidents/runtimeConfig.ts b/clients/client-ssm-incidents/runtimeConfig.ts index b73ec370a90ef..12e069568efec 100644 --- a/clients/client-ssm-incidents/runtimeConfig.ts +++ b/clients/client-ssm-incidents/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: SSMIncidentsClientConfig) => { +export const getRuntimeConfig = (config: SSMIncidentsClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-ssm/runtimeConfig.browser.ts b/clients/client-ssm/runtimeConfig.browser.ts index 221b75b7001b9..a02af99ddcd5f 100644 --- a/clients/client-ssm/runtimeConfig.browser.ts +++ b/clients/client-ssm/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: SSMClientConfig) => { +export const getRuntimeConfig = (config: SSMClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-ssm/runtimeConfig.native.ts b/clients/client-ssm/runtimeConfig.native.ts index 0340061eb5e08..c61c193c1978f 100644 --- a/clients/client-ssm/runtimeConfig.native.ts +++ b/clients/client-ssm/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: SSMClientConfig) => { +export const getRuntimeConfig = (config: SSMClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-ssm/runtimeConfig.shared.ts b/clients/client-ssm/runtimeConfig.shared.ts index 65558141959b4..0a050c166ad18 100644 --- a/clients/client-ssm/runtimeConfig.shared.ts +++ b/clients/client-ssm/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { SSMClientConfig } from "./SSMClient"; /** * @internal */ -export const getRuntimeConfig = (config: SSMClientConfig) => ({ +export const getRuntimeConfig = (config: SSMClientConfig = {}) => ({ apiVersion: "2014-11-06", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-ssm/runtimeConfig.ts b/clients/client-ssm/runtimeConfig.ts index 388f8276744cd..aef635f08476b 100644 --- a/clients/client-ssm/runtimeConfig.ts +++ b/clients/client-ssm/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: SSMClientConfig) => { +export const getRuntimeConfig = (config: SSMClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-sso-admin/runtimeConfig.browser.ts b/clients/client-sso-admin/runtimeConfig.browser.ts index bb52d83c1910e..94bb48bb91a88 100644 --- a/clients/client-sso-admin/runtimeConfig.browser.ts +++ b/clients/client-sso-admin/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: SSOAdminClientConfig) => { +export const getRuntimeConfig = (config: SSOAdminClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-sso-admin/runtimeConfig.native.ts b/clients/client-sso-admin/runtimeConfig.native.ts index b4c213747458a..d1e64ac29c3eb 100644 --- a/clients/client-sso-admin/runtimeConfig.native.ts +++ b/clients/client-sso-admin/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: SSOAdminClientConfig) => { +export const getRuntimeConfig = (config: SSOAdminClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-sso-admin/runtimeConfig.shared.ts b/clients/client-sso-admin/runtimeConfig.shared.ts index 5e9686124986e..47eeed1d2584c 100644 --- a/clients/client-sso-admin/runtimeConfig.shared.ts +++ b/clients/client-sso-admin/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { SSOAdminClientConfig } from "./SSOAdminClient"; /** * @internal */ -export const getRuntimeConfig = (config: SSOAdminClientConfig) => ({ +export const getRuntimeConfig = (config: SSOAdminClientConfig = {}) => ({ apiVersion: "2020-07-20", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-sso-admin/runtimeConfig.ts b/clients/client-sso-admin/runtimeConfig.ts index 1f7c734f1674f..478279f919cc2 100644 --- a/clients/client-sso-admin/runtimeConfig.ts +++ b/clients/client-sso-admin/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: SSOAdminClientConfig) => { +export const getRuntimeConfig = (config: SSOAdminClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-sso-oidc/runtimeConfig.browser.ts b/clients/client-sso-oidc/runtimeConfig.browser.ts index 7be6353d8f604..a48806498aad4 100644 --- a/clients/client-sso-oidc/runtimeConfig.browser.ts +++ b/clients/client-sso-oidc/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: SSOOIDCClientConfig) => { +export const getRuntimeConfig = (config: SSOOIDCClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-sso-oidc/runtimeConfig.native.ts b/clients/client-sso-oidc/runtimeConfig.native.ts index 7a5350f947a0d..28da453b87aa5 100644 --- a/clients/client-sso-oidc/runtimeConfig.native.ts +++ b/clients/client-sso-oidc/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: SSOOIDCClientConfig) => { +export const getRuntimeConfig = (config: SSOOIDCClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-sso-oidc/runtimeConfig.shared.ts b/clients/client-sso-oidc/runtimeConfig.shared.ts index b3829f8c8a5b2..2e0df1cb27084 100644 --- a/clients/client-sso-oidc/runtimeConfig.shared.ts +++ b/clients/client-sso-oidc/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { SSOOIDCClientConfig } from "./SSOOIDCClient"; /** * @internal */ -export const getRuntimeConfig = (config: SSOOIDCClientConfig) => ({ +export const getRuntimeConfig = (config: SSOOIDCClientConfig = {}) => ({ apiVersion: "2019-06-10", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-sso-oidc/runtimeConfig.ts b/clients/client-sso-oidc/runtimeConfig.ts index 49ae653c9b532..742ada48d6a71 100644 --- a/clients/client-sso-oidc/runtimeConfig.ts +++ b/clients/client-sso-oidc/runtimeConfig.ts @@ -15,7 +15,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: SSOOIDCClientConfig) => { +export const getRuntimeConfig = (config: SSOOIDCClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-sso/runtimeConfig.browser.ts b/clients/client-sso/runtimeConfig.browser.ts index e8612cdea7f44..841b85874b08f 100644 --- a/clients/client-sso/runtimeConfig.browser.ts +++ b/clients/client-sso/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: SSOClientConfig) => { +export const getRuntimeConfig = (config: SSOClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-sso/runtimeConfig.native.ts b/clients/client-sso/runtimeConfig.native.ts index 856d06c34ed1a..db91377484c8f 100644 --- a/clients/client-sso/runtimeConfig.native.ts +++ b/clients/client-sso/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: SSOClientConfig) => { +export const getRuntimeConfig = (config: SSOClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-sso/runtimeConfig.shared.ts b/clients/client-sso/runtimeConfig.shared.ts index b4d8b853c2feb..3c6589bb6cf5e 100644 --- a/clients/client-sso/runtimeConfig.shared.ts +++ b/clients/client-sso/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { SSOClientConfig } from "./SSOClient"; /** * @internal */ -export const getRuntimeConfig = (config: SSOClientConfig) => ({ +export const getRuntimeConfig = (config: SSOClientConfig = {}) => ({ apiVersion: "2019-06-10", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-sso/runtimeConfig.ts b/clients/client-sso/runtimeConfig.ts index de0259d129a55..0bc9091961009 100644 --- a/clients/client-sso/runtimeConfig.ts +++ b/clients/client-sso/runtimeConfig.ts @@ -15,7 +15,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: SSOClientConfig) => { +export const getRuntimeConfig = (config: SSOClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-storage-gateway/runtimeConfig.browser.ts b/clients/client-storage-gateway/runtimeConfig.browser.ts index 532f24e01383b..7cf8b1362c433 100644 --- a/clients/client-storage-gateway/runtimeConfig.browser.ts +++ b/clients/client-storage-gateway/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: StorageGatewayClientConfig) => { +export const getRuntimeConfig = (config: StorageGatewayClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-storage-gateway/runtimeConfig.native.ts b/clients/client-storage-gateway/runtimeConfig.native.ts index fff0573e27adb..11634634ba989 100644 --- a/clients/client-storage-gateway/runtimeConfig.native.ts +++ b/clients/client-storage-gateway/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: StorageGatewayClientConfig) => { +export const getRuntimeConfig = (config: StorageGatewayClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-storage-gateway/runtimeConfig.shared.ts b/clients/client-storage-gateway/runtimeConfig.shared.ts index 6b6f838e8970a..66c4882f67a53 100644 --- a/clients/client-storage-gateway/runtimeConfig.shared.ts +++ b/clients/client-storage-gateway/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { StorageGatewayClientConfig } from "./StorageGatewayClient"; /** * @internal */ -export const getRuntimeConfig = (config: StorageGatewayClientConfig) => ({ +export const getRuntimeConfig = (config: StorageGatewayClientConfig = {}) => ({ apiVersion: "2013-06-30", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-storage-gateway/runtimeConfig.ts b/clients/client-storage-gateway/runtimeConfig.ts index 196084b2e3840..ff1ab248e1237 100644 --- a/clients/client-storage-gateway/runtimeConfig.ts +++ b/clients/client-storage-gateway/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: StorageGatewayClientConfig) => { +export const getRuntimeConfig = (config: StorageGatewayClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-sts/runtimeConfig.browser.ts b/clients/client-sts/runtimeConfig.browser.ts index 40404e0e3c6d4..6d3a4e0918396 100644 --- a/clients/client-sts/runtimeConfig.browser.ts +++ b/clients/client-sts/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: STSClientConfig) => { +export const getRuntimeConfig = (config: STSClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-sts/runtimeConfig.native.ts b/clients/client-sts/runtimeConfig.native.ts index 7bc8be08f35cb..283366e96fb00 100644 --- a/clients/client-sts/runtimeConfig.native.ts +++ b/clients/client-sts/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: STSClientConfig) => { +export const getRuntimeConfig = (config: STSClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-sts/runtimeConfig.shared.ts b/clients/client-sts/runtimeConfig.shared.ts index 14c6ba0e6bf49..0c3f2de534ade 100644 --- a/clients/client-sts/runtimeConfig.shared.ts +++ b/clients/client-sts/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { STSClientConfig } from "./STSClient"; /** * @internal */ -export const getRuntimeConfig = (config: STSClientConfig) => ({ +export const getRuntimeConfig = (config: STSClientConfig = {}) => ({ apiVersion: "2011-06-15", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-sts/runtimeConfig.ts b/clients/client-sts/runtimeConfig.ts index 65a5b71e5a109..a49ce81e6c5db 100644 --- a/clients/client-sts/runtimeConfig.ts +++ b/clients/client-sts/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: STSClientConfig) => { +export const getRuntimeConfig = (config: STSClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-support/runtimeConfig.browser.ts b/clients/client-support/runtimeConfig.browser.ts index 61c69502c46fc..28f779e0a202b 100644 --- a/clients/client-support/runtimeConfig.browser.ts +++ b/clients/client-support/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: SupportClientConfig) => { +export const getRuntimeConfig = (config: SupportClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-support/runtimeConfig.native.ts b/clients/client-support/runtimeConfig.native.ts index a36ac5bb1368b..9bd9dc21becdc 100644 --- a/clients/client-support/runtimeConfig.native.ts +++ b/clients/client-support/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: SupportClientConfig) => { +export const getRuntimeConfig = (config: SupportClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-support/runtimeConfig.shared.ts b/clients/client-support/runtimeConfig.shared.ts index faf5a2f3ec8f9..793c31f8cbc09 100644 --- a/clients/client-support/runtimeConfig.shared.ts +++ b/clients/client-support/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { SupportClientConfig } from "./SupportClient"; /** * @internal */ -export const getRuntimeConfig = (config: SupportClientConfig) => ({ +export const getRuntimeConfig = (config: SupportClientConfig = {}) => ({ apiVersion: "2013-04-15", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-support/runtimeConfig.ts b/clients/client-support/runtimeConfig.ts index d0202fc742b25..14fdcf6d8da16 100644 --- a/clients/client-support/runtimeConfig.ts +++ b/clients/client-support/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: SupportClientConfig) => { +export const getRuntimeConfig = (config: SupportClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-swf/runtimeConfig.browser.ts b/clients/client-swf/runtimeConfig.browser.ts index 46b9d079d6b5b..0603078b25fbd 100644 --- a/clients/client-swf/runtimeConfig.browser.ts +++ b/clients/client-swf/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: SWFClientConfig) => { +export const getRuntimeConfig = (config: SWFClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-swf/runtimeConfig.native.ts b/clients/client-swf/runtimeConfig.native.ts index 84b9fe66a7187..08f255017fe1c 100644 --- a/clients/client-swf/runtimeConfig.native.ts +++ b/clients/client-swf/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: SWFClientConfig) => { +export const getRuntimeConfig = (config: SWFClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-swf/runtimeConfig.shared.ts b/clients/client-swf/runtimeConfig.shared.ts index 77dcf6b234d2c..9429d57c6059b 100644 --- a/clients/client-swf/runtimeConfig.shared.ts +++ b/clients/client-swf/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { SWFClientConfig } from "./SWFClient"; /** * @internal */ -export const getRuntimeConfig = (config: SWFClientConfig) => ({ +export const getRuntimeConfig = (config: SWFClientConfig = {}) => ({ apiVersion: "2012-01-25", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-swf/runtimeConfig.ts b/clients/client-swf/runtimeConfig.ts index 5e5ade5afecf9..cfb23abf4b16a 100644 --- a/clients/client-swf/runtimeConfig.ts +++ b/clients/client-swf/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: SWFClientConfig) => { +export const getRuntimeConfig = (config: SWFClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-synthetics/runtimeConfig.browser.ts b/clients/client-synthetics/runtimeConfig.browser.ts index 5698baff4ace7..a2b179961f6ed 100644 --- a/clients/client-synthetics/runtimeConfig.browser.ts +++ b/clients/client-synthetics/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: SyntheticsClientConfig) => { +export const getRuntimeConfig = (config: SyntheticsClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-synthetics/runtimeConfig.native.ts b/clients/client-synthetics/runtimeConfig.native.ts index 0e673e4578548..5c2a9146a9699 100644 --- a/clients/client-synthetics/runtimeConfig.native.ts +++ b/clients/client-synthetics/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: SyntheticsClientConfig) => { +export const getRuntimeConfig = (config: SyntheticsClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-synthetics/runtimeConfig.shared.ts b/clients/client-synthetics/runtimeConfig.shared.ts index 785a0b1571f0b..e6857d498a17f 100644 --- a/clients/client-synthetics/runtimeConfig.shared.ts +++ b/clients/client-synthetics/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { SyntheticsClientConfig } from "./SyntheticsClient"; /** * @internal */ -export const getRuntimeConfig = (config: SyntheticsClientConfig) => ({ +export const getRuntimeConfig = (config: SyntheticsClientConfig = {}) => ({ apiVersion: "2017-10-11", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-synthetics/runtimeConfig.ts b/clients/client-synthetics/runtimeConfig.ts index 877932fb5593e..8df46dd84d101 100644 --- a/clients/client-synthetics/runtimeConfig.ts +++ b/clients/client-synthetics/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: SyntheticsClientConfig) => { +export const getRuntimeConfig = (config: SyntheticsClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-textract/runtimeConfig.browser.ts b/clients/client-textract/runtimeConfig.browser.ts index 3435ef50150ce..cb3fec793f011 100644 --- a/clients/client-textract/runtimeConfig.browser.ts +++ b/clients/client-textract/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: TextractClientConfig) => { +export const getRuntimeConfig = (config: TextractClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-textract/runtimeConfig.native.ts b/clients/client-textract/runtimeConfig.native.ts index 4426daf1e7d00..059fa1638aba2 100644 --- a/clients/client-textract/runtimeConfig.native.ts +++ b/clients/client-textract/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: TextractClientConfig) => { +export const getRuntimeConfig = (config: TextractClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-textract/runtimeConfig.shared.ts b/clients/client-textract/runtimeConfig.shared.ts index 4e61159d2c0e1..895d2d00a6fa2 100644 --- a/clients/client-textract/runtimeConfig.shared.ts +++ b/clients/client-textract/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { TextractClientConfig } from "./TextractClient"; /** * @internal */ -export const getRuntimeConfig = (config: TextractClientConfig) => ({ +export const getRuntimeConfig = (config: TextractClientConfig = {}) => ({ apiVersion: "2018-06-27", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-textract/runtimeConfig.ts b/clients/client-textract/runtimeConfig.ts index a5a3fb162e4fa..5dd599913b178 100644 --- a/clients/client-textract/runtimeConfig.ts +++ b/clients/client-textract/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: TextractClientConfig) => { +export const getRuntimeConfig = (config: TextractClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-timestream-query/runtimeConfig.browser.ts b/clients/client-timestream-query/runtimeConfig.browser.ts index 8f96f81b3c33a..bc826060813dd 100644 --- a/clients/client-timestream-query/runtimeConfig.browser.ts +++ b/clients/client-timestream-query/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: TimestreamQueryClientConfig) => { +export const getRuntimeConfig = (config: TimestreamQueryClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-timestream-query/runtimeConfig.native.ts b/clients/client-timestream-query/runtimeConfig.native.ts index e1c1d8a02fab0..03a686c5d8be5 100644 --- a/clients/client-timestream-query/runtimeConfig.native.ts +++ b/clients/client-timestream-query/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: TimestreamQueryClientConfig) => { +export const getRuntimeConfig = (config: TimestreamQueryClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-timestream-query/runtimeConfig.shared.ts b/clients/client-timestream-query/runtimeConfig.shared.ts index e798be9fccdbf..5147f79afc247 100644 --- a/clients/client-timestream-query/runtimeConfig.shared.ts +++ b/clients/client-timestream-query/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { TimestreamQueryClientConfig } from "./TimestreamQueryClient"; /** * @internal */ -export const getRuntimeConfig = (config: TimestreamQueryClientConfig) => ({ +export const getRuntimeConfig = (config: TimestreamQueryClientConfig = {}) => ({ apiVersion: "2018-11-01", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-timestream-query/runtimeConfig.ts b/clients/client-timestream-query/runtimeConfig.ts index 3da5c5d99498d..50c2f0328ab56 100644 --- a/clients/client-timestream-query/runtimeConfig.ts +++ b/clients/client-timestream-query/runtimeConfig.ts @@ -18,7 +18,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: TimestreamQueryClientConfig) => { +export const getRuntimeConfig = (config: TimestreamQueryClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-timestream-write/runtimeConfig.browser.ts b/clients/client-timestream-write/runtimeConfig.browser.ts index 04010b3aedfbc..d3c5668dcd6a1 100644 --- a/clients/client-timestream-write/runtimeConfig.browser.ts +++ b/clients/client-timestream-write/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: TimestreamWriteClientConfig) => { +export const getRuntimeConfig = (config: TimestreamWriteClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-timestream-write/runtimeConfig.native.ts b/clients/client-timestream-write/runtimeConfig.native.ts index 74b3aad59f84a..34048b120d8aa 100644 --- a/clients/client-timestream-write/runtimeConfig.native.ts +++ b/clients/client-timestream-write/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: TimestreamWriteClientConfig) => { +export const getRuntimeConfig = (config: TimestreamWriteClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-timestream-write/runtimeConfig.shared.ts b/clients/client-timestream-write/runtimeConfig.shared.ts index 5fc1f5a6964ab..2491428ece26f 100644 --- a/clients/client-timestream-write/runtimeConfig.shared.ts +++ b/clients/client-timestream-write/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { TimestreamWriteClientConfig } from "./TimestreamWriteClient"; /** * @internal */ -export const getRuntimeConfig = (config: TimestreamWriteClientConfig) => ({ +export const getRuntimeConfig = (config: TimestreamWriteClientConfig = {}) => ({ apiVersion: "2018-11-01", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-timestream-write/runtimeConfig.ts b/clients/client-timestream-write/runtimeConfig.ts index 79b333bb3f9a8..f6492ebe45169 100644 --- a/clients/client-timestream-write/runtimeConfig.ts +++ b/clients/client-timestream-write/runtimeConfig.ts @@ -18,7 +18,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: TimestreamWriteClientConfig) => { +export const getRuntimeConfig = (config: TimestreamWriteClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-transcribe-streaming/runtimeConfig.browser.ts b/clients/client-transcribe-streaming/runtimeConfig.browser.ts index eba17d97bb2cb..b7cf7c8d6b817 100644 --- a/clients/client-transcribe-streaming/runtimeConfig.browser.ts +++ b/clients/client-transcribe-streaming/runtimeConfig.browser.ts @@ -16,7 +16,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: TranscribeStreamingClientConfig) => { +export const getRuntimeConfig = (config: TranscribeStreamingClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-transcribe-streaming/runtimeConfig.native.ts b/clients/client-transcribe-streaming/runtimeConfig.native.ts index e736bbfbd1268..9279f1a07e266 100644 --- a/clients/client-transcribe-streaming/runtimeConfig.native.ts +++ b/clients/client-transcribe-streaming/runtimeConfig.native.ts @@ -6,7 +6,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: TranscribeStreamingClientConfig) => { +export const getRuntimeConfig = (config: TranscribeStreamingClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-transcribe-streaming/runtimeConfig.shared.ts b/clients/client-transcribe-streaming/runtimeConfig.shared.ts index 7f210dd95861a..a5d539deec44d 100644 --- a/clients/client-transcribe-streaming/runtimeConfig.shared.ts +++ b/clients/client-transcribe-streaming/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { TranscribeStreamingClientConfig } from "./TranscribeStreamingClient"; /** * @internal */ -export const getRuntimeConfig = (config: TranscribeStreamingClientConfig) => ({ +export const getRuntimeConfig = (config: TranscribeStreamingClientConfig = {}) => ({ apiVersion: "2017-10-26", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-transcribe-streaming/runtimeConfig.ts b/clients/client-transcribe-streaming/runtimeConfig.ts index 58279df7806ec..fa488385000f7 100644 --- a/clients/client-transcribe-streaming/runtimeConfig.ts +++ b/clients/client-transcribe-streaming/runtimeConfig.ts @@ -19,7 +19,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: TranscribeStreamingClientConfig) => { +export const getRuntimeConfig = (config: TranscribeStreamingClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-transcribe/runtimeConfig.browser.ts b/clients/client-transcribe/runtimeConfig.browser.ts index 285c18f0f7793..ced95f9178f51 100644 --- a/clients/client-transcribe/runtimeConfig.browser.ts +++ b/clients/client-transcribe/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: TranscribeClientConfig) => { +export const getRuntimeConfig = (config: TranscribeClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-transcribe/runtimeConfig.native.ts b/clients/client-transcribe/runtimeConfig.native.ts index db617994c3053..8ec6e8a285f83 100644 --- a/clients/client-transcribe/runtimeConfig.native.ts +++ b/clients/client-transcribe/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: TranscribeClientConfig) => { +export const getRuntimeConfig = (config: TranscribeClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-transcribe/runtimeConfig.shared.ts b/clients/client-transcribe/runtimeConfig.shared.ts index 14f75f01a029d..6dbcea1c7c588 100644 --- a/clients/client-transcribe/runtimeConfig.shared.ts +++ b/clients/client-transcribe/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { TranscribeClientConfig } from "./TranscribeClient"; /** * @internal */ -export const getRuntimeConfig = (config: TranscribeClientConfig) => ({ +export const getRuntimeConfig = (config: TranscribeClientConfig = {}) => ({ apiVersion: "2017-10-26", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-transcribe/runtimeConfig.ts b/clients/client-transcribe/runtimeConfig.ts index 6d00cf21f47f7..bdd7c59ae80b0 100644 --- a/clients/client-transcribe/runtimeConfig.ts +++ b/clients/client-transcribe/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: TranscribeClientConfig) => { +export const getRuntimeConfig = (config: TranscribeClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-transfer/runtimeConfig.browser.ts b/clients/client-transfer/runtimeConfig.browser.ts index 9aab0dd1646a5..663ebbe78f1a8 100644 --- a/clients/client-transfer/runtimeConfig.browser.ts +++ b/clients/client-transfer/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: TransferClientConfig) => { +export const getRuntimeConfig = (config: TransferClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-transfer/runtimeConfig.native.ts b/clients/client-transfer/runtimeConfig.native.ts index febeac64d9268..19efb6ba147ac 100644 --- a/clients/client-transfer/runtimeConfig.native.ts +++ b/clients/client-transfer/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: TransferClientConfig) => { +export const getRuntimeConfig = (config: TransferClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-transfer/runtimeConfig.shared.ts b/clients/client-transfer/runtimeConfig.shared.ts index 81f21593a83ba..9af8475152520 100644 --- a/clients/client-transfer/runtimeConfig.shared.ts +++ b/clients/client-transfer/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { TransferClientConfig } from "./TransferClient"; /** * @internal */ -export const getRuntimeConfig = (config: TransferClientConfig) => ({ +export const getRuntimeConfig = (config: TransferClientConfig = {}) => ({ apiVersion: "2018-11-05", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-transfer/runtimeConfig.ts b/clients/client-transfer/runtimeConfig.ts index 97ad03ff5b8bd..7cdbdd2ccac2b 100644 --- a/clients/client-transfer/runtimeConfig.ts +++ b/clients/client-transfer/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: TransferClientConfig) => { +export const getRuntimeConfig = (config: TransferClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-translate/runtimeConfig.browser.ts b/clients/client-translate/runtimeConfig.browser.ts index 9a19b9291645a..ff8667c668419 100644 --- a/clients/client-translate/runtimeConfig.browser.ts +++ b/clients/client-translate/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: TranslateClientConfig) => { +export const getRuntimeConfig = (config: TranslateClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-translate/runtimeConfig.native.ts b/clients/client-translate/runtimeConfig.native.ts index ed240daba5e10..dec133eca9db3 100644 --- a/clients/client-translate/runtimeConfig.native.ts +++ b/clients/client-translate/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: TranslateClientConfig) => { +export const getRuntimeConfig = (config: TranslateClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-translate/runtimeConfig.shared.ts b/clients/client-translate/runtimeConfig.shared.ts index 84193d8988d5d..4f7cb4cec032f 100644 --- a/clients/client-translate/runtimeConfig.shared.ts +++ b/clients/client-translate/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { TranslateClientConfig } from "./TranslateClient"; /** * @internal */ -export const getRuntimeConfig = (config: TranslateClientConfig) => ({ +export const getRuntimeConfig = (config: TranslateClientConfig = {}) => ({ apiVersion: "2017-07-01", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-translate/runtimeConfig.ts b/clients/client-translate/runtimeConfig.ts index 3c12140346403..040864b8933f5 100644 --- a/clients/client-translate/runtimeConfig.ts +++ b/clients/client-translate/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: TranslateClientConfig) => { +export const getRuntimeConfig = (config: TranslateClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-waf-regional/runtimeConfig.browser.ts b/clients/client-waf-regional/runtimeConfig.browser.ts index 9450c037fa6a6..4981a2ee8626a 100644 --- a/clients/client-waf-regional/runtimeConfig.browser.ts +++ b/clients/client-waf-regional/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: WAFRegionalClientConfig) => { +export const getRuntimeConfig = (config: WAFRegionalClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-waf-regional/runtimeConfig.native.ts b/clients/client-waf-regional/runtimeConfig.native.ts index ba2d3dd880cd0..a4fe7c707f438 100644 --- a/clients/client-waf-regional/runtimeConfig.native.ts +++ b/clients/client-waf-regional/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: WAFRegionalClientConfig) => { +export const getRuntimeConfig = (config: WAFRegionalClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-waf-regional/runtimeConfig.shared.ts b/clients/client-waf-regional/runtimeConfig.shared.ts index 73afd7903ca34..fa4e559299453 100644 --- a/clients/client-waf-regional/runtimeConfig.shared.ts +++ b/clients/client-waf-regional/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { WAFRegionalClientConfig } from "./WAFRegionalClient"; /** * @internal */ -export const getRuntimeConfig = (config: WAFRegionalClientConfig) => ({ +export const getRuntimeConfig = (config: WAFRegionalClientConfig = {}) => ({ apiVersion: "2016-11-28", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-waf-regional/runtimeConfig.ts b/clients/client-waf-regional/runtimeConfig.ts index 1c97080734990..db8e6e40d6515 100644 --- a/clients/client-waf-regional/runtimeConfig.ts +++ b/clients/client-waf-regional/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: WAFRegionalClientConfig) => { +export const getRuntimeConfig = (config: WAFRegionalClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-waf/runtimeConfig.browser.ts b/clients/client-waf/runtimeConfig.browser.ts index e35b95a345261..4a2af7e03cf84 100644 --- a/clients/client-waf/runtimeConfig.browser.ts +++ b/clients/client-waf/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: WAFClientConfig) => { +export const getRuntimeConfig = (config: WAFClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-waf/runtimeConfig.native.ts b/clients/client-waf/runtimeConfig.native.ts index 28bc340fc9f72..9abc2bef05a48 100644 --- a/clients/client-waf/runtimeConfig.native.ts +++ b/clients/client-waf/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: WAFClientConfig) => { +export const getRuntimeConfig = (config: WAFClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-waf/runtimeConfig.shared.ts b/clients/client-waf/runtimeConfig.shared.ts index 4b68edfd526cb..2a0fc2b7295e0 100644 --- a/clients/client-waf/runtimeConfig.shared.ts +++ b/clients/client-waf/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { WAFClientConfig } from "./WAFClient"; /** * @internal */ -export const getRuntimeConfig = (config: WAFClientConfig) => ({ +export const getRuntimeConfig = (config: WAFClientConfig = {}) => ({ apiVersion: "2015-08-24", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-waf/runtimeConfig.ts b/clients/client-waf/runtimeConfig.ts index de6225fe82028..b822342216ad0 100644 --- a/clients/client-waf/runtimeConfig.ts +++ b/clients/client-waf/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: WAFClientConfig) => { +export const getRuntimeConfig = (config: WAFClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-wafv2/runtimeConfig.browser.ts b/clients/client-wafv2/runtimeConfig.browser.ts index 2783915f551f8..90d3904dfdc19 100644 --- a/clients/client-wafv2/runtimeConfig.browser.ts +++ b/clients/client-wafv2/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: WAFV2ClientConfig) => { +export const getRuntimeConfig = (config: WAFV2ClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-wafv2/runtimeConfig.native.ts b/clients/client-wafv2/runtimeConfig.native.ts index 8a353e24fa5e1..6511c98c624c1 100644 --- a/clients/client-wafv2/runtimeConfig.native.ts +++ b/clients/client-wafv2/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: WAFV2ClientConfig) => { +export const getRuntimeConfig = (config: WAFV2ClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-wafv2/runtimeConfig.shared.ts b/clients/client-wafv2/runtimeConfig.shared.ts index bf895f24b3879..9b98288be1daa 100644 --- a/clients/client-wafv2/runtimeConfig.shared.ts +++ b/clients/client-wafv2/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { WAFV2ClientConfig } from "./WAFV2Client"; /** * @internal */ -export const getRuntimeConfig = (config: WAFV2ClientConfig) => ({ +export const getRuntimeConfig = (config: WAFV2ClientConfig = {}) => ({ apiVersion: "2019-07-29", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-wafv2/runtimeConfig.ts b/clients/client-wafv2/runtimeConfig.ts index 6cf9ce9ba8680..1af6d4968d38d 100644 --- a/clients/client-wafv2/runtimeConfig.ts +++ b/clients/client-wafv2/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: WAFV2ClientConfig) => { +export const getRuntimeConfig = (config: WAFV2ClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-wellarchitected/runtimeConfig.browser.ts b/clients/client-wellarchitected/runtimeConfig.browser.ts index 3f530a2dfda60..acb8270e825ea 100644 --- a/clients/client-wellarchitected/runtimeConfig.browser.ts +++ b/clients/client-wellarchitected/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: WellArchitectedClientConfig) => { +export const getRuntimeConfig = (config: WellArchitectedClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-wellarchitected/runtimeConfig.native.ts b/clients/client-wellarchitected/runtimeConfig.native.ts index 98f5444be9012..3b5ec395d79cc 100644 --- a/clients/client-wellarchitected/runtimeConfig.native.ts +++ b/clients/client-wellarchitected/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: WellArchitectedClientConfig) => { +export const getRuntimeConfig = (config: WellArchitectedClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-wellarchitected/runtimeConfig.shared.ts b/clients/client-wellarchitected/runtimeConfig.shared.ts index e76acfdeeb886..bc2dc0c8a92ad 100644 --- a/clients/client-wellarchitected/runtimeConfig.shared.ts +++ b/clients/client-wellarchitected/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { WellArchitectedClientConfig } from "./WellArchitectedClient"; /** * @internal */ -export const getRuntimeConfig = (config: WellArchitectedClientConfig) => ({ +export const getRuntimeConfig = (config: WellArchitectedClientConfig = {}) => ({ apiVersion: "2020-03-31", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-wellarchitected/runtimeConfig.ts b/clients/client-wellarchitected/runtimeConfig.ts index ed72722951f6b..bf447978c2ab6 100644 --- a/clients/client-wellarchitected/runtimeConfig.ts +++ b/clients/client-wellarchitected/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: WellArchitectedClientConfig) => { +export const getRuntimeConfig = (config: WellArchitectedClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-workdocs/runtimeConfig.browser.ts b/clients/client-workdocs/runtimeConfig.browser.ts index bdadfda0a0829..d89b8781ca260 100644 --- a/clients/client-workdocs/runtimeConfig.browser.ts +++ b/clients/client-workdocs/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: WorkDocsClientConfig) => { +export const getRuntimeConfig = (config: WorkDocsClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-workdocs/runtimeConfig.native.ts b/clients/client-workdocs/runtimeConfig.native.ts index 165de5494341f..e644a9843d344 100644 --- a/clients/client-workdocs/runtimeConfig.native.ts +++ b/clients/client-workdocs/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: WorkDocsClientConfig) => { +export const getRuntimeConfig = (config: WorkDocsClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-workdocs/runtimeConfig.shared.ts b/clients/client-workdocs/runtimeConfig.shared.ts index 0e5273436ed91..d756e25a40c39 100644 --- a/clients/client-workdocs/runtimeConfig.shared.ts +++ b/clients/client-workdocs/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { WorkDocsClientConfig } from "./WorkDocsClient"; /** * @internal */ -export const getRuntimeConfig = (config: WorkDocsClientConfig) => ({ +export const getRuntimeConfig = (config: WorkDocsClientConfig = {}) => ({ apiVersion: "2016-05-01", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-workdocs/runtimeConfig.ts b/clients/client-workdocs/runtimeConfig.ts index 926fe1f3a45f0..e96b854c62eb7 100644 --- a/clients/client-workdocs/runtimeConfig.ts +++ b/clients/client-workdocs/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: WorkDocsClientConfig) => { +export const getRuntimeConfig = (config: WorkDocsClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-worklink/runtimeConfig.browser.ts b/clients/client-worklink/runtimeConfig.browser.ts index b48b68d83b939..118e8c44b04b2 100644 --- a/clients/client-worklink/runtimeConfig.browser.ts +++ b/clients/client-worklink/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: WorkLinkClientConfig) => { +export const getRuntimeConfig = (config: WorkLinkClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-worklink/runtimeConfig.native.ts b/clients/client-worklink/runtimeConfig.native.ts index d0494982981e4..a9578fef6c15b 100644 --- a/clients/client-worklink/runtimeConfig.native.ts +++ b/clients/client-worklink/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: WorkLinkClientConfig) => { +export const getRuntimeConfig = (config: WorkLinkClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-worklink/runtimeConfig.shared.ts b/clients/client-worklink/runtimeConfig.shared.ts index ef47be7e3d065..8469ac43aa0f6 100644 --- a/clients/client-worklink/runtimeConfig.shared.ts +++ b/clients/client-worklink/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { WorkLinkClientConfig } from "./WorkLinkClient"; /** * @internal */ -export const getRuntimeConfig = (config: WorkLinkClientConfig) => ({ +export const getRuntimeConfig = (config: WorkLinkClientConfig = {}) => ({ apiVersion: "2018-09-25", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-worklink/runtimeConfig.ts b/clients/client-worklink/runtimeConfig.ts index 3542ed9d4c04e..b099324ae9d30 100644 --- a/clients/client-worklink/runtimeConfig.ts +++ b/clients/client-worklink/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: WorkLinkClientConfig) => { +export const getRuntimeConfig = (config: WorkLinkClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-workmail/runtimeConfig.browser.ts b/clients/client-workmail/runtimeConfig.browser.ts index 58d72407a58b2..ab60dc8657562 100644 --- a/clients/client-workmail/runtimeConfig.browser.ts +++ b/clients/client-workmail/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: WorkMailClientConfig) => { +export const getRuntimeConfig = (config: WorkMailClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-workmail/runtimeConfig.native.ts b/clients/client-workmail/runtimeConfig.native.ts index de230e2a57937..972ab0ef47e19 100644 --- a/clients/client-workmail/runtimeConfig.native.ts +++ b/clients/client-workmail/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: WorkMailClientConfig) => { +export const getRuntimeConfig = (config: WorkMailClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-workmail/runtimeConfig.shared.ts b/clients/client-workmail/runtimeConfig.shared.ts index 6225607d715fc..5858b23e7d167 100644 --- a/clients/client-workmail/runtimeConfig.shared.ts +++ b/clients/client-workmail/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { WorkMailClientConfig } from "./WorkMailClient"; /** * @internal */ -export const getRuntimeConfig = (config: WorkMailClientConfig) => ({ +export const getRuntimeConfig = (config: WorkMailClientConfig = {}) => ({ apiVersion: "2017-10-01", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-workmail/runtimeConfig.ts b/clients/client-workmail/runtimeConfig.ts index 4e15648aaabc5..c7ee6353c3248 100644 --- a/clients/client-workmail/runtimeConfig.ts +++ b/clients/client-workmail/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: WorkMailClientConfig) => { +export const getRuntimeConfig = (config: WorkMailClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-workmailmessageflow/runtimeConfig.browser.ts b/clients/client-workmailmessageflow/runtimeConfig.browser.ts index 41ef2f768fe53..152ba0ff52799 100644 --- a/clients/client-workmailmessageflow/runtimeConfig.browser.ts +++ b/clients/client-workmailmessageflow/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: WorkMailMessageFlowClientConfig) => { +export const getRuntimeConfig = (config: WorkMailMessageFlowClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-workmailmessageflow/runtimeConfig.native.ts b/clients/client-workmailmessageflow/runtimeConfig.native.ts index 05d248127b451..1ab1949ace014 100644 --- a/clients/client-workmailmessageflow/runtimeConfig.native.ts +++ b/clients/client-workmailmessageflow/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: WorkMailMessageFlowClientConfig) => { +export const getRuntimeConfig = (config: WorkMailMessageFlowClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-workmailmessageflow/runtimeConfig.shared.ts b/clients/client-workmailmessageflow/runtimeConfig.shared.ts index afd6df75ff590..bd90a74762745 100644 --- a/clients/client-workmailmessageflow/runtimeConfig.shared.ts +++ b/clients/client-workmailmessageflow/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { WorkMailMessageFlowClientConfig } from "./WorkMailMessageFlowClient"; /** * @internal */ -export const getRuntimeConfig = (config: WorkMailMessageFlowClientConfig) => ({ +export const getRuntimeConfig = (config: WorkMailMessageFlowClientConfig = {}) => ({ apiVersion: "2019-05-01", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-workmailmessageflow/runtimeConfig.ts b/clients/client-workmailmessageflow/runtimeConfig.ts index d179e02288878..447c16af73c7f 100644 --- a/clients/client-workmailmessageflow/runtimeConfig.ts +++ b/clients/client-workmailmessageflow/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: WorkMailMessageFlowClientConfig) => { +export const getRuntimeConfig = (config: WorkMailMessageFlowClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-workspaces/runtimeConfig.browser.ts b/clients/client-workspaces/runtimeConfig.browser.ts index a65667d31a542..5be2e93f20942 100644 --- a/clients/client-workspaces/runtimeConfig.browser.ts +++ b/clients/client-workspaces/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: WorkSpacesClientConfig) => { +export const getRuntimeConfig = (config: WorkSpacesClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-workspaces/runtimeConfig.native.ts b/clients/client-workspaces/runtimeConfig.native.ts index c67830ae4a2f1..a564e018d0ae7 100644 --- a/clients/client-workspaces/runtimeConfig.native.ts +++ b/clients/client-workspaces/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: WorkSpacesClientConfig) => { +export const getRuntimeConfig = (config: WorkSpacesClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-workspaces/runtimeConfig.shared.ts b/clients/client-workspaces/runtimeConfig.shared.ts index 920fabf5eaeab..bf524ee25c46d 100644 --- a/clients/client-workspaces/runtimeConfig.shared.ts +++ b/clients/client-workspaces/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { WorkSpacesClientConfig } from "./WorkSpacesClient"; /** * @internal */ -export const getRuntimeConfig = (config: WorkSpacesClientConfig) => ({ +export const getRuntimeConfig = (config: WorkSpacesClientConfig = {}) => ({ apiVersion: "2015-04-08", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-workspaces/runtimeConfig.ts b/clients/client-workspaces/runtimeConfig.ts index b6f966238321c..d4ee0f1806d5e 100644 --- a/clients/client-workspaces/runtimeConfig.ts +++ b/clients/client-workspaces/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: WorkSpacesClientConfig) => { +export const getRuntimeConfig = (config: WorkSpacesClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-xray/runtimeConfig.browser.ts b/clients/client-xray/runtimeConfig.browser.ts index bd583e7b6c647..ee3c3b31901a8 100644 --- a/clients/client-xray/runtimeConfig.browser.ts +++ b/clients/client-xray/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: XRayClientConfig) => { +export const getRuntimeConfig = (config: XRayClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/clients/client-xray/runtimeConfig.native.ts b/clients/client-xray/runtimeConfig.native.ts index 495c4b18b04f7..3f2f54a27a2af 100644 --- a/clients/client-xray/runtimeConfig.native.ts +++ b/clients/client-xray/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: XRayClientConfig) => { +export const getRuntimeConfig = (config: XRayClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/clients/client-xray/runtimeConfig.shared.ts b/clients/client-xray/runtimeConfig.shared.ts index 4bba2bbb89525..77526d65cf478 100644 --- a/clients/client-xray/runtimeConfig.shared.ts +++ b/clients/client-xray/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { XRayClientConfig } from "./XRayClient"; /** * @internal */ -export const getRuntimeConfig = (config: XRayClientConfig) => ({ +export const getRuntimeConfig = (config: XRayClientConfig = {}) => ({ apiVersion: "2016-04-12", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/clients/client-xray/runtimeConfig.ts b/clients/client-xray/runtimeConfig.ts index 57a098be94967..7387f476fca87 100644 --- a/clients/client-xray/runtimeConfig.ts +++ b/clients/client-xray/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: XRayClientConfig) => { +export const getRuntimeConfig = (config: XRayClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/protocol_tests/aws-ec2/runtimeConfig.browser.ts b/protocol_tests/aws-ec2/runtimeConfig.browser.ts index bf9d886b56ef9..0688f5c0c8fc1 100644 --- a/protocol_tests/aws-ec2/runtimeConfig.browser.ts +++ b/protocol_tests/aws-ec2/runtimeConfig.browser.ts @@ -13,7 +13,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: EC2ProtocolClientConfig) => { +export const getRuntimeConfig = (config: EC2ProtocolClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/protocol_tests/aws-ec2/runtimeConfig.native.ts b/protocol_tests/aws-ec2/runtimeConfig.native.ts index 59fabb634ffca..d34ba51229f6d 100644 --- a/protocol_tests/aws-ec2/runtimeConfig.native.ts +++ b/protocol_tests/aws-ec2/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: EC2ProtocolClientConfig) => { +export const getRuntimeConfig = (config: EC2ProtocolClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/protocol_tests/aws-ec2/runtimeConfig.shared.ts b/protocol_tests/aws-ec2/runtimeConfig.shared.ts index e6edff2e1ed32..e43b6dc86e39a 100644 --- a/protocol_tests/aws-ec2/runtimeConfig.shared.ts +++ b/protocol_tests/aws-ec2/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { EC2ProtocolClientConfig } from "./EC2ProtocolClient"; /** * @internal */ -export const getRuntimeConfig = (config: EC2ProtocolClientConfig) => ({ +export const getRuntimeConfig = (config: EC2ProtocolClientConfig = {}) => ({ apiVersion: "2020-01-08", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/protocol_tests/aws-ec2/runtimeConfig.ts b/protocol_tests/aws-ec2/runtimeConfig.ts index 8c8b1087c1f27..fa0ac0ca11393 100644 --- a/protocol_tests/aws-ec2/runtimeConfig.ts +++ b/protocol_tests/aws-ec2/runtimeConfig.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: EC2ProtocolClientConfig) => { +export const getRuntimeConfig = (config: EC2ProtocolClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/protocol_tests/aws-json-10/runtimeConfig.browser.ts b/protocol_tests/aws-json-10/runtimeConfig.browser.ts index de7158fae3f4f..2df732b67484d 100644 --- a/protocol_tests/aws-json-10/runtimeConfig.browser.ts +++ b/protocol_tests/aws-json-10/runtimeConfig.browser.ts @@ -13,7 +13,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: JSONRPC10ClientConfig) => { +export const getRuntimeConfig = (config: JSONRPC10ClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/protocol_tests/aws-json-10/runtimeConfig.native.ts b/protocol_tests/aws-json-10/runtimeConfig.native.ts index 14da55f410de4..ab4162b9af4d7 100644 --- a/protocol_tests/aws-json-10/runtimeConfig.native.ts +++ b/protocol_tests/aws-json-10/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: JSONRPC10ClientConfig) => { +export const getRuntimeConfig = (config: JSONRPC10ClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/protocol_tests/aws-json-10/runtimeConfig.shared.ts b/protocol_tests/aws-json-10/runtimeConfig.shared.ts index 150519c665261..c3cb374f31dc3 100644 --- a/protocol_tests/aws-json-10/runtimeConfig.shared.ts +++ b/protocol_tests/aws-json-10/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { JSONRPC10ClientConfig } from "./JSONRPC10Client"; /** * @internal */ -export const getRuntimeConfig = (config: JSONRPC10ClientConfig) => ({ +export const getRuntimeConfig = (config: JSONRPC10ClientConfig = {}) => ({ apiVersion: "2020-07-14", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/protocol_tests/aws-json-10/runtimeConfig.ts b/protocol_tests/aws-json-10/runtimeConfig.ts index f564aae91f443..47e34f37f3809 100644 --- a/protocol_tests/aws-json-10/runtimeConfig.ts +++ b/protocol_tests/aws-json-10/runtimeConfig.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: JSONRPC10ClientConfig) => { +export const getRuntimeConfig = (config: JSONRPC10ClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/protocol_tests/aws-json/runtimeConfig.browser.ts b/protocol_tests/aws-json/runtimeConfig.browser.ts index e3596882e9b8c..ea9173b36f82c 100644 --- a/protocol_tests/aws-json/runtimeConfig.browser.ts +++ b/protocol_tests/aws-json/runtimeConfig.browser.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: JsonProtocolClientConfig) => { +export const getRuntimeConfig = (config: JsonProtocolClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/protocol_tests/aws-json/runtimeConfig.native.ts b/protocol_tests/aws-json/runtimeConfig.native.ts index 29b0dfc4d6558..5cea8f05b6704 100644 --- a/protocol_tests/aws-json/runtimeConfig.native.ts +++ b/protocol_tests/aws-json/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: JsonProtocolClientConfig) => { +export const getRuntimeConfig = (config: JsonProtocolClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/protocol_tests/aws-json/runtimeConfig.shared.ts b/protocol_tests/aws-json/runtimeConfig.shared.ts index 273795b696f9b..1b024e21df43a 100644 --- a/protocol_tests/aws-json/runtimeConfig.shared.ts +++ b/protocol_tests/aws-json/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { JsonProtocolClientConfig } from "./JsonProtocolClient"; /** * @internal */ -export const getRuntimeConfig = (config: JsonProtocolClientConfig) => ({ +export const getRuntimeConfig = (config: JsonProtocolClientConfig = {}) => ({ apiVersion: "2018-01-01", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/protocol_tests/aws-json/runtimeConfig.ts b/protocol_tests/aws-json/runtimeConfig.ts index 1c18134c4c471..5d8d1691680dc 100644 --- a/protocol_tests/aws-json/runtimeConfig.ts +++ b/protocol_tests/aws-json/runtimeConfig.ts @@ -17,7 +17,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: JsonProtocolClientConfig) => { +export const getRuntimeConfig = (config: JsonProtocolClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/protocol_tests/aws-query/runtimeConfig.browser.ts b/protocol_tests/aws-query/runtimeConfig.browser.ts index bf2e9caa761bc..ff9e4be08af74 100644 --- a/protocol_tests/aws-query/runtimeConfig.browser.ts +++ b/protocol_tests/aws-query/runtimeConfig.browser.ts @@ -13,7 +13,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: QueryProtocolClientConfig) => { +export const getRuntimeConfig = (config: QueryProtocolClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/protocol_tests/aws-query/runtimeConfig.native.ts b/protocol_tests/aws-query/runtimeConfig.native.ts index f2ad16dca4565..0200e80860a27 100644 --- a/protocol_tests/aws-query/runtimeConfig.native.ts +++ b/protocol_tests/aws-query/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: QueryProtocolClientConfig) => { +export const getRuntimeConfig = (config: QueryProtocolClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/protocol_tests/aws-query/runtimeConfig.shared.ts b/protocol_tests/aws-query/runtimeConfig.shared.ts index 86ac2fe07c66c..d7315b5c25d91 100644 --- a/protocol_tests/aws-query/runtimeConfig.shared.ts +++ b/protocol_tests/aws-query/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { QueryProtocolClientConfig } from "./QueryProtocolClient"; /** * @internal */ -export const getRuntimeConfig = (config: QueryProtocolClientConfig) => ({ +export const getRuntimeConfig = (config: QueryProtocolClientConfig = {}) => ({ apiVersion: "2020-01-08", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/protocol_tests/aws-query/runtimeConfig.ts b/protocol_tests/aws-query/runtimeConfig.ts index afda48d9f09ce..6e276a2d0209f 100644 --- a/protocol_tests/aws-query/runtimeConfig.ts +++ b/protocol_tests/aws-query/runtimeConfig.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: QueryProtocolClientConfig) => { +export const getRuntimeConfig = (config: QueryProtocolClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/protocol_tests/aws-restjson/runtimeConfig.browser.ts b/protocol_tests/aws-restjson/runtimeConfig.browser.ts index 7b8325c072a41..5fcbd11a0b850 100644 --- a/protocol_tests/aws-restjson/runtimeConfig.browser.ts +++ b/protocol_tests/aws-restjson/runtimeConfig.browser.ts @@ -13,7 +13,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: RestJsonProtocolClientConfig) => { +export const getRuntimeConfig = (config: RestJsonProtocolClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/protocol_tests/aws-restjson/runtimeConfig.native.ts b/protocol_tests/aws-restjson/runtimeConfig.native.ts index d1e3ffd93f4a3..64d08cc3695d2 100644 --- a/protocol_tests/aws-restjson/runtimeConfig.native.ts +++ b/protocol_tests/aws-restjson/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: RestJsonProtocolClientConfig) => { +export const getRuntimeConfig = (config: RestJsonProtocolClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/protocol_tests/aws-restjson/runtimeConfig.shared.ts b/protocol_tests/aws-restjson/runtimeConfig.shared.ts index 98d03051adb9e..4717ed3fe79ef 100644 --- a/protocol_tests/aws-restjson/runtimeConfig.shared.ts +++ b/protocol_tests/aws-restjson/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { RestJsonProtocolClientConfig } from "./RestJsonProtocolClient"; /** * @internal */ -export const getRuntimeConfig = (config: RestJsonProtocolClientConfig) => ({ +export const getRuntimeConfig = (config: RestJsonProtocolClientConfig = {}) => ({ apiVersion: "2019-12-16", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/protocol_tests/aws-restjson/runtimeConfig.ts b/protocol_tests/aws-restjson/runtimeConfig.ts index b7c082d17f318..d36fa88f3ba4e 100644 --- a/protocol_tests/aws-restjson/runtimeConfig.ts +++ b/protocol_tests/aws-restjson/runtimeConfig.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: RestJsonProtocolClientConfig) => { +export const getRuntimeConfig = (config: RestJsonProtocolClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/protocol_tests/aws-restxml/runtimeConfig.browser.ts b/protocol_tests/aws-restxml/runtimeConfig.browser.ts index ba8197bcb5816..534fccad032ce 100644 --- a/protocol_tests/aws-restxml/runtimeConfig.browser.ts +++ b/protocol_tests/aws-restxml/runtimeConfig.browser.ts @@ -13,7 +13,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: RestXmlProtocolClientConfig) => { +export const getRuntimeConfig = (config: RestXmlProtocolClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues, diff --git a/protocol_tests/aws-restxml/runtimeConfig.native.ts b/protocol_tests/aws-restxml/runtimeConfig.native.ts index 16990ad4fe8d1..ccf6bc218186d 100644 --- a/protocol_tests/aws-restxml/runtimeConfig.native.ts +++ b/protocol_tests/aws-restxml/runtimeConfig.native.ts @@ -5,7 +5,7 @@ import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.bro /** * @internal */ -export const getRuntimeConfig = (config: RestXmlProtocolClientConfig) => { +export const getRuntimeConfig = (config: RestXmlProtocolClientConfig = {}) => { const browserDefaults = getBrowserRuntimeConfig(config); return { ...browserDefaults, diff --git a/protocol_tests/aws-restxml/runtimeConfig.shared.ts b/protocol_tests/aws-restxml/runtimeConfig.shared.ts index d3d1efaee5ac8..07f24fb5740ba 100644 --- a/protocol_tests/aws-restxml/runtimeConfig.shared.ts +++ b/protocol_tests/aws-restxml/runtimeConfig.shared.ts @@ -6,7 +6,7 @@ import { RestXmlProtocolClientConfig } from "./RestXmlProtocolClient"; /** * @internal */ -export const getRuntimeConfig = (config: RestXmlProtocolClientConfig) => ({ +export const getRuntimeConfig = (config: RestXmlProtocolClientConfig = {}) => ({ apiVersion: "2019-12-16", disableHostPrefix: config.disableHostPrefix ?? false, logger: config.logger ?? ({} as __Logger), diff --git a/protocol_tests/aws-restxml/runtimeConfig.ts b/protocol_tests/aws-restxml/runtimeConfig.ts index 38c5968134d1f..79a119f6f3aab 100644 --- a/protocol_tests/aws-restxml/runtimeConfig.ts +++ b/protocol_tests/aws-restxml/runtimeConfig.ts @@ -14,7 +14,7 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar /** * @internal */ -export const getRuntimeConfig = (config: RestXmlProtocolClientConfig) => { +export const getRuntimeConfig = (config: RestXmlProtocolClientConfig = {}) => { const clientSharedValues = getSharedRuntimeConfig(config); return { ...clientSharedValues,