diff --git a/clients/client-accessanalyzer/src/AccessAnalyzerClient.ts b/clients/client-accessanalyzer/src/AccessAnalyzerClient.ts index d383d620c583..662be819eef2 100644 --- a/clients/client-accessanalyzer/src/AccessAnalyzerClient.ts +++ b/clients/client-accessanalyzer/src/AccessAnalyzerClient.ts @@ -284,15 +284,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-account/src/AccountClient.ts b/clients/client-account/src/AccountClient.ts index d5a810939c0f..aacdc2d8e9fd 100644 --- a/clients/client-account/src/AccountClient.ts +++ b/clients/client-account/src/AccountClient.ts @@ -203,15 +203,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-acm-pca/src/ACMPCAClient.ts b/clients/client-acm-pca/src/ACMPCAClient.ts index 7596fa1a5781..cf0562ba869c 100644 --- a/clients/client-acm-pca/src/ACMPCAClient.ts +++ b/clients/client-acm-pca/src/ACMPCAClient.ts @@ -269,15 +269,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-acm/src/ACMClient.ts b/clients/client-acm/src/ACMClient.ts index 33e14c40421e..6c3b2560224a 100644 --- a/clients/client-acm/src/ACMClient.ts +++ b/clients/client-acm/src/ACMClient.ts @@ -230,15 +230,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-amp/src/AmpClient.ts b/clients/client-amp/src/AmpClient.ts index 65366a503cd7..ccc3e5799f27 100644 --- a/clients/client-amp/src/AmpClient.ts +++ b/clients/client-amp/src/AmpClient.ts @@ -287,15 +287,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-amplify/src/AmplifyClient.ts b/clients/client-amplify/src/AmplifyClient.ts index 15d6f895ec28..ae923c2e1dfa 100644 --- a/clients/client-amplify/src/AmplifyClient.ts +++ b/clients/client-amplify/src/AmplifyClient.ts @@ -302,15 +302,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-amplifybackend/src/AmplifyBackendClient.ts b/clients/client-amplifybackend/src/AmplifyBackendClient.ts index 7eb812f825b1..dd1b620adb32 100644 --- a/clients/client-amplifybackend/src/AmplifyBackendClient.ts +++ b/clients/client-amplifybackend/src/AmplifyBackendClient.ts @@ -281,15 +281,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-amplifyuibuilder/src/AmplifyUIBuilderClient.ts b/clients/client-amplifyuibuilder/src/AmplifyUIBuilderClient.ts index 7d5ec6344767..e60dbcdcfc98 100644 --- a/clients/client-amplifyuibuilder/src/AmplifyUIBuilderClient.ts +++ b/clients/client-amplifyuibuilder/src/AmplifyUIBuilderClient.ts @@ -251,15 +251,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-api-gateway/src/APIGatewayClient.ts b/clients/client-api-gateway/src/APIGatewayClient.ts index 4fad2c45ea17..79ccb097ff5e 100644 --- a/clients/client-api-gateway/src/APIGatewayClient.ts +++ b/clients/client-api-gateway/src/APIGatewayClient.ts @@ -630,15 +630,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-apigatewaymanagementapi/src/ApiGatewayManagementApiClient.ts b/clients/client-apigatewaymanagementapi/src/ApiGatewayManagementApiClient.ts index c77b8b47aa34..2478b5174840 100644 --- a/clients/client-apigatewaymanagementapi/src/ApiGatewayManagementApiClient.ts +++ b/clients/client-apigatewaymanagementapi/src/ApiGatewayManagementApiClient.ts @@ -167,15 +167,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-apigatewayv2/src/ApiGatewayV2Client.ts b/clients/client-apigatewayv2/src/ApiGatewayV2Client.ts index 46bf676f7d5c..63d9ea71e0b9 100644 --- a/clients/client-apigatewayv2/src/ApiGatewayV2Client.ts +++ b/clients/client-apigatewayv2/src/ApiGatewayV2Client.ts @@ -416,15 +416,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-app-mesh/src/AppMeshClient.ts b/clients/client-app-mesh/src/AppMeshClient.ts index 100536fbc348..5d0fba67bfa0 100644 --- a/clients/client-app-mesh/src/AppMeshClient.ts +++ b/clients/client-app-mesh/src/AppMeshClient.ts @@ -326,15 +326,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-appconfig/src/AppConfigClient.ts b/clients/client-appconfig/src/AppConfigClient.ts index ec35b2cfe0ab..aa39b08d3809 100644 --- a/clients/client-appconfig/src/AppConfigClient.ts +++ b/clients/client-appconfig/src/AppConfigClient.ts @@ -353,15 +353,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-appconfigdata/src/AppConfigDataClient.ts b/clients/client-appconfigdata/src/AppConfigDataClient.ts index a48f6e9f703d..bfe1599e98b0 100644 --- a/clients/client-appconfigdata/src/AppConfigDataClient.ts +++ b/clients/client-appconfigdata/src/AppConfigDataClient.ts @@ -169,15 +169,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-appfabric/src/AppFabricClient.ts b/clients/client-appfabric/src/AppFabricClient.ts index 733b6be7df98..83f274212141 100644 --- a/clients/client-appfabric/src/AppFabricClient.ts +++ b/clients/client-appfabric/src/AppFabricClient.ts @@ -281,15 +281,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-appflow/src/AppflowClient.ts b/clients/client-appflow/src/AppflowClient.ts index 21388dae0f9e..69596c1f7bda 100644 --- a/clients/client-appflow/src/AppflowClient.ts +++ b/clients/client-appflow/src/AppflowClient.ts @@ -272,15 +272,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-appintegrations/src/AppIntegrationsClient.ts b/clients/client-appintegrations/src/AppIntegrationsClient.ts index a174028b81b3..d3fb8ac7356c 100644 --- a/clients/client-appintegrations/src/AppIntegrationsClient.ts +++ b/clients/client-appintegrations/src/AppIntegrationsClient.ts @@ -263,15 +263,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-application-auto-scaling/src/ApplicationAutoScalingClient.ts b/clients/client-application-auto-scaling/src/ApplicationAutoScalingClient.ts index ad5a0d870a28..1f5fbfd84eca 100644 --- a/clients/client-application-auto-scaling/src/ApplicationAutoScalingClient.ts +++ b/clients/client-application-auto-scaling/src/ApplicationAutoScalingClient.ts @@ -227,15 +227,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-application-discovery-service/src/ApplicationDiscoveryServiceClient.ts b/clients/client-application-discovery-service/src/ApplicationDiscoveryServiceClient.ts index feab2d46a793..0dbb056ac20a 100644 --- a/clients/client-application-discovery-service/src/ApplicationDiscoveryServiceClient.ts +++ b/clients/client-application-discovery-service/src/ApplicationDiscoveryServiceClient.ts @@ -296,15 +296,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-application-insights/src/ApplicationInsightsClient.ts b/clients/client-application-insights/src/ApplicationInsightsClient.ts index f38500afd91c..f251a49b1762 100644 --- a/clients/client-application-insights/src/ApplicationInsightsClient.ts +++ b/clients/client-application-insights/src/ApplicationInsightsClient.ts @@ -284,15 +284,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-applicationcostprofiler/src/ApplicationCostProfilerClient.ts b/clients/client-applicationcostprofiler/src/ApplicationCostProfilerClient.ts index 1a64c88b78cc..754387b0fb8d 100644 --- a/clients/client-applicationcostprofiler/src/ApplicationCostProfilerClient.ts +++ b/clients/client-applicationcostprofiler/src/ApplicationCostProfilerClient.ts @@ -197,15 +197,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-apprunner/src/AppRunnerClient.ts b/clients/client-apprunner/src/AppRunnerClient.ts index 52a812eda985..9c0b027c844c 100644 --- a/clients/client-apprunner/src/AppRunnerClient.ts +++ b/clients/client-apprunner/src/AppRunnerClient.ts @@ -332,15 +332,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-appstream/src/AppStreamClient.ts b/clients/client-appstream/src/AppStreamClient.ts index fd9da7c4375f..72eea54a1e16 100644 --- a/clients/client-appstream/src/AppStreamClient.ts +++ b/clients/client-appstream/src/AppStreamClient.ts @@ -494,15 +494,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-appsync/src/AppSyncClient.ts b/clients/client-appsync/src/AppSyncClient.ts index 83366e8499b9..b8ec58673723 100644 --- a/clients/client-appsync/src/AppSyncClient.ts +++ b/clients/client-appsync/src/AppSyncClient.ts @@ -407,15 +407,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-arc-zonal-shift/src/ARCZonalShiftClient.ts b/clients/client-arc-zonal-shift/src/ARCZonalShiftClient.ts index dafee20cf298..bccaaa344998 100644 --- a/clients/client-arc-zonal-shift/src/ARCZonalShiftClient.ts +++ b/clients/client-arc-zonal-shift/src/ARCZonalShiftClient.ts @@ -209,15 +209,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-artifact/src/ArtifactClient.ts b/clients/client-artifact/src/ArtifactClient.ts index f4231953e4b1..ae8296ded637 100644 --- a/clients/client-artifact/src/ArtifactClient.ts +++ b/clients/client-artifact/src/ArtifactClient.ts @@ -179,15 +179,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-athena/src/AthenaClient.ts b/clients/client-athena/src/AthenaClient.ts index 3bbfb02c8735..1c654fe8a392 100644 --- a/clients/client-athena/src/AthenaClient.ts +++ b/clients/client-athena/src/AthenaClient.ts @@ -458,15 +458,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-auditmanager/src/AuditManagerClient.ts b/clients/client-auditmanager/src/AuditManagerClient.ts index 65f6f8137a1f..2f539a19dd90 100644 --- a/clients/client-auditmanager/src/AuditManagerClient.ts +++ b/clients/client-auditmanager/src/AuditManagerClient.ts @@ -461,15 +461,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-auto-scaling-plans/src/AutoScalingPlansClient.ts b/clients/client-auto-scaling-plans/src/AutoScalingPlansClient.ts index 456655a2db95..4c9865b293bd 100644 --- a/clients/client-auto-scaling-plans/src/AutoScalingPlansClient.ts +++ b/clients/client-auto-scaling-plans/src/AutoScalingPlansClient.ts @@ -188,15 +188,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-auto-scaling/src/AutoScalingClient.ts b/clients/client-auto-scaling/src/AutoScalingClient.ts index fb328f44cde9..b4820dc13a89 100644 --- a/clients/client-auto-scaling/src/AutoScalingClient.ts +++ b/clients/client-auto-scaling/src/AutoScalingClient.ts @@ -494,15 +494,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-b2bi/src/B2biClient.ts b/clients/client-b2bi/src/B2biClient.ts index 1af555a3ad75..f05b9654700f 100644 --- a/clients/client-b2bi/src/B2biClient.ts +++ b/clients/client-b2bi/src/B2biClient.ts @@ -248,15 +248,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-backup-gateway/src/BackupGatewayClient.ts b/clients/client-backup-gateway/src/BackupGatewayClient.ts index f91a59e0e153..a082f557fcfc 100644 --- a/clients/client-backup-gateway/src/BackupGatewayClient.ts +++ b/clients/client-backup-gateway/src/BackupGatewayClient.ts @@ -278,15 +278,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-backup/src/BackupClient.ts b/clients/client-backup/src/BackupClient.ts index c6bf83c308d3..677dac8a53ae 100644 --- a/clients/client-backup/src/BackupClient.ts +++ b/clients/client-backup/src/BackupClient.ts @@ -590,15 +590,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-backupstorage/src/BackupStorageClient.ts b/clients/client-backupstorage/src/BackupStorageClient.ts index 0d0721dc77a6..35eed3ce5441 100644 --- a/clients/client-backupstorage/src/BackupStorageClient.ts +++ b/clients/client-backupstorage/src/BackupStorageClient.ts @@ -192,15 +192,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-batch/src/BatchClient.ts b/clients/client-batch/src/BatchClient.ts index 2acaaee13dc6..46cea999e6ea 100644 --- a/clients/client-batch/src/BatchClient.ts +++ b/clients/client-batch/src/BatchClient.ts @@ -278,15 +278,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-bcm-data-exports/src/BCMDataExportsClient.ts b/clients/client-bcm-data-exports/src/BCMDataExportsClient.ts index b8ad95d3845d..b5abdfe34727 100644 --- a/clients/client-bcm-data-exports/src/BCMDataExportsClient.ts +++ b/clients/client-bcm-data-exports/src/BCMDataExportsClient.ts @@ -200,15 +200,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-bedrock-agent-runtime/src/BedrockAgentRuntimeClient.ts b/clients/client-bedrock-agent-runtime/src/BedrockAgentRuntimeClient.ts index 3fd4f7a14382..26195d9fade0 100644 --- a/clients/client-bedrock-agent-runtime/src/BedrockAgentRuntimeClient.ts +++ b/clients/client-bedrock-agent-runtime/src/BedrockAgentRuntimeClient.ts @@ -173,15 +173,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-bedrock-agent/src/BedrockAgentClient.ts b/clients/client-bedrock-agent/src/BedrockAgentClient.ts index 1fbed7bb855a..e8f184334666 100644 --- a/clients/client-bedrock-agent/src/BedrockAgentClient.ts +++ b/clients/client-bedrock-agent/src/BedrockAgentClient.ts @@ -323,15 +323,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-bedrock-runtime/src/BedrockRuntimeClient.ts b/clients/client-bedrock-runtime/src/BedrockRuntimeClient.ts index 2b636d3d4775..32917a1fbdb5 100644 --- a/clients/client-bedrock-runtime/src/BedrockRuntimeClient.ts +++ b/clients/client-bedrock-runtime/src/BedrockRuntimeClient.ts @@ -182,15 +182,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-bedrock/src/BedrockClient.ts b/clients/client-bedrock/src/BedrockClient.ts index 8f7195c42e3b..e04a1b402690 100644 --- a/clients/client-bedrock/src/BedrockClient.ts +++ b/clients/client-bedrock/src/BedrockClient.ts @@ -299,15 +299,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-billingconductor/src/BillingconductorClient.ts b/clients/client-billingconductor/src/BillingconductorClient.ts index dc5af1a33edc..31fbbc5b0103 100644 --- a/clients/client-billingconductor/src/BillingconductorClient.ts +++ b/clients/client-billingconductor/src/BillingconductorClient.ts @@ -308,15 +308,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-braket/src/BraketClient.ts b/clients/client-braket/src/BraketClient.ts index 2797a28341e8..8a9f50a635c1 100644 --- a/clients/client-braket/src/BraketClient.ts +++ b/clients/client-braket/src/BraketClient.ts @@ -203,15 +203,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-budgets/src/BudgetsClient.ts b/clients/client-budgets/src/BudgetsClient.ts index a42f6f3d3644..dab14b393217 100644 --- a/clients/client-budgets/src/BudgetsClient.ts +++ b/clients/client-budgets/src/BudgetsClient.ts @@ -269,15 +269,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-chatbot/src/ChatbotClient.ts b/clients/client-chatbot/src/ChatbotClient.ts index f8b9fe47f787..63e119b80f6d 100644 --- a/clients/client-chatbot/src/ChatbotClient.ts +++ b/clients/client-chatbot/src/ChatbotClient.ts @@ -311,15 +311,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-chime-sdk-identity/src/ChimeSDKIdentityClient.ts b/clients/client-chime-sdk-identity/src/ChimeSDKIdentityClient.ts index d45b3dd868ee..41b859e4076e 100644 --- a/clients/client-chime-sdk-identity/src/ChimeSDKIdentityClient.ts +++ b/clients/client-chime-sdk-identity/src/ChimeSDKIdentityClient.ts @@ -323,15 +323,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-chime-sdk-media-pipelines/src/ChimeSDKMediaPipelinesClient.ts b/clients/client-chime-sdk-media-pipelines/src/ChimeSDKMediaPipelinesClient.ts index 7c176fe9e906..075986b615be 100644 --- a/clients/client-chime-sdk-media-pipelines/src/ChimeSDKMediaPipelinesClient.ts +++ b/clients/client-chime-sdk-media-pipelines/src/ChimeSDKMediaPipelinesClient.ts @@ -335,15 +335,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-chime-sdk-meetings/src/ChimeSDKMeetingsClient.ts b/clients/client-chime-sdk-meetings/src/ChimeSDKMeetingsClient.ts index aee62187f9df..0c48e5964622 100644 --- a/clients/client-chime-sdk-meetings/src/ChimeSDKMeetingsClient.ts +++ b/clients/client-chime-sdk-meetings/src/ChimeSDKMeetingsClient.ts @@ -230,15 +230,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-chime-sdk-messaging/src/ChimeSDKMessagingClient.ts b/clients/client-chime-sdk-messaging/src/ChimeSDKMessagingClient.ts index 84da25e83a4c..8f8e147438c3 100644 --- a/clients/client-chime-sdk-messaging/src/ChimeSDKMessagingClient.ts +++ b/clients/client-chime-sdk-messaging/src/ChimeSDKMessagingClient.ts @@ -410,15 +410,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-chime-sdk-voice/src/ChimeSDKVoiceClient.ts b/clients/client-chime-sdk-voice/src/ChimeSDKVoiceClient.ts index 981fcd70ded6..db893b1bec14 100644 --- a/clients/client-chime-sdk-voice/src/ChimeSDKVoiceClient.ts +++ b/clients/client-chime-sdk-voice/src/ChimeSDKVoiceClient.ts @@ -647,15 +647,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-chime/src/ChimeClient.ts b/clients/client-chime/src/ChimeClient.ts index 36577d849b2e..e9740c6ee5a0 100644 --- a/clients/client-chime/src/ChimeClient.ts +++ b/clients/client-chime/src/ChimeClient.ts @@ -1079,15 +1079,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-cleanrooms/src/CleanRoomsClient.ts b/clients/client-cleanrooms/src/CleanRoomsClient.ts index 7dcbce114ab1..dc73fcb60d41 100644 --- a/clients/client-cleanrooms/src/CleanRoomsClient.ts +++ b/clients/client-cleanrooms/src/CleanRoomsClient.ts @@ -488,15 +488,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-cleanroomsml/src/CleanRoomsMLClient.ts b/clients/client-cleanroomsml/src/CleanRoomsMLClient.ts index 6360185469b6..a9a6b30c1468 100644 --- a/clients/client-cleanroomsml/src/CleanRoomsMLClient.ts +++ b/clients/client-cleanroomsml/src/CleanRoomsMLClient.ts @@ -296,15 +296,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-cloud9/src/Cloud9Client.ts b/clients/client-cloud9/src/Cloud9Client.ts index 5ebce671a4f1..dbd62328177b 100644 --- a/clients/client-cloud9/src/Cloud9Client.ts +++ b/clients/client-cloud9/src/Cloud9Client.ts @@ -224,15 +224,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-cloudcontrol/src/CloudControlClient.ts b/clients/client-cloudcontrol/src/CloudControlClient.ts index 53ed6607ba0d..e90883e908f4 100644 --- a/clients/client-cloudcontrol/src/CloudControlClient.ts +++ b/clients/client-cloudcontrol/src/CloudControlClient.ts @@ -194,15 +194,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-clouddirectory/src/CloudDirectoryClient.ts b/clients/client-clouddirectory/src/CloudDirectoryClient.ts index 900605954224..edcba1aa8a59 100644 --- a/clients/client-clouddirectory/src/CloudDirectoryClient.ts +++ b/clients/client-clouddirectory/src/CloudDirectoryClient.ts @@ -437,15 +437,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-cloudformation/src/CloudFormationClient.ts b/clients/client-cloudformation/src/CloudFormationClient.ts index 556e4f65178a..b38bbca8e973 100644 --- a/clients/client-cloudformation/src/CloudFormationClient.ts +++ b/clients/client-cloudformation/src/CloudFormationClient.ts @@ -530,15 +530,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-cloudfront/src/CloudFrontClient.ts b/clients/client-cloudfront/src/CloudFrontClient.ts index 603a26acc97c..c93e5e63d929 100644 --- a/clients/client-cloudfront/src/CloudFrontClient.ts +++ b/clients/client-cloudfront/src/CloudFrontClient.ts @@ -713,15 +713,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-cloudhsm-v2/src/CloudHSMV2Client.ts b/clients/client-cloudhsm-v2/src/CloudHSMV2Client.ts index 535364b33a6b..83054934c422 100644 --- a/clients/client-cloudhsm-v2/src/CloudHSMV2Client.ts +++ b/clients/client-cloudhsm-v2/src/CloudHSMV2Client.ts @@ -209,15 +209,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-cloudhsm/src/CloudHSMClient.ts b/clients/client-cloudhsm/src/CloudHSMClient.ts index a2e2070d1c06..cecfde32d7a5 100644 --- a/clients/client-cloudhsm/src/CloudHSMClient.ts +++ b/clients/client-cloudhsm/src/CloudHSMClient.ts @@ -227,15 +227,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-cloudsearch-domain/src/CloudSearchDomainClient.ts b/clients/client-cloudsearch-domain/src/CloudSearchDomainClient.ts index 6e8329497e67..26aee974d1f4 100644 --- a/clients/client-cloudsearch-domain/src/CloudSearchDomainClient.ts +++ b/clients/client-cloudsearch-domain/src/CloudSearchDomainClient.ts @@ -164,15 +164,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-cloudsearch/src/CloudSearchClient.ts b/clients/client-cloudsearch/src/CloudSearchClient.ts index a12e784bd24d..ba32dd143c85 100644 --- a/clients/client-cloudsearch/src/CloudSearchClient.ts +++ b/clients/client-cloudsearch/src/CloudSearchClient.ts @@ -278,15 +278,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-cloudtrail-data/src/CloudTrailDataClient.ts b/clients/client-cloudtrail-data/src/CloudTrailDataClient.ts index 625d412f05f1..b8aa20af152d 100644 --- a/clients/client-cloudtrail-data/src/CloudTrailDataClient.ts +++ b/clients/client-cloudtrail-data/src/CloudTrailDataClient.ts @@ -162,15 +162,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-cloudtrail/src/CloudTrailClient.ts b/clients/client-cloudtrail/src/CloudTrailClient.ts index 016a93505cd5..c2a4c5827cfb 100644 --- a/clients/client-cloudtrail/src/CloudTrailClient.ts +++ b/clients/client-cloudtrail/src/CloudTrailClient.ts @@ -347,15 +347,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-cloudwatch-events/src/CloudWatchEventsClient.ts b/clients/client-cloudwatch-events/src/CloudWatchEventsClient.ts index 956405480ed3..8a364a193178 100644 --- a/clients/client-cloudwatch-events/src/CloudWatchEventsClient.ts +++ b/clients/client-cloudwatch-events/src/CloudWatchEventsClient.ts @@ -362,15 +362,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-cloudwatch-logs/src/CloudWatchLogsClient.ts b/clients/client-cloudwatch-logs/src/CloudWatchLogsClient.ts index 27bfd3377cc8..eee9f3f17aa9 100644 --- a/clients/client-cloudwatch-logs/src/CloudWatchLogsClient.ts +++ b/clients/client-cloudwatch-logs/src/CloudWatchLogsClient.ts @@ -485,15 +485,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-cloudwatch/src/CloudWatchClient.ts b/clients/client-cloudwatch/src/CloudWatchClient.ts index 9261a3d0c14d..fe248626a681 100644 --- a/clients/client-cloudwatch/src/CloudWatchClient.ts +++ b/clients/client-cloudwatch/src/CloudWatchClient.ts @@ -319,15 +319,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-codeartifact/src/CodeartifactClient.ts b/clients/client-codeartifact/src/CodeartifactClient.ts index 1cf6607bda3c..a682fea49486 100644 --- a/clients/client-codeartifact/src/CodeartifactClient.ts +++ b/clients/client-codeartifact/src/CodeartifactClient.ts @@ -396,15 +396,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-codebuild/src/CodeBuildClient.ts b/clients/client-codebuild/src/CodeBuildClient.ts index 683d620c3565..6e6cde145fe6 100644 --- a/clients/client-codebuild/src/CodeBuildClient.ts +++ b/clients/client-codebuild/src/CodeBuildClient.ts @@ -356,15 +356,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-codecatalyst/src/CodeCatalystClient.ts b/clients/client-codecatalyst/src/CodeCatalystClient.ts index 33d5e4dccbf0..1558d2c96f8f 100644 --- a/clients/client-codecatalyst/src/CodeCatalystClient.ts +++ b/clients/client-codecatalyst/src/CodeCatalystClient.ts @@ -318,6 +318,11 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand */ useFipsEndpoint?: boolean | __Provider; + /** + * The AWS region to which this client will send requests + */ + region?: string | __Provider; + /** * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header * @internal diff --git a/clients/client-codecatalyst/src/runtimeConfig.browser.ts b/clients/client-codecatalyst/src/runtimeConfig.browser.ts index 9b04d8e22c3f..cd0fe3b9a7c4 100644 --- a/clients/client-codecatalyst/src/runtimeConfig.browser.ts +++ b/clients/client-codecatalyst/src/runtimeConfig.browser.ts @@ -6,6 +6,7 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smithy/config-resolver"; import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler"; +import { invalidProvider } from "@smithy/invalid-dependency"; import { calculateBodyLength } from "@smithy/util-body-length-browser"; import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry"; import { CodeCatalystClientConfig } from "./CodeCatalystClient"; @@ -30,6 +31,7 @@ export const getRuntimeConfig = (config: CodeCatalystClientConfig) => { config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS, + region: config?.region ?? invalidProvider("Region is missing"), requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider), retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE), sha256: config?.sha256 ?? Sha256, diff --git a/clients/client-codecatalyst/src/runtimeConfig.ts b/clients/client-codecatalyst/src/runtimeConfig.ts index dd7f53b38589..bd69b3d0eb76 100644 --- a/clients/client-codecatalyst/src/runtimeConfig.ts +++ b/clients/client-codecatalyst/src/runtimeConfig.ts @@ -6,6 +6,8 @@ import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/cor import { FromSsoInit, nodeProvider } from "@aws-sdk/token-providers"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; import { + NODE_REGION_CONFIG_FILE_OPTIONS, + NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver"; @@ -51,6 +53,7 @@ export const getRuntimeConfig = (config: CodeCatalystClientConfig) => { }, ], maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), + region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider), retryMode: config?.retryMode ?? diff --git a/clients/client-codecommit/src/CodeCommitClient.ts b/clients/client-codecommit/src/CodeCommitClient.ts index 54592a4dd74f..d48ac96df225 100644 --- a/clients/client-codecommit/src/CodeCommitClient.ts +++ b/clients/client-codecommit/src/CodeCommitClient.ts @@ -548,15 +548,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-codeconnections/src/CodeConnectionsClient.ts b/clients/client-codeconnections/src/CodeConnectionsClient.ts index 51a773bfa598..1ffd5bfcdaa2 100644 --- a/clients/client-codeconnections/src/CodeConnectionsClient.ts +++ b/clients/client-codeconnections/src/CodeConnectionsClient.ts @@ -284,15 +284,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-codedeploy/src/CodeDeployClient.ts b/clients/client-codedeploy/src/CodeDeployClient.ts index a7c720314d13..d32f2ddf5a98 100644 --- a/clients/client-codedeploy/src/CodeDeployClient.ts +++ b/clients/client-codedeploy/src/CodeDeployClient.ts @@ -404,15 +404,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-codeguru-reviewer/src/CodeGuruReviewerClient.ts b/clients/client-codeguru-reviewer/src/CodeGuruReviewerClient.ts index 71a57ebad051..c67d82ff2a62 100644 --- a/clients/client-codeguru-reviewer/src/CodeGuruReviewerClient.ts +++ b/clients/client-codeguru-reviewer/src/CodeGuruReviewerClient.ts @@ -230,15 +230,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-codeguru-security/src/CodeGuruSecurityClient.ts b/clients/client-codeguru-security/src/CodeGuruSecurityClient.ts index c7999856777b..9b22db1181f9 100644 --- a/clients/client-codeguru-security/src/CodeGuruSecurityClient.ts +++ b/clients/client-codeguru-security/src/CodeGuruSecurityClient.ts @@ -212,15 +212,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-codeguruprofiler/src/CodeGuruProfilerClient.ts b/clients/client-codeguruprofiler/src/CodeGuruProfilerClient.ts index 507594c20aff..07e61cb71538 100644 --- a/clients/client-codeguruprofiler/src/CodeGuruProfilerClient.ts +++ b/clients/client-codeguruprofiler/src/CodeGuruProfilerClient.ts @@ -266,15 +266,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-codepipeline/src/CodePipelineClient.ts b/clients/client-codepipeline/src/CodePipelineClient.ts index 3c4a02120d2f..f5da2d2593c9 100644 --- a/clients/client-codepipeline/src/CodePipelineClient.ts +++ b/clients/client-codepipeline/src/CodePipelineClient.ts @@ -341,15 +341,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-codestar-connections/src/CodeStarConnectionsClient.ts b/clients/client-codestar-connections/src/CodeStarConnectionsClient.ts index 021e3d7f6575..595c6d141262 100644 --- a/clients/client-codestar-connections/src/CodeStarConnectionsClient.ts +++ b/clients/client-codestar-connections/src/CodeStarConnectionsClient.ts @@ -284,15 +284,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-codestar-notifications/src/CodestarNotificationsClient.ts b/clients/client-codestar-notifications/src/CodestarNotificationsClient.ts index 2b5b96f35c07..0d65c98dd2f5 100644 --- a/clients/client-codestar-notifications/src/CodestarNotificationsClient.ts +++ b/clients/client-codestar-notifications/src/CodestarNotificationsClient.ts @@ -218,15 +218,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-codestar/src/CodeStarClient.ts b/clients/client-codestar/src/CodeStarClient.ts index 563011ff7e2f..3a3ea28008dc 100644 --- a/clients/client-codestar/src/CodeStarClient.ts +++ b/clients/client-codestar/src/CodeStarClient.ts @@ -224,15 +224,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-cognito-identity-provider/src/CognitoIdentityProviderClient.ts b/clients/client-cognito-identity-provider/src/CognitoIdentityProviderClient.ts index 699cb64c0d4c..7095a3de8dec 100644 --- a/clients/client-cognito-identity-provider/src/CognitoIdentityProviderClient.ts +++ b/clients/client-cognito-identity-provider/src/CognitoIdentityProviderClient.ts @@ -644,15 +644,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-cognito-identity/src/CognitoIdentityClient.ts b/clients/client-cognito-identity/src/CognitoIdentityClient.ts index efbb030c7ba9..e83b364eff51 100644 --- a/clients/client-cognito-identity/src/CognitoIdentityClient.ts +++ b/clients/client-cognito-identity/src/CognitoIdentityClient.ts @@ -263,15 +263,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-cognito-sync/src/CognitoSyncClient.ts b/clients/client-cognito-sync/src/CognitoSyncClient.ts index c0f1d2c0d64a..23d3c4d823b4 100644 --- a/clients/client-cognito-sync/src/CognitoSyncClient.ts +++ b/clients/client-cognito-sync/src/CognitoSyncClient.ts @@ -233,15 +233,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-comprehend/src/ComprehendClient.ts b/clients/client-comprehend/src/ComprehendClient.ts index ecc6549af0ba..2149c4fc699f 100644 --- a/clients/client-comprehend/src/ComprehendClient.ts +++ b/clients/client-comprehend/src/ComprehendClient.ts @@ -596,15 +596,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-comprehendmedical/src/ComprehendMedicalClient.ts b/clients/client-comprehendmedical/src/ComprehendMedicalClient.ts index 877908e74af4..5d5cd8171aca 100644 --- a/clients/client-comprehendmedical/src/ComprehendMedicalClient.ts +++ b/clients/client-comprehendmedical/src/ComprehendMedicalClient.ts @@ -299,15 +299,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-compute-optimizer/src/ComputeOptimizerClient.ts b/clients/client-compute-optimizer/src/ComputeOptimizerClient.ts index d93247faf12d..329398d27ddc 100644 --- a/clients/client-compute-optimizer/src/ComputeOptimizerClient.ts +++ b/clients/client-compute-optimizer/src/ComputeOptimizerClient.ts @@ -299,15 +299,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-config-service/src/ConfigServiceClient.ts b/clients/client-config-service/src/ConfigServiceClient.ts index 9ddadc4009e4..9bdc58859690 100644 --- a/clients/client-config-service/src/ConfigServiceClient.ts +++ b/clients/client-config-service/src/ConfigServiceClient.ts @@ -677,15 +677,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-connect-contact-lens/src/ConnectContactLensClient.ts b/clients/client-connect-contact-lens/src/ConnectContactLensClient.ts index 9f2cb38de511..b6deea5d2dcf 100644 --- a/clients/client-connect-contact-lens/src/ConnectContactLensClient.ts +++ b/clients/client-connect-contact-lens/src/ConnectContactLensClient.ts @@ -165,15 +165,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-connect/src/ConnectClient.ts b/clients/client-connect/src/ConnectClient.ts index ed16700acfeb..25310070eb27 100644 --- a/clients/client-connect/src/ConnectClient.ts +++ b/clients/client-connect/src/ConnectClient.ts @@ -1355,15 +1355,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-connectcampaigns/src/ConnectCampaignsClient.ts b/clients/client-connectcampaigns/src/ConnectCampaignsClient.ts index fce3f4c42e30..5ff49c842bbe 100644 --- a/clients/client-connectcampaigns/src/ConnectCampaignsClient.ts +++ b/clients/client-connectcampaigns/src/ConnectCampaignsClient.ts @@ -257,15 +257,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-connectcases/src/ConnectCasesClient.ts b/clients/client-connectcases/src/ConnectCasesClient.ts index 7d6de5224bfd..c0f97c606ffd 100644 --- a/clients/client-connectcases/src/ConnectCasesClient.ts +++ b/clients/client-connectcases/src/ConnectCasesClient.ts @@ -278,15 +278,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-connectparticipant/src/ConnectParticipantClient.ts b/clients/client-connectparticipant/src/ConnectParticipantClient.ts index c9fbe9ebe993..1b40dc55be3a 100644 --- a/clients/client-connectparticipant/src/ConnectParticipantClient.ts +++ b/clients/client-connectparticipant/src/ConnectParticipantClient.ts @@ -206,15 +206,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-controlcatalog/src/ControlCatalogClient.ts b/clients/client-controlcatalog/src/ControlCatalogClient.ts index 90624e168809..466620ad09ba 100644 --- a/clients/client-controlcatalog/src/ControlCatalogClient.ts +++ b/clients/client-controlcatalog/src/ControlCatalogClient.ts @@ -167,15 +167,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-controltower/src/ControlTowerClient.ts b/clients/client-controltower/src/ControlTowerClient.ts index b13de7682f31..414dd1d74ec3 100644 --- a/clients/client-controltower/src/ControlTowerClient.ts +++ b/clients/client-controltower/src/ControlTowerClient.ts @@ -269,15 +269,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-cost-and-usage-report-service/src/CostAndUsageReportServiceClient.ts b/clients/client-cost-and-usage-report-service/src/CostAndUsageReportServiceClient.ts index c5edf933a7c6..e117f53cfcdf 100644 --- a/clients/client-cost-and-usage-report-service/src/CostAndUsageReportServiceClient.ts +++ b/clients/client-cost-and-usage-report-service/src/CostAndUsageReportServiceClient.ts @@ -197,15 +197,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-cost-explorer/src/CostExplorerClient.ts b/clients/client-cost-explorer/src/CostExplorerClient.ts index 8bcc0e808e69..469e25debccf 100644 --- a/clients/client-cost-explorer/src/CostExplorerClient.ts +++ b/clients/client-cost-explorer/src/CostExplorerClient.ts @@ -377,15 +377,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-cost-optimization-hub/src/CostOptimizationHubClient.ts b/clients/client-cost-optimization-hub/src/CostOptimizationHubClient.ts index 2f9cce001785..3c4e63f6b62b 100644 --- a/clients/client-cost-optimization-hub/src/CostOptimizationHubClient.ts +++ b/clients/client-cost-optimization-hub/src/CostOptimizationHubClient.ts @@ -194,15 +194,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-customer-profiles/src/CustomerProfilesClient.ts b/clients/client-customer-profiles/src/CustomerProfilesClient.ts index 80f40f19a414..20212eec82ed 100644 --- a/clients/client-customer-profiles/src/CustomerProfilesClient.ts +++ b/clients/client-customer-profiles/src/CustomerProfilesClient.ts @@ -383,15 +383,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-data-pipeline/src/DataPipelineClient.ts b/clients/client-data-pipeline/src/DataPipelineClient.ts index 6205fc3742e2..02a03d020439 100644 --- a/clients/client-data-pipeline/src/DataPipelineClient.ts +++ b/clients/client-data-pipeline/src/DataPipelineClient.ts @@ -230,15 +230,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-database-migration-service/src/DatabaseMigrationServiceClient.ts b/clients/client-database-migration-service/src/DatabaseMigrationServiceClient.ts index e2b7b026acf0..43fe34e73b0e 100644 --- a/clients/client-database-migration-service/src/DatabaseMigrationServiceClient.ts +++ b/clients/client-database-migration-service/src/DatabaseMigrationServiceClient.ts @@ -743,15 +743,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-databrew/src/DataBrewClient.ts b/clients/client-databrew/src/DataBrewClient.ts index 94e937495220..7505faa7ba03 100644 --- a/clients/client-databrew/src/DataBrewClient.ts +++ b/clients/client-databrew/src/DataBrewClient.ts @@ -314,15 +314,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-dataexchange/src/DataExchangeClient.ts b/clients/client-dataexchange/src/DataExchangeClient.ts index 7736f7607d12..6ce8290fe2e4 100644 --- a/clients/client-dataexchange/src/DataExchangeClient.ts +++ b/clients/client-dataexchange/src/DataExchangeClient.ts @@ -260,15 +260,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-datasync/src/DataSyncClient.ts b/clients/client-datasync/src/DataSyncClient.ts index 9fa32c9828d0..59285b62a167 100644 --- a/clients/client-datasync/src/DataSyncClient.ts +++ b/clients/client-datasync/src/DataSyncClient.ts @@ -428,15 +428,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-datazone/src/DataZoneClient.ts b/clients/client-datazone/src/DataZoneClient.ts index 322ae04fd616..b3da1f35a81c 100644 --- a/clients/client-datazone/src/DataZoneClient.ts +++ b/clients/client-datazone/src/DataZoneClient.ts @@ -617,15 +617,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-dax/src/DAXClient.ts b/clients/client-dax/src/DAXClient.ts index bdda149e1b4f..aca5c1be0acc 100644 --- a/clients/client-dax/src/DAXClient.ts +++ b/clients/client-dax/src/DAXClient.ts @@ -248,15 +248,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-deadline/src/DeadlineClient.ts b/clients/client-deadline/src/DeadlineClient.ts index 60f5e6202c93..10f3f428bb54 100644 --- a/clients/client-deadline/src/DeadlineClient.ts +++ b/clients/client-deadline/src/DeadlineClient.ts @@ -590,15 +590,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-detective/src/DetectiveClient.ts b/clients/client-detective/src/DetectiveClient.ts index e22e262af7d2..f9d6db60f3e4 100644 --- a/clients/client-detective/src/DetectiveClient.ts +++ b/clients/client-detective/src/DetectiveClient.ts @@ -287,15 +287,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-device-farm/src/DeviceFarmClient.ts b/clients/client-device-farm/src/DeviceFarmClient.ts index c9d7fdfc7e58..b7386c255ee1 100644 --- a/clients/client-device-farm/src/DeviceFarmClient.ts +++ b/clients/client-device-farm/src/DeviceFarmClient.ts @@ -488,15 +488,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-devops-guru/src/DevOpsGuruClient.ts b/clients/client-devops-guru/src/DevOpsGuruClient.ts index b9cd2958b0c9..3526bc38a0a5 100644 --- a/clients/client-devops-guru/src/DevOpsGuruClient.ts +++ b/clients/client-devops-guru/src/DevOpsGuruClient.ts @@ -320,15 +320,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-direct-connect/src/DirectConnectClient.ts b/clients/client-direct-connect/src/DirectConnectClient.ts index a6f73962ef52..b589182ed322 100644 --- a/clients/client-direct-connect/src/DirectConnectClient.ts +++ b/clients/client-direct-connect/src/DirectConnectClient.ts @@ -485,15 +485,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-directory-service/src/DirectoryServiceClient.ts b/clients/client-directory-service/src/DirectoryServiceClient.ts index 7eda665bb5d1..bff2d15c269a 100644 --- a/clients/client-directory-service/src/DirectoryServiceClient.ts +++ b/clients/client-directory-service/src/DirectoryServiceClient.ts @@ -452,15 +452,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-dlm/src/DLMClient.ts b/clients/client-dlm/src/DLMClient.ts index 85f9d65ccb10..1655ece35981 100644 --- a/clients/client-dlm/src/DLMClient.ts +++ b/clients/client-dlm/src/DLMClient.ts @@ -200,15 +200,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-docdb-elastic/src/DocDBElasticClient.ts b/clients/client-docdb-elastic/src/DocDBElasticClient.ts index a5fad61200a0..5c140ff264bf 100644 --- a/clients/client-docdb-elastic/src/DocDBElasticClient.ts +++ b/clients/client-docdb-elastic/src/DocDBElasticClient.ts @@ -227,15 +227,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-docdb/src/DocDBClient.ts b/clients/client-docdb/src/DocDBClient.ts index 28371a41dd2f..763dc43b37ab 100644 --- a/clients/client-docdb/src/DocDBClient.ts +++ b/clients/client-docdb/src/DocDBClient.ts @@ -446,15 +446,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-drs/src/DrsClient.ts b/clients/client-drs/src/DrsClient.ts index 6eead3351337..d68d05461a4c 100644 --- a/clients/client-drs/src/DrsClient.ts +++ b/clients/client-drs/src/DrsClient.ts @@ -419,15 +419,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-dynamodb-streams/src/DynamoDBStreamsClient.ts b/clients/client-dynamodb-streams/src/DynamoDBStreamsClient.ts index 3b4256e8b244..d60e71fc0c98 100644 --- a/clients/client-dynamodb-streams/src/DynamoDBStreamsClient.ts +++ b/clients/client-dynamodb-streams/src/DynamoDBStreamsClient.ts @@ -173,15 +173,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-dynamodb/src/DynamoDBClient.ts b/clients/client-dynamodb/src/DynamoDBClient.ts index 607201c60eae..7680c4c7e5d1 100644 --- a/clients/client-dynamodb/src/DynamoDBClient.ts +++ b/clients/client-dynamodb/src/DynamoDBClient.ts @@ -398,15 +398,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-ebs/src/EBSClient.ts b/clients/client-ebs/src/EBSClient.ts index 98eefbb89ef0..06158b17b5c5 100644 --- a/clients/client-ebs/src/EBSClient.ts +++ b/clients/client-ebs/src/EBSClient.ts @@ -180,15 +180,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-ec2-instance-connect/src/EC2InstanceConnectClient.ts b/clients/client-ec2-instance-connect/src/EC2InstanceConnectClient.ts index d6cab3195bb1..d17414d339ed 100644 --- a/clients/client-ec2-instance-connect/src/EC2InstanceConnectClient.ts +++ b/clients/client-ec2-instance-connect/src/EC2InstanceConnectClient.ts @@ -166,15 +166,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-ec2/src/EC2Client.ts b/clients/client-ec2/src/EC2Client.ts index 5233864652a6..a9c080528309 100644 --- a/clients/client-ec2/src/EC2Client.ts +++ b/clients/client-ec2/src/EC2Client.ts @@ -3503,15 +3503,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-ecr-public/src/ECRPUBLICClient.ts b/clients/client-ecr-public/src/ECRPUBLICClient.ts index 933f3cfe1e20..35fd78c1098c 100644 --- a/clients/client-ecr-public/src/ECRPUBLICClient.ts +++ b/clients/client-ecr-public/src/ECRPUBLICClient.ts @@ -269,15 +269,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-ecr/src/ECRClient.ts b/clients/client-ecr/src/ECRClient.ts index 90fa9f46887f..3f94a04ef530 100644 --- a/clients/client-ecr/src/ECRClient.ts +++ b/clients/client-ecr/src/ECRClient.ts @@ -371,15 +371,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-ecs/src/ECSClient.ts b/clients/client-ecs/src/ECSClient.ts index 4ef2224c7f5c..0d9573da4b80 100644 --- a/clients/client-ecs/src/ECSClient.ts +++ b/clients/client-ecs/src/ECSClient.ts @@ -416,15 +416,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-efs/src/EFSClient.ts b/clients/client-efs/src/EFSClient.ts index b5607630f93a..8c1fb4b647b1 100644 --- a/clients/client-efs/src/EFSClient.ts +++ b/clients/client-efs/src/EFSClient.ts @@ -308,15 +308,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-eks-auth/src/EKSAuthClient.ts b/clients/client-eks-auth/src/EKSAuthClient.ts index 1c2dc9f1f02f..a7e74f41baa9 100644 --- a/clients/client-eks-auth/src/EKSAuthClient.ts +++ b/clients/client-eks-auth/src/EKSAuthClient.ts @@ -165,15 +165,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-eks/src/EKSClient.ts b/clients/client-eks/src/EKSClient.ts index e65bc152d094..0347d85456b4 100644 --- a/clients/client-eks/src/EKSClient.ts +++ b/clients/client-eks/src/EKSClient.ts @@ -419,15 +419,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-elastic-beanstalk/src/ElasticBeanstalkClient.ts b/clients/client-elastic-beanstalk/src/ElasticBeanstalkClient.ts index 645ea64f1a1e..74b44dc5c58c 100644 --- a/clients/client-elastic-beanstalk/src/ElasticBeanstalkClient.ts +++ b/clients/client-elastic-beanstalk/src/ElasticBeanstalkClient.ts @@ -419,15 +419,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-elastic-inference/src/ElasticInferenceClient.ts b/clients/client-elastic-inference/src/ElasticInferenceClient.ts index 0885937dcbe8..efd4727406a6 100644 --- a/clients/client-elastic-inference/src/ElasticInferenceClient.ts +++ b/clients/client-elastic-inference/src/ElasticInferenceClient.ts @@ -191,15 +191,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-elastic-load-balancing-v2/src/ElasticLoadBalancingV2Client.ts b/clients/client-elastic-load-balancing-v2/src/ElasticLoadBalancingV2Client.ts index 729b44c6bfdf..0a268d6ee5a3 100644 --- a/clients/client-elastic-load-balancing-v2/src/ElasticLoadBalancingV2Client.ts +++ b/clients/client-elastic-load-balancing-v2/src/ElasticLoadBalancingV2Client.ts @@ -350,15 +350,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-elastic-load-balancing/src/ElasticLoadBalancingClient.ts b/clients/client-elastic-load-balancing/src/ElasticLoadBalancingClient.ts index 113809a4480a..93d606e231c0 100644 --- a/clients/client-elastic-load-balancing/src/ElasticLoadBalancingClient.ts +++ b/clients/client-elastic-load-balancing/src/ElasticLoadBalancingClient.ts @@ -320,15 +320,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-elastic-transcoder/src/ElasticTranscoderClient.ts b/clients/client-elastic-transcoder/src/ElasticTranscoderClient.ts index e05050234d55..79462cdd051a 100644 --- a/clients/client-elastic-transcoder/src/ElasticTranscoderClient.ts +++ b/clients/client-elastic-transcoder/src/ElasticTranscoderClient.ts @@ -218,15 +218,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-elasticache/src/ElastiCacheClient.ts b/clients/client-elasticache/src/ElastiCacheClient.ts index 331fa45034f6..a99393249e41 100644 --- a/clients/client-elasticache/src/ElastiCacheClient.ts +++ b/clients/client-elasticache/src/ElastiCacheClient.ts @@ -545,15 +545,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-elasticsearch-service/src/ElasticsearchServiceClient.ts b/clients/client-elasticsearch-service/src/ElasticsearchServiceClient.ts index 4561818d5bee..011bfc34b72a 100644 --- a/clients/client-elasticsearch-service/src/ElasticsearchServiceClient.ts +++ b/clients/client-elasticsearch-service/src/ElasticsearchServiceClient.ts @@ -419,15 +419,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-emr-containers/src/EMRContainersClient.ts b/clients/client-emr-containers/src/EMRContainersClient.ts index 310a92ac8a27..54e6a6ea128c 100644 --- a/clients/client-emr-containers/src/EMRContainersClient.ts +++ b/clients/client-emr-containers/src/EMRContainersClient.ts @@ -272,15 +272,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-emr-serverless/src/EMRServerlessClient.ts b/clients/client-emr-serverless/src/EMRServerlessClient.ts index 920445f79859..42d66771d17e 100644 --- a/clients/client-emr-serverless/src/EMRServerlessClient.ts +++ b/clients/client-emr-serverless/src/EMRServerlessClient.ts @@ -215,15 +215,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-emr/src/EMRClient.ts b/clients/client-emr/src/EMRClient.ts index e1b8fa1a7f4c..27194c2eb409 100644 --- a/clients/client-emr/src/EMRClient.ts +++ b/clients/client-emr/src/EMRClient.ts @@ -428,15 +428,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-entityresolution/src/EntityResolutionClient.ts b/clients/client-entityresolution/src/EntityResolutionClient.ts index a248e35d4171..89abec88875f 100644 --- a/clients/client-entityresolution/src/EntityResolutionClient.ts +++ b/clients/client-entityresolution/src/EntityResolutionClient.ts @@ -323,15 +323,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-evidently/src/EvidentlyClient.ts b/clients/client-evidently/src/EvidentlyClient.ts index 0c53a5ccccf9..05da04e129c4 100644 --- a/clients/client-evidently/src/EvidentlyClient.ts +++ b/clients/client-evidently/src/EvidentlyClient.ts @@ -290,15 +290,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-finspace-data/src/FinspaceDataClient.ts b/clients/client-finspace-data/src/FinspaceDataClient.ts index f74e7d93bd45..c7c9b6f0479c 100644 --- a/clients/client-finspace-data/src/FinspaceDataClient.ts +++ b/clients/client-finspace-data/src/FinspaceDataClient.ts @@ -284,15 +284,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-finspace/src/FinspaceClient.ts b/clients/client-finspace/src/FinspaceClient.ts index 20cc68d475b7..eac674a57153 100644 --- a/clients/client-finspace/src/FinspaceClient.ts +++ b/clients/client-finspace/src/FinspaceClient.ts @@ -347,15 +347,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-firehose/src/FirehoseClient.ts b/clients/client-firehose/src/FirehoseClient.ts index a390e73b53b2..bd4b058cd851 100644 --- a/clients/client-firehose/src/FirehoseClient.ts +++ b/clients/client-firehose/src/FirehoseClient.ts @@ -221,15 +221,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-fis/src/FisClient.ts b/clients/client-fis/src/FisClient.ts index 4c70dc08b179..a47833e75336 100644 --- a/clients/client-fis/src/FisClient.ts +++ b/clients/client-fis/src/FisClient.ts @@ -281,15 +281,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-fms/src/FMSClient.ts b/clients/client-fms/src/FMSClient.ts index 49eb6ff5fbf2..474b84ae7594 100644 --- a/clients/client-fms/src/FMSClient.ts +++ b/clients/client-fms/src/FMSClient.ts @@ -350,15 +350,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-forecast/src/ForecastClient.ts b/clients/client-forecast/src/ForecastClient.ts index b110af34e37c..bcc47532b525 100644 --- a/clients/client-forecast/src/ForecastClient.ts +++ b/clients/client-forecast/src/ForecastClient.ts @@ -458,15 +458,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-forecastquery/src/ForecastqueryClient.ts b/clients/client-forecastquery/src/ForecastqueryClient.ts index 8d43721c0b7d..91fb71d8255d 100644 --- a/clients/client-forecastquery/src/ForecastqueryClient.ts +++ b/clients/client-forecastquery/src/ForecastqueryClient.ts @@ -166,15 +166,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-frauddetector/src/FraudDetectorClient.ts b/clients/client-frauddetector/src/FraudDetectorClient.ts index 8d4c19b7fe79..9c4447b3c4da 100644 --- a/clients/client-frauddetector/src/FraudDetectorClient.ts +++ b/clients/client-frauddetector/src/FraudDetectorClient.ts @@ -449,15 +449,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-freetier/src/FreeTierClient.ts b/clients/client-freetier/src/FreeTierClient.ts index d0da5022f1b3..d0ce71c99eb3 100644 --- a/clients/client-freetier/src/FreeTierClient.ts +++ b/clients/client-freetier/src/FreeTierClient.ts @@ -162,15 +162,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-fsx/src/FSxClient.ts b/clients/client-fsx/src/FSxClient.ts index 08ea4f0bed38..07d37fbfd901 100644 --- a/clients/client-fsx/src/FSxClient.ts +++ b/clients/client-fsx/src/FSxClient.ts @@ -368,15 +368,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-gamelift/src/GameLiftClient.ts b/clients/client-gamelift/src/GameLiftClient.ts index 32bb00892f02..0c6c7f527aba 100644 --- a/clients/client-gamelift/src/GameLiftClient.ts +++ b/clients/client-gamelift/src/GameLiftClient.ts @@ -671,15 +671,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-glacier/src/GlacierClient.ts b/clients/client-glacier/src/GlacierClient.ts index 347fd03b924b..603293f85335 100644 --- a/clients/client-glacier/src/GlacierClient.ts +++ b/clients/client-glacier/src/GlacierClient.ts @@ -310,6 +310,11 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand */ useFipsEndpoint?: boolean | __Provider; + /** + * The AWS region to which this client will send requests + */ + region?: string | __Provider; + /** * Function that returns body checksums. * @internal @@ -325,11 +330,6 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand */ defaultUserAgentProvider?: Provider<__UserAgent>; - /** - * The AWS region to which this client will send requests - */ - region?: string | __Provider; - /** * Default credentials provider; Not available in browser runtime. * @deprecated diff --git a/clients/client-global-accelerator/src/GlobalAcceleratorClient.ts b/clients/client-global-accelerator/src/GlobalAcceleratorClient.ts index 97be3ae947ea..98bf200d484f 100644 --- a/clients/client-global-accelerator/src/GlobalAcceleratorClient.ts +++ b/clients/client-global-accelerator/src/GlobalAcceleratorClient.ts @@ -443,15 +443,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-glue/src/GlueClient.ts b/clients/client-glue/src/GlueClient.ts index d955da78dfbe..6c29b276cb11 100644 --- a/clients/client-glue/src/GlueClient.ts +++ b/clients/client-glue/src/GlueClient.ts @@ -1049,15 +1049,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-grafana/src/GrafanaClient.ts b/clients/client-grafana/src/GrafanaClient.ts index 80628edbf523..d64684f1bcab 100644 --- a/clients/client-grafana/src/GrafanaClient.ts +++ b/clients/client-grafana/src/GrafanaClient.ts @@ -278,15 +278,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-greengrass/src/GreengrassClient.ts b/clients/client-greengrass/src/GreengrassClient.ts index b50b35cbf9b7..52f0b5ee8273 100644 --- a/clients/client-greengrass/src/GreengrassClient.ts +++ b/clients/client-greengrass/src/GreengrassClient.ts @@ -665,15 +665,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-greengrassv2/src/GreengrassV2Client.ts b/clients/client-greengrassv2/src/GreengrassV2Client.ts index 81e8b58f7bf2..790b90563ea1 100644 --- a/clients/client-greengrassv2/src/GreengrassV2Client.ts +++ b/clients/client-greengrassv2/src/GreengrassV2Client.ts @@ -293,15 +293,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-groundstation/src/GroundStationClient.ts b/clients/client-groundstation/src/GroundStationClient.ts index 72fd11fc4f5e..d4c629486a7c 100644 --- a/clients/client-groundstation/src/GroundStationClient.ts +++ b/clients/client-groundstation/src/GroundStationClient.ts @@ -290,15 +290,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-guardduty/src/GuardDutyClient.ts b/clients/client-guardduty/src/GuardDutyClient.ts index 9d49d625f01d..4c69593b7ee2 100644 --- a/clients/client-guardduty/src/GuardDutyClient.ts +++ b/clients/client-guardduty/src/GuardDutyClient.ts @@ -467,15 +467,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-health/src/HealthClient.ts b/clients/client-health/src/HealthClient.ts index e03fb85d6abb..f2bade0ba57a 100644 --- a/clients/client-health/src/HealthClient.ts +++ b/clients/client-health/src/HealthClient.ts @@ -239,15 +239,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-healthlake/src/HealthLakeClient.ts b/clients/client-healthlake/src/HealthLakeClient.ts index d227159f4a68..0c51b9af99b7 100644 --- a/clients/client-healthlake/src/HealthLakeClient.ts +++ b/clients/client-healthlake/src/HealthLakeClient.ts @@ -218,15 +218,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-iam/src/IAMClient.ts b/clients/client-iam/src/IAMClient.ts index 63854f4abec2..5226e6bf44ca 100644 --- a/clients/client-iam/src/IAMClient.ts +++ b/clients/client-iam/src/IAMClient.ts @@ -863,15 +863,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-identitystore/src/IdentitystoreClient.ts b/clients/client-identitystore/src/IdentitystoreClient.ts index 3029d99e09fb..c3088daa291d 100644 --- a/clients/client-identitystore/src/IdentitystoreClient.ts +++ b/clients/client-identitystore/src/IdentitystoreClient.ts @@ -236,15 +236,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-imagebuilder/src/ImagebuilderClient.ts b/clients/client-imagebuilder/src/ImagebuilderClient.ts index 2aa01cf07462..628d05f67c64 100644 --- a/clients/client-imagebuilder/src/ImagebuilderClient.ts +++ b/clients/client-imagebuilder/src/ImagebuilderClient.ts @@ -512,15 +512,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-inspector-scan/src/InspectorScanClient.ts b/clients/client-inspector-scan/src/InspectorScanClient.ts index 2c90f170a4ca..adb707394802 100644 --- a/clients/client-inspector-scan/src/InspectorScanClient.ts +++ b/clients/client-inspector-scan/src/InspectorScanClient.ts @@ -162,15 +162,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-inspector/src/InspectorClient.ts b/clients/client-inspector/src/InspectorClient.ts index 36862d964b27..c6942f16286b 100644 --- a/clients/client-inspector/src/InspectorClient.ts +++ b/clients/client-inspector/src/InspectorClient.ts @@ -350,15 +350,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-inspector2/src/Inspector2Client.ts b/clients/client-inspector2/src/Inspector2Client.ts index d6c1a3973171..7c0b51ff5b51 100644 --- a/clients/client-inspector2/src/Inspector2Client.ts +++ b/clients/client-inspector2/src/Inspector2Client.ts @@ -440,15 +440,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-internetmonitor/src/InternetMonitorClient.ts b/clients/client-internetmonitor/src/InternetMonitorClient.ts index ab9eecdba02d..2ac7601f793c 100644 --- a/clients/client-internetmonitor/src/InternetMonitorClient.ts +++ b/clients/client-internetmonitor/src/InternetMonitorClient.ts @@ -212,15 +212,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-iot-1click-devices-service/src/IoT1ClickDevicesServiceClient.ts b/clients/client-iot-1click-devices-service/src/IoT1ClickDevicesServiceClient.ts index a41d15a46e47..82f7ee6f26dc 100644 --- a/clients/client-iot-1click-devices-service/src/IoT1ClickDevicesServiceClient.ts +++ b/clients/client-iot-1click-devices-service/src/IoT1ClickDevicesServiceClient.ts @@ -212,15 +212,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-iot-1click-projects/src/IoT1ClickProjectsClient.ts b/clients/client-iot-1click-projects/src/IoT1ClickProjectsClient.ts index ba52153edc3c..597622e5b053 100644 --- a/clients/client-iot-1click-projects/src/IoT1ClickProjectsClient.ts +++ b/clients/client-iot-1click-projects/src/IoT1ClickProjectsClient.ts @@ -221,15 +221,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-iot-data-plane/src/IoTDataPlaneClient.ts b/clients/client-iot-data-plane/src/IoTDataPlaneClient.ts index b0799774798c..407715c317c3 100644 --- a/clients/client-iot-data-plane/src/IoTDataPlaneClient.ts +++ b/clients/client-iot-data-plane/src/IoTDataPlaneClient.ts @@ -188,15 +188,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-iot-events-data/src/IoTEventsDataClient.ts b/clients/client-iot-events-data/src/IoTEventsDataClient.ts index 5a38b816369c..4a1a610453d1 100644 --- a/clients/client-iot-events-data/src/IoTEventsDataClient.ts +++ b/clients/client-iot-events-data/src/IoTEventsDataClient.ts @@ -206,15 +206,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-iot-events/src/IoTEventsClient.ts b/clients/client-iot-events/src/IoTEventsClient.ts index f8fd306e3a33..1c9e40630063 100644 --- a/clients/client-iot-events/src/IoTEventsClient.ts +++ b/clients/client-iot-events/src/IoTEventsClient.ts @@ -272,15 +272,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-iot-jobs-data-plane/src/IoTJobsDataPlaneClient.ts b/clients/client-iot-jobs-data-plane/src/IoTJobsDataPlaneClient.ts index c5a04fc38a76..37cca0f43f25 100644 --- a/clients/client-iot-jobs-data-plane/src/IoTJobsDataPlaneClient.ts +++ b/clients/client-iot-jobs-data-plane/src/IoTJobsDataPlaneClient.ts @@ -182,15 +182,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-iot-wireless/src/IoTWirelessClient.ts b/clients/client-iot-wireless/src/IoTWirelessClient.ts index 61bfd346b609..cb18c0913cd2 100644 --- a/clients/client-iot-wireless/src/IoTWirelessClient.ts +++ b/clients/client-iot-wireless/src/IoTWirelessClient.ts @@ -755,15 +755,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-iot/src/IoTClient.ts b/clients/client-iot/src/IoTClient.ts index 15a7857c4fc2..b4ad2788b685 100644 --- a/clients/client-iot/src/IoTClient.ts +++ b/clients/client-iot/src/IoTClient.ts @@ -1376,15 +1376,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-iotanalytics/src/IoTAnalyticsClient.ts b/clients/client-iotanalytics/src/IoTAnalyticsClient.ts index 1c9c0d22216a..86c364d9a93b 100644 --- a/clients/client-iotanalytics/src/IoTAnalyticsClient.ts +++ b/clients/client-iotanalytics/src/IoTAnalyticsClient.ts @@ -287,15 +287,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-iotdeviceadvisor/src/IotDeviceAdvisorClient.ts b/clients/client-iotdeviceadvisor/src/IotDeviceAdvisorClient.ts index 8f75eabe3a72..37bfcfdd1fee 100644 --- a/clients/client-iotdeviceadvisor/src/IotDeviceAdvisorClient.ts +++ b/clients/client-iotdeviceadvisor/src/IotDeviceAdvisorClient.ts @@ -218,15 +218,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-iotfleethub/src/IoTFleetHubClient.ts b/clients/client-iotfleethub/src/IoTFleetHubClient.ts index 5934c1d5976e..65cb906c8211 100644 --- a/clients/client-iotfleethub/src/IoTFleetHubClient.ts +++ b/clients/client-iotfleethub/src/IoTFleetHubClient.ts @@ -191,15 +191,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-iotfleetwise/src/IoTFleetWiseClient.ts b/clients/client-iotfleetwise/src/IoTFleetWiseClient.ts index b5165197f37b..6842b83fbbb8 100644 --- a/clients/client-iotfleetwise/src/IoTFleetWiseClient.ts +++ b/clients/client-iotfleetwise/src/IoTFleetWiseClient.ts @@ -389,15 +389,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-iotsecuretunneling/src/IoTSecureTunnelingClient.ts b/clients/client-iotsecuretunneling/src/IoTSecureTunnelingClient.ts index 7b578cf9bc05..d54c042d0235 100644 --- a/clients/client-iotsecuretunneling/src/IoTSecureTunnelingClient.ts +++ b/clients/client-iotsecuretunneling/src/IoTSecureTunnelingClient.ts @@ -191,15 +191,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-iotsitewise/src/IoTSiteWiseClient.ts b/clients/client-iotsitewise/src/IoTSiteWiseClient.ts index 297e20c9c283..fc8c39839c2b 100644 --- a/clients/client-iotsitewise/src/IoTSiteWiseClient.ts +++ b/clients/client-iotsitewise/src/IoTSiteWiseClient.ts @@ -521,15 +521,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-iotthingsgraph/src/IoTThingsGraphClient.ts b/clients/client-iotthingsgraph/src/IoTThingsGraphClient.ts index 19e55975a3bb..7bec23f6d1e1 100644 --- a/clients/client-iotthingsgraph/src/IoTThingsGraphClient.ts +++ b/clients/client-iotthingsgraph/src/IoTThingsGraphClient.ts @@ -329,15 +329,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-iottwinmaker/src/IoTTwinMakerClient.ts b/clients/client-iottwinmaker/src/IoTTwinMakerClient.ts index 3a43c7251382..dd891299b085 100644 --- a/clients/client-iottwinmaker/src/IoTTwinMakerClient.ts +++ b/clients/client-iottwinmaker/src/IoTTwinMakerClient.ts @@ -311,15 +311,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-ivs-realtime/src/IVSRealTimeClient.ts b/clients/client-ivs-realtime/src/IVSRealTimeClient.ts index 4fae6409e14d..ac14661712ee 100644 --- a/clients/client-ivs-realtime/src/IVSRealTimeClient.ts +++ b/clients/client-ivs-realtime/src/IVSRealTimeClient.ts @@ -278,15 +278,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-ivs/src/IvsClient.ts b/clients/client-ivs/src/IvsClient.ts index 687f90ee22e8..df4a54712620 100644 --- a/clients/client-ivs/src/IvsClient.ts +++ b/clients/client-ivs/src/IvsClient.ts @@ -311,15 +311,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-ivschat/src/IvschatClient.ts b/clients/client-ivschat/src/IvschatClient.ts index c3c0af04f8b6..177b51a73140 100644 --- a/clients/client-ivschat/src/IvschatClient.ts +++ b/clients/client-ivschat/src/IvschatClient.ts @@ -230,15 +230,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-kafka/src/KafkaClient.ts b/clients/client-kafka/src/KafkaClient.ts index 08f144e8fe59..3b4ffada62b4 100644 --- a/clients/client-kafka/src/KafkaClient.ts +++ b/clients/client-kafka/src/KafkaClient.ts @@ -392,15 +392,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-kafkaconnect/src/KafkaConnectClient.ts b/clients/client-kafkaconnect/src/KafkaConnectClient.ts index 8ba8937ebdf4..bb80a79a52ca 100644 --- a/clients/client-kafkaconnect/src/KafkaConnectClient.ts +++ b/clients/client-kafkaconnect/src/KafkaConnectClient.ts @@ -227,15 +227,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-kendra-ranking/src/KendraRankingClient.ts b/clients/client-kendra-ranking/src/KendraRankingClient.ts index 26089c0c2560..0742bacaf71d 100644 --- a/clients/client-kendra-ranking/src/KendraRankingClient.ts +++ b/clients/client-kendra-ranking/src/KendraRankingClient.ts @@ -206,15 +206,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-kendra/src/KendraClient.ts b/clients/client-kendra/src/KendraClient.ts index 13dcd44e848a..b1ee9b7f1a8c 100644 --- a/clients/client-kendra/src/KendraClient.ts +++ b/clients/client-kendra/src/KendraClient.ts @@ -461,15 +461,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-keyspaces/src/KeyspacesClient.ts b/clients/client-keyspaces/src/KeyspacesClient.ts index 6e572c60332f..e39faa605fdd 100644 --- a/clients/client-keyspaces/src/KeyspacesClient.ts +++ b/clients/client-keyspaces/src/KeyspacesClient.ts @@ -209,15 +209,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-kinesis-analytics-v2/src/KinesisAnalyticsV2Client.ts b/clients/client-kinesis-analytics-v2/src/KinesisAnalyticsV2Client.ts index e09d0631c2cb..5f6dd8382dce 100644 --- a/clients/client-kinesis-analytics-v2/src/KinesisAnalyticsV2Client.ts +++ b/clients/client-kinesis-analytics-v2/src/KinesisAnalyticsV2Client.ts @@ -323,15 +323,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-kinesis-analytics/src/KinesisAnalyticsClient.ts b/clients/client-kinesis-analytics/src/KinesisAnalyticsClient.ts index e08de56b2b48..900465d13730 100644 --- a/clients/client-kinesis-analytics/src/KinesisAnalyticsClient.ts +++ b/clients/client-kinesis-analytics/src/KinesisAnalyticsClient.ts @@ -257,15 +257,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-kinesis-video-archived-media/src/KinesisVideoArchivedMediaClient.ts b/clients/client-kinesis-video-archived-media/src/KinesisVideoArchivedMediaClient.ts index 82fcfd56c966..ba96e8ec2fd3 100644 --- a/clients/client-kinesis-video-archived-media/src/KinesisVideoArchivedMediaClient.ts +++ b/clients/client-kinesis-video-archived-media/src/KinesisVideoArchivedMediaClient.ts @@ -189,15 +189,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-kinesis-video-media/src/KinesisVideoMediaClient.ts b/clients/client-kinesis-video-media/src/KinesisVideoMediaClient.ts index a0c3898a01aa..bbe9b443bddd 100644 --- a/clients/client-kinesis-video-media/src/KinesisVideoMediaClient.ts +++ b/clients/client-kinesis-video-media/src/KinesisVideoMediaClient.ts @@ -163,15 +163,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-kinesis-video-signaling/src/KinesisVideoSignalingClient.ts b/clients/client-kinesis-video-signaling/src/KinesisVideoSignalingClient.ts index 3d8e867b8b3f..d5b74fa1057a 100644 --- a/clients/client-kinesis-video-signaling/src/KinesisVideoSignalingClient.ts +++ b/clients/client-kinesis-video-signaling/src/KinesisVideoSignalingClient.ts @@ -172,15 +172,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-kinesis-video-webrtc-storage/src/KinesisVideoWebRTCStorageClient.ts b/clients/client-kinesis-video-webrtc-storage/src/KinesisVideoWebRTCStorageClient.ts index 26e05a8d7872..0bacf36b5d93 100644 --- a/clients/client-kinesis-video-webrtc-storage/src/KinesisVideoWebRTCStorageClient.ts +++ b/clients/client-kinesis-video-webrtc-storage/src/KinesisVideoWebRTCStorageClient.ts @@ -162,15 +162,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-kinesis-video/src/KinesisVideoClient.ts b/clients/client-kinesis-video/src/KinesisVideoClient.ts index 8f403316bd46..0e473627cb04 100644 --- a/clients/client-kinesis-video/src/KinesisVideoClient.ts +++ b/clients/client-kinesis-video/src/KinesisVideoClient.ts @@ -308,15 +308,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-kinesis/src/KinesisClient.ts b/clients/client-kinesis/src/KinesisClient.ts index b263be48e5af..b610cbba1437 100644 --- a/clients/client-kinesis/src/KinesisClient.ts +++ b/clients/client-kinesis/src/KinesisClient.ts @@ -302,15 +302,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-kms/src/KMSClient.ts b/clients/client-kms/src/KMSClient.ts index 30508de6b284..5d2ef92e046e 100644 --- a/clients/client-kms/src/KMSClient.ts +++ b/clients/client-kms/src/KMSClient.ts @@ -365,15 +365,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-lakeformation/src/LakeFormationClient.ts b/clients/client-lakeformation/src/LakeFormationClient.ts index 90b3a5ed5210..658587ba0e46 100644 --- a/clients/client-lakeformation/src/LakeFormationClient.ts +++ b/clients/client-lakeformation/src/LakeFormationClient.ts @@ -411,15 +411,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-lambda/src/LambdaClient.ts b/clients/client-lambda/src/LambdaClient.ts index 601ef9c1cc26..083e0bfea698 100644 --- a/clients/client-lambda/src/LambdaClient.ts +++ b/clients/client-lambda/src/LambdaClient.ts @@ -491,15 +491,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-launch-wizard/src/LaunchWizardClient.ts b/clients/client-launch-wizard/src/LaunchWizardClient.ts index 46b65f8288bf..4a53612e76f8 100644 --- a/clients/client-launch-wizard/src/LaunchWizardClient.ts +++ b/clients/client-launch-wizard/src/LaunchWizardClient.ts @@ -209,15 +209,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-lex-model-building-service/src/LexModelBuildingServiceClient.ts b/clients/client-lex-model-building-service/src/LexModelBuildingServiceClient.ts index 0174ad979fc6..c4f491311482 100644 --- a/clients/client-lex-model-building-service/src/LexModelBuildingServiceClient.ts +++ b/clients/client-lex-model-building-service/src/LexModelBuildingServiceClient.ts @@ -317,15 +317,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-lex-models-v2/src/LexModelsV2Client.ts b/clients/client-lex-models-v2/src/LexModelsV2Client.ts index a267ff2f2a68..cebc027d46e9 100644 --- a/clients/client-lex-models-v2/src/LexModelsV2Client.ts +++ b/clients/client-lex-models-v2/src/LexModelsV2Client.ts @@ -581,15 +581,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-lex-runtime-service/src/LexRuntimeServiceClient.ts b/clients/client-lex-runtime-service/src/LexRuntimeServiceClient.ts index 97a46ee48a93..f700256b41be 100644 --- a/clients/client-lex-runtime-service/src/LexRuntimeServiceClient.ts +++ b/clients/client-lex-runtime-service/src/LexRuntimeServiceClient.ts @@ -177,15 +177,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-license-manager-linux-subscriptions/src/LicenseManagerLinuxSubscriptionsClient.ts b/clients/client-license-manager-linux-subscriptions/src/LicenseManagerLinuxSubscriptionsClient.ts index 8b361e6f4cb2..12d6f1312ca5 100644 --- a/clients/client-license-manager-linux-subscriptions/src/LicenseManagerLinuxSubscriptionsClient.ts +++ b/clients/client-license-manager-linux-subscriptions/src/LicenseManagerLinuxSubscriptionsClient.ts @@ -182,15 +182,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-license-manager-user-subscriptions/src/LicenseManagerUserSubscriptionsClient.ts b/clients/client-license-manager-user-subscriptions/src/LicenseManagerUserSubscriptionsClient.ts index a3aad648e9e0..46596cc3372b 100644 --- a/clients/client-license-manager-user-subscriptions/src/LicenseManagerUserSubscriptionsClient.ts +++ b/clients/client-license-manager-user-subscriptions/src/LicenseManagerUserSubscriptionsClient.ts @@ -218,15 +218,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-license-manager/src/LicenseManagerClient.ts b/clients/client-license-manager/src/LicenseManagerClient.ts index 1eb67e60fbf6..ce7845f89725 100644 --- a/clients/client-license-manager/src/LicenseManagerClient.ts +++ b/clients/client-license-manager/src/LicenseManagerClient.ts @@ -398,15 +398,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-lightsail/src/LightsailClient.ts b/clients/client-lightsail/src/LightsailClient.ts index 37346e7eb482..17cb5d4293cd 100644 --- a/clients/client-lightsail/src/LightsailClient.ts +++ b/clients/client-lightsail/src/LightsailClient.ts @@ -878,15 +878,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-location/src/LocationClient.ts b/clients/client-location/src/LocationClient.ts index 8ae76fc33432..7c9d1dd52009 100644 --- a/clients/client-location/src/LocationClient.ts +++ b/clients/client-location/src/LocationClient.ts @@ -413,15 +413,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-lookoutequipment/src/LookoutEquipmentClient.ts b/clients/client-lookoutequipment/src/LookoutEquipmentClient.ts index 02947a87ba51..fbab1e52929e 100644 --- a/clients/client-lookoutequipment/src/LookoutEquipmentClient.ts +++ b/clients/client-lookoutequipment/src/LookoutEquipmentClient.ts @@ -383,15 +383,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-lookoutmetrics/src/LookoutMetricsClient.ts b/clients/client-lookoutmetrics/src/LookoutMetricsClient.ts index 2dbb5209f267..154ecfaf6018 100644 --- a/clients/client-lookoutmetrics/src/LookoutMetricsClient.ts +++ b/clients/client-lookoutmetrics/src/LookoutMetricsClient.ts @@ -296,15 +296,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-lookoutvision/src/LookoutVisionClient.ts b/clients/client-lookoutvision/src/LookoutVisionClient.ts index e824717eb378..6f2d09506e96 100644 --- a/clients/client-lookoutvision/src/LookoutVisionClient.ts +++ b/clients/client-lookoutvision/src/LookoutVisionClient.ts @@ -242,15 +242,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-m2/src/M2Client.ts b/clients/client-m2/src/M2Client.ts index 32e336549e13..da3c05b15f9a 100644 --- a/clients/client-m2/src/M2Client.ts +++ b/clients/client-m2/src/M2Client.ts @@ -302,15 +302,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-machine-learning/src/MachineLearningClient.ts b/clients/client-machine-learning/src/MachineLearningClient.ts index 3cbb2defcae8..595fde605211 100644 --- a/clients/client-machine-learning/src/MachineLearningClient.ts +++ b/clients/client-machine-learning/src/MachineLearningClient.ts @@ -278,15 +278,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-macie2/src/Macie2Client.ts b/clients/client-macie2/src/Macie2Client.ts index 6b63cd6c5313..5691e9b12bba 100644 --- a/clients/client-macie2/src/Macie2Client.ts +++ b/clients/client-macie2/src/Macie2Client.ts @@ -545,15 +545,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-mailmanager/src/MailManagerClient.ts b/clients/client-mailmanager/src/MailManagerClient.ts index 8eeb94934a79..30a2111ccdbb 100644 --- a/clients/client-mailmanager/src/MailManagerClient.ts +++ b/clients/client-mailmanager/src/MailManagerClient.ts @@ -344,15 +344,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-managedblockchain-query/src/ManagedBlockchainQueryClient.ts b/clients/client-managedblockchain-query/src/ManagedBlockchainQueryClient.ts index 528b07c861ea..bc9224baf91a 100644 --- a/clients/client-managedblockchain-query/src/ManagedBlockchainQueryClient.ts +++ b/clients/client-managedblockchain-query/src/ManagedBlockchainQueryClient.ts @@ -197,15 +197,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-managedblockchain/src/ManagedBlockchainClient.ts b/clients/client-managedblockchain/src/ManagedBlockchainClient.ts index b9960e3c9212..6cbc1341bd6c 100644 --- a/clients/client-managedblockchain/src/ManagedBlockchainClient.ts +++ b/clients/client-managedblockchain/src/ManagedBlockchainClient.ts @@ -245,15 +245,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-marketplace-agreement/src/MarketplaceAgreementClient.ts b/clients/client-marketplace-agreement/src/MarketplaceAgreementClient.ts index cc32daab4373..c0d325770e3b 100644 --- a/clients/client-marketplace-agreement/src/MarketplaceAgreementClient.ts +++ b/clients/client-marketplace-agreement/src/MarketplaceAgreementClient.ts @@ -170,15 +170,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-marketplace-catalog/src/MarketplaceCatalogClient.ts b/clients/client-marketplace-catalog/src/MarketplaceCatalogClient.ts index 20c6aa7fdc8b..23dd339ecb3a 100644 --- a/clients/client-marketplace-catalog/src/MarketplaceCatalogClient.ts +++ b/clients/client-marketplace-catalog/src/MarketplaceCatalogClient.ts @@ -209,15 +209,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-marketplace-commerce-analytics/src/MarketplaceCommerceAnalyticsClient.ts b/clients/client-marketplace-commerce-analytics/src/MarketplaceCommerceAnalyticsClient.ts index e2bdef0c3f6f..336a46fc5ad4 100644 --- a/clients/client-marketplace-commerce-analytics/src/MarketplaceCommerceAnalyticsClient.ts +++ b/clients/client-marketplace-commerce-analytics/src/MarketplaceCommerceAnalyticsClient.ts @@ -166,15 +166,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-marketplace-deployment/src/MarketplaceDeploymentClient.ts b/clients/client-marketplace-deployment/src/MarketplaceDeploymentClient.ts index 3225e8b2b48f..f8d91b5ec06c 100644 --- a/clients/client-marketplace-deployment/src/MarketplaceDeploymentClient.ts +++ b/clients/client-marketplace-deployment/src/MarketplaceDeploymentClient.ts @@ -179,15 +179,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-marketplace-entitlement-service/src/MarketplaceEntitlementServiceClient.ts b/clients/client-marketplace-entitlement-service/src/MarketplaceEntitlementServiceClient.ts index 21eeb01af58b..04c0cb6b9859 100644 --- a/clients/client-marketplace-entitlement-service/src/MarketplaceEntitlementServiceClient.ts +++ b/clients/client-marketplace-entitlement-service/src/MarketplaceEntitlementServiceClient.ts @@ -162,15 +162,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-marketplace-metering/src/MarketplaceMeteringClient.ts b/clients/client-marketplace-metering/src/MarketplaceMeteringClient.ts index 405a758f81f6..07b85086331e 100644 --- a/clients/client-marketplace-metering/src/MarketplaceMeteringClient.ts +++ b/clients/client-marketplace-metering/src/MarketplaceMeteringClient.ts @@ -173,15 +173,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-mediaconnect/src/MediaConnectClient.ts b/clients/client-mediaconnect/src/MediaConnectClient.ts index 26b9ee88f879..6d1c182695ce 100644 --- a/clients/client-mediaconnect/src/MediaConnectClient.ts +++ b/clients/client-mediaconnect/src/MediaConnectClient.ts @@ -359,15 +359,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-mediaconvert/src/MediaConvertClient.ts b/clients/client-mediaconvert/src/MediaConvertClient.ts index 1f8535c2dc4f..49a8126f145f 100644 --- a/clients/client-mediaconvert/src/MediaConvertClient.ts +++ b/clients/client-mediaconvert/src/MediaConvertClient.ts @@ -254,15 +254,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-medialive/src/MediaLiveClient.ts b/clients/client-medialive/src/MediaLiveClient.ts index dcbe1ea2a228..4759102fe7f1 100644 --- a/clients/client-medialive/src/MediaLiveClient.ts +++ b/clients/client-medialive/src/MediaLiveClient.ts @@ -579,15 +579,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-mediapackage-vod/src/MediaPackageVodClient.ts b/clients/client-mediapackage-vod/src/MediaPackageVodClient.ts index 69e0254da622..bcaa03245bc9 100644 --- a/clients/client-mediapackage-vod/src/MediaPackageVodClient.ts +++ b/clients/client-mediapackage-vod/src/MediaPackageVodClient.ts @@ -242,15 +242,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-mediapackage/src/MediaPackageClient.ts b/clients/client-mediapackage/src/MediaPackageClient.ts index fcfa139609c7..83b19c016aa3 100644 --- a/clients/client-mediapackage/src/MediaPackageClient.ts +++ b/clients/client-mediapackage/src/MediaPackageClient.ts @@ -242,15 +242,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-mediapackagev2/src/MediaPackageV2Client.ts b/clients/client-mediapackagev2/src/MediaPackageV2Client.ts index f3044b2edc2c..af1b5e18616e 100644 --- a/clients/client-mediapackagev2/src/MediaPackageV2Client.ts +++ b/clients/client-mediapackagev2/src/MediaPackageV2Client.ts @@ -260,15 +260,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-mediastore-data/src/MediaStoreDataClient.ts b/clients/client-mediastore-data/src/MediaStoreDataClient.ts index 74d9e3385cd8..3b7a6f0cbb67 100644 --- a/clients/client-mediastore-data/src/MediaStoreDataClient.ts +++ b/clients/client-mediastore-data/src/MediaStoreDataClient.ts @@ -177,15 +177,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-mediastore/src/MediaStoreClient.ts b/clients/client-mediastore/src/MediaStoreClient.ts index 4d175c4ec040..2e441d96d77f 100644 --- a/clients/client-mediastore/src/MediaStoreClient.ts +++ b/clients/client-mediastore/src/MediaStoreClient.ts @@ -233,15 +233,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-mediatailor/src/MediaTailorClient.ts b/clients/client-mediatailor/src/MediaTailorClient.ts index b13c52275937..e4525b689a87 100644 --- a/clients/client-mediatailor/src/MediaTailorClient.ts +++ b/clients/client-mediatailor/src/MediaTailorClient.ts @@ -344,15 +344,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-medical-imaging/src/MedicalImagingClient.ts b/clients/client-medical-imaging/src/MedicalImagingClient.ts index 4a5dcf06af83..564667b10d3b 100644 --- a/clients/client-medical-imaging/src/MedicalImagingClient.ts +++ b/clients/client-medical-imaging/src/MedicalImagingClient.ts @@ -234,15 +234,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-memorydb/src/MemoryDBClient.ts b/clients/client-memorydb/src/MemoryDBClient.ts index c4b06a76de1c..b07e3d0b0b97 100644 --- a/clients/client-memorydb/src/MemoryDBClient.ts +++ b/clients/client-memorydb/src/MemoryDBClient.ts @@ -311,15 +311,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-mgn/src/MgnClient.ts b/clients/client-mgn/src/MgnClient.ts index 2e2ce4ad94c6..fae0d3670f6b 100644 --- a/clients/client-mgn/src/MgnClient.ts +++ b/clients/client-mgn/src/MgnClient.ts @@ -470,15 +470,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-migration-hub-refactor-spaces/src/MigrationHubRefactorSpacesClient.ts b/clients/client-migration-hub-refactor-spaces/src/MigrationHubRefactorSpacesClient.ts index 4b871dcda08e..b61a21d13e8f 100644 --- a/clients/client-migration-hub-refactor-spaces/src/MigrationHubRefactorSpacesClient.ts +++ b/clients/client-migration-hub-refactor-spaces/src/MigrationHubRefactorSpacesClient.ts @@ -242,15 +242,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-migration-hub/src/MigrationHubClient.ts b/clients/client-migration-hub/src/MigrationHubClient.ts index c0257bdf4e00..b5852736c4a1 100644 --- a/clients/client-migration-hub/src/MigrationHubClient.ts +++ b/clients/client-migration-hub/src/MigrationHubClient.ts @@ -260,15 +260,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-migrationhub-config/src/MigrationHubConfigClient.ts b/clients/client-migrationhub-config/src/MigrationHubConfigClient.ts index c53a551048e0..2a95283da44d 100644 --- a/clients/client-migrationhub-config/src/MigrationHubConfigClient.ts +++ b/clients/client-migrationhub-config/src/MigrationHubConfigClient.ts @@ -182,15 +182,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-migrationhuborchestrator/src/MigrationHubOrchestratorClient.ts b/clients/client-migrationhuborchestrator/src/MigrationHubOrchestratorClient.ts index 75c1c2177fc9..70ecce8e2e56 100644 --- a/clients/client-migrationhuborchestrator/src/MigrationHubOrchestratorClient.ts +++ b/clients/client-migrationhuborchestrator/src/MigrationHubOrchestratorClient.ts @@ -278,15 +278,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-migrationhubstrategy/src/MigrationHubStrategyClient.ts b/clients/client-migrationhubstrategy/src/MigrationHubStrategyClient.ts index dd270cd0be8c..583e8de60830 100644 --- a/clients/client-migrationhubstrategy/src/MigrationHubStrategyClient.ts +++ b/clients/client-migrationhubstrategy/src/MigrationHubStrategyClient.ts @@ -266,15 +266,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-mobile/src/MobileClient.ts b/clients/client-mobile/src/MobileClient.ts index 5c7373b3c89d..e71063fc97c2 100644 --- a/clients/client-mobile/src/MobileClient.ts +++ b/clients/client-mobile/src/MobileClient.ts @@ -188,15 +188,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-mq/src/MqClient.ts b/clients/client-mq/src/MqClient.ts index 1e4672e7ec4d..b2b98a25b038 100644 --- a/clients/client-mq/src/MqClient.ts +++ b/clients/client-mq/src/MqClient.ts @@ -251,15 +251,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-mturk/src/MTurkClient.ts b/clients/client-mturk/src/MTurkClient.ts index 92cf90fc3ff7..0bbf4e38ece7 100644 --- a/clients/client-mturk/src/MTurkClient.ts +++ b/clients/client-mturk/src/MTurkClient.ts @@ -341,15 +341,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-mwaa/src/MWAAClient.ts b/clients/client-mwaa/src/MWAAClient.ts index 2730e6739c49..8c061d60bae1 100644 --- a/clients/client-mwaa/src/MWAAClient.ts +++ b/clients/client-mwaa/src/MWAAClient.ts @@ -200,15 +200,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-neptune-graph/src/NeptuneGraphClient.ts b/clients/client-neptune-graph/src/NeptuneGraphClient.ts index 49ff91290858..fd9e63c728ab 100644 --- a/clients/client-neptune-graph/src/NeptuneGraphClient.ts +++ b/clients/client-neptune-graph/src/NeptuneGraphClient.ts @@ -273,15 +273,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-neptune/src/NeptuneClient.ts b/clients/client-neptune/src/NeptuneClient.ts index 061f30c0a278..7eedc587212f 100644 --- a/clients/client-neptune/src/NeptuneClient.ts +++ b/clients/client-neptune/src/NeptuneClient.ts @@ -533,15 +533,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-neptunedata/src/NeptunedataClient.ts b/clients/client-neptunedata/src/NeptunedataClient.ts index c22d397159f0..dd694bab2f03 100644 --- a/clients/client-neptunedata/src/NeptunedataClient.ts +++ b/clients/client-neptunedata/src/NeptunedataClient.ts @@ -377,15 +377,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-network-firewall/src/NetworkFirewallClient.ts b/clients/client-network-firewall/src/NetworkFirewallClient.ts index 65287e57db32..726ce43c3f9f 100644 --- a/clients/client-network-firewall/src/NetworkFirewallClient.ts +++ b/clients/client-network-firewall/src/NetworkFirewallClient.ts @@ -338,15 +338,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-networkmanager/src/NetworkManagerClient.ts b/clients/client-networkmanager/src/NetworkManagerClient.ts index d95f58b6d4df..aba8bdd392f0 100644 --- a/clients/client-networkmanager/src/NetworkManagerClient.ts +++ b/clients/client-networkmanager/src/NetworkManagerClient.ts @@ -548,15 +548,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-networkmonitor/src/NetworkMonitorClient.ts b/clients/client-networkmonitor/src/NetworkMonitorClient.ts index 110a6a9ec876..7020f85e655e 100644 --- a/clients/client-networkmonitor/src/NetworkMonitorClient.ts +++ b/clients/client-networkmonitor/src/NetworkMonitorClient.ts @@ -200,15 +200,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-nimble/src/NimbleClient.ts b/clients/client-nimble/src/NimbleClient.ts index 3d79d0591ead..e029053bcf03 100644 --- a/clients/client-nimble/src/NimbleClient.ts +++ b/clients/client-nimble/src/NimbleClient.ts @@ -401,15 +401,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-oam/src/OAMClient.ts b/clients/client-oam/src/OAMClient.ts index fd31824db3c0..e7c363f1aecb 100644 --- a/clients/client-oam/src/OAMClient.ts +++ b/clients/client-oam/src/OAMClient.ts @@ -209,15 +209,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-omics/src/OmicsClient.ts b/clients/client-omics/src/OmicsClient.ts index 26720c084464..be7adb13d48f 100644 --- a/clients/client-omics/src/OmicsClient.ts +++ b/clients/client-omics/src/OmicsClient.ts @@ -531,15 +531,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-opensearch/src/OpenSearchClient.ts b/clients/client-opensearch/src/OpenSearchClient.ts index 98e2e1fa9fe6..28076315ce69 100644 --- a/clients/client-opensearch/src/OpenSearchClient.ts +++ b/clients/client-opensearch/src/OpenSearchClient.ts @@ -455,15 +455,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-opensearchserverless/src/OpenSearchServerlessClient.ts b/clients/client-opensearchserverless/src/OpenSearchServerlessClient.ts index 34d359b6fbbb..6d2126924358 100644 --- a/clients/client-opensearchserverless/src/OpenSearchServerlessClient.ts +++ b/clients/client-opensearchserverless/src/OpenSearchServerlessClient.ts @@ -323,15 +323,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-opsworks/src/OpsWorksClient.ts b/clients/client-opsworks/src/OpsWorksClient.ts index de46fe6368d4..2d575b2c8c43 100644 --- a/clients/client-opsworks/src/OpsWorksClient.ts +++ b/clients/client-opsworks/src/OpsWorksClient.ts @@ -461,15 +461,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-opsworkscm/src/OpsWorksCMClient.ts b/clients/client-opsworkscm/src/OpsWorksCMClient.ts index e4cbaf7e02cc..c600b81e6aa5 100644 --- a/clients/client-opsworkscm/src/OpsWorksCMClient.ts +++ b/clients/client-opsworkscm/src/OpsWorksCMClient.ts @@ -233,15 +233,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-organizations/src/OrganizationsClient.ts b/clients/client-organizations/src/OrganizationsClient.ts index acfeeb4373bf..67705c9069b2 100644 --- a/clients/client-organizations/src/OrganizationsClient.ts +++ b/clients/client-organizations/src/OrganizationsClient.ts @@ -407,15 +407,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-osis/src/OSISClient.ts b/clients/client-osis/src/OSISClient.ts index dec11519f691..8153b19f75ad 100644 --- a/clients/client-osis/src/OSISClient.ts +++ b/clients/client-osis/src/OSISClient.ts @@ -215,15 +215,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-outposts/src/OutpostsClient.ts b/clients/client-outposts/src/OutpostsClient.ts index c617286ade3a..abc52c7f0210 100644 --- a/clients/client-outposts/src/OutpostsClient.ts +++ b/clients/client-outposts/src/OutpostsClient.ts @@ -266,15 +266,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-panorama/src/PanoramaClient.ts b/clients/client-panorama/src/PanoramaClient.ts index 23d2dc019fb5..f36ebf07fec3 100644 --- a/clients/client-panorama/src/PanoramaClient.ts +++ b/clients/client-panorama/src/PanoramaClient.ts @@ -323,15 +323,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-payment-cryptography-data/src/PaymentCryptographyDataClient.ts b/clients/client-payment-cryptography-data/src/PaymentCryptographyDataClient.ts index 9f240be23388..728d2a4b0b9f 100644 --- a/clients/client-payment-cryptography-data/src/PaymentCryptographyDataClient.ts +++ b/clients/client-payment-cryptography-data/src/PaymentCryptographyDataClient.ts @@ -203,15 +203,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-payment-cryptography/src/PaymentCryptographyClient.ts b/clients/client-payment-cryptography/src/PaymentCryptographyClient.ts index e26f45cc9dba..80bbad40c773 100644 --- a/clients/client-payment-cryptography/src/PaymentCryptographyClient.ts +++ b/clients/client-payment-cryptography/src/PaymentCryptographyClient.ts @@ -233,15 +233,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-pca-connector-ad/src/PcaConnectorAdClient.ts b/clients/client-pca-connector-ad/src/PcaConnectorAdClient.ts index a0da30b9818f..dcfd488f366b 100644 --- a/clients/client-pca-connector-ad/src/PcaConnectorAdClient.ts +++ b/clients/client-pca-connector-ad/src/PcaConnectorAdClient.ts @@ -278,15 +278,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-personalize-events/src/PersonalizeEventsClient.ts b/clients/client-personalize-events/src/PersonalizeEventsClient.ts index 85f2537f7b51..205d779b6f48 100644 --- a/clients/client-personalize-events/src/PersonalizeEventsClient.ts +++ b/clients/client-personalize-events/src/PersonalizeEventsClient.ts @@ -179,15 +179,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-personalize-runtime/src/PersonalizeRuntimeClient.ts b/clients/client-personalize-runtime/src/PersonalizeRuntimeClient.ts index 5e633c52469a..68b88c7decc7 100644 --- a/clients/client-personalize-runtime/src/PersonalizeRuntimeClient.ts +++ b/clients/client-personalize-runtime/src/PersonalizeRuntimeClient.ts @@ -176,15 +176,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-personalize/src/PersonalizeClient.ts b/clients/client-personalize/src/PersonalizeClient.ts index 114aa5d7235c..e81df95af896 100644 --- a/clients/client-personalize/src/PersonalizeClient.ts +++ b/clients/client-personalize/src/PersonalizeClient.ts @@ -461,15 +461,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-pi/src/PIClient.ts b/clients/client-pi/src/PIClient.ts index eb443c372a11..c3e6f4da04c7 100644 --- a/clients/client-pi/src/PIClient.ts +++ b/clients/client-pi/src/PIClient.ts @@ -230,15 +230,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-pinpoint-email/src/PinpointEmailClient.ts b/clients/client-pinpoint-email/src/PinpointEmailClient.ts index 4b113e59b22a..5eab7782eb60 100644 --- a/clients/client-pinpoint-email/src/PinpointEmailClient.ts +++ b/clients/client-pinpoint-email/src/PinpointEmailClient.ts @@ -392,15 +392,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-pinpoint-sms-voice-v2/src/PinpointSMSVoiceV2Client.ts b/clients/client-pinpoint-sms-voice-v2/src/PinpointSMSVoiceV2Client.ts index f52b78a98f33..116e3603017d 100644 --- a/clients/client-pinpoint-sms-voice-v2/src/PinpointSMSVoiceV2Client.ts +++ b/clients/client-pinpoint-sms-voice-v2/src/PinpointSMSVoiceV2Client.ts @@ -578,15 +578,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-pinpoint-sms-voice/src/PinpointSMSVoiceClient.ts b/clients/client-pinpoint-sms-voice/src/PinpointSMSVoiceClient.ts index 3db3d9f99131..9bf090346297 100644 --- a/clients/client-pinpoint-sms-voice/src/PinpointSMSVoiceClient.ts +++ b/clients/client-pinpoint-sms-voice/src/PinpointSMSVoiceClient.ts @@ -206,15 +206,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-pinpoint/src/PinpointClient.ts b/clients/client-pinpoint/src/PinpointClient.ts index 16e9aa879b26..f1808b2f2b8e 100644 --- a/clients/client-pinpoint/src/PinpointClient.ts +++ b/clients/client-pinpoint/src/PinpointClient.ts @@ -650,15 +650,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-pipes/src/PipesClient.ts b/clients/client-pipes/src/PipesClient.ts index 3d4bcfada4cb..45fffd69f55f 100644 --- a/clients/client-pipes/src/PipesClient.ts +++ b/clients/client-pipes/src/PipesClient.ts @@ -194,15 +194,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-polly/src/PollyClient.ts b/clients/client-polly/src/PollyClient.ts index 3c1466c60ef9..b6010bfe0bad 100644 --- a/clients/client-polly/src/PollyClient.ts +++ b/clients/client-polly/src/PollyClient.ts @@ -198,15 +198,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-pricing/src/PricingClient.ts b/clients/client-pricing/src/PricingClient.ts index 81ef33327f02..43bbe8adf09b 100644 --- a/clients/client-pricing/src/PricingClient.ts +++ b/clients/client-pricing/src/PricingClient.ts @@ -179,15 +179,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-privatenetworks/src/PrivateNetworksClient.ts b/clients/client-privatenetworks/src/PrivateNetworksClient.ts index 8ae2a04972ba..dbb6f4f11ac9 100644 --- a/clients/client-privatenetworks/src/PrivateNetworksClient.ts +++ b/clients/client-privatenetworks/src/PrivateNetworksClient.ts @@ -272,15 +272,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-proton/src/ProtonClient.ts b/clients/client-proton/src/ProtonClient.ts index 60490ea62f5d..e287a3ead9c0 100644 --- a/clients/client-proton/src/ProtonClient.ts +++ b/clients/client-proton/src/ProtonClient.ts @@ -602,15 +602,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-qbusiness/src/QBusinessClient.ts b/clients/client-qbusiness/src/QBusinessClient.ts index e007bd29a7c8..e94062cac3a1 100644 --- a/clients/client-qbusiness/src/QBusinessClient.ts +++ b/clients/client-qbusiness/src/QBusinessClient.ts @@ -374,15 +374,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-qconnect/src/QConnectClient.ts b/clients/client-qconnect/src/QConnectClient.ts index fafb4bf693aa..3c03183289b6 100644 --- a/clients/client-qconnect/src/QConnectClient.ts +++ b/clients/client-qconnect/src/QConnectClient.ts @@ -332,15 +332,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-qldb-session/src/QLDBSessionClient.ts b/clients/client-qldb-session/src/QLDBSessionClient.ts index 8f1a19b1b104..6f91032ba8ae 100644 --- a/clients/client-qldb-session/src/QLDBSessionClient.ts +++ b/clients/client-qldb-session/src/QLDBSessionClient.ts @@ -162,15 +162,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-qldb/src/QLDBClient.ts b/clients/client-qldb/src/QLDBClient.ts index a20fcbecb945..9e862ff596cd 100644 --- a/clients/client-qldb/src/QLDBClient.ts +++ b/clients/client-qldb/src/QLDBClient.ts @@ -248,15 +248,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-quicksight/src/QuickSightClient.ts b/clients/client-quicksight/src/QuickSightClient.ts index 372bd770a469..d709e33100c5 100644 --- a/clients/client-quicksight/src/QuickSightClient.ts +++ b/clients/client-quicksight/src/QuickSightClient.ts @@ -974,15 +974,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-ram/src/RAMClient.ts b/clients/client-ram/src/RAMClient.ts index 164d1b84256e..263d42fbbc4a 100644 --- a/clients/client-ram/src/RAMClient.ts +++ b/clients/client-ram/src/RAMClient.ts @@ -335,15 +335,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-rbin/src/RbinClient.ts b/clients/client-rbin/src/RbinClient.ts index 1e7f6cad9278..e8a57ac910d3 100644 --- a/clients/client-rbin/src/RbinClient.ts +++ b/clients/client-rbin/src/RbinClient.ts @@ -194,15 +194,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-rds-data/src/RDSDataClient.ts b/clients/client-rds-data/src/RDSDataClient.ts index 25f536c704fa..addf0170f417 100644 --- a/clients/client-rds-data/src/RDSDataClient.ts +++ b/clients/client-rds-data/src/RDSDataClient.ts @@ -185,15 +185,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-rds/src/RDSClient.ts b/clients/client-rds/src/RDSClient.ts index 8d88b005a6db..eaace25cfb3e 100644 --- a/clients/client-rds/src/RDSClient.ts +++ b/clients/client-rds/src/RDSClient.ts @@ -1001,15 +1001,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-redshift-data/src/RedshiftDataClient.ts b/clients/client-redshift-data/src/RedshiftDataClient.ts index e28dd6fa6662..4d0d608e5b35 100644 --- a/clients/client-redshift-data/src/RedshiftDataClient.ts +++ b/clients/client-redshift-data/src/RedshiftDataClient.ts @@ -194,15 +194,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-redshift-serverless/src/RedshiftServerlessClient.ts b/clients/client-redshift-serverless/src/RedshiftServerlessClient.ts index 2f135b4ccdd3..5b4b75d3cf4b 100644 --- a/clients/client-redshift-serverless/src/RedshiftServerlessClient.ts +++ b/clients/client-redshift-serverless/src/RedshiftServerlessClient.ts @@ -401,15 +401,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-redshift/src/RedshiftClient.ts b/clients/client-redshift/src/RedshiftClient.ts index 6d3447aae9e7..d50e775a74e5 100644 --- a/clients/client-redshift/src/RedshiftClient.ts +++ b/clients/client-redshift/src/RedshiftClient.ts @@ -872,15 +872,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-rekognition/src/RekognitionClient.ts b/clients/client-rekognition/src/RekognitionClient.ts index 91faa666961a..ed75df2ab52a 100644 --- a/clients/client-rekognition/src/RekognitionClient.ts +++ b/clients/client-rekognition/src/RekognitionClient.ts @@ -482,15 +482,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-repostspace/src/RepostspaceClient.ts b/clients/client-repostspace/src/RepostspaceClient.ts index bede580a6f0b..e7551b8162f7 100644 --- a/clients/client-repostspace/src/RepostspaceClient.ts +++ b/clients/client-repostspace/src/RepostspaceClient.ts @@ -197,15 +197,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-resiliencehub/src/ResiliencehubClient.ts b/clients/client-resiliencehub/src/ResiliencehubClient.ts index db6b3f478f00..90c50b948d2f 100644 --- a/clients/client-resiliencehub/src/ResiliencehubClient.ts +++ b/clients/client-resiliencehub/src/ResiliencehubClient.ts @@ -452,15 +452,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-resource-explorer-2/src/ResourceExplorer2Client.ts b/clients/client-resource-explorer-2/src/ResourceExplorer2Client.ts index 6ad571cad72a..b728c021eb21 100644 --- a/clients/client-resource-explorer-2/src/ResourceExplorer2Client.ts +++ b/clients/client-resource-explorer-2/src/ResourceExplorer2Client.ts @@ -242,15 +242,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-resource-groups-tagging-api/src/ResourceGroupsTaggingAPIClient.ts b/clients/client-resource-groups-tagging-api/src/ResourceGroupsTaggingAPIClient.ts index 34e0dc5c5b85..0fb0eda1d626 100644 --- a/clients/client-resource-groups-tagging-api/src/ResourceGroupsTaggingAPIClient.ts +++ b/clients/client-resource-groups-tagging-api/src/ResourceGroupsTaggingAPIClient.ts @@ -194,15 +194,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-resource-groups/src/ResourceGroupsClient.ts b/clients/client-resource-groups/src/ResourceGroupsClient.ts index 3639a1351db8..14a22ad25673 100644 --- a/clients/client-resource-groups/src/ResourceGroupsClient.ts +++ b/clients/client-resource-groups/src/ResourceGroupsClient.ts @@ -224,15 +224,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-robomaker/src/RoboMakerClient.ts b/clients/client-robomaker/src/RoboMakerClient.ts index ee2829ca6b08..28d0fcf1e4ad 100644 --- a/clients/client-robomaker/src/RoboMakerClient.ts +++ b/clients/client-robomaker/src/RoboMakerClient.ts @@ -446,15 +446,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-rolesanywhere/src/RolesAnywhereClient.ts b/clients/client-rolesanywhere/src/RolesAnywhereClient.ts index 2ae80e810206..b9de4acb4dce 100644 --- a/clients/client-rolesanywhere/src/RolesAnywhereClient.ts +++ b/clients/client-rolesanywhere/src/RolesAnywhereClient.ts @@ -266,15 +266,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-route-53-domains/src/Route53DomainsClient.ts b/clients/client-route-53-domains/src/Route53DomainsClient.ts index c7ed40270c94..d68b50b66a87 100644 --- a/clients/client-route-53-domains/src/Route53DomainsClient.ts +++ b/clients/client-route-53-domains/src/Route53DomainsClient.ts @@ -329,15 +329,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-route-53/src/Route53Client.ts b/clients/client-route-53/src/Route53Client.ts index 12b127a9ab69..067c4d3ef6c4 100644 --- a/clients/client-route-53/src/Route53Client.ts +++ b/clients/client-route-53/src/Route53Client.ts @@ -518,15 +518,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-route53-recovery-cluster/src/Route53RecoveryClusterClient.ts b/clients/client-route53-recovery-cluster/src/Route53RecoveryClusterClient.ts index df6d692c9683..c495a42a202b 100644 --- a/clients/client-route53-recovery-cluster/src/Route53RecoveryClusterClient.ts +++ b/clients/client-route53-recovery-cluster/src/Route53RecoveryClusterClient.ts @@ -185,15 +185,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-route53-recovery-control-config/src/Route53RecoveryControlConfigClient.ts b/clients/client-route53-recovery-control-config/src/Route53RecoveryControlConfigClient.ts index 4a97637bc41e..6eb299cdacde 100644 --- a/clients/client-route53-recovery-control-config/src/Route53RecoveryControlConfigClient.ts +++ b/clients/client-route53-recovery-control-config/src/Route53RecoveryControlConfigClient.ts @@ -257,15 +257,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-route53-recovery-readiness/src/Route53RecoveryReadinessClient.ts b/clients/client-route53-recovery-readiness/src/Route53RecoveryReadinessClient.ts index 1e8a8c8890c6..9d87adc4ca49 100644 --- a/clients/client-route53-recovery-readiness/src/Route53RecoveryReadinessClient.ts +++ b/clients/client-route53-recovery-readiness/src/Route53RecoveryReadinessClient.ts @@ -305,15 +305,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-route53profiles/src/Route53ProfilesClient.ts b/clients/client-route53profiles/src/Route53ProfilesClient.ts index 757eef10e3b7..4409daf05fa2 100644 --- a/clients/client-route53profiles/src/Route53ProfilesClient.ts +++ b/clients/client-route53profiles/src/Route53ProfilesClient.ts @@ -236,15 +236,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-route53resolver/src/Route53ResolverClient.ts b/clients/client-route53resolver/src/Route53ResolverClient.ts index f686d73f2e0a..8d98af08f1e9 100644 --- a/clients/client-route53resolver/src/Route53ResolverClient.ts +++ b/clients/client-route53resolver/src/Route53ResolverClient.ts @@ -527,15 +527,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-rum/src/RUMClient.ts b/clients/client-rum/src/RUMClient.ts index 0cbd7ca46114..3d9ed4ac2dab 100644 --- a/clients/client-rum/src/RUMClient.ts +++ b/clients/client-rum/src/RUMClient.ts @@ -236,15 +236,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-s3-control/src/S3ControlClient.ts b/clients/client-s3-control/src/S3ControlClient.ts index 186268ceaba5..63db0cd3a43f 100644 --- a/clients/client-s3-control/src/S3ControlClient.ts +++ b/clients/client-s3-control/src/S3ControlClient.ts @@ -641,15 +641,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-s3outposts/src/S3OutpostsClient.ts b/clients/client-s3outposts/src/S3OutpostsClient.ts index f2a4faa5f84f..4fda51b0405c 100644 --- a/clients/client-s3outposts/src/S3OutpostsClient.ts +++ b/clients/client-s3outposts/src/S3OutpostsClient.ts @@ -179,15 +179,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-sagemaker-a2i-runtime/src/SageMakerA2IRuntimeClient.ts b/clients/client-sagemaker-a2i-runtime/src/SageMakerA2IRuntimeClient.ts index c4ba03ed3658..40daa8b2abf6 100644 --- a/clients/client-sagemaker-a2i-runtime/src/SageMakerA2IRuntimeClient.ts +++ b/clients/client-sagemaker-a2i-runtime/src/SageMakerA2IRuntimeClient.ts @@ -176,15 +176,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-sagemaker-edge/src/SagemakerEdgeClient.ts b/clients/client-sagemaker-edge/src/SagemakerEdgeClient.ts index 1b70b71ee086..09e7ca10c534 100644 --- a/clients/client-sagemaker-edge/src/SagemakerEdgeClient.ts +++ b/clients/client-sagemaker-edge/src/SagemakerEdgeClient.ts @@ -173,15 +173,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-sagemaker-featurestore-runtime/src/SageMakerFeatureStoreRuntimeClient.ts b/clients/client-sagemaker-featurestore-runtime/src/SageMakerFeatureStoreRuntimeClient.ts index ab2946f60774..2a2ac3e656f9 100644 --- a/clients/client-sagemaker-featurestore-runtime/src/SageMakerFeatureStoreRuntimeClient.ts +++ b/clients/client-sagemaker-featurestore-runtime/src/SageMakerFeatureStoreRuntimeClient.ts @@ -173,15 +173,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-sagemaker-geospatial/src/SageMakerGeospatialClient.ts b/clients/client-sagemaker-geospatial/src/SageMakerGeospatialClient.ts index 67c8fa179cfc..7d4f55fc849e 100644 --- a/clients/client-sagemaker-geospatial/src/SageMakerGeospatialClient.ts +++ b/clients/client-sagemaker-geospatial/src/SageMakerGeospatialClient.ts @@ -267,15 +267,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-sagemaker-metrics/src/SageMakerMetricsClient.ts b/clients/client-sagemaker-metrics/src/SageMakerMetricsClient.ts index 9291fd34b579..121a9e0d53ae 100644 --- a/clients/client-sagemaker-metrics/src/SageMakerMetricsClient.ts +++ b/clients/client-sagemaker-metrics/src/SageMakerMetricsClient.ts @@ -162,15 +162,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-sagemaker-runtime/src/SageMakerRuntimeClient.ts b/clients/client-sagemaker-runtime/src/SageMakerRuntimeClient.ts index 6dc4dd2c6b68..d15b2d87092e 100644 --- a/clients/client-sagemaker-runtime/src/SageMakerRuntimeClient.ts +++ b/clients/client-sagemaker-runtime/src/SageMakerRuntimeClient.ts @@ -182,15 +182,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-sagemaker/src/SageMakerClient.ts b/clients/client-sagemaker/src/SageMakerClient.ts index aa2d2c23598a..6de803da7260 100644 --- a/clients/client-sagemaker/src/SageMakerClient.ts +++ b/clients/client-sagemaker/src/SageMakerClient.ts @@ -1613,15 +1613,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-savingsplans/src/SavingsplansClient.ts b/clients/client-savingsplans/src/SavingsplansClient.ts index f279ee13ec17..3567ad5b07cb 100644 --- a/clients/client-savingsplans/src/SavingsplansClient.ts +++ b/clients/client-savingsplans/src/SavingsplansClient.ts @@ -209,15 +209,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-scheduler/src/SchedulerClient.ts b/clients/client-scheduler/src/SchedulerClient.ts index f41312894107..66bee9514ad4 100644 --- a/clients/client-scheduler/src/SchedulerClient.ts +++ b/clients/client-scheduler/src/SchedulerClient.ts @@ -206,15 +206,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-schemas/src/SchemasClient.ts b/clients/client-schemas/src/SchemasClient.ts index 5b890e48f475..ebcfdc0312c7 100644 --- a/clients/client-schemas/src/SchemasClient.ts +++ b/clients/client-schemas/src/SchemasClient.ts @@ -272,15 +272,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-secrets-manager/src/SecretsManagerClient.ts b/clients/client-secrets-manager/src/SecretsManagerClient.ts index e4bad2f0885e..e0af3c0c3fd6 100644 --- a/clients/client-secrets-manager/src/SecretsManagerClient.ts +++ b/clients/client-secrets-manager/src/SecretsManagerClient.ts @@ -254,15 +254,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-securityhub/src/SecurityHubClient.ts b/clients/client-securityhub/src/SecurityHubClient.ts index 75bdf7914e9f..7c285df09e56 100644 --- a/clients/client-securityhub/src/SecurityHubClient.ts +++ b/clients/client-securityhub/src/SecurityHubClient.ts @@ -551,15 +551,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-securitylake/src/SecurityLakeClient.ts b/clients/client-securitylake/src/SecurityLakeClient.ts index 70e450543f00..effc43e6e94c 100644 --- a/clients/client-securitylake/src/SecurityLakeClient.ts +++ b/clients/client-securitylake/src/SecurityLakeClient.ts @@ -302,15 +302,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-serverlessapplicationrepository/src/ServerlessApplicationRepositoryClient.ts b/clients/client-serverlessapplicationrepository/src/ServerlessApplicationRepositoryClient.ts index 0fa513fe4c19..141088058e37 100644 --- a/clients/client-serverlessapplicationrepository/src/ServerlessApplicationRepositoryClient.ts +++ b/clients/client-serverlessapplicationrepository/src/ServerlessApplicationRepositoryClient.ts @@ -227,15 +227,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-service-catalog-appregistry/src/ServiceCatalogAppRegistryClient.ts b/clients/client-service-catalog-appregistry/src/ServiceCatalogAppRegistryClient.ts index 1427d2b89ccb..6ba307c43feb 100644 --- a/clients/client-service-catalog-appregistry/src/ServiceCatalogAppRegistryClient.ts +++ b/clients/client-service-catalog-appregistry/src/ServiceCatalogAppRegistryClient.ts @@ -269,15 +269,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-service-catalog/src/ServiceCatalogClient.ts b/clients/client-service-catalog/src/ServiceCatalogClient.ts index 767054dfca82..e8242d8959f7 100644 --- a/clients/client-service-catalog/src/ServiceCatalogClient.ts +++ b/clients/client-service-catalog/src/ServiceCatalogClient.ts @@ -626,15 +626,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-service-quotas/src/ServiceQuotasClient.ts b/clients/client-service-quotas/src/ServiceQuotasClient.ts index 16b77949482d..c2f853f287e5 100644 --- a/clients/client-service-quotas/src/ServiceQuotasClient.ts +++ b/clients/client-service-quotas/src/ServiceQuotasClient.ts @@ -260,15 +260,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-servicediscovery/src/ServiceDiscoveryClient.ts b/clients/client-servicediscovery/src/ServiceDiscoveryClient.ts index c8fc914cf217..537a05b2d64e 100644 --- a/clients/client-servicediscovery/src/ServiceDiscoveryClient.ts +++ b/clients/client-servicediscovery/src/ServiceDiscoveryClient.ts @@ -272,15 +272,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-ses/src/SESClient.ts b/clients/client-ses/src/SESClient.ts index 2275c06a13c6..f2dd74938f3f 100644 --- a/clients/client-ses/src/SESClient.ts +++ b/clients/client-ses/src/SESClient.ts @@ -524,15 +524,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-sesv2/src/SESv2Client.ts b/clients/client-sesv2/src/SESv2Client.ts index abf427cf208c..b414b4d3b563 100644 --- a/clients/client-sesv2/src/SESv2Client.ts +++ b/clients/client-sesv2/src/SESv2Client.ts @@ -620,15 +620,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-sfn/src/SFNClient.ts b/clients/client-sfn/src/SFNClient.ts index 3d4579c115df..a626e3434515 100644 --- a/clients/client-sfn/src/SFNClient.ts +++ b/clients/client-sfn/src/SFNClient.ts @@ -311,15 +311,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-shield/src/ShieldClient.ts b/clients/client-shield/src/ShieldClient.ts index 6e3ecc5204fc..e3c1ee1d3723 100644 --- a/clients/client-shield/src/ShieldClient.ts +++ b/clients/client-shield/src/ShieldClient.ts @@ -338,15 +338,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-signer/src/SignerClient.ts b/clients/client-signer/src/SignerClient.ts index f3d6aa44e408..8a2dacdb15c6 100644 --- a/clients/client-signer/src/SignerClient.ts +++ b/clients/client-signer/src/SignerClient.ts @@ -245,15 +245,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-simspaceweaver/src/SimSpaceWeaverClient.ts b/clients/client-simspaceweaver/src/SimSpaceWeaverClient.ts index c7bada4e0884..e52c3c0cc7db 100644 --- a/clients/client-simspaceweaver/src/SimSpaceWeaverClient.ts +++ b/clients/client-simspaceweaver/src/SimSpaceWeaverClient.ts @@ -212,15 +212,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-sms/src/SMSClient.ts b/clients/client-sms/src/SMSClient.ts index e181621e1b24..2add542016ba 100644 --- a/clients/client-sms/src/SMSClient.ts +++ b/clients/client-sms/src/SMSClient.ts @@ -326,15 +326,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-snow-device-management/src/SnowDeviceManagementClient.ts b/clients/client-snow-device-management/src/SnowDeviceManagementClient.ts index f3373e085803..3c8214c5294d 100644 --- a/clients/client-snow-device-management/src/SnowDeviceManagementClient.ts +++ b/clients/client-snow-device-management/src/SnowDeviceManagementClient.ts @@ -209,15 +209,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-snowball/src/SnowballClient.ts b/clients/client-snowball/src/SnowballClient.ts index 50553899da7e..9576adad42e0 100644 --- a/clients/client-snowball/src/SnowballClient.ts +++ b/clients/client-snowball/src/SnowballClient.ts @@ -269,15 +269,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-sns/src/SNSClient.ts b/clients/client-sns/src/SNSClient.ts index 1bab33d7d4b0..fbdfd56f22b3 100644 --- a/clients/client-sns/src/SNSClient.ts +++ b/clients/client-sns/src/SNSClient.ts @@ -359,15 +359,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-sqs/src/SQSClient.ts b/clients/client-sqs/src/SQSClient.ts index 968d11423b5e..b4f8298eedff 100644 --- a/clients/client-sqs/src/SQSClient.ts +++ b/clients/client-sqs/src/SQSClient.ts @@ -255,6 +255,11 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand */ useFipsEndpoint?: boolean | __Provider; + /** + * The AWS region to which this client will send requests + */ + region?: string | __Provider; + /** * A constructor for a class implementing the {@link __Checksum} interface * that computes MD5 hashes, or false to prevent MD5 computation. @@ -267,11 +272,6 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand */ defaultUserAgentProvider?: Provider<__UserAgent>; - /** - * The AWS region to which this client will send requests - */ - region?: string | __Provider; - /** * Default credentials provider; Not available in browser runtime. * @deprecated diff --git a/clients/client-ssm-contacts/src/SSMContactsClient.ts b/clients/client-ssm-contacts/src/SSMContactsClient.ts index 2fca7b8408b5..674868132ec4 100644 --- a/clients/client-ssm-contacts/src/SSMContactsClient.ts +++ b/clients/client-ssm-contacts/src/SSMContactsClient.ts @@ -320,15 +320,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-ssm-incidents/src/SSMIncidentsClient.ts b/clients/client-ssm-incidents/src/SSMIncidentsClient.ts index 247fbe49b42a..a5f600ce0abf 100644 --- a/clients/client-ssm-incidents/src/SSMIncidentsClient.ts +++ b/clients/client-ssm-incidents/src/SSMIncidentsClient.ts @@ -302,15 +302,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-ssm-sap/src/SsmSapClient.ts b/clients/client-ssm-sap/src/SsmSapClient.ts index f0edcb64d374..4fe52dad5449 100644 --- a/clients/client-ssm-sap/src/SsmSapClient.ts +++ b/clients/client-ssm-sap/src/SsmSapClient.ts @@ -251,15 +251,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-ssm/src/SSMClient.ts b/clients/client-ssm/src/SSMClient.ts index 2a4976fa6e95..0d2f23fda0bb 100644 --- a/clients/client-ssm/src/SSMClient.ts +++ b/clients/client-ssm/src/SSMClient.ts @@ -860,15 +860,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-sso-admin/src/SSOAdminClient.ts b/clients/client-sso-admin/src/SSOAdminClient.ts index 9fa1639a721a..2b990f26ea77 100644 --- a/clients/client-sso-admin/src/SSOAdminClient.ts +++ b/clients/client-sso-admin/src/SSOAdminClient.ts @@ -563,15 +563,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-sso-oidc/src/SSOOIDCClient.ts b/clients/client-sso-oidc/src/SSOOIDCClient.ts index 031ac5ebcb0a..a690e3a1e51b 100644 --- a/clients/client-sso-oidc/src/SSOOIDCClient.ts +++ b/clients/client-sso-oidc/src/SSOOIDCClient.ts @@ -176,15 +176,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-sso/src/SSOClient.ts b/clients/client-sso/src/SSOClient.ts index 9f795f97d998..91037ad5715a 100644 --- a/clients/client-sso/src/SSOClient.ts +++ b/clients/client-sso/src/SSOClient.ts @@ -172,15 +172,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Value for how many times a request will be made at most in case of retry. diff --git a/clients/client-storage-gateway/src/StorageGatewayClient.ts b/clients/client-storage-gateway/src/StorageGatewayClient.ts index 84091cedde64..b0b5960897bb 100644 --- a/clients/client-storage-gateway/src/StorageGatewayClient.ts +++ b/clients/client-storage-gateway/src/StorageGatewayClient.ts @@ -584,15 +584,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-sts/src/STSClient.ts b/clients/client-sts/src/STSClient.ts index d90b40bf6d07..ddba981e48d5 100644 --- a/clients/client-sts/src/STSClient.ts +++ b/clients/client-sts/src/STSClient.ts @@ -191,15 +191,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-supplychain/src/SupplyChainClient.ts b/clients/client-supplychain/src/SupplyChainClient.ts index 2627e470b659..8154db880c9c 100644 --- a/clients/client-supplychain/src/SupplyChainClient.ts +++ b/clients/client-supplychain/src/SupplyChainClient.ts @@ -179,15 +179,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-support-app/src/SupportAppClient.ts b/clients/client-support-app/src/SupportAppClient.ts index 10bc2d13d292..a0a865d6247b 100644 --- a/clients/client-support-app/src/SupportAppClient.ts +++ b/clients/client-support-app/src/SupportAppClient.ts @@ -212,15 +212,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-support/src/SupportClient.ts b/clients/client-support/src/SupportClient.ts index b254a11f843b..305c11b816c5 100644 --- a/clients/client-support/src/SupportClient.ts +++ b/clients/client-support/src/SupportClient.ts @@ -242,15 +242,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-swf/src/SWFClient.ts b/clients/client-swf/src/SWFClient.ts index e43b3e466425..ebda0801a619 100644 --- a/clients/client-swf/src/SWFClient.ts +++ b/clients/client-swf/src/SWFClient.ts @@ -362,15 +362,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-synthetics/src/SyntheticsClient.ts b/clients/client-synthetics/src/SyntheticsClient.ts index 3d21f98b1ff0..bd643afe85d9 100644 --- a/clients/client-synthetics/src/SyntheticsClient.ts +++ b/clients/client-synthetics/src/SyntheticsClient.ts @@ -239,15 +239,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-textract/src/TextractClient.ts b/clients/client-textract/src/TextractClient.ts index 996171cf421b..4c6bd2a6e901 100644 --- a/clients/client-textract/src/TextractClient.ts +++ b/clients/client-textract/src/TextractClient.ts @@ -269,15 +269,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-timestream-influxdb/src/TimestreamInfluxDBClient.ts b/clients/client-timestream-influxdb/src/TimestreamInfluxDBClient.ts index 3284132dae52..d6a28f8fa033 100644 --- a/clients/client-timestream-influxdb/src/TimestreamInfluxDBClient.ts +++ b/clients/client-timestream-influxdb/src/TimestreamInfluxDBClient.ts @@ -206,15 +206,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-timestream-query/src/TimestreamQueryClient.ts b/clients/client-timestream-query/src/TimestreamQueryClient.ts index 371b1e6a188b..343ff22aefa9 100644 --- a/clients/client-timestream-query/src/TimestreamQueryClient.ts +++ b/clients/client-timestream-query/src/TimestreamQueryClient.ts @@ -242,15 +242,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-timestream-write/src/TimestreamWriteClient.ts b/clients/client-timestream-write/src/TimestreamWriteClient.ts index dec7f10daf3b..3c0ee477e86b 100644 --- a/clients/client-timestream-write/src/TimestreamWriteClient.ts +++ b/clients/client-timestream-write/src/TimestreamWriteClient.ts @@ -239,15 +239,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-tnb/src/TnbClient.ts b/clients/client-tnb/src/TnbClient.ts index 508cfd901540..b45e6e33f6a5 100644 --- a/clients/client-tnb/src/TnbClient.ts +++ b/clients/client-tnb/src/TnbClient.ts @@ -353,15 +353,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-transcribe/src/TranscribeClient.ts b/clients/client-transcribe/src/TranscribeClient.ts index aa7483dbacb7..7395034f2f39 100644 --- a/clients/client-transcribe/src/TranscribeClient.ts +++ b/clients/client-transcribe/src/TranscribeClient.ts @@ -395,15 +395,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-transfer/src/TransferClient.ts b/clients/client-transfer/src/TransferClient.ts index a6fe48ef1e6e..640b33964118 100644 --- a/clients/client-transfer/src/TransferClient.ts +++ b/clients/client-transfer/src/TransferClient.ts @@ -362,15 +362,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-translate/src/TranslateClient.ts b/clients/client-translate/src/TranslateClient.ts index dbd28fea1de7..67aefd478b3e 100644 --- a/clients/client-translate/src/TranslateClient.ts +++ b/clients/client-translate/src/TranslateClient.ts @@ -233,15 +233,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-trustedadvisor/src/TrustedAdvisorClient.ts b/clients/client-trustedadvisor/src/TrustedAdvisorClient.ts index 05a4416694a5..ea4d64278ca9 100644 --- a/clients/client-trustedadvisor/src/TrustedAdvisorClient.ts +++ b/clients/client-trustedadvisor/src/TrustedAdvisorClient.ts @@ -221,15 +221,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-verifiedpermissions/src/VerifiedPermissionsClient.ts b/clients/client-verifiedpermissions/src/VerifiedPermissionsClient.ts index 826a3b304812..3706f33bc39f 100644 --- a/clients/client-verifiedpermissions/src/VerifiedPermissionsClient.ts +++ b/clients/client-verifiedpermissions/src/VerifiedPermissionsClient.ts @@ -269,15 +269,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-voice-id/src/VoiceIDClient.ts b/clients/client-voice-id/src/VoiceIDClient.ts index a5f5bbed09a5..77f52b5d9cab 100644 --- a/clients/client-voice-id/src/VoiceIDClient.ts +++ b/clients/client-voice-id/src/VoiceIDClient.ts @@ -272,15 +272,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-vpc-lattice/src/VPCLatticeClient.ts b/clients/client-vpc-lattice/src/VPCLatticeClient.ts index 644e7b936c0e..7329598b5f42 100644 --- a/clients/client-vpc-lattice/src/VPCLatticeClient.ts +++ b/clients/client-vpc-lattice/src/VPCLatticeClient.ts @@ -377,15 +377,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-waf-regional/src/WAFRegionalClient.ts b/clients/client-waf-regional/src/WAFRegionalClient.ts index 12b14466dc01..b1fa86c77146 100644 --- a/clients/client-waf-regional/src/WAFRegionalClient.ts +++ b/clients/client-waf-regional/src/WAFRegionalClient.ts @@ -509,15 +509,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-waf/src/WAFClient.ts b/clients/client-waf/src/WAFClient.ts index 45a2ab301a36..3c1d02fe8224 100644 --- a/clients/client-waf/src/WAFClient.ts +++ b/clients/client-waf/src/WAFClient.ts @@ -491,15 +491,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-wafv2/src/WAFV2Client.ts b/clients/client-wafv2/src/WAFV2Client.ts index e4e36cc09245..f69994d2eb89 100644 --- a/clients/client-wafv2/src/WAFV2Client.ts +++ b/clients/client-wafv2/src/WAFV2Client.ts @@ -404,15 +404,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-wellarchitected/src/WellArchitectedClient.ts b/clients/client-wellarchitected/src/WellArchitectedClient.ts index e56558dd79f6..bfad6a7ee1ce 100644 --- a/clients/client-wellarchitected/src/WellArchitectedClient.ts +++ b/clients/client-wellarchitected/src/WellArchitectedClient.ts @@ -455,15 +455,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-wisdom/src/WisdomClient.ts b/clients/client-wisdom/src/WisdomClient.ts index e74169b53aae..165d74bb7949 100644 --- a/clients/client-wisdom/src/WisdomClient.ts +++ b/clients/client-wisdom/src/WisdomClient.ts @@ -326,15 +326,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-workdocs/src/WorkDocsClient.ts b/clients/client-workdocs/src/WorkDocsClient.ts index 8b6409c40e20..1dde10a6d2ca 100644 --- a/clients/client-workdocs/src/WorkDocsClient.ts +++ b/clients/client-workdocs/src/WorkDocsClient.ts @@ -347,15 +347,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-worklink/src/WorkLinkClient.ts b/clients/client-worklink/src/WorkLinkClient.ts index bdf5af836197..90490c3a3d01 100644 --- a/clients/client-worklink/src/WorkLinkClient.ts +++ b/clients/client-worklink/src/WorkLinkClient.ts @@ -320,15 +320,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-workmail/src/WorkMailClient.ts b/clients/client-workmail/src/WorkMailClient.ts index 43054a5484f7..a1cb37e52ede 100644 --- a/clients/client-workmail/src/WorkMailClient.ts +++ b/clients/client-workmail/src/WorkMailClient.ts @@ -566,15 +566,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-workmailmessageflow/src/WorkMailMessageFlowClient.ts b/clients/client-workmailmessageflow/src/WorkMailMessageFlowClient.ts index 2883fae354b5..67b94f5707cb 100644 --- a/clients/client-workmailmessageflow/src/WorkMailMessageFlowClient.ts +++ b/clients/client-workmailmessageflow/src/WorkMailMessageFlowClient.ts @@ -170,15 +170,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-workspaces-thin-client/src/WorkSpacesThinClientClient.ts b/clients/client-workspaces-thin-client/src/WorkSpacesThinClientClient.ts index 27603dffbb88..6585fa03280b 100644 --- a/clients/client-workspaces-thin-client/src/WorkSpacesThinClientClient.ts +++ b/clients/client-workspaces-thin-client/src/WorkSpacesThinClientClient.ts @@ -212,15 +212,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-workspaces-web/src/WorkSpacesWebClient.ts b/clients/client-workspaces-web/src/WorkSpacesWebClient.ts index 290d7c85a9c3..359c47f3c4e6 100644 --- a/clients/client-workspaces-web/src/WorkSpacesWebClient.ts +++ b/clients/client-workspaces-web/src/WorkSpacesWebClient.ts @@ -452,15 +452,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-workspaces/src/WorkSpacesClient.ts b/clients/client-workspaces/src/WorkSpacesClient.ts index 8687745e437f..3dc54d94964b 100644 --- a/clients/client-workspaces/src/WorkSpacesClient.ts +++ b/clients/client-workspaces/src/WorkSpacesClient.ts @@ -569,15 +569,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/clients/client-xray/src/XRayClient.ts b/clients/client-xray/src/XRayClient.ts index 2f36b9e9175e..361467cb27a1 100644 --- a/clients/client-xray/src/XRayClient.ts +++ b/clients/client-xray/src/XRayClient.ts @@ -281,15 +281,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand useFipsEndpoint?: boolean | __Provider; /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal + * The AWS region to which this client will send requests */ - defaultUserAgentProvider?: Provider<__UserAgent>; + region?: string | __Provider; /** - * The AWS region to which this client will send requests + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal */ - region?: string | __Provider; + defaultUserAgentProvider?: Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. diff --git a/codegen/smithy-aws-typescript-codegen/src/main/java/software/amazon/smithy/aws/typescript/codegen/AddAwsRuntimeConfig.java b/codegen/smithy-aws-typescript-codegen/src/main/java/software/amazon/smithy/aws/typescript/codegen/AddAwsRuntimeConfig.java index ac436916065e..c514a2a94714 100644 --- a/codegen/smithy-aws-typescript-codegen/src/main/java/software/amazon/smithy/aws/typescript/codegen/AddAwsRuntimeConfig.java +++ b/codegen/smithy-aws-typescript-codegen/src/main/java/software/amazon/smithy/aws/typescript/codegen/AddAwsRuntimeConfig.java @@ -94,13 +94,11 @@ public void addConfigInterfaceFields( writer.writeDocs("Enables FIPS compatible endpoints.") .write("useFipsEndpoint?: boolean | __Provider;\n"); } - if (!settings.getExperimentalIdentityAndAuth()) { - if (isSigV4Service(settings, model)) { - writer.writeDocs(isAwsService(settings, model) - ? "The AWS region to which this client will send requests" - : "The AWS region to use as signing region for AWS Auth") - .write("region?: string | __Provider;\n"); - } + if (isSigV4Service(settings, model) || isAwsService(settings, model)) { + writer.writeDocs(isAwsService(settings, model) + ? "The AWS region to which this client will send requests" + : "The AWS region to use as signing region for AWS Auth") + .write("region?: string | __Provider;\n"); } } @@ -130,7 +128,7 @@ public List getExtensionConfigurationInterfaces Model model, TypeScriptSettings settings ) { - if (isAwsService(settings, model)) { + if (isSigV4Service(settings, model) || isAwsService(settings, model)) { return List.of(new AwsRegionExtensionConfiguration()); } return Collections.emptyList(); @@ -155,33 +153,33 @@ private Map> getDefaultConfig( TypeScriptSettings settings, Model model ) { - if (!isSigV4Service(settings, model) || !isAwsService(settings, model)) { - return Collections.emptyMap(); - } - switch (target) { - case BROWSER: - return MapUtils.of("region", writer -> { - writer.addDependency(TypeScriptDependency.INVALID_DEPENDENCY); - writer.addImport("invalidProvider", "invalidProvider", + if (isSigV4Service(settings, model) || isAwsService(settings, model)) { + switch (target) { + case BROWSER: + return MapUtils.of("region", writer -> { + writer.addDependency(TypeScriptDependency.INVALID_DEPENDENCY); + writer.addImport("invalidProvider", "invalidProvider", TypeScriptDependency.INVALID_DEPENDENCY); - writer.write("invalidProvider(\"Region is missing\")"); - }); - case NODE: - return MapUtils.of("region", writer -> { - writer.addDependency(TypeScriptDependency.NODE_CONFIG_PROVIDER); - writer.addImport("loadConfig", "loadNodeConfig", + writer.write("invalidProvider(\"Region is missing\")"); + }); + case NODE: + return MapUtils.of("region", writer -> { + writer.addDependency(TypeScriptDependency.NODE_CONFIG_PROVIDER); + writer.addImport("loadConfig", "loadNodeConfig", TypeScriptDependency.NODE_CONFIG_PROVIDER); - writer.addDependency(TypeScriptDependency.CONFIG_RESOLVER); - writer.addImport("NODE_REGION_CONFIG_OPTIONS", "NODE_REGION_CONFIG_OPTIONS", + writer.addDependency(TypeScriptDependency.CONFIG_RESOLVER); + writer.addImport("NODE_REGION_CONFIG_OPTIONS", "NODE_REGION_CONFIG_OPTIONS", TypeScriptDependency.CONFIG_RESOLVER); - writer.addImport("NODE_REGION_CONFIG_FILE_OPTIONS", "NODE_REGION_CONFIG_FILE_OPTIONS", + writer.addImport("NODE_REGION_CONFIG_FILE_OPTIONS", "NODE_REGION_CONFIG_FILE_OPTIONS", TypeScriptDependency.CONFIG_RESOLVER); - writer.write( + writer.write( "loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS)"); - }); - default: - return Collections.emptyMap(); + }); + default: + return Collections.emptyMap(); + } } + return Collections.emptyMap(); } private Map> getEndpointConfigWriters( diff --git a/codegen/smithy-aws-typescript-codegen/src/main/java/software/amazon/smithy/aws/typescript/codegen/auth/http/integration/AwsSdkCustomizeSigV4Auth.java b/codegen/smithy-aws-typescript-codegen/src/main/java/software/amazon/smithy/aws/typescript/codegen/auth/http/integration/AwsSdkCustomizeSigV4Auth.java index 24eb19312558..64e94d56fd9d 100644 --- a/codegen/smithy-aws-typescript-codegen/src/main/java/software/amazon/smithy/aws/typescript/codegen/auth/http/integration/AwsSdkCustomizeSigV4Auth.java +++ b/codegen/smithy-aws-typescript-codegen/src/main/java/software/amazon/smithy/aws/typescript/codegen/auth/http/integration/AwsSdkCustomizeSigV4Auth.java @@ -63,20 +63,15 @@ public void addConfigInterfaceFields( TypeScriptWriter writer ) { ServiceShape service = settings.getService(model); - if (isAwsService(service) && isSigV4Service(service)) { - writer - .writeDocs("The AWS region to which this client will send requests") - .write("region?: string | __Provider;\n"); - if (!areAllOptionalAuthOperations(model, service)) { - writer - .addImport("AwsCredentialIdentityProvider", null, TypeScriptDependency.SMITHY_TYPES) - .writeDocs(""" + if (isAwsService(service) && isSigV4Service(service) && !areAllOptionalAuthOperations(model, service)) { + writer + .addImport("AwsCredentialIdentityProvider", null, TypeScriptDependency.SMITHY_TYPES) + .writeDocs(""" Default credentials provider; Not available in browser runtime. @deprecated @internal""") - .write("credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;\n"); - } + .write("credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;\n"); } } diff --git a/codegen/smithy-aws-typescript-codegen/src/test/java/software/amazon/smithy/aws/typescript/codegen/AddAwsRuntimeConfigTest.java b/codegen/smithy-aws-typescript-codegen/src/test/java/software/amazon/smithy/aws/typescript/codegen/AddAwsRuntimeConfigTest.java index 4d50fd075956..82aed4552639 100644 --- a/codegen/smithy-aws-typescript-codegen/src/test/java/software/amazon/smithy/aws/typescript/codegen/AddAwsRuntimeConfigTest.java +++ b/codegen/smithy-aws-typescript-codegen/src/test/java/software/amazon/smithy/aws/typescript/codegen/AddAwsRuntimeConfigTest.java @@ -95,6 +95,8 @@ public void sigV4GenericClient() { // Check config files assertThat(manifest.getFileString(CodegenUtils.SOURCE_FOLDER + "/runtimeConfig.shared.ts").get(), not(containsString("serviceId:"))); + assertThat(manifest.getFileString(CodegenUtils.SOURCE_FOLDER + "/runtimeConfig.browser.ts").get(), containsString("region: config?.region ?? invalidProvider")); + assertThat(manifest.getFileString(CodegenUtils.SOURCE_FOLDER + "/runtimeConfig.ts").get(), containsString("region: config?.region ?? loadNodeConfig")); assertThat(manifest.getFileString(CodegenUtils.SOURCE_FOLDER + "/runtimeConfig.browser.ts").get(), not(containsString("useDualstackEndpoint:"))); assertThat(manifest.getFileString(CodegenUtils.SOURCE_FOLDER + "/runtimeConfig.ts").get(), not(containsString("useDualstackEndpoint:"))); assertThat(manifest.getFileString(CodegenUtils.SOURCE_FOLDER + "/runtimeConfig.browser.ts").get(), not(containsString("useFipsEndpoint:"))); diff --git a/private/aws-protocoltests-ec2/src/EC2ProtocolClient.ts b/private/aws-protocoltests-ec2/src/EC2ProtocolClient.ts index c3272e2d8de8..843cd4a5404f 100644 --- a/private/aws-protocoltests-ec2/src/EC2ProtocolClient.ts +++ b/private/aws-protocoltests-ec2/src/EC2ProtocolClient.ts @@ -257,6 +257,11 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand */ useFipsEndpoint?: boolean | __Provider; + /** + * The AWS region to which this client will send requests + */ + region?: string | __Provider; + /** * Fetch related hostname, signing name or signing region with given region. * @internal @@ -269,11 +274,6 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand */ defaultUserAgentProvider?: Provider<__UserAgent>; - /** - * The AWS region to which this client will send requests - */ - region?: string | __Provider; - /** * Default credentials provider; Not available in browser runtime. * @deprecated diff --git a/private/aws-protocoltests-json-10/src/JSONRPC10Client.ts b/private/aws-protocoltests-json-10/src/JSONRPC10Client.ts index e00b54b49d1a..2372f4597a97 100644 --- a/private/aws-protocoltests-json-10/src/JSONRPC10Client.ts +++ b/private/aws-protocoltests-json-10/src/JSONRPC10Client.ts @@ -224,6 +224,11 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand */ useFipsEndpoint?: boolean | __Provider; + /** + * The AWS region to which this client will send requests + */ + region?: string | __Provider; + /** * Fetch related hostname, signing name or signing region with given region. * @internal @@ -236,11 +241,6 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand */ defaultUserAgentProvider?: Provider<__UserAgent>; - /** - * The AWS region to which this client will send requests - */ - region?: string | __Provider; - /** * Default credentials provider; Not available in browser runtime. * @deprecated diff --git a/private/aws-protocoltests-json/src/JsonProtocolClient.ts b/private/aws-protocoltests-json/src/JsonProtocolClient.ts index 5cc8c832d204..1aa745d8c409 100644 --- a/private/aws-protocoltests-json/src/JsonProtocolClient.ts +++ b/private/aws-protocoltests-json/src/JsonProtocolClient.ts @@ -233,6 +233,11 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand */ useFipsEndpoint?: boolean | __Provider; + /** + * The AWS region to which this client will send requests + */ + region?: string | __Provider; + /** * Fetch related hostname, signing name or signing region with given region. * @internal @@ -245,11 +250,6 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand */ defaultUserAgentProvider?: Provider<__UserAgent>; - /** - * The AWS region to which this client will send requests - */ - region?: string | __Provider; - /** * Default credentials provider; Not available in browser runtime. * @deprecated diff --git a/private/aws-protocoltests-query/src/QueryProtocolClient.ts b/private/aws-protocoltests-query/src/QueryProtocolClient.ts index 3d99f9180016..2048c201d0ea 100644 --- a/private/aws-protocoltests-query/src/QueryProtocolClient.ts +++ b/private/aws-protocoltests-query/src/QueryProtocolClient.ts @@ -287,6 +287,11 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand */ useFipsEndpoint?: boolean | __Provider; + /** + * The AWS region to which this client will send requests + */ + region?: string | __Provider; + /** * Fetch related hostname, signing name or signing region with given region. * @internal @@ -299,11 +304,6 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand */ defaultUserAgentProvider?: Provider<__UserAgent>; - /** - * The AWS region to which this client will send requests - */ - region?: string | __Provider; - /** * Default credentials provider; Not available in browser runtime. * @deprecated diff --git a/private/aws-protocoltests-restjson/src/RestJsonProtocolClient.ts b/private/aws-protocoltests-restjson/src/RestJsonProtocolClient.ts index ccd6a3350a59..de1a441dfcdc 100644 --- a/private/aws-protocoltests-restjson/src/RestJsonProtocolClient.ts +++ b/private/aws-protocoltests-restjson/src/RestJsonProtocolClient.ts @@ -609,6 +609,11 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand */ useFipsEndpoint?: boolean | __Provider; + /** + * The AWS region to which this client will send requests + */ + region?: string | __Provider; + /** * Fetch related hostname, signing name or signing region with given region. * @internal @@ -621,11 +626,6 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand */ defaultUserAgentProvider?: Provider<__UserAgent>; - /** - * The AWS region to which this client will send requests - */ - region?: string | __Provider; - /** * Default credentials provider; Not available in browser runtime. * @deprecated diff --git a/private/aws-protocoltests-restxml/src/RestXmlProtocolClient.ts b/private/aws-protocoltests-restxml/src/RestXmlProtocolClient.ts index 2b9e6bfb10b7..ddeb1e39a04c 100644 --- a/private/aws-protocoltests-restxml/src/RestXmlProtocolClient.ts +++ b/private/aws-protocoltests-restxml/src/RestXmlProtocolClient.ts @@ -437,6 +437,11 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand */ useFipsEndpoint?: boolean | __Provider; + /** + * The AWS region to which this client will send requests + */ + region?: string | __Provider; + /** * Fetch related hostname, signing name or signing region with given region. * @internal @@ -449,11 +454,6 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand */ defaultUserAgentProvider?: Provider<__UserAgent>; - /** - * The AWS region to which this client will send requests - */ - region?: string | __Provider; - /** * Default credentials provider; Not available in browser runtime. * @deprecated diff --git a/private/weather-experimental-identity-and-auth/package.json b/private/weather-experimental-identity-and-auth/package.json index 09a3607d2761..303ca29d8176 100644 --- a/private/weather-experimental-identity-and-auth/package.json +++ b/private/weather-experimental-identity-and-auth/package.json @@ -22,6 +22,7 @@ "@aws-sdk/middleware-logger": "*", "@aws-sdk/middleware-recursion-detection": "*", "@aws-sdk/middleware-user-agent": "*", + "@aws-sdk/region-config-resolver": "*", "@aws-sdk/types": "*", "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", diff --git a/private/weather-experimental-identity-and-auth/src/WeatherClient.ts b/private/weather-experimental-identity-and-auth/src/WeatherClient.ts index 5e051225e5b6..1d953957b37d 100644 --- a/private/weather-experimental-identity-and-auth/src/WeatherClient.ts +++ b/private/weather-experimental-identity-and-auth/src/WeatherClient.ts @@ -188,6 +188,11 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand */ disableHostPrefix?: boolean; + /** + * The AWS region to use as signing region for AWS Auth + */ + region?: string | __Provider; + /** * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header * @internal diff --git a/private/weather-experimental-identity-and-auth/src/extensionConfiguration.ts b/private/weather-experimental-identity-and-auth/src/extensionConfiguration.ts index 1979e44dfde6..2751a1a9fe8a 100644 --- a/private/weather-experimental-identity-and-auth/src/extensionConfiguration.ts +++ b/private/weather-experimental-identity-and-auth/src/extensionConfiguration.ts @@ -1,5 +1,6 @@ // smithy-typescript generated code import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration"; +import { AwsRegionExtensionConfiguration } from "@aws-sdk/types"; import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http"; import { DefaultExtensionConfiguration } from "@smithy/types"; @@ -9,4 +10,5 @@ import { DefaultExtensionConfiguration } from "@smithy/types"; export interface WeatherExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, + AwsRegionExtensionConfiguration, HttpAuthExtensionConfiguration {} diff --git a/private/weather-experimental-identity-and-auth/src/runtimeConfig.browser.ts b/private/weather-experimental-identity-and-auth/src/runtimeConfig.browser.ts index a9b6fb39ecdc..88fee0b6cf93 100644 --- a/private/weather-experimental-identity-and-auth/src/runtimeConfig.browser.ts +++ b/private/weather-experimental-identity-and-auth/src/runtimeConfig.browser.ts @@ -5,6 +5,7 @@ import packageInfo from "../package.json"; // eslint-disable-line import { Sha256 } from "@aws-crypto/sha256-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler"; +import { invalidProvider } from "@smithy/invalid-dependency"; import { calculateBodyLength } from "@smithy/util-body-length-browser"; import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry"; import { WeatherClientConfig } from "./WeatherClient"; @@ -28,6 +29,7 @@ export const getRuntimeConfig = (config: WeatherClientConfig) => { defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ clientVersion: packageInfo.version }), maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS, + region: config?.region ?? invalidProvider("Region is missing"), requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider), retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE), sha256: config?.sha256 ?? Sha256, diff --git a/private/weather-experimental-identity-and-auth/src/runtimeConfig.ts b/private/weather-experimental-identity-and-auth/src/runtimeConfig.ts index 09acadd4b6ab..561c3aab870c 100644 --- a/private/weather-experimental-identity-and-auth/src/runtimeConfig.ts +++ b/private/weather-experimental-identity-and-auth/src/runtimeConfig.ts @@ -3,6 +3,7 @@ import packageInfo from "../package.json"; // eslint-disable-line import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; +import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS } from "@smithy/config-resolver"; import { Hash } from "@smithy/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry"; import { loadConfig as loadNodeConfig } from "@smithy/node-config-provider"; @@ -32,6 +33,7 @@ export const getRuntimeConfig = (config: WeatherClientConfig) => { defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ clientVersion: packageInfo.version }), maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), + region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider), retryMode: config?.retryMode ?? diff --git a/private/weather-experimental-identity-and-auth/src/runtimeExtensions.ts b/private/weather-experimental-identity-and-auth/src/runtimeExtensions.ts index 6b7872a49cfe..98a8f13a08ef 100644 --- a/private/weather-experimental-identity-and-auth/src/runtimeExtensions.ts +++ b/private/weather-experimental-identity-and-auth/src/runtimeExtensions.ts @@ -1,5 +1,9 @@ // smithy-typescript generated code import { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from "./auth/httpAuthExtensionConfiguration"; +import { + getAwsRegionExtensionConfiguration, + resolveAwsRegionExtensionConfiguration, +} from "@aws-sdk/region-config-resolver"; import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http"; import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client"; import { WeatherExtensionConfiguration } from "./extensionConfiguration"; @@ -25,6 +29,7 @@ const asPartial = >(t: T) => t; */ export const resolveRuntimeExtensions = (runtimeConfig: any, extensions: RuntimeExtension[]) => { const extensionConfiguration: WeatherExtensionConfiguration = { + ...asPartial(getAwsRegionExtensionConfiguration(runtimeConfig)), ...asPartial(getDefaultExtensionConfiguration(runtimeConfig)), ...asPartial(getHttpHandlerExtensionConfiguration(runtimeConfig)), ...asPartial(getHttpAuthExtensionConfiguration(runtimeConfig)), @@ -34,6 +39,7 @@ export const resolveRuntimeExtensions = (runtimeConfig: any, extensions: Runtime return { ...runtimeConfig, + ...resolveAwsRegionExtensionConfiguration(extensionConfiguration), ...resolveDefaultRuntimeConfig(extensionConfiguration), ...resolveHttpHandlerRuntimeConfig(extensionConfiguration), ...resolveHttpAuthRuntimeConfig(extensionConfiguration), diff --git a/private/weather/package.json b/private/weather/package.json index 7cc8b022cdac..95ccf2ad5a17 100644 --- a/private/weather/package.json +++ b/private/weather/package.json @@ -28,6 +28,7 @@ "@aws-sdk/middleware-signing": "*", "@aws-sdk/middleware-token": "*", "@aws-sdk/middleware-user-agent": "*", + "@aws-sdk/region-config-resolver": "*", "@aws-sdk/types": "*", "@aws-sdk/util-user-agent-browser": "*", "@aws-sdk/util-user-agent-node": "*", diff --git a/private/weather/src/extensionConfiguration.ts b/private/weather/src/extensionConfiguration.ts index efa1917030de..0210ef1382e2 100644 --- a/private/weather/src/extensionConfiguration.ts +++ b/private/weather/src/extensionConfiguration.ts @@ -1,4 +1,5 @@ // smithy-typescript generated code +import { AwsRegionExtensionConfiguration } from "@aws-sdk/types"; import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http"; import { DefaultExtensionConfiguration } from "@smithy/types"; @@ -7,4 +8,5 @@ import { DefaultExtensionConfiguration } from "@smithy/types"; */ export interface WeatherExtensionConfiguration extends HttpHandlerExtensionConfiguration, - DefaultExtensionConfiguration {} + DefaultExtensionConfiguration, + AwsRegionExtensionConfiguration {} diff --git a/private/weather/src/runtimeConfig.browser.ts b/private/weather/src/runtimeConfig.browser.ts index 8c5225d167e8..41ea9e2210c3 100644 --- a/private/weather/src/runtimeConfig.browser.ts +++ b/private/weather/src/runtimeConfig.browser.ts @@ -5,6 +5,7 @@ import packageInfo from "../package.json"; // eslint-disable-line import { Sha256 } from "@aws-crypto/sha256-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler"; +import { invalidProvider } from "@smithy/invalid-dependency"; import { calculateBodyLength } from "@smithy/util-body-length-browser"; import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry"; import { WeatherClientConfig } from "./WeatherClient"; @@ -30,6 +31,7 @@ export const getRuntimeConfig = (config: WeatherClientConfig) => { defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ clientVersion: packageInfo.version }), maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS, + region: config?.region ?? invalidProvider("Region is missing"), requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider), retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE), sha256: config?.sha256 ?? Sha256, diff --git a/private/weather/src/runtimeConfig.ts b/private/weather/src/runtimeConfig.ts index 977e82ada569..2e9908a8a1c8 100644 --- a/private/weather/src/runtimeConfig.ts +++ b/private/weather/src/runtimeConfig.ts @@ -4,6 +4,7 @@ import packageInfo from "../package.json"; // eslint-disable-line import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; +import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS } from "@smithy/config-resolver"; import { Hash } from "@smithy/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry"; import { loadConfig as loadNodeConfig } from "@smithy/node-config-provider"; @@ -34,6 +35,7 @@ export const getRuntimeConfig = (config: WeatherClientConfig) => { defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ clientVersion: packageInfo.version }), maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), + region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider), retryMode: config?.retryMode ?? diff --git a/private/weather/src/runtimeExtensions.ts b/private/weather/src/runtimeExtensions.ts index 70e1498f3c75..d7453ff03f45 100644 --- a/private/weather/src/runtimeExtensions.ts +++ b/private/weather/src/runtimeExtensions.ts @@ -1,4 +1,8 @@ // smithy-typescript generated code +import { + getAwsRegionExtensionConfiguration, + resolveAwsRegionExtensionConfiguration, +} from "@aws-sdk/region-config-resolver"; import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http"; import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client"; import { WeatherExtensionConfiguration } from "./extensionConfiguration"; @@ -24,6 +28,7 @@ const asPartial = >(t: T) => t; */ export const resolveRuntimeExtensions = (runtimeConfig: any, extensions: RuntimeExtension[]) => { const extensionConfiguration: WeatherExtensionConfiguration = { + ...asPartial(getAwsRegionExtensionConfiguration(runtimeConfig)), ...asPartial(getDefaultExtensionConfiguration(runtimeConfig)), ...asPartial(getHttpHandlerExtensionConfiguration(runtimeConfig)), }; @@ -32,6 +37,7 @@ export const resolveRuntimeExtensions = (runtimeConfig: any, extensions: Runtime return { ...runtimeConfig, + ...resolveAwsRegionExtensionConfiguration(extensionConfiguration), ...resolveDefaultRuntimeConfig(extensionConfiguration), ...resolveHttpHandlerRuntimeConfig(extensionConfiguration), };