@aws-sdk/client-acm 3.43.0 → 3.47.1

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,53 @@
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.47.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.0-release-test-1...v3.47.1) (2022-01-20)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-acm
9
+
10
+
11
+
12
+
13
+
14
+ # [3.47.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.46.0...v3.47.0) (2022-01-15)
15
+
16
+
17
+ ### Features
18
+
19
+ * **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))
20
+
21
+
22
+
23
+
24
+
25
+ # [3.46.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.45.0...v3.46.0) (2022-01-07)
26
+
27
+
28
+ ### Bug Fixes
29
+
30
+ * **clients:** update clean:dist script to delete dist-* folder ([#3155](https://github.com/aws/aws-sdk-js-v3/issues/3155)) ([cdb1709](https://github.com/aws/aws-sdk-js-v3/commit/cdb17090f82d1fc8755811c82cbed5976ec7e60b))
31
+
32
+
33
+ ### Features
34
+
35
+ * **clients:** extend typedoc.json from root ([#3136](https://github.com/aws/aws-sdk-js-v3/issues/3136)) ([f6a3ef5](https://github.com/aws/aws-sdk-js-v3/commit/f6a3ef541ae2d92872d09d8cab6727911287ebb2))
36
+ * end support for Node.js 10.x ([#3122](https://github.com/aws/aws-sdk-js-v3/issues/3122)) ([7acf18a](https://github.com/aws/aws-sdk-js-v3/commit/7acf18abd3fb1cc461f809110cdb0d7968c2070e))
37
+
38
+
39
+
40
+
41
+
42
+ # [3.45.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.44.0...v3.45.0) (2021-12-23)
43
+
44
+
45
+ ### Features
46
+
47
+ * **clients:** update clients as of 2021/12/23 ([#3110](https://github.com/aws/aws-sdk-js-v3/issues/3110)) ([5d638e1](https://github.com/aws/aws-sdk-js-v3/commit/5d638e188ce64fa80fe36b8cba79ba63b80b50b7))
48
+
49
+
50
+
51
+
52
+
6
53
  # [3.43.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.42.0...v3.43.0) (2021-11-29)
7
54
 
8
55
  **Note:** Version bump only for package @aws-sdk/client-acm
@@ -5,10 +5,6 @@ const config_resolver_1 = require("@aws-sdk/config-resolver");
5
5
  const regionHash = {
6
6
  "ca-central-1": {
7
7
  variants: [
8
- {
9
- hostname: "acm.ca-central-1.amazonaws.com",
10
- tags: [],
11
- },
12
8
  {
13
9
  hostname: "acm-fips.ca-central-1.amazonaws.com",
14
10
  tags: ["fips"],
@@ -17,10 +13,6 @@ const regionHash = {
17
13
  },
18
14
  "us-east-1": {
19
15
  variants: [
20
- {
21
- hostname: "acm.us-east-1.amazonaws.com",
22
- tags: [],
23
- },
24
16
  {
25
17
  hostname: "acm-fips.us-east-1.amazonaws.com",
26
18
  tags: ["fips"],
@@ -29,10 +21,6 @@ const regionHash = {
29
21
  },
30
22
  "us-east-2": {
31
23
  variants: [
32
- {
33
- hostname: "acm.us-east-2.amazonaws.com",
34
- tags: [],
35
- },
36
24
  {
37
25
  hostname: "acm-fips.us-east-2.amazonaws.com",
38
26
  tags: ["fips"],
@@ -59,10 +47,6 @@ const regionHash = {
59
47
  },
60
48
  "us-west-1": {
61
49
  variants: [
62
- {
63
- hostname: "acm.us-west-1.amazonaws.com",
64
- tags: [],
65
- },
66
50
  {
67
51
  hostname: "acm-fips.us-west-1.amazonaws.com",
68
52
  tags: ["fips"],
@@ -71,10 +55,6 @@ const regionHash = {
71
55
  },
72
56
  "us-west-2": {
73
57
  variants: [
74
- {
75
- hostname: "acm.us-west-2.amazonaws.com",
76
- tags: [],
77
- },
78
58
  {
79
59
  hostname: "acm-fips.us-west-2.amazonaws.com",
80
60
  tags: ["fips"],
@@ -93,6 +73,7 @@ const partitionHash = {
93
73
  "ap-south-1",
94
74
  "ap-southeast-1",
95
75
  "ap-southeast-2",
76
+ "ap-southeast-3",
96
77
  "ca-central-1",
97
78
  "ca-central-1-fips",
98
79
  "eu-central-1",
@@ -1,14 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ListTagsForCertificateRequest = exports.ListCertificatesResponse = exports.CertificateSummary = exports.ListCertificatesRequest = exports.Filters = exports.InvalidArgsException = exports.LimitExceededException = exports.ImportCertificateResponse = exports.ImportCertificateRequest = exports.GetCertificateResponse = exports.GetCertificateRequest = exports.GetAccountConfigurationResponse = exports.ExpiryEventsConfiguration = exports.RequestInProgressException = exports.ExportCertificateResponse = exports.ExportCertificateRequest = exports.DescribeCertificateResponse = exports.DescribeCertificateRequest = exports.ResourceInUseException = exports.DeleteCertificateRequest = exports.CertificateDetail = exports.CertificateType = exports.CertificateStatus = exports.RevocationReason = exports.RenewalSummary = exports.RenewalStatus = exports.RenewalEligibility = exports.CertificateOptions = exports.CertificateTransparencyLoggingPreference = exports.KeyUsage = exports.KeyUsageName = exports.KeyAlgorithm = exports.FailureReason = exports.ExtendedKeyUsage = exports.ExtendedKeyUsageName = exports.DomainValidation = exports.DomainStatus = exports.ValidationMethod = exports.ResourceRecord = exports.RecordType = exports.TooManyTagsException = exports.ThrottlingException = exports.TagPolicyException = exports.ResourceNotFoundException = exports.InvalidTagException = exports.InvalidParameterException = exports.InvalidArnException = exports.AddTagsToCertificateRequest = exports.Tag = exports.AccessDeniedException = void 0;
4
- exports.UpdateCertificateOptionsRequest = exports.ResendValidationEmailRequest = exports.InvalidStateException = exports.RequestCertificateResponse = exports.RequestCertificateRequest = exports.DomainValidationOption = exports.InvalidDomainValidationOptionsException = exports.RenewCertificateRequest = exports.RemoveTagsFromCertificateRequest = exports.ValidationException = exports.PutAccountConfigurationRequest = exports.ConflictException = exports.ListTagsForCertificateResponse = void 0;
3
+ exports.UpdateCertificateOptionsRequest = exports.ResendValidationEmailRequest = exports.RequestCertificateResponse = exports.RequestCertificateRequest = exports.DomainValidationOption = exports.RenewCertificateRequest = exports.RemoveTagsFromCertificateRequest = exports.PutAccountConfigurationRequest = exports.ListTagsForCertificateResponse = exports.ListTagsForCertificateRequest = exports.ListCertificatesResponse = exports.CertificateSummary = exports.ListCertificatesRequest = exports.Filters = exports.ImportCertificateResponse = exports.ImportCertificateRequest = exports.GetCertificateResponse = exports.GetCertificateRequest = exports.GetAccountConfigurationResponse = exports.ExpiryEventsConfiguration = exports.ExportCertificateResponse = exports.ExportCertificateRequest = exports.DescribeCertificateResponse = exports.DescribeCertificateRequest = exports.DeleteCertificateRequest = exports.CertificateDetail = exports.CertificateType = exports.CertificateStatus = exports.RevocationReason = exports.RenewalSummary = exports.RenewalStatus = exports.RenewalEligibility = exports.CertificateOptions = exports.CertificateTransparencyLoggingPreference = exports.KeyUsage = exports.KeyUsageName = exports.KeyAlgorithm = exports.FailureReason = exports.ExtendedKeyUsage = exports.ExtendedKeyUsageName = exports.DomainValidation = exports.DomainStatus = exports.ValidationMethod = exports.ResourceRecord = exports.RecordType = exports.AddTagsToCertificateRequest = exports.Tag = void 0;
5
4
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
- var AccessDeniedException;
7
- (function (AccessDeniedException) {
8
- AccessDeniedException.filterSensitiveLog = (obj) => ({
9
- ...obj,
10
- });
11
- })(AccessDeniedException = exports.AccessDeniedException || (exports.AccessDeniedException = {}));
12
5
  var Tag;
13
6
  (function (Tag) {
14
7
  Tag.filterSensitiveLog = (obj) => ({
@@ -21,48 +14,6 @@ var AddTagsToCertificateRequest;
21
14
  ...obj,
22
15
  });
23
16
  })(AddTagsToCertificateRequest = exports.AddTagsToCertificateRequest || (exports.AddTagsToCertificateRequest = {}));
24
- var InvalidArnException;
25
- (function (InvalidArnException) {
26
- InvalidArnException.filterSensitiveLog = (obj) => ({
27
- ...obj,
28
- });
29
- })(InvalidArnException = exports.InvalidArnException || (exports.InvalidArnException = {}));
30
- var InvalidParameterException;
31
- (function (InvalidParameterException) {
32
- InvalidParameterException.filterSensitiveLog = (obj) => ({
33
- ...obj,
34
- });
35
- })(InvalidParameterException = exports.InvalidParameterException || (exports.InvalidParameterException = {}));
36
- var InvalidTagException;
37
- (function (InvalidTagException) {
38
- InvalidTagException.filterSensitiveLog = (obj) => ({
39
- ...obj,
40
- });
41
- })(InvalidTagException = exports.InvalidTagException || (exports.InvalidTagException = {}));
42
- var ResourceNotFoundException;
43
- (function (ResourceNotFoundException) {
44
- ResourceNotFoundException.filterSensitiveLog = (obj) => ({
45
- ...obj,
46
- });
47
- })(ResourceNotFoundException = exports.ResourceNotFoundException || (exports.ResourceNotFoundException = {}));
48
- var TagPolicyException;
49
- (function (TagPolicyException) {
50
- TagPolicyException.filterSensitiveLog = (obj) => ({
51
- ...obj,
52
- });
53
- })(TagPolicyException = exports.TagPolicyException || (exports.TagPolicyException = {}));
54
- var ThrottlingException;
55
- (function (ThrottlingException) {
56
- ThrottlingException.filterSensitiveLog = (obj) => ({
57
- ...obj,
58
- });
59
- })(ThrottlingException = exports.ThrottlingException || (exports.ThrottlingException = {}));
60
- var TooManyTagsException;
61
- (function (TooManyTagsException) {
62
- TooManyTagsException.filterSensitiveLog = (obj) => ({
63
- ...obj,
64
- });
65
- })(TooManyTagsException = exports.TooManyTagsException || (exports.TooManyTagsException = {}));
66
17
  var RecordType;
67
18
  (function (RecordType) {
68
19
  RecordType["CNAME"] = "CNAME";
@@ -231,12 +182,6 @@ var DeleteCertificateRequest;
231
182
  ...obj,
232
183
  });
233
184
  })(DeleteCertificateRequest = exports.DeleteCertificateRequest || (exports.DeleteCertificateRequest = {}));
234
- var ResourceInUseException;
235
- (function (ResourceInUseException) {
236
- ResourceInUseException.filterSensitiveLog = (obj) => ({
237
- ...obj,
238
- });
239
- })(ResourceInUseException = exports.ResourceInUseException || (exports.ResourceInUseException = {}));
240
185
  var DescribeCertificateRequest;
241
186
  (function (DescribeCertificateRequest) {
242
187
  DescribeCertificateRequest.filterSensitiveLog = (obj) => ({
@@ -263,12 +208,6 @@ var ExportCertificateResponse;
263
208
  ...(obj.PrivateKey && { PrivateKey: smithy_client_1.SENSITIVE_STRING }),
264
209
  });
265
210
  })(ExportCertificateResponse = exports.ExportCertificateResponse || (exports.ExportCertificateResponse = {}));
266
- var RequestInProgressException;
267
- (function (RequestInProgressException) {
268
- RequestInProgressException.filterSensitiveLog = (obj) => ({
269
- ...obj,
270
- });
271
- })(RequestInProgressException = exports.RequestInProgressException || (exports.RequestInProgressException = {}));
272
211
  var ExpiryEventsConfiguration;
273
212
  (function (ExpiryEventsConfiguration) {
274
213
  ExpiryEventsConfiguration.filterSensitiveLog = (obj) => ({
@@ -306,18 +245,6 @@ var ImportCertificateResponse;
306
245
  ...obj,
307
246
  });
308
247
  })(ImportCertificateResponse = exports.ImportCertificateResponse || (exports.ImportCertificateResponse = {}));
309
- var LimitExceededException;
310
- (function (LimitExceededException) {
311
- LimitExceededException.filterSensitiveLog = (obj) => ({
312
- ...obj,
313
- });
314
- })(LimitExceededException = exports.LimitExceededException || (exports.LimitExceededException = {}));
315
- var InvalidArgsException;
316
- (function (InvalidArgsException) {
317
- InvalidArgsException.filterSensitiveLog = (obj) => ({
318
- ...obj,
319
- });
320
- })(InvalidArgsException = exports.InvalidArgsException || (exports.InvalidArgsException = {}));
321
248
  var Filters;
322
249
  (function (Filters) {
323
250
  Filters.filterSensitiveLog = (obj) => ({
@@ -354,24 +281,12 @@ var ListTagsForCertificateResponse;
354
281
  ...obj,
355
282
  });
356
283
  })(ListTagsForCertificateResponse = exports.ListTagsForCertificateResponse || (exports.ListTagsForCertificateResponse = {}));
357
- var ConflictException;
358
- (function (ConflictException) {
359
- ConflictException.filterSensitiveLog = (obj) => ({
360
- ...obj,
361
- });
362
- })(ConflictException = exports.ConflictException || (exports.ConflictException = {}));
363
284
  var PutAccountConfigurationRequest;
364
285
  (function (PutAccountConfigurationRequest) {
365
286
  PutAccountConfigurationRequest.filterSensitiveLog = (obj) => ({
366
287
  ...obj,
367
288
  });
368
289
  })(PutAccountConfigurationRequest = exports.PutAccountConfigurationRequest || (exports.PutAccountConfigurationRequest = {}));
369
- var ValidationException;
370
- (function (ValidationException) {
371
- ValidationException.filterSensitiveLog = (obj) => ({
372
- ...obj,
373
- });
374
- })(ValidationException = exports.ValidationException || (exports.ValidationException = {}));
375
290
  var RemoveTagsFromCertificateRequest;
376
291
  (function (RemoveTagsFromCertificateRequest) {
377
292
  RemoveTagsFromCertificateRequest.filterSensitiveLog = (obj) => ({
@@ -384,12 +299,6 @@ var RenewCertificateRequest;
384
299
  ...obj,
385
300
  });
386
301
  })(RenewCertificateRequest = exports.RenewCertificateRequest || (exports.RenewCertificateRequest = {}));
387
- var InvalidDomainValidationOptionsException;
388
- (function (InvalidDomainValidationOptionsException) {
389
- InvalidDomainValidationOptionsException.filterSensitiveLog = (obj) => ({
390
- ...obj,
391
- });
392
- })(InvalidDomainValidationOptionsException = exports.InvalidDomainValidationOptionsException || (exports.InvalidDomainValidationOptionsException = {}));
393
302
  var DomainValidationOption;
394
303
  (function (DomainValidationOption) {
395
304
  DomainValidationOption.filterSensitiveLog = (obj) => ({
@@ -408,12 +317,6 @@ var RequestCertificateResponse;
408
317
  ...obj,
409
318
  });
410
319
  })(RequestCertificateResponse = exports.RequestCertificateResponse || (exports.RequestCertificateResponse = {}));
411
- var InvalidStateException;
412
- (function (InvalidStateException) {
413
- InvalidStateException.filterSensitiveLog = (obj) => ({
414
- ...obj,
415
- });
416
- })(InvalidStateException = exports.InvalidStateException || (exports.InvalidStateException = {}));
417
320
  var ResendValidationEmailRequest;
418
321
  (function (ResendValidationEmailRequest) {
419
322
  ResendValidationEmailRequest.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)),
@@ -16,14 +16,17 @@ 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
18
  const smithy_client_1 = require("@aws-sdk/smithy-client");
19
+ const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
19
20
  const getRuntimeConfig = (config) => {
20
21
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
21
- smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
22
+ const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
23
+ const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
22
24
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
23
25
  return {
24
26
  ...clientSharedValues,
25
27
  ...config,
26
28
  runtime: "node",
29
+ defaultsMode,
27
30
  base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
28
31
  base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
29
32
  bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
@@ -31,8 +34,11 @@ const getRuntimeConfig = (config) => {
31
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 }),
32
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),
33
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),
34
- requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(),
35
- 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
+ }),
36
42
  sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
37
43
  streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
38
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
  "ca-central-1": {
5
5
  variants: [
6
- {
7
- hostname: "acm.ca-central-1.amazonaws.com",
8
- tags: [],
9
- },
10
6
  {
11
7
  hostname: "acm-fips.ca-central-1.amazonaws.com",
12
8
  tags: ["fips"],
@@ -15,10 +11,6 @@ var regionHash = {
15
11
  },
16
12
  "us-east-1": {
17
13
  variants: [
18
- {
19
- hostname: "acm.us-east-1.amazonaws.com",
20
- tags: [],
21
- },
22
14
  {
23
15
  hostname: "acm-fips.us-east-1.amazonaws.com",
24
16
  tags: ["fips"],
@@ -27,10 +19,6 @@ var regionHash = {
27
19
  },
28
20
  "us-east-2": {
29
21
  variants: [
30
- {
31
- hostname: "acm.us-east-2.amazonaws.com",
32
- tags: [],
33
- },
34
22
  {
35
23
  hostname: "acm-fips.us-east-2.amazonaws.com",
36
24
  tags: ["fips"],
@@ -57,10 +45,6 @@ var regionHash = {
57
45
  },
58
46
  "us-west-1": {
59
47
  variants: [
60
- {
61
- hostname: "acm.us-west-1.amazonaws.com",
62
- tags: [],
63
- },
64
48
  {
65
49
  hostname: "acm-fips.us-west-1.amazonaws.com",
66
50
  tags: ["fips"],
@@ -69,10 +53,6 @@ var regionHash = {
69
53
  },
70
54
  "us-west-2": {
71
55
  variants: [
72
- {
73
- hostname: "acm.us-west-2.amazonaws.com",
74
- tags: [],
75
- },
76
56
  {
77
57
  hostname: "acm-fips.us-west-2.amazonaws.com",
78
58
  tags: ["fips"],
@@ -91,6 +71,7 @@ var partitionHash = {
91
71
  "ap-south-1",
92
72
  "ap-southeast-1",
93
73
  "ap-southeast-2",
74
+ "ap-southeast-3",
94
75
  "ca-central-1",
95
76
  "ca-central-1-fips",
96
77
  "eu-central-1",
@@ -1,9 +1,5 @@
1
1
  import { __assign } from "tslib";
2
2
  import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
3
- export var AccessDeniedException;
4
- (function (AccessDeniedException) {
5
- AccessDeniedException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
6
- })(AccessDeniedException || (AccessDeniedException = {}));
7
3
  export var Tag;
8
4
  (function (Tag) {
9
5
  Tag.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -12,34 +8,6 @@ export var AddTagsToCertificateRequest;
12
8
  (function (AddTagsToCertificateRequest) {
13
9
  AddTagsToCertificateRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
14
10
  })(AddTagsToCertificateRequest || (AddTagsToCertificateRequest = {}));
15
- export var InvalidArnException;
16
- (function (InvalidArnException) {
17
- InvalidArnException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
18
- })(InvalidArnException || (InvalidArnException = {}));
19
- export var InvalidParameterException;
20
- (function (InvalidParameterException) {
21
- InvalidParameterException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
22
- })(InvalidParameterException || (InvalidParameterException = {}));
23
- export var InvalidTagException;
24
- (function (InvalidTagException) {
25
- InvalidTagException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
26
- })(InvalidTagException || (InvalidTagException = {}));
27
- export var ResourceNotFoundException;
28
- (function (ResourceNotFoundException) {
29
- ResourceNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
30
- })(ResourceNotFoundException || (ResourceNotFoundException = {}));
31
- export var TagPolicyException;
32
- (function (TagPolicyException) {
33
- TagPolicyException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
34
- })(TagPolicyException || (TagPolicyException = {}));
35
- export var ThrottlingException;
36
- (function (ThrottlingException) {
37
- ThrottlingException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
38
- })(ThrottlingException || (ThrottlingException = {}));
39
- export var TooManyTagsException;
40
- (function (TooManyTagsException) {
41
- TooManyTagsException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
42
- })(TooManyTagsException || (TooManyTagsException = {}));
43
11
  export var RecordType;
44
12
  (function (RecordType) {
45
13
  RecordType["CNAME"] = "CNAME";
@@ -192,10 +160,6 @@ export var DeleteCertificateRequest;
192
160
  (function (DeleteCertificateRequest) {
193
161
  DeleteCertificateRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
194
162
  })(DeleteCertificateRequest || (DeleteCertificateRequest = {}));
195
- export var ResourceInUseException;
196
- (function (ResourceInUseException) {
197
- ResourceInUseException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
198
- })(ResourceInUseException || (ResourceInUseException = {}));
199
163
  export var DescribeCertificateRequest;
200
164
  (function (DescribeCertificateRequest) {
201
165
  DescribeCertificateRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -212,10 +176,6 @@ export var ExportCertificateResponse;
212
176
  (function (ExportCertificateResponse) {
213
177
  ExportCertificateResponse.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.PrivateKey && { PrivateKey: SENSITIVE_STRING }))); };
214
178
  })(ExportCertificateResponse || (ExportCertificateResponse = {}));
215
- export var RequestInProgressException;
216
- (function (RequestInProgressException) {
217
- RequestInProgressException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
218
- })(RequestInProgressException || (RequestInProgressException = {}));
219
179
  export var ExpiryEventsConfiguration;
220
180
  (function (ExpiryEventsConfiguration) {
221
181
  ExpiryEventsConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -240,14 +200,6 @@ export var ImportCertificateResponse;
240
200
  (function (ImportCertificateResponse) {
241
201
  ImportCertificateResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
242
202
  })(ImportCertificateResponse || (ImportCertificateResponse = {}));
243
- export var LimitExceededException;
244
- (function (LimitExceededException) {
245
- LimitExceededException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
246
- })(LimitExceededException || (LimitExceededException = {}));
247
- export var InvalidArgsException;
248
- (function (InvalidArgsException) {
249
- InvalidArgsException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
250
- })(InvalidArgsException || (InvalidArgsException = {}));
251
203
  export var Filters;
252
204
  (function (Filters) {
253
205
  Filters.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -272,18 +224,10 @@ export var ListTagsForCertificateResponse;
272
224
  (function (ListTagsForCertificateResponse) {
273
225
  ListTagsForCertificateResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
274
226
  })(ListTagsForCertificateResponse || (ListTagsForCertificateResponse = {}));
275
- export var ConflictException;
276
- (function (ConflictException) {
277
- ConflictException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
278
- })(ConflictException || (ConflictException = {}));
279
227
  export var PutAccountConfigurationRequest;
280
228
  (function (PutAccountConfigurationRequest) {
281
229
  PutAccountConfigurationRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
282
230
  })(PutAccountConfigurationRequest || (PutAccountConfigurationRequest = {}));
283
- export var ValidationException;
284
- (function (ValidationException) {
285
- ValidationException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
286
- })(ValidationException || (ValidationException = {}));
287
231
  export var RemoveTagsFromCertificateRequest;
288
232
  (function (RemoveTagsFromCertificateRequest) {
289
233
  RemoveTagsFromCertificateRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -292,10 +236,6 @@ export var RenewCertificateRequest;
292
236
  (function (RenewCertificateRequest) {
293
237
  RenewCertificateRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
294
238
  })(RenewCertificateRequest || (RenewCertificateRequest = {}));
295
- export var InvalidDomainValidationOptionsException;
296
- (function (InvalidDomainValidationOptionsException) {
297
- InvalidDomainValidationOptionsException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
298
- })(InvalidDomainValidationOptionsException || (InvalidDomainValidationOptionsException = {}));
299
239
  export var DomainValidationOption;
300
240
  (function (DomainValidationOption) {
301
241
  DomainValidationOption.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -308,10 +248,6 @@ export var RequestCertificateResponse;
308
248
  (function (RequestCertificateResponse) {
309
249
  RequestCertificateResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
310
250
  })(RequestCertificateResponse || (RequestCertificateResponse = {}));
311
- export var InvalidStateException;
312
- (function (InvalidStateException) {
313
- InvalidStateException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
314
- })(InvalidStateException || (InvalidStateException = {}));
315
251
  export var ResendValidationEmailRequest;
316
252
  (function (ResendValidationEmailRequest) {
317
253
  ResendValidationEmailRequest.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 { AddTagsToCertificateCommandInput, AddTagsToCertificateCommandOutput } from "./commands/AddTagsToCertificateCommand";
10
10
  import { DeleteCertificateCommandInput, DeleteCertificateCommandOutput } from "./commands/DeleteCertificateCommand";
@@ -123,6 +123,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
123
123
  * @internal
124
124
  */
125
125
  defaultUserAgentProvider?: Provider<__UserAgent>;
126
+ /**
127
+ * The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
128
+ */
129
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
126
130
  }
127
131
  declare type ACMClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
128
132
  /**
@@ -8,12 +8,6 @@ export interface AccessDeniedException extends __SmithyException, $MetadataBeare
8
8
  $fault: "client";
9
9
  Message?: string;
10
10
  }
11
- export declare namespace AccessDeniedException {
12
- /**
13
- * @internal
14
- */
15
- const filterSensitiveLog: (obj: AccessDeniedException) => any;
16
- }
17
11
  /**
18
12
  * <p>A key-value pair that identifies or specifies metadata about an ACM resource.</p>
19
13
  */
@@ -64,12 +58,6 @@ export interface InvalidArnException extends __SmithyException, $MetadataBearer
64
58
  $fault: "client";
65
59
  message?: string;
66
60
  }
67
- export declare namespace InvalidArnException {
68
- /**
69
- * @internal
70
- */
71
- const filterSensitiveLog: (obj: InvalidArnException) => any;
72
- }
73
61
  /**
74
62
  * <p>An input parameter was invalid.</p>
75
63
  */
@@ -78,12 +66,6 @@ export interface InvalidParameterException extends __SmithyException, $MetadataB
78
66
  $fault: "client";
79
67
  message?: string;
80
68
  }
81
- export declare namespace InvalidParameterException {
82
- /**
83
- * @internal
84
- */
85
- const filterSensitiveLog: (obj: InvalidParameterException) => any;
86
- }
87
69
  /**
88
70
  * <p>One or both of the values that make up the key-value pair is not valid. For example, you
89
71
  * cannot specify a tag value that begins with <code>aws:</code>.</p>
@@ -93,12 +75,6 @@ export interface InvalidTagException extends __SmithyException, $MetadataBearer
93
75
  $fault: "client";
94
76
  message?: string;
95
77
  }
96
- export declare namespace InvalidTagException {
97
- /**
98
- * @internal
99
- */
100
- const filterSensitiveLog: (obj: InvalidTagException) => any;
101
- }
102
78
  /**
103
79
  * <p>The specified certificate cannot be found in the caller's account or the caller's account
104
80
  * cannot be found.</p>
@@ -108,12 +84,6 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
108
84
  $fault: "client";
109
85
  message?: string;
110
86
  }
111
- export declare namespace ResourceNotFoundException {
112
- /**
113
- * @internal
114
- */
115
- const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
116
- }
117
87
  /**
118
88
  * <p>A specified tag did not comply with an existing tag policy and was rejected.</p>
119
89
  */
@@ -122,12 +92,6 @@ export interface TagPolicyException extends __SmithyException, $MetadataBearer {
122
92
  $fault: "client";
123
93
  message?: string;
124
94
  }
125
- export declare namespace TagPolicyException {
126
- /**
127
- * @internal
128
- */
129
- const filterSensitiveLog: (obj: TagPolicyException) => any;
130
- }
131
95
  /**
132
96
  * <p>The request was denied
133
97
  * because it exceeded a quota.</p>
@@ -137,12 +101,6 @@ export interface ThrottlingException extends __SmithyException, $MetadataBearer
137
101
  $fault: "client";
138
102
  message?: string;
139
103
  }
140
- export declare namespace ThrottlingException {
141
- /**
142
- * @internal
143
- */
144
- const filterSensitiveLog: (obj: ThrottlingException) => any;
145
- }
146
104
  /**
147
105
  * <p>The request contains too many tags. Try the request again with fewer tags.</p>
148
106
  */
@@ -151,12 +109,6 @@ export interface TooManyTagsException extends __SmithyException, $MetadataBearer
151
109
  $fault: "client";
152
110
  message?: string;
153
111
  }
154
- export declare namespace TooManyTagsException {
155
- /**
156
- * @internal
157
- */
158
- const filterSensitiveLog: (obj: TooManyTagsException) => any;
159
- }
160
112
  export declare enum RecordType {
161
113
  CNAME = "CNAME"
162
114
  }
@@ -665,12 +617,6 @@ export interface ResourceInUseException extends __SmithyException, $MetadataBear
665
617
  $fault: "client";
666
618
  message?: string;
667
619
  }
668
- export declare namespace ResourceInUseException {
669
- /**
670
- * @internal
671
- */
672
- const filterSensitiveLog: (obj: ResourceInUseException) => any;
673
- }
674
620
  export interface DescribeCertificateRequest {
675
621
  /**
676
622
  * <p>The Amazon Resource Name (ARN) of the ACM certificate. The ARN must have the following
@@ -755,12 +701,6 @@ export interface RequestInProgressException extends __SmithyException, $Metadata
755
701
  $fault: "client";
756
702
  message?: string;
757
703
  }
758
- export declare namespace RequestInProgressException {
759
- /**
760
- * @internal
761
- */
762
- const filterSensitiveLog: (obj: RequestInProgressException) => any;
763
- }
764
704
  /**
765
705
  * <p>Object containing
766
706
  * expiration events options associated with an Amazon Web Services account.</p>
@@ -879,12 +819,6 @@ export interface LimitExceededException extends __SmithyException, $MetadataBear
879
819
  $fault: "client";
880
820
  message?: string;
881
821
  }
882
- export declare namespace LimitExceededException {
883
- /**
884
- * @internal
885
- */
886
- const filterSensitiveLog: (obj: LimitExceededException) => any;
887
- }
888
822
  /**
889
823
  * <p>One or more of of request parameters specified is not valid.</p>
890
824
  */
@@ -893,12 +827,6 @@ export interface InvalidArgsException extends __SmithyException, $MetadataBearer
893
827
  $fault: "client";
894
828
  message?: string;
895
829
  }
896
- export declare namespace InvalidArgsException {
897
- /**
898
- * @internal
899
- */
900
- const filterSensitiveLog: (obj: InvalidArgsException) => any;
901
- }
902
830
  /**
903
831
  * <p>This structure can be used in the <a>ListCertificates</a> action to filter the
904
832
  * output of the certificate list. </p>
@@ -1041,12 +969,6 @@ export interface ConflictException extends __SmithyException, $MetadataBearer {
1041
969
  $fault: "client";
1042
970
  message?: string;
1043
971
  }
1044
- export declare namespace ConflictException {
1045
- /**
1046
- * @internal
1047
- */
1048
- const filterSensitiveLog: (obj: ConflictException) => any;
1049
- }
1050
972
  export interface PutAccountConfigurationRequest {
1051
973
  /**
1052
974
  * <p>Specifies expiration
@@ -1078,12 +1000,6 @@ export interface ValidationException extends __SmithyException, $MetadataBearer
1078
1000
  $fault: "client";
1079
1001
  message?: string;
1080
1002
  }
1081
- export declare namespace ValidationException {
1082
- /**
1083
- * @internal
1084
- */
1085
- const filterSensitiveLog: (obj: ValidationException) => any;
1086
- }
1087
1003
  export interface RemoveTagsFromCertificateRequest {
1088
1004
  /**
1089
1005
  * <p>String that contains the ARN of the ACM Certificate with one or more tags that you want
@@ -1133,12 +1049,6 @@ export interface InvalidDomainValidationOptionsException extends __SmithyExcepti
1133
1049
  $fault: "client";
1134
1050
  message?: string;
1135
1051
  }
1136
- export declare namespace InvalidDomainValidationOptionsException {
1137
- /**
1138
- * @internal
1139
- */
1140
- const filterSensitiveLog: (obj: InvalidDomainValidationOptionsException) => any;
1141
- }
1142
1052
  /**
1143
1053
  * <p>Contains information about the domain names that you want ACM to use to send you emails
1144
1054
  * that enable you to validate domain ownership.</p>
@@ -1296,12 +1206,6 @@ export interface InvalidStateException extends __SmithyException, $MetadataBeare
1296
1206
  $fault: "client";
1297
1207
  message?: string;
1298
1208
  }
1299
- export declare namespace InvalidStateException {
1300
- /**
1301
- * @internal
1302
- */
1303
- const filterSensitiveLog: (obj: InvalidStateException) => any;
1304
- }
1305
1209
  export interface ResendValidationEmailRequest {
1306
1210
  /**
1307
1211
  * <p>String that contains the ARN of the requested certificate. The certificate ARN is
@@ -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 { ACMClientConfig } from "./ACMClient";
3
3
  /**
4
4
  * @internal
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: ACMClientConfig) => {
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: ACMClientConfig) => {
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 { ACMClientConfig } from "./ACMClient";
3
3
  /**
4
4
  * @internal
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: ACMClientConfig) => {
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: ACMClientConfig) => {
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 { AddTagsToCertificateCommandInput, AddTagsToCertificateCommandOutput } from "./commands/AddTagsToCertificateCommand";
10
10
  import { DeleteCertificateCommandInput, DeleteCertificateCommandOutput } from "./commands/DeleteCertificateCommand";
@@ -66,6 +66,8 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
66
66
  regionInfoProvider?: RegionInfoProvider;
67
67
 
68
68
  defaultUserAgentProvider?: Provider<__UserAgent>;
69
+
70
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
69
71
  }
70
72
  declare type ACMClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
71
73
 
@@ -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
 
13
9
  export interface Tag {
14
10
 
@@ -36,70 +32,42 @@ export interface InvalidArnException extends __SmithyException, $MetadataBearer
36
32
  $fault: "client";
37
33
  message?: string;
38
34
  }
39
- export declare namespace InvalidArnException {
40
-
41
- const filterSensitiveLog: (obj: InvalidArnException) => any;
42
- }
43
35
 
44
36
  export interface InvalidParameterException extends __SmithyException, $MetadataBearer {
45
37
  name: "InvalidParameterException";
46
38
  $fault: "client";
47
39
  message?: string;
48
40
  }
49
- export declare namespace InvalidParameterException {
50
-
51
- const filterSensitiveLog: (obj: InvalidParameterException) => any;
52
- }
53
41
 
54
42
  export interface InvalidTagException extends __SmithyException, $MetadataBearer {
55
43
  name: "InvalidTagException";
56
44
  $fault: "client";
57
45
  message?: string;
58
46
  }
59
- export declare namespace InvalidTagException {
60
-
61
- const filterSensitiveLog: (obj: InvalidTagException) => any;
62
- }
63
47
 
64
48
  export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
65
49
  name: "ResourceNotFoundException";
66
50
  $fault: "client";
67
51
  message?: string;
68
52
  }
69
- export declare namespace ResourceNotFoundException {
70
-
71
- const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
72
- }
73
53
 
74
54
  export interface TagPolicyException extends __SmithyException, $MetadataBearer {
75
55
  name: "TagPolicyException";
76
56
  $fault: "client";
77
57
  message?: string;
78
58
  }
79
- export declare namespace TagPolicyException {
80
-
81
- const filterSensitiveLog: (obj: TagPolicyException) => any;
82
- }
83
59
 
84
60
  export interface ThrottlingException extends __SmithyException, $MetadataBearer {
85
61
  name: "ThrottlingException";
86
62
  $fault: "client";
87
63
  message?: string;
88
64
  }
89
- export declare namespace ThrottlingException {
90
-
91
- const filterSensitiveLog: (obj: ThrottlingException) => any;
92
- }
93
65
 
94
66
  export interface TooManyTagsException extends __SmithyException, $MetadataBearer {
95
67
  name: "TooManyTagsException";
96
68
  $fault: "client";
97
69
  message?: string;
98
70
  }
99
- export declare namespace TooManyTagsException {
100
-
101
- const filterSensitiveLog: (obj: TooManyTagsException) => any;
102
- }
103
71
  export declare enum RecordType {
104
72
  CNAME = "CNAME"
105
73
  }
@@ -356,10 +324,6 @@ export interface ResourceInUseException extends __SmithyException, $MetadataBear
356
324
  $fault: "client";
357
325
  message?: string;
358
326
  }
359
- export declare namespace ResourceInUseException {
360
-
361
- const filterSensitiveLog: (obj: ResourceInUseException) => any;
362
- }
363
327
  export interface DescribeCertificateRequest {
364
328
 
365
329
  CertificateArn: string | undefined;
@@ -404,10 +368,6 @@ export interface RequestInProgressException extends __SmithyException, $Metadata
404
368
  $fault: "client";
405
369
  message?: string;
406
370
  }
407
- export declare namespace RequestInProgressException {
408
-
409
- const filterSensitiveLog: (obj: RequestInProgressException) => any;
410
- }
411
371
 
412
372
  export interface ExpiryEventsConfiguration {
413
373
 
@@ -473,20 +433,12 @@ export interface LimitExceededException extends __SmithyException, $MetadataBear
473
433
  $fault: "client";
474
434
  message?: string;
475
435
  }
476
- export declare namespace LimitExceededException {
477
-
478
- const filterSensitiveLog: (obj: LimitExceededException) => any;
479
- }
480
436
 
481
437
  export interface InvalidArgsException extends __SmithyException, $MetadataBearer {
482
438
  name: "InvalidArgsException";
483
439
  $fault: "client";
484
440
  message?: string;
485
441
  }
486
- export declare namespace InvalidArgsException {
487
-
488
- const filterSensitiveLog: (obj: InvalidArgsException) => any;
489
- }
490
442
 
491
443
  export interface Filters {
492
444
 
@@ -557,10 +509,6 @@ export interface ConflictException extends __SmithyException, $MetadataBearer {
557
509
  $fault: "client";
558
510
  message?: string;
559
511
  }
560
- export declare namespace ConflictException {
561
-
562
- const filterSensitiveLog: (obj: ConflictException) => any;
563
- }
564
512
  export interface PutAccountConfigurationRequest {
565
513
 
566
514
  ExpiryEvents?: ExpiryEventsConfiguration;
@@ -577,10 +525,6 @@ export interface ValidationException extends __SmithyException, $MetadataBearer
577
525
  $fault: "client";
578
526
  message?: string;
579
527
  }
580
- export declare namespace ValidationException {
581
-
582
- const filterSensitiveLog: (obj: ValidationException) => any;
583
- }
584
528
  export interface RemoveTagsFromCertificateRequest {
585
529
 
586
530
  CertificateArn: string | undefined;
@@ -605,10 +549,6 @@ export interface InvalidDomainValidationOptionsException extends __SmithyExcepti
605
549
  $fault: "client";
606
550
  message?: string;
607
551
  }
608
- export declare namespace InvalidDomainValidationOptionsException {
609
-
610
- const filterSensitiveLog: (obj: InvalidDomainValidationOptionsException) => any;
611
- }
612
552
 
613
553
  export interface DomainValidationOption {
614
554
 
@@ -656,10 +596,6 @@ export interface InvalidStateException extends __SmithyException, $MetadataBeare
656
596
  $fault: "client";
657
597
  message?: string;
658
598
  }
659
- export declare namespace InvalidStateException {
660
-
661
- const filterSensitiveLog: (obj: InvalidStateException) => any;
662
- }
663
599
  export interface ResendValidationEmailRequest {
664
600
 
665
601
  CertificateArn: 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 { ACMClientConfig } from "./ACMClient";
3
3
 
4
4
  export declare const getRuntimeConfig: (config: ACMClientConfig) => {
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: ACMClientConfig) => {
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 { ACMClientConfig } from "./ACMClient";
3
3
 
4
4
  export declare const getRuntimeConfig: (config: ACMClientConfig) => {
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: ACMClientConfig) => {
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,18 +1,15 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-acm",
3
3
  "description": "AWS SDK for JavaScript Acm Client for Node.js, Browser and React Native",
4
- "version": "3.43.0",
4
+ "version": "3.47.1",
5
5
  "scripts": {
6
- "build": "yarn build:cjs && yarn build:es && yarn build:types",
7
- "build:cjs": "tsc -p tsconfig.json",
8
- "build:docs": "yarn clean:docs && typedoc ./",
6
+ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
+ "build:cjs": "tsc -p tsconfig.cjs.json",
8
+ "build:docs": "typedoc",
9
9
  "build:es": "tsc -p tsconfig.es.json",
10
10
  "build:types": "tsc -p tsconfig.types.json",
11
- "clean": "yarn clean:dist && yarn clean:docs",
12
- "clean:dist": "rimraf ./dist",
13
- "clean:docs": "rimraf ./docs",
14
- "downlevel-dts": "downlevel-dts dist-types dist-types/ts3.4",
15
- "test": "exit 0"
11
+ "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
12
+ "clean": "rimraf ./dist-*"
16
13
  },
17
14
  "main": "./dist-cjs/index.js",
18
15
  "types": "./dist-types/index.d.ts",
@@ -21,49 +18,45 @@
21
18
  "dependencies": {
22
19
  "@aws-crypto/sha256-browser": "2.0.0",
23
20
  "@aws-crypto/sha256-js": "2.0.0",
24
- "@aws-sdk/client-sts": "3.43.0",
25
- "@aws-sdk/config-resolver": "3.40.0",
26
- "@aws-sdk/credential-provider-node": "3.41.0",
27
- "@aws-sdk/fetch-http-handler": "3.40.0",
28
- "@aws-sdk/hash-node": "3.40.0",
29
- "@aws-sdk/invalid-dependency": "3.40.0",
30
- "@aws-sdk/middleware-content-length": "3.40.0",
31
- "@aws-sdk/middleware-host-header": "3.40.0",
32
- "@aws-sdk/middleware-logger": "3.40.0",
33
- "@aws-sdk/middleware-retry": "3.40.0",
34
- "@aws-sdk/middleware-serde": "3.40.0",
35
- "@aws-sdk/middleware-signing": "3.40.0",
36
- "@aws-sdk/middleware-stack": "3.40.0",
37
- "@aws-sdk/middleware-user-agent": "3.40.0",
38
- "@aws-sdk/node-config-provider": "3.40.0",
39
- "@aws-sdk/node-http-handler": "3.40.0",
40
- "@aws-sdk/protocol-http": "3.40.0",
41
- "@aws-sdk/smithy-client": "3.41.0",
42
- "@aws-sdk/types": "3.40.0",
43
- "@aws-sdk/url-parser": "3.40.0",
44
- "@aws-sdk/util-base64-browser": "3.37.0",
45
- "@aws-sdk/util-base64-node": "3.37.0",
46
- "@aws-sdk/util-body-length-browser": "3.37.0",
47
- "@aws-sdk/util-body-length-node": "3.37.0",
48
- "@aws-sdk/util-user-agent-browser": "3.40.0",
49
- "@aws-sdk/util-user-agent-node": "3.40.0",
50
- "@aws-sdk/util-utf8-browser": "3.37.0",
51
- "@aws-sdk/util-utf8-node": "3.37.0",
52
- "@aws-sdk/util-waiter": "3.40.0",
21
+ "@aws-sdk/client-sts": "3.47.1",
22
+ "@aws-sdk/config-resolver": "3.47.1",
23
+ "@aws-sdk/credential-provider-node": "3.47.1",
24
+ "@aws-sdk/fetch-http-handler": "3.47.1",
25
+ "@aws-sdk/hash-node": "3.47.1",
26
+ "@aws-sdk/invalid-dependency": "3.47.1",
27
+ "@aws-sdk/middleware-content-length": "3.47.1",
28
+ "@aws-sdk/middleware-host-header": "3.47.1",
29
+ "@aws-sdk/middleware-logger": "3.47.1",
30
+ "@aws-sdk/middleware-retry": "3.47.1",
31
+ "@aws-sdk/middleware-serde": "3.47.1",
32
+ "@aws-sdk/middleware-signing": "3.47.1",
33
+ "@aws-sdk/middleware-stack": "3.47.1",
34
+ "@aws-sdk/middleware-user-agent": "3.47.1",
35
+ "@aws-sdk/node-config-provider": "3.47.1",
36
+ "@aws-sdk/node-http-handler": "3.47.1",
37
+ "@aws-sdk/protocol-http": "3.47.1",
38
+ "@aws-sdk/smithy-client": "3.47.1",
39
+ "@aws-sdk/types": "3.47.1",
40
+ "@aws-sdk/url-parser": "3.47.1",
41
+ "@aws-sdk/util-base64-browser": "3.47.1",
42
+ "@aws-sdk/util-base64-node": "3.47.1",
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.1",
46
+ "@aws-sdk/util-defaults-mode-node": "3.47.1",
47
+ "@aws-sdk/util-user-agent-browser": "3.47.1",
48
+ "@aws-sdk/util-user-agent-node": "3.47.1",
49
+ "@aws-sdk/util-utf8-browser": "3.47.1",
50
+ "@aws-sdk/util-utf8-node": "3.47.1",
51
+ "@aws-sdk/util-waiter": "3.47.1",
53
52
  "tslib": "^2.3.0"
54
53
  },
55
54
  "devDependencies": {
56
- "@aws-sdk/service-client-documentation-generator": "3.38.0",
57
- "@types/node": "^12.7.5",
58
- "downlevel-dts": "0.7.0",
59
- "jest": "^26.1.0",
60
- "rimraf": "^3.0.0",
61
- "ts-jest": "^26.4.1",
62
- "typedoc": "^0.19.2",
63
- "typescript": "~4.3.5"
55
+ "@aws-sdk/service-client-documentation-generator": "3.47.1",
56
+ "@types/node": "^12.7.5"
64
57
  },
65
58
  "engines": {
66
- "node": ">=10.0.0"
59
+ "node": ">=12.0.0"
67
60
  },
68
61
  "typesVersions": {
69
62
  "<4.0": {