@aws-sdk/client-database-migration-service 3.45.0 → 3.47.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,9 +1,5 @@
1
1
  import { __assign } from "tslib";
2
2
  import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
3
- export var AccessDeniedFault;
4
- (function (AccessDeniedFault) {
5
- AccessDeniedFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
6
- })(AccessDeniedFault || (AccessDeniedFault = {}));
7
3
  export var AccountQuota;
8
4
  (function (AccountQuota) {
9
5
  AccountQuota.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -20,10 +16,6 @@ export var AddTagsToResourceResponse;
20
16
  (function (AddTagsToResourceResponse) {
21
17
  AddTagsToResourceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
22
18
  })(AddTagsToResourceResponse || (AddTagsToResourceResponse = {}));
23
- export var ResourceNotFoundFault;
24
- (function (ResourceNotFoundFault) {
25
- ResourceNotFoundFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
26
- })(ResourceNotFoundFault || (ResourceNotFoundFault = {}));
27
19
  export var ApplyPendingMaintenanceActionMessage;
28
20
  (function (ApplyPendingMaintenanceActionMessage) {
29
21
  ApplyPendingMaintenanceActionMessage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -56,10 +48,6 @@ export var CancelReplicationTaskAssessmentRunResponse;
56
48
  (function (CancelReplicationTaskAssessmentRunResponse) {
57
49
  CancelReplicationTaskAssessmentRunResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
58
50
  })(CancelReplicationTaskAssessmentRunResponse || (CancelReplicationTaskAssessmentRunResponse = {}));
59
- export var InvalidResourceStateFault;
60
- (function (InvalidResourceStateFault) {
61
- InvalidResourceStateFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
62
- })(InvalidResourceStateFault || (InvalidResourceStateFault = {}));
63
51
  export var DmsTransferSettings;
64
52
  (function (DmsTransferSettings) {
65
53
  DmsTransferSettings.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -278,22 +266,6 @@ export var CreateEndpointResponse;
278
266
  (function (CreateEndpointResponse) {
279
267
  CreateEndpointResponse.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Endpoint && { Endpoint: Endpoint.filterSensitiveLog(obj.Endpoint) }))); };
280
268
  })(CreateEndpointResponse || (CreateEndpointResponse = {}));
281
- export var KMSKeyNotAccessibleFault;
282
- (function (KMSKeyNotAccessibleFault) {
283
- KMSKeyNotAccessibleFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
284
- })(KMSKeyNotAccessibleFault || (KMSKeyNotAccessibleFault = {}));
285
- export var ResourceAlreadyExistsFault;
286
- (function (ResourceAlreadyExistsFault) {
287
- ResourceAlreadyExistsFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
288
- })(ResourceAlreadyExistsFault || (ResourceAlreadyExistsFault = {}));
289
- export var ResourceQuotaExceededFault;
290
- (function (ResourceQuotaExceededFault) {
291
- ResourceQuotaExceededFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
292
- })(ResourceQuotaExceededFault || (ResourceQuotaExceededFault = {}));
293
- export var S3AccessDeniedFault;
294
- (function (S3AccessDeniedFault) {
295
- S3AccessDeniedFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
296
- })(S3AccessDeniedFault || (S3AccessDeniedFault = {}));
297
269
  export var CreateEventSubscriptionMessage;
298
270
  (function (CreateEventSubscriptionMessage) {
299
271
  CreateEventSubscriptionMessage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -306,34 +278,6 @@ export var CreateEventSubscriptionResponse;
306
278
  (function (CreateEventSubscriptionResponse) {
307
279
  CreateEventSubscriptionResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
308
280
  })(CreateEventSubscriptionResponse || (CreateEventSubscriptionResponse = {}));
309
- export var KMSAccessDeniedFault;
310
- (function (KMSAccessDeniedFault) {
311
- KMSAccessDeniedFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
312
- })(KMSAccessDeniedFault || (KMSAccessDeniedFault = {}));
313
- export var KMSDisabledFault;
314
- (function (KMSDisabledFault) {
315
- KMSDisabledFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
316
- })(KMSDisabledFault || (KMSDisabledFault = {}));
317
- export var KMSInvalidStateFault;
318
- (function (KMSInvalidStateFault) {
319
- KMSInvalidStateFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
320
- })(KMSInvalidStateFault || (KMSInvalidStateFault = {}));
321
- export var KMSNotFoundFault;
322
- (function (KMSNotFoundFault) {
323
- KMSNotFoundFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
324
- })(KMSNotFoundFault || (KMSNotFoundFault = {}));
325
- export var KMSThrottlingFault;
326
- (function (KMSThrottlingFault) {
327
- KMSThrottlingFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
328
- })(KMSThrottlingFault || (KMSThrottlingFault = {}));
329
- export var SNSInvalidTopicFault;
330
- (function (SNSInvalidTopicFault) {
331
- SNSInvalidTopicFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
332
- })(SNSInvalidTopicFault || (SNSInvalidTopicFault = {}));
333
- export var SNSNoAuthorizationFault;
334
- (function (SNSNoAuthorizationFault) {
335
- SNSNoAuthorizationFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
336
- })(SNSNoAuthorizationFault || (SNSNoAuthorizationFault = {}));
337
281
  export var CreateReplicationInstanceMessage;
338
282
  (function (CreateReplicationInstanceMessage) {
339
283
  CreateReplicationInstanceMessage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -366,22 +310,6 @@ export var CreateReplicationInstanceResponse;
366
310
  (function (CreateReplicationInstanceResponse) {
367
311
  CreateReplicationInstanceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
368
312
  })(CreateReplicationInstanceResponse || (CreateReplicationInstanceResponse = {}));
369
- export var InsufficientResourceCapacityFault;
370
- (function (InsufficientResourceCapacityFault) {
371
- InsufficientResourceCapacityFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
372
- })(InsufficientResourceCapacityFault || (InsufficientResourceCapacityFault = {}));
373
- export var InvalidSubnet;
374
- (function (InvalidSubnet) {
375
- InvalidSubnet.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
376
- })(InvalidSubnet || (InvalidSubnet = {}));
377
- export var ReplicationSubnetGroupDoesNotCoverEnoughAZs;
378
- (function (ReplicationSubnetGroupDoesNotCoverEnoughAZs) {
379
- ReplicationSubnetGroupDoesNotCoverEnoughAZs.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
380
- })(ReplicationSubnetGroupDoesNotCoverEnoughAZs || (ReplicationSubnetGroupDoesNotCoverEnoughAZs = {}));
381
- export var StorageQuotaExceededFault;
382
- (function (StorageQuotaExceededFault) {
383
- StorageQuotaExceededFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
384
- })(StorageQuotaExceededFault || (StorageQuotaExceededFault = {}));
385
313
  export var CreateReplicationSubnetGroupMessage;
386
314
  (function (CreateReplicationSubnetGroupMessage) {
387
315
  CreateReplicationSubnetGroupMessage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -729,10 +657,6 @@ export var ImportCertificateResponse;
729
657
  (function (ImportCertificateResponse) {
730
658
  ImportCertificateResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
731
659
  })(ImportCertificateResponse || (ImportCertificateResponse = {}));
732
- export var InvalidCertificateFault;
733
- (function (InvalidCertificateFault) {
734
- InvalidCertificateFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
735
- })(InvalidCertificateFault || (InvalidCertificateFault = {}));
736
660
  export var ListTagsForResourceMessage;
737
661
  (function (ListTagsForResourceMessage) {
738
662
  ListTagsForResourceMessage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -769,10 +693,6 @@ export var ModifyReplicationInstanceResponse;
769
693
  (function (ModifyReplicationInstanceResponse) {
770
694
  ModifyReplicationInstanceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
771
695
  })(ModifyReplicationInstanceResponse || (ModifyReplicationInstanceResponse = {}));
772
- export var UpgradeDependencyFailureFault;
773
- (function (UpgradeDependencyFailureFault) {
774
- UpgradeDependencyFailureFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
775
- })(UpgradeDependencyFailureFault || (UpgradeDependencyFailureFault = {}));
776
696
  export var ModifyReplicationSubnetGroupMessage;
777
697
  (function (ModifyReplicationSubnetGroupMessage) {
778
698
  ModifyReplicationSubnetGroupMessage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -781,10 +701,6 @@ export var ModifyReplicationSubnetGroupResponse;
781
701
  (function (ModifyReplicationSubnetGroupResponse) {
782
702
  ModifyReplicationSubnetGroupResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
783
703
  })(ModifyReplicationSubnetGroupResponse || (ModifyReplicationSubnetGroupResponse = {}));
784
- export var SubnetAlreadyInUse;
785
- (function (SubnetAlreadyInUse) {
786
- SubnetAlreadyInUse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
787
- })(SubnetAlreadyInUse || (SubnetAlreadyInUse = {}));
788
704
  export var ModifyReplicationTaskMessage;
789
705
  (function (ModifyReplicationTaskMessage) {
790
706
  ModifyReplicationTaskMessage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -864,14 +780,6 @@ export var StartReplicationTaskAssessmentResponse;
864
780
  (function (StartReplicationTaskAssessmentResponse) {
865
781
  StartReplicationTaskAssessmentResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
866
782
  })(StartReplicationTaskAssessmentResponse || (StartReplicationTaskAssessmentResponse = {}));
867
- export var KMSFault;
868
- (function (KMSFault) {
869
- KMSFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
870
- })(KMSFault || (KMSFault = {}));
871
- export var S3ResourceNotFoundFault;
872
- (function (S3ResourceNotFoundFault) {
873
- S3ResourceNotFoundFault.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
874
- })(S3ResourceNotFoundFault || (S3ResourceNotFoundFault = {}));
875
783
  export var StartReplicationTaskAssessmentRunMessage;
876
784
  (function (StartReplicationTaskAssessmentRunMessage) {
877
785
  StartReplicationTaskAssessmentRunMessage.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -1,8 +1,8 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __awaiter, __generator } from "tslib";
2
2
  import packageInfo from "../package.json";
3
3
  import { Sha256 } from "@aws-crypto/sha256-browser";
4
4
  import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
5
- import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
5
+ import { FetchHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
6
6
  import { invalidProvider } from "@aws-sdk/invalid-dependency";
7
7
  import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
8
8
  import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser";
@@ -10,8 +10,17 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
10
10
  import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
11
11
  import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
12
12
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
13
+ import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
14
+ import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-browser";
13
15
  export var getRuntimeConfig = function (config) {
14
16
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
17
+ var defaultsMode = resolveDefaultsModeConfig(config);
18
+ var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
15
19
  var clientSharedValues = getSharedRuntimeConfig(config);
16
- return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new FetchHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return Promise.resolve(DEFAULT_RETRY_MODE); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
20
+ return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
21
+ switch (_a.label) {
22
+ case 0: return [4, defaultConfigProvider()];
23
+ case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
24
+ }
25
+ }); }); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
17
26
  };
@@ -1,21 +1,28 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __awaiter, __generator } from "tslib";
2
2
  import packageInfo from "../package.json";
3
3
  import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
4
4
  import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
5
5
  import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
6
6
  import { Hash } from "@aws-sdk/hash-node";
7
- import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
7
+ import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@aws-sdk/middleware-retry";
8
8
  import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
9
- import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler";
9
+ import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
10
10
  import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
11
11
  import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
12
12
  import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
13
13
  import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
14
14
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
15
- import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
15
+ import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
16
+ import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
16
17
  export var getRuntimeConfig = function (config) {
17
18
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
18
- emitWarningIfUnsupportedVersion(process.version);
19
+ var defaultsMode = resolveDefaultsModeConfig(config);
20
+ var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
19
21
  var clientSharedValues = getSharedRuntimeConfig(config);
20
- return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
22
+ return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(__assign(__assign({}, NODE_RETRY_MODE_CONFIG_OPTIONS), { default: function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
23
+ switch (_a.label) {
24
+ case 0: return [4, defaultConfigProvider()];
25
+ case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
26
+ }
27
+ }); }); } })), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
21
28
  };
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
4
4
  import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
- import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
7
+ import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
8
  import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { AddTagsToResourceCommandInput, AddTagsToResourceCommandOutput } from "./commands/AddTagsToResourceCommand";
10
10
  import { ApplyPendingMaintenanceActionCommandInput, ApplyPendingMaintenanceActionCommandOutput } from "./commands/ApplyPendingMaintenanceActionCommand";
@@ -163,6 +163,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
163
163
  * @internal
164
164
  */
165
165
  defaultUserAgentProvider?: Provider<__UserAgent>;
166
+ /**
167
+ * The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
168
+ */
169
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
166
170
  }
167
171
  declare type DatabaseMigrationServiceClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
168
172
  /**
@@ -11,12 +11,6 @@ export interface AccessDeniedFault extends __SmithyException, $MetadataBearer {
11
11
  */
12
12
  message?: string;
13
13
  }
14
- export declare namespace AccessDeniedFault {
15
- /**
16
- * @internal
17
- */
18
- const filterSensitiveLog: (obj: AccessDeniedFault) => any;
19
- }
20
14
  /**
21
15
  * <p>Describes a quota for an Amazon Web Services account, for example the number of replication instances
22
16
  * allowed.</p>
@@ -130,12 +124,6 @@ export interface ResourceNotFoundFault extends __SmithyException, $MetadataBeare
130
124
  */
131
125
  message?: string;
132
126
  }
133
- export declare namespace ResourceNotFoundFault {
134
- /**
135
- * @internal
136
- */
137
- const filterSensitiveLog: (obj: ResourceNotFoundFault) => any;
138
- }
139
127
  /**
140
128
  * <p></p>
141
129
  */
@@ -444,12 +432,6 @@ export interface InvalidResourceStateFault extends __SmithyException, $MetadataB
444
432
  */
445
433
  message?: string;
446
434
  }
447
- export declare namespace InvalidResourceStateFault {
448
- /**
449
- * @internal
450
- */
451
- const filterSensitiveLog: (obj: InvalidResourceStateFault) => any;
452
- }
453
435
  /**
454
436
  * <p> The settings in JSON format for the DMS Transfer type source endpoint. </p>
455
437
  */
@@ -3267,12 +3249,6 @@ export interface KMSKeyNotAccessibleFault extends __SmithyException, $MetadataBe
3267
3249
  */
3268
3250
  message?: string;
3269
3251
  }
3270
- export declare namespace KMSKeyNotAccessibleFault {
3271
- /**
3272
- * @internal
3273
- */
3274
- const filterSensitiveLog: (obj: KMSKeyNotAccessibleFault) => any;
3275
- }
3276
3252
  /**
3277
3253
  * <p>The resource you are attempting to create already exists.</p>
3278
3254
  */
@@ -3285,12 +3261,6 @@ export interface ResourceAlreadyExistsFault extends __SmithyException, $Metadata
3285
3261
  message?: string;
3286
3262
  resourceArn?: string;
3287
3263
  }
3288
- export declare namespace ResourceAlreadyExistsFault {
3289
- /**
3290
- * @internal
3291
- */
3292
- const filterSensitiveLog: (obj: ResourceAlreadyExistsFault) => any;
3293
- }
3294
3264
  /**
3295
3265
  * <p>The quota for this resource quota has been exceeded.</p>
3296
3266
  */
@@ -3302,12 +3272,6 @@ export interface ResourceQuotaExceededFault extends __SmithyException, $Metadata
3302
3272
  */
3303
3273
  message?: string;
3304
3274
  }
3305
- export declare namespace ResourceQuotaExceededFault {
3306
- /**
3307
- * @internal
3308
- */
3309
- const filterSensitiveLog: (obj: ResourceQuotaExceededFault) => any;
3310
- }
3311
3275
  /**
3312
3276
  * <p>Insufficient privileges are preventing access to an Amazon S3 object.</p>
3313
3277
  */
@@ -3316,12 +3280,6 @@ export interface S3AccessDeniedFault extends __SmithyException, $MetadataBearer
3316
3280
  $fault: "client";
3317
3281
  message?: string;
3318
3282
  }
3319
- export declare namespace S3AccessDeniedFault {
3320
- /**
3321
- * @internal
3322
- */
3323
- const filterSensitiveLog: (obj: S3AccessDeniedFault) => any;
3324
- }
3325
3283
  /**
3326
3284
  * <p></p>
3327
3285
  */
@@ -3456,12 +3414,6 @@ export interface KMSAccessDeniedFault extends __SmithyException, $MetadataBearer
3456
3414
  $fault: "client";
3457
3415
  message?: string;
3458
3416
  }
3459
- export declare namespace KMSAccessDeniedFault {
3460
- /**
3461
- * @internal
3462
- */
3463
- const filterSensitiveLog: (obj: KMSAccessDeniedFault) => any;
3464
- }
3465
3417
  /**
3466
3418
  * <p>The specified KMS key isn't enabled.</p>
3467
3419
  */
@@ -3470,12 +3422,6 @@ export interface KMSDisabledFault extends __SmithyException, $MetadataBearer {
3470
3422
  $fault: "client";
3471
3423
  message?: string;
3472
3424
  }
3473
- export declare namespace KMSDisabledFault {
3474
- /**
3475
- * @internal
3476
- */
3477
- const filterSensitiveLog: (obj: KMSDisabledFault) => any;
3478
- }
3479
3425
  /**
3480
3426
  * <p>The state of the specified KMS resource isn't valid for this request.</p>
3481
3427
  */
@@ -3484,12 +3430,6 @@ export interface KMSInvalidStateFault extends __SmithyException, $MetadataBearer
3484
3430
  $fault: "client";
3485
3431
  message?: string;
3486
3432
  }
3487
- export declare namespace KMSInvalidStateFault {
3488
- /**
3489
- * @internal
3490
- */
3491
- const filterSensitiveLog: (obj: KMSInvalidStateFault) => any;
3492
- }
3493
3433
  /**
3494
3434
  * <p>The specified KMS entity or resource can't be found.</p>
3495
3435
  */
@@ -3498,12 +3438,6 @@ export interface KMSNotFoundFault extends __SmithyException, $MetadataBearer {
3498
3438
  $fault: "client";
3499
3439
  message?: string;
3500
3440
  }
3501
- export declare namespace KMSNotFoundFault {
3502
- /**
3503
- * @internal
3504
- */
3505
- const filterSensitiveLog: (obj: KMSNotFoundFault) => any;
3506
- }
3507
3441
  /**
3508
3442
  * <p>This request triggered KMS request throttling.</p>
3509
3443
  */
@@ -3512,12 +3446,6 @@ export interface KMSThrottlingFault extends __SmithyException, $MetadataBearer {
3512
3446
  $fault: "client";
3513
3447
  message?: string;
3514
3448
  }
3515
- export declare namespace KMSThrottlingFault {
3516
- /**
3517
- * @internal
3518
- */
3519
- const filterSensitiveLog: (obj: KMSThrottlingFault) => any;
3520
- }
3521
3449
  /**
3522
3450
  * <p>The SNS topic is invalid.</p>
3523
3451
  */
@@ -3529,12 +3457,6 @@ export interface SNSInvalidTopicFault extends __SmithyException, $MetadataBearer
3529
3457
  */
3530
3458
  message?: string;
3531
3459
  }
3532
- export declare namespace SNSInvalidTopicFault {
3533
- /**
3534
- * @internal
3535
- */
3536
- const filterSensitiveLog: (obj: SNSInvalidTopicFault) => any;
3537
- }
3538
3460
  /**
3539
3461
  * <p>You are not authorized for the SNS subscription.</p>
3540
3462
  */
@@ -3546,12 +3468,6 @@ export interface SNSNoAuthorizationFault extends __SmithyException, $MetadataBea
3546
3468
  */
3547
3469
  message?: string;
3548
3470
  }
3549
- export declare namespace SNSNoAuthorizationFault {
3550
- /**
3551
- * @internal
3552
- */
3553
- const filterSensitiveLog: (obj: SNSNoAuthorizationFault) => any;
3554
- }
3555
3471
  /**
3556
3472
  * <p></p>
3557
3473
  */
@@ -4062,12 +3978,6 @@ export interface InsufficientResourceCapacityFault extends __SmithyException, $M
4062
3978
  */
4063
3979
  message?: string;
4064
3980
  }
4065
- export declare namespace InsufficientResourceCapacityFault {
4066
- /**
4067
- * @internal
4068
- */
4069
- const filterSensitiveLog: (obj: InsufficientResourceCapacityFault) => any;
4070
- }
4071
3981
  /**
4072
3982
  * <p>The subnet provided is invalid.</p>
4073
3983
  */
@@ -4079,12 +3989,6 @@ export interface InvalidSubnet extends __SmithyException, $MetadataBearer {
4079
3989
  */
4080
3990
  message?: string;
4081
3991
  }
4082
- export declare namespace InvalidSubnet {
4083
- /**
4084
- * @internal
4085
- */
4086
- const filterSensitiveLog: (obj: InvalidSubnet) => any;
4087
- }
4088
3992
  /**
4089
3993
  * <p>The replication subnet group does not cover enough Availability Zones (AZs). Edit the replication subnet group and add more AZs.</p>
4090
3994
  */
@@ -4096,12 +4000,6 @@ export interface ReplicationSubnetGroupDoesNotCoverEnoughAZs extends __SmithyExc
4096
4000
  */
4097
4001
  message?: string;
4098
4002
  }
4099
- export declare namespace ReplicationSubnetGroupDoesNotCoverEnoughAZs {
4100
- /**
4101
- * @internal
4102
- */
4103
- const filterSensitiveLog: (obj: ReplicationSubnetGroupDoesNotCoverEnoughAZs) => any;
4104
- }
4105
4003
  /**
4106
4004
  * <p>The storage quota has been exceeded.</p>
4107
4005
  */
@@ -4113,12 +4011,6 @@ export interface StorageQuotaExceededFault extends __SmithyException, $MetadataB
4113
4011
  */
4114
4012
  message?: string;
4115
4013
  }
4116
- export declare namespace StorageQuotaExceededFault {
4117
- /**
4118
- * @internal
4119
- */
4120
- const filterSensitiveLog: (obj: StorageQuotaExceededFault) => any;
4121
- }
4122
4014
  /**
4123
4015
  * <p></p>
4124
4016
  */
@@ -6683,12 +6575,6 @@ export interface InvalidCertificateFault extends __SmithyException, $MetadataBea
6683
6575
  $fault: "client";
6684
6576
  message?: string;
6685
6577
  }
6686
- export declare namespace InvalidCertificateFault {
6687
- /**
6688
- * @internal
6689
- */
6690
- const filterSensitiveLog: (obj: InvalidCertificateFault) => any;
6691
- }
6692
6578
  /**
6693
6579
  * <p></p>
6694
6580
  */
@@ -7160,12 +7046,6 @@ export interface UpgradeDependencyFailureFault extends __SmithyException, $Metad
7160
7046
  */
7161
7047
  message?: string;
7162
7048
  }
7163
- export declare namespace UpgradeDependencyFailureFault {
7164
- /**
7165
- * @internal
7166
- */
7167
- const filterSensitiveLog: (obj: UpgradeDependencyFailureFault) => any;
7168
- }
7169
7049
  /**
7170
7050
  * <p></p>
7171
7051
  */
@@ -7215,12 +7095,6 @@ export interface SubnetAlreadyInUse extends __SmithyException, $MetadataBearer {
7215
7095
  */
7216
7096
  message?: string;
7217
7097
  }
7218
- export declare namespace SubnetAlreadyInUse {
7219
- /**
7220
- * @internal
7221
- */
7222
- const filterSensitiveLog: (obj: SubnetAlreadyInUse) => any;
7223
- }
7224
7098
  /**
7225
7099
  * <p></p>
7226
7100
  */
@@ -7632,12 +7506,6 @@ export interface KMSFault extends __SmithyException, $MetadataBearer {
7632
7506
  $fault: "client";
7633
7507
  message?: string;
7634
7508
  }
7635
- export declare namespace KMSFault {
7636
- /**
7637
- * @internal
7638
- */
7639
- const filterSensitiveLog: (obj: KMSFault) => any;
7640
- }
7641
7509
  /**
7642
7510
  * <p>A specified Amazon S3 bucket, bucket folder, or other object can't be
7643
7511
  * found.</p>
@@ -7647,12 +7515,6 @@ export interface S3ResourceNotFoundFault extends __SmithyException, $MetadataBea
7647
7515
  $fault: "client";
7648
7516
  message?: string;
7649
7517
  }
7650
- export declare namespace S3ResourceNotFoundFault {
7651
- /**
7652
- * @internal
7653
- */
7654
- const filterSensitiveLog: (obj: S3ResourceNotFoundFault) => any;
7655
- }
7656
7518
  /**
7657
7519
  * <p></p>
7658
7520
  */
@@ -1,10 +1,11 @@
1
- import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
1
+ import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
2
2
  import { DatabaseMigrationServiceClientConfig } from "./DatabaseMigrationServiceClient";
3
3
  /**
4
4
  * @internal
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: DatabaseMigrationServiceClientConfig) => {
7
7
  runtime: string;
8
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
8
9
  base64Decoder: import("@aws-sdk/types").Decoder;
9
10
  base64Encoder: import("@aws-sdk/types").Encoder;
10
11
  bodyLengthChecker: (body: any) => number | undefined;
@@ -12,7 +13,7 @@ export declare const getRuntimeConfig: (config: DatabaseMigrationServiceClientCo
12
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
13
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
14
15
  region: string | import("@aws-sdk/types").Provider<any>;
15
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | FetchHttpHandler;
16
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
16
17
  retryMode: string | import("@aws-sdk/types").Provider<string>;
17
18
  sha256: import("@aws-sdk/types").HashConstructor;
18
19
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -1,18 +1,19 @@
1
- import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
1
+ import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
2
2
  import { DatabaseMigrationServiceClientConfig } from "./DatabaseMigrationServiceClient";
3
3
  /**
4
4
  * @internal
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: DatabaseMigrationServiceClientConfig) => {
7
7
  runtime: string;
8
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
8
9
  base64Decoder: import("@aws-sdk/types").Decoder;
9
10
  base64Encoder: import("@aws-sdk/types").Encoder;
10
11
  bodyLengthChecker: (body: any) => number | undefined;
11
- credentialDefaultProvider: import("@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers").DefaultCredentialProvider;
12
+ credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
12
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
13
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
14
15
  region: string | import("@aws-sdk/types").Provider<string>;
15
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | NodeHttpHandler;
16
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
16
17
  retryMode: string | import("@aws-sdk/types").Provider<string>;
17
18
  sha256: import("@aws-sdk/types").HashConstructor;
18
19
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -25,6 +25,7 @@ export declare const getRuntimeConfig: (config: DatabaseMigrationServiceClientCo
25
25
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
26
26
  regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
27
27
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
28
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
28
29
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
29
30
  tls?: boolean | undefined;
30
31
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
4
4
  import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
- import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
7
+ import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
8
  import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { AddTagsToResourceCommandInput, AddTagsToResourceCommandOutput } from "./commands/AddTagsToResourceCommand";
10
10
  import { ApplyPendingMaintenanceActionCommandInput, ApplyPendingMaintenanceActionCommandOutput } from "./commands/ApplyPendingMaintenanceActionCommand";
@@ -106,6 +106,8 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
106
106
  regionInfoProvider?: RegionInfoProvider;
107
107
 
108
108
  defaultUserAgentProvider?: Provider<__UserAgent>;
109
+
110
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
109
111
  }
110
112
  declare type DatabaseMigrationServiceClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
111
113