@aws-sdk/client-service-quotas 3.46.0 → 3.48.0

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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,42 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.48.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.2...v3.48.0) (2022-01-22)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-service-quotas
9
+
10
+
11
+
12
+
13
+
14
+ ## [3.47.2](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.1...v3.47.2) (2022-01-21)
15
+
16
+ **Note:** Version bump only for package @aws-sdk/client-service-quotas
17
+
18
+
19
+
20
+
21
+
22
+ ## [3.47.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.0-release-test-1...v3.47.1) (2022-01-20)
23
+
24
+ **Note:** Version bump only for package @aws-sdk/client-service-quotas
25
+
26
+
27
+
28
+
29
+
30
+ # [3.47.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.46.0...v3.47.0) (2022-01-15)
31
+
32
+
33
+ ### Features
34
+
35
+ * **clients:** update clients to use default values inferred from defaults mode ([#3192](https://github.com/aws/aws-sdk-js-v3/issues/3192)) ([9152e21](https://github.com/aws/aws-sdk-js-v3/commit/9152e210c6ec29f34bb070eaf2874039022e6ab7))
36
+ * Support awsQueryError trait ([#3174](https://github.com/aws/aws-sdk-js-v3/issues/3174)) ([351bd3a](https://github.com/aws/aws-sdk-js-v3/commit/351bd3a40ad37be79d823d6a0e4e48304728ea6f))
37
+
38
+
39
+
40
+
41
+
6
42
  # [3.46.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.45.0...v3.46.0) (2022-01-07)
7
43
 
8
44
 
@@ -5,10 +5,6 @@ const config_resolver_1 = require("@aws-sdk/config-resolver");
5
5
  const regionHash = {
6
6
  "us-gov-east-1": {
7
7
  variants: [
8
- {
9
- hostname: "servicequotas.us-gov-east-1.amazonaws.com",
10
- tags: [],
11
- },
12
8
  {
13
9
  hostname: "servicequotas.us-gov-east-1.amazonaws.com",
14
10
  tags: ["fips"],
@@ -17,10 +13,6 @@ const regionHash = {
17
13
  },
18
14
  "us-gov-west-1": {
19
15
  variants: [
20
- {
21
- hostname: "servicequotas.us-gov-west-1.amazonaws.com",
22
- tags: [],
23
- },
24
16
  {
25
17
  hostname: "servicequotas.us-gov-west-1.amazonaws.com",
26
18
  tags: ["fips"],
@@ -1,13 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ListServiceQuotasResponse = exports.ListServiceQuotasRequest = exports.ListServiceQuotaIncreaseRequestsInTemplateResponse = exports.ListServiceQuotaIncreaseRequestsInTemplateRequest = exports.ListRequestedServiceQuotaChangeHistoryByQuotaResponse = exports.ListRequestedServiceQuotaChangeHistoryByQuotaRequest = exports.ListRequestedServiceQuotaChangeHistoryResponse = exports.ListRequestedServiceQuotaChangeHistoryRequest = exports.ListAWSDefaultServiceQuotasResponse = exports.ListAWSDefaultServiceQuotasRequest = exports.InvalidResourceStateException = exports.InvalidPaginationTokenException = exports.Tag = exports.GetServiceQuotaIncreaseRequestFromTemplateResponse = exports.ServiceQuotaIncreaseRequestInTemplate = exports.GetServiceQuotaIncreaseRequestFromTemplateRequest = exports.GetServiceQuotaResponse = exports.GetServiceQuotaRequest = exports.GetRequestedServiceQuotaChangeResponse = exports.RequestedServiceQuotaChange = exports.RequestStatus = exports.GetRequestedServiceQuotaChangeRequest = exports.GetAWSDefaultServiceQuotaResponse = exports.ServiceQuota = exports.MetricInfo = exports.QuotaPeriod = exports.PeriodUnit = exports.GetAWSDefaultServiceQuotaRequest = exports.GetAssociationForServiceQuotaTemplateResponse = exports.ServiceQuotaTemplateAssociationStatus = exports.GetAssociationForServiceQuotaTemplateRequest = exports.ErrorReason = exports.ErrorCode = exports.ServiceQuotaTemplateNotInUseException = exports.DisassociateServiceQuotaTemplateResponse = exports.DisassociateServiceQuotaTemplateRequest = exports.NoSuchResourceException = exports.IllegalArgumentException = exports.DeleteServiceQuotaIncreaseRequestFromTemplateResponse = exports.DeleteServiceQuotaIncreaseRequestFromTemplateRequest = exports.TooManyRequestsException = exports.TemplatesNotAvailableInRegionException = exports.ServiceException = exports.OrganizationNotInAllFeaturesModeException = exports.NoAvailableOrganizationException = exports.DependencyAccessDeniedException = exports.AWSServiceAccessNotEnabledException = exports.AssociateServiceQuotaTemplateResponse = exports.AssociateServiceQuotaTemplateRequest = exports.AccessDeniedException = void 0;
4
- exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TooManyTagsException = exports.TagResourceResponse = exports.TagResourceRequest = exports.TagPolicyViolationException = exports.ResourceAlreadyExistsException = exports.RequestServiceQuotaIncreaseResponse = exports.RequestServiceQuotaIncreaseRequest = exports.QuotaExceededException = exports.PutServiceQuotaIncreaseRequestIntoTemplateResponse = exports.PutServiceQuotaIncreaseRequestIntoTemplateRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListServicesResponse = exports.ServiceInfo = exports.ListServicesRequest = void 0;
5
- var AccessDeniedException;
6
- (function (AccessDeniedException) {
7
- AccessDeniedException.filterSensitiveLog = (obj) => ({
8
- ...obj,
9
- });
10
- })(AccessDeniedException = exports.AccessDeniedException || (exports.AccessDeniedException = {}));
3
+ exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.RequestServiceQuotaIncreaseResponse = exports.RequestServiceQuotaIncreaseRequest = exports.PutServiceQuotaIncreaseRequestIntoTemplateResponse = exports.PutServiceQuotaIncreaseRequestIntoTemplateRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListServicesResponse = exports.ServiceInfo = exports.ListServicesRequest = exports.ListServiceQuotasResponse = exports.ListServiceQuotasRequest = exports.ListServiceQuotaIncreaseRequestsInTemplateResponse = exports.ListServiceQuotaIncreaseRequestsInTemplateRequest = exports.ListRequestedServiceQuotaChangeHistoryByQuotaResponse = exports.ListRequestedServiceQuotaChangeHistoryByQuotaRequest = exports.ListRequestedServiceQuotaChangeHistoryResponse = exports.ListRequestedServiceQuotaChangeHistoryRequest = exports.ListAWSDefaultServiceQuotasResponse = exports.ListAWSDefaultServiceQuotasRequest = exports.Tag = exports.GetServiceQuotaIncreaseRequestFromTemplateResponse = exports.ServiceQuotaIncreaseRequestInTemplate = exports.GetServiceQuotaIncreaseRequestFromTemplateRequest = exports.GetServiceQuotaResponse = exports.GetServiceQuotaRequest = exports.GetRequestedServiceQuotaChangeResponse = exports.RequestedServiceQuotaChange = exports.RequestStatus = exports.GetRequestedServiceQuotaChangeRequest = exports.GetAWSDefaultServiceQuotaResponse = exports.ServiceQuota = exports.MetricInfo = exports.QuotaPeriod = exports.PeriodUnit = exports.GetAWSDefaultServiceQuotaRequest = exports.GetAssociationForServiceQuotaTemplateResponse = exports.ServiceQuotaTemplateAssociationStatus = exports.GetAssociationForServiceQuotaTemplateRequest = exports.ErrorReason = exports.ErrorCode = exports.DisassociateServiceQuotaTemplateResponse = exports.DisassociateServiceQuotaTemplateRequest = exports.DeleteServiceQuotaIncreaseRequestFromTemplateResponse = exports.DeleteServiceQuotaIncreaseRequestFromTemplateRequest = exports.AssociateServiceQuotaTemplateResponse = exports.AssociateServiceQuotaTemplateRequest = void 0;
11
4
  var AssociateServiceQuotaTemplateRequest;
12
5
  (function (AssociateServiceQuotaTemplateRequest) {
13
6
  AssociateServiceQuotaTemplateRequest.filterSensitiveLog = (obj) => ({
@@ -20,48 +13,6 @@ var AssociateServiceQuotaTemplateResponse;
20
13
  ...obj,
21
14
  });
22
15
  })(AssociateServiceQuotaTemplateResponse = exports.AssociateServiceQuotaTemplateResponse || (exports.AssociateServiceQuotaTemplateResponse = {}));
23
- var AWSServiceAccessNotEnabledException;
24
- (function (AWSServiceAccessNotEnabledException) {
25
- AWSServiceAccessNotEnabledException.filterSensitiveLog = (obj) => ({
26
- ...obj,
27
- });
28
- })(AWSServiceAccessNotEnabledException = exports.AWSServiceAccessNotEnabledException || (exports.AWSServiceAccessNotEnabledException = {}));
29
- var DependencyAccessDeniedException;
30
- (function (DependencyAccessDeniedException) {
31
- DependencyAccessDeniedException.filterSensitiveLog = (obj) => ({
32
- ...obj,
33
- });
34
- })(DependencyAccessDeniedException = exports.DependencyAccessDeniedException || (exports.DependencyAccessDeniedException = {}));
35
- var NoAvailableOrganizationException;
36
- (function (NoAvailableOrganizationException) {
37
- NoAvailableOrganizationException.filterSensitiveLog = (obj) => ({
38
- ...obj,
39
- });
40
- })(NoAvailableOrganizationException = exports.NoAvailableOrganizationException || (exports.NoAvailableOrganizationException = {}));
41
- var OrganizationNotInAllFeaturesModeException;
42
- (function (OrganizationNotInAllFeaturesModeException) {
43
- OrganizationNotInAllFeaturesModeException.filterSensitiveLog = (obj) => ({
44
- ...obj,
45
- });
46
- })(OrganizationNotInAllFeaturesModeException = exports.OrganizationNotInAllFeaturesModeException || (exports.OrganizationNotInAllFeaturesModeException = {}));
47
- var ServiceException;
48
- (function (ServiceException) {
49
- ServiceException.filterSensitiveLog = (obj) => ({
50
- ...obj,
51
- });
52
- })(ServiceException = exports.ServiceException || (exports.ServiceException = {}));
53
- var TemplatesNotAvailableInRegionException;
54
- (function (TemplatesNotAvailableInRegionException) {
55
- TemplatesNotAvailableInRegionException.filterSensitiveLog = (obj) => ({
56
- ...obj,
57
- });
58
- })(TemplatesNotAvailableInRegionException = exports.TemplatesNotAvailableInRegionException || (exports.TemplatesNotAvailableInRegionException = {}));
59
- var TooManyRequestsException;
60
- (function (TooManyRequestsException) {
61
- TooManyRequestsException.filterSensitiveLog = (obj) => ({
62
- ...obj,
63
- });
64
- })(TooManyRequestsException = exports.TooManyRequestsException || (exports.TooManyRequestsException = {}));
65
16
  var DeleteServiceQuotaIncreaseRequestFromTemplateRequest;
66
17
  (function (DeleteServiceQuotaIncreaseRequestFromTemplateRequest) {
67
18
  DeleteServiceQuotaIncreaseRequestFromTemplateRequest.filterSensitiveLog = (obj) => ({
@@ -74,18 +25,6 @@ var DeleteServiceQuotaIncreaseRequestFromTemplateResponse;
74
25
  ...obj,
75
26
  });
76
27
  })(DeleteServiceQuotaIncreaseRequestFromTemplateResponse = exports.DeleteServiceQuotaIncreaseRequestFromTemplateResponse || (exports.DeleteServiceQuotaIncreaseRequestFromTemplateResponse = {}));
77
- var IllegalArgumentException;
78
- (function (IllegalArgumentException) {
79
- IllegalArgumentException.filterSensitiveLog = (obj) => ({
80
- ...obj,
81
- });
82
- })(IllegalArgumentException = exports.IllegalArgumentException || (exports.IllegalArgumentException = {}));
83
- var NoSuchResourceException;
84
- (function (NoSuchResourceException) {
85
- NoSuchResourceException.filterSensitiveLog = (obj) => ({
86
- ...obj,
87
- });
88
- })(NoSuchResourceException = exports.NoSuchResourceException || (exports.NoSuchResourceException = {}));
89
28
  var DisassociateServiceQuotaTemplateRequest;
90
29
  (function (DisassociateServiceQuotaTemplateRequest) {
91
30
  DisassociateServiceQuotaTemplateRequest.filterSensitiveLog = (obj) => ({
@@ -98,12 +37,6 @@ var DisassociateServiceQuotaTemplateResponse;
98
37
  ...obj,
99
38
  });
100
39
  })(DisassociateServiceQuotaTemplateResponse = exports.DisassociateServiceQuotaTemplateResponse || (exports.DisassociateServiceQuotaTemplateResponse = {}));
101
- var ServiceQuotaTemplateNotInUseException;
102
- (function (ServiceQuotaTemplateNotInUseException) {
103
- ServiceQuotaTemplateNotInUseException.filterSensitiveLog = (obj) => ({
104
- ...obj,
105
- });
106
- })(ServiceQuotaTemplateNotInUseException = exports.ServiceQuotaTemplateNotInUseException || (exports.ServiceQuotaTemplateNotInUseException = {}));
107
40
  var ErrorCode;
108
41
  (function (ErrorCode) {
109
42
  ErrorCode["DEPENDENCY_ACCESS_DENIED_ERROR"] = "DEPENDENCY_ACCESS_DENIED_ERROR";
@@ -236,18 +169,6 @@ var Tag;
236
169
  ...obj,
237
170
  });
238
171
  })(Tag = exports.Tag || (exports.Tag = {}));
239
- var InvalidPaginationTokenException;
240
- (function (InvalidPaginationTokenException) {
241
- InvalidPaginationTokenException.filterSensitiveLog = (obj) => ({
242
- ...obj,
243
- });
244
- })(InvalidPaginationTokenException = exports.InvalidPaginationTokenException || (exports.InvalidPaginationTokenException = {}));
245
- var InvalidResourceStateException;
246
- (function (InvalidResourceStateException) {
247
- InvalidResourceStateException.filterSensitiveLog = (obj) => ({
248
- ...obj,
249
- });
250
- })(InvalidResourceStateException = exports.InvalidResourceStateException || (exports.InvalidResourceStateException = {}));
251
172
  var ListAWSDefaultServiceQuotasRequest;
252
173
  (function (ListAWSDefaultServiceQuotasRequest) {
253
174
  ListAWSDefaultServiceQuotasRequest.filterSensitiveLog = (obj) => ({
@@ -350,12 +271,6 @@ var PutServiceQuotaIncreaseRequestIntoTemplateResponse;
350
271
  ...obj,
351
272
  });
352
273
  })(PutServiceQuotaIncreaseRequestIntoTemplateResponse = exports.PutServiceQuotaIncreaseRequestIntoTemplateResponse || (exports.PutServiceQuotaIncreaseRequestIntoTemplateResponse = {}));
353
- var QuotaExceededException;
354
- (function (QuotaExceededException) {
355
- QuotaExceededException.filterSensitiveLog = (obj) => ({
356
- ...obj,
357
- });
358
- })(QuotaExceededException = exports.QuotaExceededException || (exports.QuotaExceededException = {}));
359
274
  var RequestServiceQuotaIncreaseRequest;
360
275
  (function (RequestServiceQuotaIncreaseRequest) {
361
276
  RequestServiceQuotaIncreaseRequest.filterSensitiveLog = (obj) => ({
@@ -368,18 +283,6 @@ var RequestServiceQuotaIncreaseResponse;
368
283
  ...obj,
369
284
  });
370
285
  })(RequestServiceQuotaIncreaseResponse = exports.RequestServiceQuotaIncreaseResponse || (exports.RequestServiceQuotaIncreaseResponse = {}));
371
- var ResourceAlreadyExistsException;
372
- (function (ResourceAlreadyExistsException) {
373
- ResourceAlreadyExistsException.filterSensitiveLog = (obj) => ({
374
- ...obj,
375
- });
376
- })(ResourceAlreadyExistsException = exports.ResourceAlreadyExistsException || (exports.ResourceAlreadyExistsException = {}));
377
- var TagPolicyViolationException;
378
- (function (TagPolicyViolationException) {
379
- TagPolicyViolationException.filterSensitiveLog = (obj) => ({
380
- ...obj,
381
- });
382
- })(TagPolicyViolationException = exports.TagPolicyViolationException || (exports.TagPolicyViolationException = {}));
383
286
  var TagResourceRequest;
384
287
  (function (TagResourceRequest) {
385
288
  TagResourceRequest.filterSensitiveLog = (obj) => ({
@@ -392,12 +295,6 @@ var TagResourceResponse;
392
295
  ...obj,
393
296
  });
394
297
  })(TagResourceResponse = exports.TagResourceResponse || (exports.TagResourceResponse = {}));
395
- var TooManyTagsException;
396
- (function (TooManyTagsException) {
397
- TooManyTagsException.filterSensitiveLog = (obj) => ({
398
- ...obj,
399
- });
400
- })(TooManyTagsException = exports.TooManyTagsException || (exports.TooManyTagsException = {}));
401
298
  var UntagResourceRequest;
402
299
  (function (UntagResourceRequest) {
403
300
  UntagResourceRequest.filterSensitiveLog = (obj) => ({
@@ -13,13 +13,18 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
13
13
  const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
14
14
  const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
15
15
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
16
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
17
+ const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
16
18
  const getRuntimeConfig = (config) => {
17
19
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
20
+ const defaultsMode = util_defaults_mode_browser_1.resolveDefaultsModeConfig(config);
21
+ const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
18
22
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
19
23
  return {
20
24
  ...clientSharedValues,
21
25
  ...config,
22
26
  runtime: "browser",
27
+ defaultsMode,
23
28
  base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_browser_1.fromBase64,
24
29
  base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
25
30
  bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength,
@@ -27,8 +32,8 @@ const getRuntimeConfig = (config) => {
27
32
  defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_browser_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
28
33
  maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
29
34
  region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalid_dependency_1.invalidProvider("Region is missing"),
30
- requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(),
31
- retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (() => Promise.resolve(middleware_retry_1.DEFAULT_RETRY_MODE)),
35
+ requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
36
+ retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
32
37
  sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
33
38
  streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : fetch_http_handler_1.streamCollector,
34
39
  useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
@@ -15,13 +15,18 @@ const util_body_length_node_1 = require("@aws-sdk/util-body-length-node");
15
15
  const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
16
16
  const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
17
17
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
18
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
19
+ const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
18
20
  const getRuntimeConfig = (config) => {
19
21
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
22
+ const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
23
+ const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
20
24
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
21
25
  return {
22
26
  ...clientSharedValues,
23
27
  ...config,
24
28
  runtime: "node",
29
+ defaultsMode,
25
30
  base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
26
31
  base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
27
32
  bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
@@ -29,8 +34,11 @@ const getRuntimeConfig = (config) => {
29
34
  defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_node_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
30
35
  maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : node_config_provider_1.loadConfig(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
31
36
  region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : node_config_provider_1.loadConfig(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
32
- requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(),
33
- retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig(middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS),
37
+ requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
38
+ retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig({
39
+ ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
40
+ default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
41
+ }),
34
42
  sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
35
43
  streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
36
44
  useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
@@ -3,10 +3,6 @@ import { getRegionInfo } from "@aws-sdk/config-resolver";
3
3
  var regionHash = {
4
4
  "us-gov-east-1": {
5
5
  variants: [
6
- {
7
- hostname: "servicequotas.us-gov-east-1.amazonaws.com",
8
- tags: [],
9
- },
10
6
  {
11
7
  hostname: "servicequotas.us-gov-east-1.amazonaws.com",
12
8
  tags: ["fips"],
@@ -15,10 +11,6 @@ var regionHash = {
15
11
  },
16
12
  "us-gov-west-1": {
17
13
  variants: [
18
- {
19
- hostname: "servicequotas.us-gov-west-1.amazonaws.com",
20
- tags: [],
21
- },
22
14
  {
23
15
  hostname: "servicequotas.us-gov-west-1.amazonaws.com",
24
16
  tags: ["fips"],
@@ -1,8 +1,4 @@
1
1
  import { __assign } from "tslib";
2
- export var AccessDeniedException;
3
- (function (AccessDeniedException) {
4
- AccessDeniedException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
5
- })(AccessDeniedException || (AccessDeniedException = {}));
6
2
  export var AssociateServiceQuotaTemplateRequest;
7
3
  (function (AssociateServiceQuotaTemplateRequest) {
8
4
  AssociateServiceQuotaTemplateRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -11,34 +7,6 @@ export var AssociateServiceQuotaTemplateResponse;
11
7
  (function (AssociateServiceQuotaTemplateResponse) {
12
8
  AssociateServiceQuotaTemplateResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
13
9
  })(AssociateServiceQuotaTemplateResponse || (AssociateServiceQuotaTemplateResponse = {}));
14
- export var AWSServiceAccessNotEnabledException;
15
- (function (AWSServiceAccessNotEnabledException) {
16
- AWSServiceAccessNotEnabledException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
17
- })(AWSServiceAccessNotEnabledException || (AWSServiceAccessNotEnabledException = {}));
18
- export var DependencyAccessDeniedException;
19
- (function (DependencyAccessDeniedException) {
20
- DependencyAccessDeniedException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
21
- })(DependencyAccessDeniedException || (DependencyAccessDeniedException = {}));
22
- export var NoAvailableOrganizationException;
23
- (function (NoAvailableOrganizationException) {
24
- NoAvailableOrganizationException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
25
- })(NoAvailableOrganizationException || (NoAvailableOrganizationException = {}));
26
- export var OrganizationNotInAllFeaturesModeException;
27
- (function (OrganizationNotInAllFeaturesModeException) {
28
- OrganizationNotInAllFeaturesModeException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
29
- })(OrganizationNotInAllFeaturesModeException || (OrganizationNotInAllFeaturesModeException = {}));
30
- export var ServiceException;
31
- (function (ServiceException) {
32
- ServiceException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
33
- })(ServiceException || (ServiceException = {}));
34
- export var TemplatesNotAvailableInRegionException;
35
- (function (TemplatesNotAvailableInRegionException) {
36
- TemplatesNotAvailableInRegionException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
37
- })(TemplatesNotAvailableInRegionException || (TemplatesNotAvailableInRegionException = {}));
38
- export var TooManyRequestsException;
39
- (function (TooManyRequestsException) {
40
- TooManyRequestsException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
41
- })(TooManyRequestsException || (TooManyRequestsException = {}));
42
10
  export var DeleteServiceQuotaIncreaseRequestFromTemplateRequest;
43
11
  (function (DeleteServiceQuotaIncreaseRequestFromTemplateRequest) {
44
12
  DeleteServiceQuotaIncreaseRequestFromTemplateRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -47,14 +15,6 @@ export var DeleteServiceQuotaIncreaseRequestFromTemplateResponse;
47
15
  (function (DeleteServiceQuotaIncreaseRequestFromTemplateResponse) {
48
16
  DeleteServiceQuotaIncreaseRequestFromTemplateResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
49
17
  })(DeleteServiceQuotaIncreaseRequestFromTemplateResponse || (DeleteServiceQuotaIncreaseRequestFromTemplateResponse = {}));
50
- export var IllegalArgumentException;
51
- (function (IllegalArgumentException) {
52
- IllegalArgumentException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
53
- })(IllegalArgumentException || (IllegalArgumentException = {}));
54
- export var NoSuchResourceException;
55
- (function (NoSuchResourceException) {
56
- NoSuchResourceException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
57
- })(NoSuchResourceException || (NoSuchResourceException = {}));
58
18
  export var DisassociateServiceQuotaTemplateRequest;
59
19
  (function (DisassociateServiceQuotaTemplateRequest) {
60
20
  DisassociateServiceQuotaTemplateRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -63,10 +23,6 @@ export var DisassociateServiceQuotaTemplateResponse;
63
23
  (function (DisassociateServiceQuotaTemplateResponse) {
64
24
  DisassociateServiceQuotaTemplateResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
65
25
  })(DisassociateServiceQuotaTemplateResponse || (DisassociateServiceQuotaTemplateResponse = {}));
66
- export var ServiceQuotaTemplateNotInUseException;
67
- (function (ServiceQuotaTemplateNotInUseException) {
68
- ServiceQuotaTemplateNotInUseException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
69
- })(ServiceQuotaTemplateNotInUseException || (ServiceQuotaTemplateNotInUseException = {}));
70
26
  export var ErrorCode;
71
27
  (function (ErrorCode) {
72
28
  ErrorCode["DEPENDENCY_ACCESS_DENIED_ERROR"] = "DEPENDENCY_ACCESS_DENIED_ERROR";
@@ -165,14 +121,6 @@ export var Tag;
165
121
  (function (Tag) {
166
122
  Tag.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
167
123
  })(Tag || (Tag = {}));
168
- export var InvalidPaginationTokenException;
169
- (function (InvalidPaginationTokenException) {
170
- InvalidPaginationTokenException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
171
- })(InvalidPaginationTokenException || (InvalidPaginationTokenException = {}));
172
- export var InvalidResourceStateException;
173
- (function (InvalidResourceStateException) {
174
- InvalidResourceStateException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
175
- })(InvalidResourceStateException || (InvalidResourceStateException = {}));
176
124
  export var ListAWSDefaultServiceQuotasRequest;
177
125
  (function (ListAWSDefaultServiceQuotasRequest) {
178
126
  ListAWSDefaultServiceQuotasRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -241,10 +189,6 @@ export var PutServiceQuotaIncreaseRequestIntoTemplateResponse;
241
189
  (function (PutServiceQuotaIncreaseRequestIntoTemplateResponse) {
242
190
  PutServiceQuotaIncreaseRequestIntoTemplateResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
243
191
  })(PutServiceQuotaIncreaseRequestIntoTemplateResponse || (PutServiceQuotaIncreaseRequestIntoTemplateResponse = {}));
244
- export var QuotaExceededException;
245
- (function (QuotaExceededException) {
246
- QuotaExceededException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
247
- })(QuotaExceededException || (QuotaExceededException = {}));
248
192
  export var RequestServiceQuotaIncreaseRequest;
249
193
  (function (RequestServiceQuotaIncreaseRequest) {
250
194
  RequestServiceQuotaIncreaseRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -253,14 +197,6 @@ export var RequestServiceQuotaIncreaseResponse;
253
197
  (function (RequestServiceQuotaIncreaseResponse) {
254
198
  RequestServiceQuotaIncreaseResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
255
199
  })(RequestServiceQuotaIncreaseResponse || (RequestServiceQuotaIncreaseResponse = {}));
256
- export var ResourceAlreadyExistsException;
257
- (function (ResourceAlreadyExistsException) {
258
- ResourceAlreadyExistsException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
259
- })(ResourceAlreadyExistsException || (ResourceAlreadyExistsException = {}));
260
- export var TagPolicyViolationException;
261
- (function (TagPolicyViolationException) {
262
- TagPolicyViolationException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
263
- })(TagPolicyViolationException || (TagPolicyViolationException = {}));
264
200
  export var TagResourceRequest;
265
201
  (function (TagResourceRequest) {
266
202
  TagResourceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -269,10 +205,6 @@ export var TagResourceResponse;
269
205
  (function (TagResourceResponse) {
270
206
  TagResourceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
271
207
  })(TagResourceResponse || (TagResourceResponse = {}));
272
- export var TooManyTagsException;
273
- (function (TooManyTagsException) {
274
- TooManyTagsException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
275
- })(TooManyTagsException || (TooManyTagsException = {}));
276
208
  export var UntagResourceRequest;
277
209
  (function (UntagResourceRequest) {
278
210
  UntagResourceRequest.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,19 +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 { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
16
+ import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
15
17
  export var getRuntimeConfig = function (config) {
16
18
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
19
+ var defaultsMode = resolveDefaultsModeConfig(config);
20
+ var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
17
21
  var clientSharedValues = getSharedRuntimeConfig(config);
18
- 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 });
19
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 { AssociateServiceQuotaTemplateCommandInput, AssociateServiceQuotaTemplateCommandOutput } from "./commands/AssociateServiceQuotaTemplateCommand";
10
10
  import { DeleteServiceQuotaIncreaseRequestFromTemplateCommandInput, DeleteServiceQuotaIncreaseRequestFromTemplateCommandOutput } from "./commands/DeleteServiceQuotaIncreaseRequestFromTemplateCommand";
@@ -127,6 +127,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
127
127
  * @internal
128
128
  */
129
129
  defaultUserAgentProvider?: Provider<__UserAgent>;
130
+ /**
131
+ * The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
132
+ */
133
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
130
134
  }
131
135
  declare type ServiceQuotasClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
132
136
  /**
@@ -7,12 +7,6 @@ export interface AccessDeniedException extends __SmithyException, $MetadataBeare
7
7
  $fault: "client";
8
8
  Message?: string;
9
9
  }
10
- export declare namespace AccessDeniedException {
11
- /**
12
- * @internal
13
- */
14
- const filterSensitiveLog: (obj: AccessDeniedException) => any;
15
- }
16
10
  export interface AssociateServiceQuotaTemplateRequest {
17
11
  }
18
12
  export declare namespace AssociateServiceQuotaTemplateRequest {
@@ -38,12 +32,6 @@ export interface AWSServiceAccessNotEnabledException extends __SmithyException,
38
32
  $fault: "client";
39
33
  Message?: string;
40
34
  }
41
- export declare namespace AWSServiceAccessNotEnabledException {
42
- /**
43
- * @internal
44
- */
45
- const filterSensitiveLog: (obj: AWSServiceAccessNotEnabledException) => any;
46
- }
47
35
  /**
48
36
  * <p>You can't perform this action because a dependency does not have access.</p>
49
37
  */
@@ -52,12 +40,6 @@ export interface DependencyAccessDeniedException extends __SmithyException, $Met
52
40
  $fault: "client";
53
41
  Message?: string;
54
42
  }
55
- export declare namespace DependencyAccessDeniedException {
56
- /**
57
- * @internal
58
- */
59
- const filterSensitiveLog: (obj: DependencyAccessDeniedException) => any;
60
- }
61
43
  /**
62
44
  * <p>The account making this call is not a member of an organization.</p>
63
45
  */
@@ -66,12 +48,6 @@ export interface NoAvailableOrganizationException extends __SmithyException, $Me
66
48
  $fault: "client";
67
49
  Message?: string;
68
50
  }
69
- export declare namespace NoAvailableOrganizationException {
70
- /**
71
- * @internal
72
- */
73
- const filterSensitiveLog: (obj: NoAvailableOrganizationException) => any;
74
- }
75
51
  /**
76
52
  * <p>The organization that your account belongs to is not in All Features mode.</p>
77
53
  */
@@ -80,12 +56,6 @@ export interface OrganizationNotInAllFeaturesModeException extends __SmithyExcep
80
56
  $fault: "client";
81
57
  Message?: string;
82
58
  }
83
- export declare namespace OrganizationNotInAllFeaturesModeException {
84
- /**
85
- * @internal
86
- */
87
- const filterSensitiveLog: (obj: OrganizationNotInAllFeaturesModeException) => any;
88
- }
89
59
  /**
90
60
  * <p>Something went wrong.</p>
91
61
  */
@@ -94,12 +64,6 @@ export interface ServiceException extends __SmithyException, $MetadataBearer {
94
64
  $fault: "server";
95
65
  Message?: string;
96
66
  }
97
- export declare namespace ServiceException {
98
- /**
99
- * @internal
100
- */
101
- const filterSensitiveLog: (obj: ServiceException) => any;
102
- }
103
67
  /**
104
68
  * <p>The Service Quotas template is not available in this AWS Region.</p>
105
69
  */
@@ -108,12 +72,6 @@ export interface TemplatesNotAvailableInRegionException extends __SmithyExceptio
108
72
  $fault: "client";
109
73
  Message?: string;
110
74
  }
111
- export declare namespace TemplatesNotAvailableInRegionException {
112
- /**
113
- * @internal
114
- */
115
- const filterSensitiveLog: (obj: TemplatesNotAvailableInRegionException) => any;
116
- }
117
75
  /**
118
76
  * <p>Due to throttling, the request was denied. Slow down the rate of request calls, or request
119
77
  * an increase for this quota.</p>
@@ -123,12 +81,6 @@ export interface TooManyRequestsException extends __SmithyException, $MetadataBe
123
81
  $fault: "client";
124
82
  Message?: string;
125
83
  }
126
- export declare namespace TooManyRequestsException {
127
- /**
128
- * @internal
129
- */
130
- const filterSensitiveLog: (obj: TooManyRequestsException) => any;
131
- }
132
84
  export interface DeleteServiceQuotaIncreaseRequestFromTemplateRequest {
133
85
  /**
134
86
  * <p>The service identifier.</p>
@@ -165,12 +117,6 @@ export interface IllegalArgumentException extends __SmithyException, $MetadataBe
165
117
  $fault: "client";
166
118
  Message?: string;
167
119
  }
168
- export declare namespace IllegalArgumentException {
169
- /**
170
- * @internal
171
- */
172
- const filterSensitiveLog: (obj: IllegalArgumentException) => any;
173
- }
174
120
  /**
175
121
  * <p>The specified resource does not exist.</p>
176
122
  */
@@ -179,12 +125,6 @@ export interface NoSuchResourceException extends __SmithyException, $MetadataBea
179
125
  $fault: "client";
180
126
  Message?: string;
181
127
  }
182
- export declare namespace NoSuchResourceException {
183
- /**
184
- * @internal
185
- */
186
- const filterSensitiveLog: (obj: NoSuchResourceException) => any;
187
- }
188
128
  export interface DisassociateServiceQuotaTemplateRequest {
189
129
  }
190
130
  export declare namespace DisassociateServiceQuotaTemplateRequest {
@@ -209,12 +149,6 @@ export interface ServiceQuotaTemplateNotInUseException extends __SmithyException
209
149
  $fault: "client";
210
150
  Message?: string;
211
151
  }
212
- export declare namespace ServiceQuotaTemplateNotInUseException {
213
- /**
214
- * @internal
215
- */
216
- const filterSensitiveLog: (obj: ServiceQuotaTemplateNotInUseException) => any;
217
- }
218
152
  export declare enum ErrorCode {
219
153
  DEPENDENCY_ACCESS_DENIED_ERROR = "DEPENDENCY_ACCESS_DENIED_ERROR",
220
154
  DEPENDENCY_SERVICE_ERROR = "DEPENDENCY_SERVICE_ERROR",
@@ -666,12 +600,6 @@ export interface InvalidPaginationTokenException extends __SmithyException, $Met
666
600
  $fault: "client";
667
601
  Message?: string;
668
602
  }
669
- export declare namespace InvalidPaginationTokenException {
670
- /**
671
- * @internal
672
- */
673
- const filterSensitiveLog: (obj: InvalidPaginationTokenException) => any;
674
- }
675
603
  /**
676
604
  * <p>The resource is in an invalid state.</p>
677
605
  */
@@ -680,12 +608,6 @@ export interface InvalidResourceStateException extends __SmithyException, $Metad
680
608
  $fault: "client";
681
609
  Message?: string;
682
610
  }
683
- export declare namespace InvalidResourceStateException {
684
- /**
685
- * @internal
686
- */
687
- const filterSensitiveLog: (obj: InvalidResourceStateException) => any;
688
- }
689
611
  export interface ListAWSDefaultServiceQuotasRequest {
690
612
  /**
691
613
  * <p>The service identifier.</p>
@@ -1016,12 +938,6 @@ export interface QuotaExceededException extends __SmithyException, $MetadataBear
1016
938
  $fault: "client";
1017
939
  Message?: string;
1018
940
  }
1019
- export declare namespace QuotaExceededException {
1020
- /**
1021
- * @internal
1022
- */
1023
- const filterSensitiveLog: (obj: QuotaExceededException) => any;
1024
- }
1025
941
  export interface RequestServiceQuotaIncreaseRequest {
1026
942
  /**
1027
943
  * <p>The service identifier.</p>
@@ -1062,12 +978,6 @@ export interface ResourceAlreadyExistsException extends __SmithyException, $Meta
1062
978
  $fault: "client";
1063
979
  Message?: string;
1064
980
  }
1065
- export declare namespace ResourceAlreadyExistsException {
1066
- /**
1067
- * @internal
1068
- */
1069
- const filterSensitiveLog: (obj: ResourceAlreadyExistsException) => any;
1070
- }
1071
981
  /**
1072
982
  * <p>The specified tag is a reserved word and cannot be used.</p>
1073
983
  */
@@ -1076,12 +986,6 @@ export interface TagPolicyViolationException extends __SmithyException, $Metadat
1076
986
  $fault: "client";
1077
987
  Message?: string;
1078
988
  }
1079
- export declare namespace TagPolicyViolationException {
1080
- /**
1081
- * @internal
1082
- */
1083
- const filterSensitiveLog: (obj: TagPolicyViolationException) => any;
1084
- }
1085
989
  export interface TagResourceRequest {
1086
990
  /**
1087
991
  * <p>The Amazon Resource Name (ARN) for the applied quota. You can get this information by
@@ -1117,12 +1021,6 @@ export interface TooManyTagsException extends __SmithyException, $MetadataBearer
1117
1021
  $fault: "client";
1118
1022
  Message?: string;
1119
1023
  }
1120
- export declare namespace TooManyTagsException {
1121
- /**
1122
- * @internal
1123
- */
1124
- const filterSensitiveLog: (obj: TooManyTagsException) => any;
1125
- }
1126
1024
  export interface UntagResourceRequest {
1127
1025
  /**
1128
1026
  * <p>The Amazon Resource Name (ARN) for the applied quota that you want to untag. You can get
@@ -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 { ServiceQuotasClientConfig } from "./ServiceQuotasClient";
3
3
  /**
4
4
  * @internal
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: ServiceQuotasClientConfig) => {
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: ServiceQuotasClientConfig) => {
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 { ServiceQuotasClientConfig } from "./ServiceQuotasClient";
3
3
  /**
4
4
  * @internal
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: ServiceQuotasClientConfig) => {
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: ServiceQuotasClientConfig) => {
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 { AssociateServiceQuotaTemplateCommandInput, AssociateServiceQuotaTemplateCommandOutput } from "./commands/AssociateServiceQuotaTemplateCommand";
10
10
  import { DeleteServiceQuotaIncreaseRequestFromTemplateCommandInput, DeleteServiceQuotaIncreaseRequestFromTemplateCommandOutput } from "./commands/DeleteServiceQuotaIncreaseRequestFromTemplateCommand";
@@ -70,6 +70,8 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
70
70
  regionInfoProvider?: RegionInfoProvider;
71
71
 
72
72
  defaultUserAgentProvider?: Provider<__UserAgent>;
73
+
74
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
73
75
  }
74
76
  declare type ServiceQuotasClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
75
77
 
@@ -5,10 +5,6 @@ export interface AccessDeniedException extends __SmithyException, $MetadataBeare
5
5
  $fault: "client";
6
6
  Message?: string;
7
7
  }
8
- export declare namespace AccessDeniedException {
9
-
10
- const filterSensitiveLog: (obj: AccessDeniedException) => any;
11
- }
12
8
  export interface AssociateServiceQuotaTemplateRequest {
13
9
  }
14
10
  export declare namespace AssociateServiceQuotaTemplateRequest {
@@ -27,70 +23,42 @@ export interface AWSServiceAccessNotEnabledException extends __SmithyException,
27
23
  $fault: "client";
28
24
  Message?: string;
29
25
  }
30
- export declare namespace AWSServiceAccessNotEnabledException {
31
-
32
- const filterSensitiveLog: (obj: AWSServiceAccessNotEnabledException) => any;
33
- }
34
26
 
35
27
  export interface DependencyAccessDeniedException extends __SmithyException, $MetadataBearer {
36
28
  name: "DependencyAccessDeniedException";
37
29
  $fault: "client";
38
30
  Message?: string;
39
31
  }
40
- export declare namespace DependencyAccessDeniedException {
41
-
42
- const filterSensitiveLog: (obj: DependencyAccessDeniedException) => any;
43
- }
44
32
 
45
33
  export interface NoAvailableOrganizationException extends __SmithyException, $MetadataBearer {
46
34
  name: "NoAvailableOrganizationException";
47
35
  $fault: "client";
48
36
  Message?: string;
49
37
  }
50
- export declare namespace NoAvailableOrganizationException {
51
-
52
- const filterSensitiveLog: (obj: NoAvailableOrganizationException) => any;
53
- }
54
38
 
55
39
  export interface OrganizationNotInAllFeaturesModeException extends __SmithyException, $MetadataBearer {
56
40
  name: "OrganizationNotInAllFeaturesModeException";
57
41
  $fault: "client";
58
42
  Message?: string;
59
43
  }
60
- export declare namespace OrganizationNotInAllFeaturesModeException {
61
-
62
- const filterSensitiveLog: (obj: OrganizationNotInAllFeaturesModeException) => any;
63
- }
64
44
 
65
45
  export interface ServiceException extends __SmithyException, $MetadataBearer {
66
46
  name: "ServiceException";
67
47
  $fault: "server";
68
48
  Message?: string;
69
49
  }
70
- export declare namespace ServiceException {
71
-
72
- const filterSensitiveLog: (obj: ServiceException) => any;
73
- }
74
50
 
75
51
  export interface TemplatesNotAvailableInRegionException extends __SmithyException, $MetadataBearer {
76
52
  name: "TemplatesNotAvailableInRegionException";
77
53
  $fault: "client";
78
54
  Message?: string;
79
55
  }
80
- export declare namespace TemplatesNotAvailableInRegionException {
81
-
82
- const filterSensitiveLog: (obj: TemplatesNotAvailableInRegionException) => any;
83
- }
84
56
 
85
57
  export interface TooManyRequestsException extends __SmithyException, $MetadataBearer {
86
58
  name: "TooManyRequestsException";
87
59
  $fault: "client";
88
60
  Message?: string;
89
61
  }
90
- export declare namespace TooManyRequestsException {
91
-
92
- const filterSensitiveLog: (obj: TooManyRequestsException) => any;
93
- }
94
62
  export interface DeleteServiceQuotaIncreaseRequestFromTemplateRequest {
95
63
 
96
64
  ServiceCode: string | undefined;
@@ -115,20 +83,12 @@ export interface IllegalArgumentException extends __SmithyException, $MetadataBe
115
83
  $fault: "client";
116
84
  Message?: string;
117
85
  }
118
- export declare namespace IllegalArgumentException {
119
-
120
- const filterSensitiveLog: (obj: IllegalArgumentException) => any;
121
- }
122
86
 
123
87
  export interface NoSuchResourceException extends __SmithyException, $MetadataBearer {
124
88
  name: "NoSuchResourceException";
125
89
  $fault: "client";
126
90
  Message?: string;
127
91
  }
128
- export declare namespace NoSuchResourceException {
129
-
130
- const filterSensitiveLog: (obj: NoSuchResourceException) => any;
131
- }
132
92
  export interface DisassociateServiceQuotaTemplateRequest {
133
93
  }
134
94
  export declare namespace DisassociateServiceQuotaTemplateRequest {
@@ -147,10 +107,6 @@ export interface ServiceQuotaTemplateNotInUseException extends __SmithyException
147
107
  $fault: "client";
148
108
  Message?: string;
149
109
  }
150
- export declare namespace ServiceQuotaTemplateNotInUseException {
151
-
152
- const filterSensitiveLog: (obj: ServiceQuotaTemplateNotInUseException) => any;
153
- }
154
110
  export declare enum ErrorCode {
155
111
  DEPENDENCY_ACCESS_DENIED_ERROR = "DEPENDENCY_ACCESS_DENIED_ERROR",
156
112
  DEPENDENCY_SERVICE_ERROR = "DEPENDENCY_SERVICE_ERROR",
@@ -408,20 +364,12 @@ export interface InvalidPaginationTokenException extends __SmithyException, $Met
408
364
  $fault: "client";
409
365
  Message?: string;
410
366
  }
411
- export declare namespace InvalidPaginationTokenException {
412
-
413
- const filterSensitiveLog: (obj: InvalidPaginationTokenException) => any;
414
- }
415
367
 
416
368
  export interface InvalidResourceStateException extends __SmithyException, $MetadataBearer {
417
369
  name: "InvalidResourceStateException";
418
370
  $fault: "client";
419
371
  Message?: string;
420
372
  }
421
- export declare namespace InvalidResourceStateException {
422
-
423
- const filterSensitiveLog: (obj: InvalidResourceStateException) => any;
424
- }
425
373
  export interface ListAWSDefaultServiceQuotasRequest {
426
374
 
427
375
  ServiceCode: string | undefined;
@@ -615,10 +563,6 @@ export interface QuotaExceededException extends __SmithyException, $MetadataBear
615
563
  $fault: "client";
616
564
  Message?: string;
617
565
  }
618
- export declare namespace QuotaExceededException {
619
-
620
- const filterSensitiveLog: (obj: QuotaExceededException) => any;
621
- }
622
566
  export interface RequestServiceQuotaIncreaseRequest {
623
567
 
624
568
  ServiceCode: string | undefined;
@@ -645,20 +589,12 @@ export interface ResourceAlreadyExistsException extends __SmithyException, $Meta
645
589
  $fault: "client";
646
590
  Message?: string;
647
591
  }
648
- export declare namespace ResourceAlreadyExistsException {
649
-
650
- const filterSensitiveLog: (obj: ResourceAlreadyExistsException) => any;
651
- }
652
592
 
653
593
  export interface TagPolicyViolationException extends __SmithyException, $MetadataBearer {
654
594
  name: "TagPolicyViolationException";
655
595
  $fault: "client";
656
596
  Message?: string;
657
597
  }
658
- export declare namespace TagPolicyViolationException {
659
-
660
- const filterSensitiveLog: (obj: TagPolicyViolationException) => any;
661
- }
662
598
  export interface TagResourceRequest {
663
599
 
664
600
  ResourceARN: string | undefined;
@@ -681,10 +617,6 @@ export interface TooManyTagsException extends __SmithyException, $MetadataBearer
681
617
  $fault: "client";
682
618
  Message?: string;
683
619
  }
684
- export declare namespace TooManyTagsException {
685
-
686
- const filterSensitiveLog: (obj: TooManyTagsException) => any;
687
- }
688
620
  export interface UntagResourceRequest {
689
621
 
690
622
  ResourceARN: string | undefined;
@@ -1,8 +1,9 @@
1
- import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
1
+ import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
2
2
  import { ServiceQuotasClientConfig } from "./ServiceQuotasClient";
3
3
 
4
4
  export declare const getRuntimeConfig: (config: ServiceQuotasClientConfig) => {
5
5
  runtime: string;
6
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
6
7
  base64Decoder: import("@aws-sdk/types").Decoder;
7
8
  base64Encoder: import("@aws-sdk/types").Encoder;
8
9
  bodyLengthChecker: (body: any) => number | undefined;
@@ -10,7 +11,7 @@ export declare const getRuntimeConfig: (config: ServiceQuotasClientConfig) => {
10
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
11
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
12
13
  region: string | import("@aws-sdk/types").Provider<any>;
13
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | FetchHttpHandler;
14
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
14
15
  retryMode: string | import("@aws-sdk/types").Provider<string>;
15
16
  sha256: import("@aws-sdk/types").HashConstructor;
16
17
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -1,16 +1,17 @@
1
- import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
1
+ import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
2
2
  import { ServiceQuotasClientConfig } from "./ServiceQuotasClient";
3
3
 
4
4
  export declare const getRuntimeConfig: (config: ServiceQuotasClientConfig) => {
5
5
  runtime: string;
6
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
6
7
  base64Decoder: import("@aws-sdk/types").Decoder;
7
8
  base64Encoder: import("@aws-sdk/types").Encoder;
8
9
  bodyLengthChecker: (body: any) => number | undefined;
9
- credentialDefaultProvider: import("@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers").DefaultCredentialProvider;
10
+ credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
10
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
11
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
12
13
  region: string | import("@aws-sdk/types").Provider<string>;
13
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | NodeHttpHandler;
14
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
14
15
  retryMode: string | import("@aws-sdk/types").Provider<string>;
15
16
  sha256: import("@aws-sdk/types").HashConstructor;
16
17
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -23,6 +23,7 @@ export declare const getRuntimeConfig: (config: ServiceQuotasClientConfig) => {
23
23
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
24
24
  regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
25
25
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
26
+ 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>;
26
27
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
27
28
  tls?: boolean | undefined;
28
29
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
package/package.json CHANGED
@@ -1,17 +1,15 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-service-quotas",
3
3
  "description": "AWS SDK for JavaScript Service Quotas Client for Node.js, Browser and React Native",
4
- "version": "3.46.0",
4
+ "version": "3.48.0",
5
5
  "scripts": {
6
- "build": "yarn build:cjs && yarn build:es && yarn build:types",
7
- "build:cjs": "tsc -p tsconfig.json",
6
+ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
+ "build:cjs": "tsc -p tsconfig.cjs.json",
8
8
  "build:docs": "typedoc",
9
9
  "build:es": "tsc -p tsconfig.es.json",
10
10
  "build:types": "tsc -p tsconfig.types.json",
11
11
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
12
- "clean": "yarn clean:dist && yarn clean:docs",
13
- "clean:dist": "rimraf ./dist-*",
14
- "clean:docs": "rimraf ./docs"
12
+ "clean": "rimraf ./dist-*"
15
13
  },
16
14
  "main": "./dist-cjs/index.js",
17
15
  "types": "./dist-types/index.d.ts",
@@ -20,38 +18,40 @@
20
18
  "dependencies": {
21
19
  "@aws-crypto/sha256-browser": "2.0.0",
22
20
  "@aws-crypto/sha256-js": "2.0.0",
23
- "@aws-sdk/client-sts": "3.46.0",
24
- "@aws-sdk/config-resolver": "3.46.0",
25
- "@aws-sdk/credential-provider-node": "3.46.0",
26
- "@aws-sdk/fetch-http-handler": "3.46.0",
27
- "@aws-sdk/hash-node": "3.46.0",
28
- "@aws-sdk/invalid-dependency": "3.46.0",
29
- "@aws-sdk/middleware-content-length": "3.46.0",
30
- "@aws-sdk/middleware-host-header": "3.46.0",
31
- "@aws-sdk/middleware-logger": "3.46.0",
32
- "@aws-sdk/middleware-retry": "3.46.0",
33
- "@aws-sdk/middleware-serde": "3.46.0",
34
- "@aws-sdk/middleware-signing": "3.46.0",
35
- "@aws-sdk/middleware-stack": "3.46.0",
36
- "@aws-sdk/middleware-user-agent": "3.46.0",
37
- "@aws-sdk/node-config-provider": "3.46.0",
38
- "@aws-sdk/node-http-handler": "3.46.0",
39
- "@aws-sdk/protocol-http": "3.46.0",
40
- "@aws-sdk/smithy-client": "3.46.0",
41
- "@aws-sdk/types": "3.46.0",
42
- "@aws-sdk/url-parser": "3.46.0",
43
- "@aws-sdk/util-base64-browser": "3.46.0",
44
- "@aws-sdk/util-base64-node": "3.46.0",
45
- "@aws-sdk/util-body-length-browser": "3.46.0",
46
- "@aws-sdk/util-body-length-node": "3.46.0",
47
- "@aws-sdk/util-user-agent-browser": "3.46.0",
48
- "@aws-sdk/util-user-agent-node": "3.46.0",
49
- "@aws-sdk/util-utf8-browser": "3.46.0",
50
- "@aws-sdk/util-utf8-node": "3.46.0",
21
+ "@aws-sdk/client-sts": "3.48.0",
22
+ "@aws-sdk/config-resolver": "3.47.2",
23
+ "@aws-sdk/credential-provider-node": "3.48.0",
24
+ "@aws-sdk/fetch-http-handler": "3.47.2",
25
+ "@aws-sdk/hash-node": "3.47.2",
26
+ "@aws-sdk/invalid-dependency": "3.47.2",
27
+ "@aws-sdk/middleware-content-length": "3.47.2",
28
+ "@aws-sdk/middleware-host-header": "3.47.2",
29
+ "@aws-sdk/middleware-logger": "3.47.2",
30
+ "@aws-sdk/middleware-retry": "3.47.2",
31
+ "@aws-sdk/middleware-serde": "3.47.2",
32
+ "@aws-sdk/middleware-signing": "3.47.2",
33
+ "@aws-sdk/middleware-stack": "3.47.2",
34
+ "@aws-sdk/middleware-user-agent": "3.47.2",
35
+ "@aws-sdk/node-config-provider": "3.47.2",
36
+ "@aws-sdk/node-http-handler": "3.47.2",
37
+ "@aws-sdk/protocol-http": "3.47.2",
38
+ "@aws-sdk/smithy-client": "3.47.2",
39
+ "@aws-sdk/types": "3.47.1",
40
+ "@aws-sdk/url-parser": "3.47.2",
41
+ "@aws-sdk/util-base64-browser": "3.47.1",
42
+ "@aws-sdk/util-base64-node": "3.47.2",
43
+ "@aws-sdk/util-body-length-browser": "3.47.1",
44
+ "@aws-sdk/util-body-length-node": "3.47.1",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.47.2",
46
+ "@aws-sdk/util-defaults-mode-node": "3.47.2",
47
+ "@aws-sdk/util-user-agent-browser": "3.47.2",
48
+ "@aws-sdk/util-user-agent-node": "3.47.2",
49
+ "@aws-sdk/util-utf8-browser": "3.47.1",
50
+ "@aws-sdk/util-utf8-node": "3.47.2",
51
51
  "tslib": "^2.3.0"
52
52
  },
53
53
  "devDependencies": {
54
- "@aws-sdk/service-client-documentation-generator": "3.46.0",
54
+ "@aws-sdk/service-client-documentation-generator": "3.47.1",
55
55
  "@types/node": "^12.7.5"
56
56
  },
57
57
  "engines": {