@aws-sdk/client-acm 3.716.0 → 3.723.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/dist-cjs/index.js CHANGED
@@ -176,7 +176,14 @@ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions
176
176
  }, "resolveRuntimeExtensions");
177
177
 
178
178
  // src/ACMClient.ts
179
- var _ACMClient = class _ACMClient extends import_smithy_client.Client {
179
+ var ACMClient = class extends import_smithy_client.Client {
180
+ static {
181
+ __name(this, "ACMClient");
182
+ }
183
+ /**
184
+ * The resolved configuration of ACMClient class. This is resolved and normalized from the {@link ACMClientConfig | constructor configuration interface}.
185
+ */
186
+ config;
180
187
  constructor(...[configuration]) {
181
188
  const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
182
189
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -186,7 +193,7 @@ var _ACMClient = class _ACMClient extends import_smithy_client.Client {
186
193
  const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
187
194
  const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
188
195
  const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
189
- const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
196
+ const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
190
197
  super(_config_8);
191
198
  this.config = _config_8;
192
199
  this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
@@ -214,8 +221,6 @@ var _ACMClient = class _ACMClient extends import_smithy_client.Client {
214
221
  super.destroy();
215
222
  }
216
223
  };
217
- __name(_ACMClient, "ACMClient");
218
- var ACMClient = _ACMClient;
219
224
 
220
225
  // src/ACM.ts
221
226
 
@@ -232,7 +237,10 @@ var import_core2 = require("@aws-sdk/core");
232
237
 
233
238
  // src/models/ACMServiceException.ts
234
239
 
235
- var _ACMServiceException = class _ACMServiceException extends import_smithy_client.ServiceException {
240
+ var ACMServiceException = class _ACMServiceException extends import_smithy_client.ServiceException {
241
+ static {
242
+ __name(this, "ACMServiceException");
243
+ }
236
244
  /**
237
245
  * @internal
238
246
  */
@@ -241,12 +249,16 @@ var _ACMServiceException = class _ACMServiceException extends import_smithy_clie
241
249
  Object.setPrototypeOf(this, _ACMServiceException.prototype);
242
250
  }
243
251
  };
244
- __name(_ACMServiceException, "ACMServiceException");
245
- var ACMServiceException = _ACMServiceException;
246
252
 
247
253
  // src/models/models_0.ts
248
254
 
249
- var _AccessDeniedException = class _AccessDeniedException extends ACMServiceException {
255
+ var AccessDeniedException = class _AccessDeniedException extends ACMServiceException {
256
+ static {
257
+ __name(this, "AccessDeniedException");
258
+ }
259
+ name = "AccessDeniedException";
260
+ $fault = "client";
261
+ Message;
250
262
  /**
251
263
  * @internal
252
264
  */
@@ -256,15 +268,16 @@ var _AccessDeniedException = class _AccessDeniedException extends ACMServiceExce
256
268
  $fault: "client",
257
269
  ...opts
258
270
  });
259
- this.name = "AccessDeniedException";
260
- this.$fault = "client";
261
271
  Object.setPrototypeOf(this, _AccessDeniedException.prototype);
262
272
  this.Message = opts.Message;
263
273
  }
264
274
  };
265
- __name(_AccessDeniedException, "AccessDeniedException");
266
- var AccessDeniedException = _AccessDeniedException;
267
- var _InvalidArnException = class _InvalidArnException extends ACMServiceException {
275
+ var InvalidArnException = class _InvalidArnException extends ACMServiceException {
276
+ static {
277
+ __name(this, "InvalidArnException");
278
+ }
279
+ name = "InvalidArnException";
280
+ $fault = "client";
268
281
  /**
269
282
  * @internal
270
283
  */
@@ -274,14 +287,15 @@ var _InvalidArnException = class _InvalidArnException extends ACMServiceExceptio
274
287
  $fault: "client",
275
288
  ...opts
276
289
  });
277
- this.name = "InvalidArnException";
278
- this.$fault = "client";
279
290
  Object.setPrototypeOf(this, _InvalidArnException.prototype);
280
291
  }
281
292
  };
282
- __name(_InvalidArnException, "InvalidArnException");
283
- var InvalidArnException = _InvalidArnException;
284
- var _InvalidParameterException = class _InvalidParameterException extends ACMServiceException {
293
+ var InvalidParameterException = class _InvalidParameterException extends ACMServiceException {
294
+ static {
295
+ __name(this, "InvalidParameterException");
296
+ }
297
+ name = "InvalidParameterException";
298
+ $fault = "client";
285
299
  /**
286
300
  * @internal
287
301
  */
@@ -291,14 +305,15 @@ var _InvalidParameterException = class _InvalidParameterException extends ACMSer
291
305
  $fault: "client",
292
306
  ...opts
293
307
  });
294
- this.name = "InvalidParameterException";
295
- this.$fault = "client";
296
308
  Object.setPrototypeOf(this, _InvalidParameterException.prototype);
297
309
  }
298
310
  };
299
- __name(_InvalidParameterException, "InvalidParameterException");
300
- var InvalidParameterException = _InvalidParameterException;
301
- var _InvalidTagException = class _InvalidTagException extends ACMServiceException {
311
+ var InvalidTagException = class _InvalidTagException extends ACMServiceException {
312
+ static {
313
+ __name(this, "InvalidTagException");
314
+ }
315
+ name = "InvalidTagException";
316
+ $fault = "client";
302
317
  /**
303
318
  * @internal
304
319
  */
@@ -308,14 +323,15 @@ var _InvalidTagException = class _InvalidTagException extends ACMServiceExceptio
308
323
  $fault: "client",
309
324
  ...opts
310
325
  });
311
- this.name = "InvalidTagException";
312
- this.$fault = "client";
313
326
  Object.setPrototypeOf(this, _InvalidTagException.prototype);
314
327
  }
315
328
  };
316
- __name(_InvalidTagException, "InvalidTagException");
317
- var InvalidTagException = _InvalidTagException;
318
- var _ResourceNotFoundException = class _ResourceNotFoundException extends ACMServiceException {
329
+ var ResourceNotFoundException = class _ResourceNotFoundException extends ACMServiceException {
330
+ static {
331
+ __name(this, "ResourceNotFoundException");
332
+ }
333
+ name = "ResourceNotFoundException";
334
+ $fault = "client";
319
335
  /**
320
336
  * @internal
321
337
  */
@@ -325,14 +341,15 @@ var _ResourceNotFoundException = class _ResourceNotFoundException extends ACMSer
325
341
  $fault: "client",
326
342
  ...opts
327
343
  });
328
- this.name = "ResourceNotFoundException";
329
- this.$fault = "client";
330
344
  Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
331
345
  }
332
346
  };
333
- __name(_ResourceNotFoundException, "ResourceNotFoundException");
334
- var ResourceNotFoundException = _ResourceNotFoundException;
335
- var _TagPolicyException = class _TagPolicyException extends ACMServiceException {
347
+ var TagPolicyException = class _TagPolicyException extends ACMServiceException {
348
+ static {
349
+ __name(this, "TagPolicyException");
350
+ }
351
+ name = "TagPolicyException";
352
+ $fault = "client";
336
353
  /**
337
354
  * @internal
338
355
  */
@@ -342,14 +359,15 @@ var _TagPolicyException = class _TagPolicyException extends ACMServiceException
342
359
  $fault: "client",
343
360
  ...opts
344
361
  });
345
- this.name = "TagPolicyException";
346
- this.$fault = "client";
347
362
  Object.setPrototypeOf(this, _TagPolicyException.prototype);
348
363
  }
349
364
  };
350
- __name(_TagPolicyException, "TagPolicyException");
351
- var TagPolicyException = _TagPolicyException;
352
- var _ThrottlingException = class _ThrottlingException extends ACMServiceException {
365
+ var ThrottlingException = class _ThrottlingException extends ACMServiceException {
366
+ static {
367
+ __name(this, "ThrottlingException");
368
+ }
369
+ name = "ThrottlingException";
370
+ $fault = "client";
353
371
  /**
354
372
  * @internal
355
373
  */
@@ -359,14 +377,15 @@ var _ThrottlingException = class _ThrottlingException extends ACMServiceExceptio
359
377
  $fault: "client",
360
378
  ...opts
361
379
  });
362
- this.name = "ThrottlingException";
363
- this.$fault = "client";
364
380
  Object.setPrototypeOf(this, _ThrottlingException.prototype);
365
381
  }
366
382
  };
367
- __name(_ThrottlingException, "ThrottlingException");
368
- var ThrottlingException = _ThrottlingException;
369
- var _TooManyTagsException = class _TooManyTagsException extends ACMServiceException {
383
+ var TooManyTagsException = class _TooManyTagsException extends ACMServiceException {
384
+ static {
385
+ __name(this, "TooManyTagsException");
386
+ }
387
+ name = "TooManyTagsException";
388
+ $fault = "client";
370
389
  /**
371
390
  * @internal
372
391
  */
@@ -376,13 +395,9 @@ var _TooManyTagsException = class _TooManyTagsException extends ACMServiceExcept
376
395
  $fault: "client",
377
396
  ...opts
378
397
  });
379
- this.name = "TooManyTagsException";
380
- this.$fault = "client";
381
398
  Object.setPrototypeOf(this, _TooManyTagsException.prototype);
382
399
  }
383
400
  };
384
- __name(_TooManyTagsException, "TooManyTagsException");
385
- var TooManyTagsException = _TooManyTagsException;
386
401
  var RecordType = {
387
402
  CNAME: "CNAME"
388
403
  };
@@ -490,7 +505,12 @@ var CertificateType = {
490
505
  IMPORTED: "IMPORTED",
491
506
  PRIVATE: "PRIVATE"
492
507
  };
493
- var _ConflictException = class _ConflictException extends ACMServiceException {
508
+ var ConflictException = class _ConflictException extends ACMServiceException {
509
+ static {
510
+ __name(this, "ConflictException");
511
+ }
512
+ name = "ConflictException";
513
+ $fault = "client";
494
514
  /**
495
515
  * @internal
496
516
  */
@@ -500,14 +520,15 @@ var _ConflictException = class _ConflictException extends ACMServiceException {
500
520
  $fault: "client",
501
521
  ...opts
502
522
  });
503
- this.name = "ConflictException";
504
- this.$fault = "client";
505
523
  Object.setPrototypeOf(this, _ConflictException.prototype);
506
524
  }
507
525
  };
508
- __name(_ConflictException, "ConflictException");
509
- var ConflictException = _ConflictException;
510
- var _ResourceInUseException = class _ResourceInUseException extends ACMServiceException {
526
+ var ResourceInUseException = class _ResourceInUseException extends ACMServiceException {
527
+ static {
528
+ __name(this, "ResourceInUseException");
529
+ }
530
+ name = "ResourceInUseException";
531
+ $fault = "client";
511
532
  /**
512
533
  * @internal
513
534
  */
@@ -517,14 +538,15 @@ var _ResourceInUseException = class _ResourceInUseException extends ACMServiceEx
517
538
  $fault: "client",
518
539
  ...opts
519
540
  });
520
- this.name = "ResourceInUseException";
521
- this.$fault = "client";
522
541
  Object.setPrototypeOf(this, _ResourceInUseException.prototype);
523
542
  }
524
543
  };
525
- __name(_ResourceInUseException, "ResourceInUseException");
526
- var ResourceInUseException = _ResourceInUseException;
527
- var _RequestInProgressException = class _RequestInProgressException extends ACMServiceException {
544
+ var RequestInProgressException = class _RequestInProgressException extends ACMServiceException {
545
+ static {
546
+ __name(this, "RequestInProgressException");
547
+ }
548
+ name = "RequestInProgressException";
549
+ $fault = "client";
528
550
  /**
529
551
  * @internal
530
552
  */
@@ -534,14 +556,15 @@ var _RequestInProgressException = class _RequestInProgressException extends ACMS
534
556
  $fault: "client",
535
557
  ...opts
536
558
  });
537
- this.name = "RequestInProgressException";
538
- this.$fault = "client";
539
559
  Object.setPrototypeOf(this, _RequestInProgressException.prototype);
540
560
  }
541
561
  };
542
- __name(_RequestInProgressException, "RequestInProgressException");
543
- var RequestInProgressException = _RequestInProgressException;
544
- var _LimitExceededException = class _LimitExceededException extends ACMServiceException {
562
+ var LimitExceededException = class _LimitExceededException extends ACMServiceException {
563
+ static {
564
+ __name(this, "LimitExceededException");
565
+ }
566
+ name = "LimitExceededException";
567
+ $fault = "client";
545
568
  /**
546
569
  * @internal
547
570
  */
@@ -551,14 +574,15 @@ var _LimitExceededException = class _LimitExceededException extends ACMServiceEx
551
574
  $fault: "client",
552
575
  ...opts
553
576
  });
554
- this.name = "LimitExceededException";
555
- this.$fault = "client";
556
577
  Object.setPrototypeOf(this, _LimitExceededException.prototype);
557
578
  }
558
579
  };
559
- __name(_LimitExceededException, "LimitExceededException");
560
- var LimitExceededException = _LimitExceededException;
561
- var _InvalidArgsException = class _InvalidArgsException extends ACMServiceException {
580
+ var InvalidArgsException = class _InvalidArgsException extends ACMServiceException {
581
+ static {
582
+ __name(this, "InvalidArgsException");
583
+ }
584
+ name = "InvalidArgsException";
585
+ $fault = "client";
562
586
  /**
563
587
  * @internal
564
588
  */
@@ -568,13 +592,9 @@ var _InvalidArgsException = class _InvalidArgsException extends ACMServiceExcept
568
592
  $fault: "client",
569
593
  ...opts
570
594
  });
571
- this.name = "InvalidArgsException";
572
- this.$fault = "client";
573
595
  Object.setPrototypeOf(this, _InvalidArgsException.prototype);
574
596
  }
575
597
  };
576
- __name(_InvalidArgsException, "InvalidArgsException");
577
- var InvalidArgsException = _InvalidArgsException;
578
598
  var SortBy = {
579
599
  CREATED_AT: "CREATED_AT"
580
600
  };
@@ -582,7 +602,12 @@ var SortOrder = {
582
602
  ASCENDING: "ASCENDING",
583
603
  DESCENDING: "DESCENDING"
584
604
  };
585
- var _ValidationException = class _ValidationException extends ACMServiceException {
605
+ var ValidationException = class _ValidationException extends ACMServiceException {
606
+ static {
607
+ __name(this, "ValidationException");
608
+ }
609
+ name = "ValidationException";
610
+ $fault = "client";
586
611
  /**
587
612
  * @internal
588
613
  */
@@ -592,14 +617,15 @@ var _ValidationException = class _ValidationException extends ACMServiceExceptio
592
617
  $fault: "client",
593
618
  ...opts
594
619
  });
595
- this.name = "ValidationException";
596
- this.$fault = "client";
597
620
  Object.setPrototypeOf(this, _ValidationException.prototype);
598
621
  }
599
622
  };
600
- __name(_ValidationException, "ValidationException");
601
- var ValidationException = _ValidationException;
602
- var _InvalidDomainValidationOptionsException = class _InvalidDomainValidationOptionsException extends ACMServiceException {
623
+ var InvalidDomainValidationOptionsException = class _InvalidDomainValidationOptionsException extends ACMServiceException {
624
+ static {
625
+ __name(this, "InvalidDomainValidationOptionsException");
626
+ }
627
+ name = "InvalidDomainValidationOptionsException";
628
+ $fault = "client";
603
629
  /**
604
630
  * @internal
605
631
  */
@@ -609,14 +635,15 @@ var _InvalidDomainValidationOptionsException = class _InvalidDomainValidationOpt
609
635
  $fault: "client",
610
636
  ...opts
611
637
  });
612
- this.name = "InvalidDomainValidationOptionsException";
613
- this.$fault = "client";
614
638
  Object.setPrototypeOf(this, _InvalidDomainValidationOptionsException.prototype);
615
639
  }
616
640
  };
617
- __name(_InvalidDomainValidationOptionsException, "InvalidDomainValidationOptionsException");
618
- var InvalidDomainValidationOptionsException = _InvalidDomainValidationOptionsException;
619
- var _InvalidStateException = class _InvalidStateException extends ACMServiceException {
641
+ var InvalidStateException = class _InvalidStateException extends ACMServiceException {
642
+ static {
643
+ __name(this, "InvalidStateException");
644
+ }
645
+ name = "InvalidStateException";
646
+ $fault = "client";
620
647
  /**
621
648
  * @internal
622
649
  */
@@ -626,13 +653,9 @@ var _InvalidStateException = class _InvalidStateException extends ACMServiceExce
626
653
  $fault: "client",
627
654
  ...opts
628
655
  });
629
- this.name = "InvalidStateException";
630
- this.$fault = "client";
631
656
  Object.setPrototypeOf(this, _InvalidStateException.prototype);
632
657
  }
633
658
  };
634
- __name(_InvalidStateException, "InvalidStateException");
635
- var InvalidStateException = _InvalidStateException;
636
659
  var ExportCertificateRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
637
660
  ...obj,
638
661
  ...obj.Passphrase && { Passphrase: import_smithy_client.SENSITIVE_STRING }
@@ -1244,211 +1267,226 @@ function sharedHeaders(operation) {
1244
1267
  __name(sharedHeaders, "sharedHeaders");
1245
1268
 
1246
1269
  // src/commands/AddTagsToCertificateCommand.ts
1247
- var _AddTagsToCertificateCommand = class _AddTagsToCertificateCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1270
+ var AddTagsToCertificateCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1248
1271
  return [
1249
1272
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1250
1273
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1251
1274
  ];
1252
1275
  }).s("CertificateManager", "AddTagsToCertificate", {}).n("ACMClient", "AddTagsToCertificateCommand").f(void 0, void 0).ser(se_AddTagsToCertificateCommand).de(de_AddTagsToCertificateCommand).build() {
1276
+ static {
1277
+ __name(this, "AddTagsToCertificateCommand");
1278
+ }
1253
1279
  };
1254
- __name(_AddTagsToCertificateCommand, "AddTagsToCertificateCommand");
1255
- var AddTagsToCertificateCommand = _AddTagsToCertificateCommand;
1256
1280
 
1257
1281
  // src/commands/DeleteCertificateCommand.ts
1258
1282
 
1259
1283
 
1260
1284
 
1261
- var _DeleteCertificateCommand = class _DeleteCertificateCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1285
+ var DeleteCertificateCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1262
1286
  return [
1263
1287
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1264
1288
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1265
1289
  ];
1266
1290
  }).s("CertificateManager", "DeleteCertificate", {}).n("ACMClient", "DeleteCertificateCommand").f(void 0, void 0).ser(se_DeleteCertificateCommand).de(de_DeleteCertificateCommand).build() {
1291
+ static {
1292
+ __name(this, "DeleteCertificateCommand");
1293
+ }
1267
1294
  };
1268
- __name(_DeleteCertificateCommand, "DeleteCertificateCommand");
1269
- var DeleteCertificateCommand = _DeleteCertificateCommand;
1270
1295
 
1271
1296
  // src/commands/DescribeCertificateCommand.ts
1272
1297
 
1273
1298
 
1274
1299
 
1275
- var _DescribeCertificateCommand = class _DescribeCertificateCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1300
+ var DescribeCertificateCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1276
1301
  return [
1277
1302
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1278
1303
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1279
1304
  ];
1280
1305
  }).s("CertificateManager", "DescribeCertificate", {}).n("ACMClient", "DescribeCertificateCommand").f(void 0, void 0).ser(se_DescribeCertificateCommand).de(de_DescribeCertificateCommand).build() {
1306
+ static {
1307
+ __name(this, "DescribeCertificateCommand");
1308
+ }
1281
1309
  };
1282
- __name(_DescribeCertificateCommand, "DescribeCertificateCommand");
1283
- var DescribeCertificateCommand = _DescribeCertificateCommand;
1284
1310
 
1285
1311
  // src/commands/ExportCertificateCommand.ts
1286
1312
 
1287
1313
 
1288
1314
 
1289
- var _ExportCertificateCommand = class _ExportCertificateCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1315
+ var ExportCertificateCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1290
1316
  return [
1291
1317
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1292
1318
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1293
1319
  ];
1294
1320
  }).s("CertificateManager", "ExportCertificate", {}).n("ACMClient", "ExportCertificateCommand").f(ExportCertificateRequestFilterSensitiveLog, ExportCertificateResponseFilterSensitiveLog).ser(se_ExportCertificateCommand).de(de_ExportCertificateCommand).build() {
1321
+ static {
1322
+ __name(this, "ExportCertificateCommand");
1323
+ }
1295
1324
  };
1296
- __name(_ExportCertificateCommand, "ExportCertificateCommand");
1297
- var ExportCertificateCommand = _ExportCertificateCommand;
1298
1325
 
1299
1326
  // src/commands/GetAccountConfigurationCommand.ts
1300
1327
 
1301
1328
 
1302
1329
 
1303
- var _GetAccountConfigurationCommand = class _GetAccountConfigurationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1330
+ var GetAccountConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1304
1331
  return [
1305
1332
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1306
1333
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1307
1334
  ];
1308
1335
  }).s("CertificateManager", "GetAccountConfiguration", {}).n("ACMClient", "GetAccountConfigurationCommand").f(void 0, void 0).ser(se_GetAccountConfigurationCommand).de(de_GetAccountConfigurationCommand).build() {
1336
+ static {
1337
+ __name(this, "GetAccountConfigurationCommand");
1338
+ }
1309
1339
  };
1310
- __name(_GetAccountConfigurationCommand, "GetAccountConfigurationCommand");
1311
- var GetAccountConfigurationCommand = _GetAccountConfigurationCommand;
1312
1340
 
1313
1341
  // src/commands/GetCertificateCommand.ts
1314
1342
 
1315
1343
 
1316
1344
 
1317
- var _GetCertificateCommand = class _GetCertificateCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1345
+ var GetCertificateCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1318
1346
  return [
1319
1347
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1320
1348
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1321
1349
  ];
1322
1350
  }).s("CertificateManager", "GetCertificate", {}).n("ACMClient", "GetCertificateCommand").f(void 0, void 0).ser(se_GetCertificateCommand).de(de_GetCertificateCommand).build() {
1351
+ static {
1352
+ __name(this, "GetCertificateCommand");
1353
+ }
1323
1354
  };
1324
- __name(_GetCertificateCommand, "GetCertificateCommand");
1325
- var GetCertificateCommand = _GetCertificateCommand;
1326
1355
 
1327
1356
  // src/commands/ImportCertificateCommand.ts
1328
1357
 
1329
1358
 
1330
1359
 
1331
- var _ImportCertificateCommand = class _ImportCertificateCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1360
+ var ImportCertificateCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1332
1361
  return [
1333
1362
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1334
1363
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1335
1364
  ];
1336
1365
  }).s("CertificateManager", "ImportCertificate", {}).n("ACMClient", "ImportCertificateCommand").f(ImportCertificateRequestFilterSensitiveLog, void 0).ser(se_ImportCertificateCommand).de(de_ImportCertificateCommand).build() {
1366
+ static {
1367
+ __name(this, "ImportCertificateCommand");
1368
+ }
1337
1369
  };
1338
- __name(_ImportCertificateCommand, "ImportCertificateCommand");
1339
- var ImportCertificateCommand = _ImportCertificateCommand;
1340
1370
 
1341
1371
  // src/commands/ListCertificatesCommand.ts
1342
1372
 
1343
1373
 
1344
1374
 
1345
- var _ListCertificatesCommand = class _ListCertificatesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1375
+ var ListCertificatesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1346
1376
  return [
1347
1377
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1348
1378
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1349
1379
  ];
1350
1380
  }).s("CertificateManager", "ListCertificates", {}).n("ACMClient", "ListCertificatesCommand").f(void 0, void 0).ser(se_ListCertificatesCommand).de(de_ListCertificatesCommand).build() {
1381
+ static {
1382
+ __name(this, "ListCertificatesCommand");
1383
+ }
1351
1384
  };
1352
- __name(_ListCertificatesCommand, "ListCertificatesCommand");
1353
- var ListCertificatesCommand = _ListCertificatesCommand;
1354
1385
 
1355
1386
  // src/commands/ListTagsForCertificateCommand.ts
1356
1387
 
1357
1388
 
1358
1389
 
1359
- var _ListTagsForCertificateCommand = class _ListTagsForCertificateCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1390
+ var ListTagsForCertificateCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1360
1391
  return [
1361
1392
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1362
1393
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1363
1394
  ];
1364
1395
  }).s("CertificateManager", "ListTagsForCertificate", {}).n("ACMClient", "ListTagsForCertificateCommand").f(void 0, void 0).ser(se_ListTagsForCertificateCommand).de(de_ListTagsForCertificateCommand).build() {
1396
+ static {
1397
+ __name(this, "ListTagsForCertificateCommand");
1398
+ }
1365
1399
  };
1366
- __name(_ListTagsForCertificateCommand, "ListTagsForCertificateCommand");
1367
- var ListTagsForCertificateCommand = _ListTagsForCertificateCommand;
1368
1400
 
1369
1401
  // src/commands/PutAccountConfigurationCommand.ts
1370
1402
 
1371
1403
 
1372
1404
 
1373
- var _PutAccountConfigurationCommand = class _PutAccountConfigurationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1405
+ var PutAccountConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1374
1406
  return [
1375
1407
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1376
1408
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1377
1409
  ];
1378
1410
  }).s("CertificateManager", "PutAccountConfiguration", {}).n("ACMClient", "PutAccountConfigurationCommand").f(void 0, void 0).ser(se_PutAccountConfigurationCommand).de(de_PutAccountConfigurationCommand).build() {
1411
+ static {
1412
+ __name(this, "PutAccountConfigurationCommand");
1413
+ }
1379
1414
  };
1380
- __name(_PutAccountConfigurationCommand, "PutAccountConfigurationCommand");
1381
- var PutAccountConfigurationCommand = _PutAccountConfigurationCommand;
1382
1415
 
1383
1416
  // src/commands/RemoveTagsFromCertificateCommand.ts
1384
1417
 
1385
1418
 
1386
1419
 
1387
- var _RemoveTagsFromCertificateCommand = class _RemoveTagsFromCertificateCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1420
+ var RemoveTagsFromCertificateCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1388
1421
  return [
1389
1422
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1390
1423
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1391
1424
  ];
1392
1425
  }).s("CertificateManager", "RemoveTagsFromCertificate", {}).n("ACMClient", "RemoveTagsFromCertificateCommand").f(void 0, void 0).ser(se_RemoveTagsFromCertificateCommand).de(de_RemoveTagsFromCertificateCommand).build() {
1426
+ static {
1427
+ __name(this, "RemoveTagsFromCertificateCommand");
1428
+ }
1393
1429
  };
1394
- __name(_RemoveTagsFromCertificateCommand, "RemoveTagsFromCertificateCommand");
1395
- var RemoveTagsFromCertificateCommand = _RemoveTagsFromCertificateCommand;
1396
1430
 
1397
1431
  // src/commands/RenewCertificateCommand.ts
1398
1432
 
1399
1433
 
1400
1434
 
1401
- var _RenewCertificateCommand = class _RenewCertificateCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1435
+ var RenewCertificateCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1402
1436
  return [
1403
1437
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1404
1438
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1405
1439
  ];
1406
1440
  }).s("CertificateManager", "RenewCertificate", {}).n("ACMClient", "RenewCertificateCommand").f(void 0, void 0).ser(se_RenewCertificateCommand).de(de_RenewCertificateCommand).build() {
1441
+ static {
1442
+ __name(this, "RenewCertificateCommand");
1443
+ }
1407
1444
  };
1408
- __name(_RenewCertificateCommand, "RenewCertificateCommand");
1409
- var RenewCertificateCommand = _RenewCertificateCommand;
1410
1445
 
1411
1446
  // src/commands/RequestCertificateCommand.ts
1412
1447
 
1413
1448
 
1414
1449
 
1415
- var _RequestCertificateCommand = class _RequestCertificateCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1450
+ var RequestCertificateCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1416
1451
  return [
1417
1452
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1418
1453
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1419
1454
  ];
1420
1455
  }).s("CertificateManager", "RequestCertificate", {}).n("ACMClient", "RequestCertificateCommand").f(void 0, void 0).ser(se_RequestCertificateCommand).de(de_RequestCertificateCommand).build() {
1456
+ static {
1457
+ __name(this, "RequestCertificateCommand");
1458
+ }
1421
1459
  };
1422
- __name(_RequestCertificateCommand, "RequestCertificateCommand");
1423
- var RequestCertificateCommand = _RequestCertificateCommand;
1424
1460
 
1425
1461
  // src/commands/ResendValidationEmailCommand.ts
1426
1462
 
1427
1463
 
1428
1464
 
1429
- var _ResendValidationEmailCommand = class _ResendValidationEmailCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1465
+ var ResendValidationEmailCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1430
1466
  return [
1431
1467
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1432
1468
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1433
1469
  ];
1434
1470
  }).s("CertificateManager", "ResendValidationEmail", {}).n("ACMClient", "ResendValidationEmailCommand").f(void 0, void 0).ser(se_ResendValidationEmailCommand).de(de_ResendValidationEmailCommand).build() {
1471
+ static {
1472
+ __name(this, "ResendValidationEmailCommand");
1473
+ }
1435
1474
  };
1436
- __name(_ResendValidationEmailCommand, "ResendValidationEmailCommand");
1437
- var ResendValidationEmailCommand = _ResendValidationEmailCommand;
1438
1475
 
1439
1476
  // src/commands/UpdateCertificateOptionsCommand.ts
1440
1477
 
1441
1478
 
1442
1479
 
1443
- var _UpdateCertificateOptionsCommand = class _UpdateCertificateOptionsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1480
+ var UpdateCertificateOptionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1444
1481
  return [
1445
1482
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1446
1483
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1447
1484
  ];
1448
1485
  }).s("CertificateManager", "UpdateCertificateOptions", {}).n("ACMClient", "UpdateCertificateOptionsCommand").f(void 0, void 0).ser(se_UpdateCertificateOptionsCommand).de(de_UpdateCertificateOptionsCommand).build() {
1486
+ static {
1487
+ __name(this, "UpdateCertificateOptionsCommand");
1488
+ }
1449
1489
  };
1450
- __name(_UpdateCertificateOptionsCommand, "UpdateCertificateOptionsCommand");
1451
- var UpdateCertificateOptionsCommand = _UpdateCertificateOptionsCommand;
1452
1490
 
1453
1491
  // src/ACM.ts
1454
1492
  var commands = {
@@ -1468,10 +1506,11 @@ var commands = {
1468
1506
  ResendValidationEmailCommand,
1469
1507
  UpdateCertificateOptionsCommand
1470
1508
  };
1471
- var _ACM = class _ACM extends ACMClient {
1509
+ var ACM = class extends ACMClient {
1510
+ static {
1511
+ __name(this, "ACM");
1512
+ }
1472
1513
  };
1473
- __name(_ACM, "ACM");
1474
- var ACM = _ACM;
1475
1514
  (0, import_smithy_client.createAggregatedClient)(commands, ACM);
1476
1515
 
1477
1516
  // src/pagination/ListCertificatesPaginator.ts
@@ -14,6 +14,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
14
14
  import { resolveRuntimeExtensions } from "./runtimeExtensions";
15
15
  export { __Client };
16
16
  export class ACMClient extends __Client {
17
+ config;
17
18
  constructor(...[configuration]) {
18
19
  const _config_0 = __getRuntimeConfig(configuration || {});
19
20
  const _config_1 = resolveClientEndpointParameters(_config_0);
@@ -1,99 +1,100 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
2
  import { ACMServiceException as __BaseException } from "./ACMServiceException";
3
3
  export class AccessDeniedException extends __BaseException {
4
+ name = "AccessDeniedException";
5
+ $fault = "client";
6
+ Message;
4
7
  constructor(opts) {
5
8
  super({
6
9
  name: "AccessDeniedException",
7
10
  $fault: "client",
8
11
  ...opts,
9
12
  });
10
- this.name = "AccessDeniedException";
11
- this.$fault = "client";
12
13
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
13
14
  this.Message = opts.Message;
14
15
  }
15
16
  }
16
17
  export class InvalidArnException extends __BaseException {
18
+ name = "InvalidArnException";
19
+ $fault = "client";
17
20
  constructor(opts) {
18
21
  super({
19
22
  name: "InvalidArnException",
20
23
  $fault: "client",
21
24
  ...opts,
22
25
  });
23
- this.name = "InvalidArnException";
24
- this.$fault = "client";
25
26
  Object.setPrototypeOf(this, InvalidArnException.prototype);
26
27
  }
27
28
  }
28
29
  export class InvalidParameterException extends __BaseException {
30
+ name = "InvalidParameterException";
31
+ $fault = "client";
29
32
  constructor(opts) {
30
33
  super({
31
34
  name: "InvalidParameterException",
32
35
  $fault: "client",
33
36
  ...opts,
34
37
  });
35
- this.name = "InvalidParameterException";
36
- this.$fault = "client";
37
38
  Object.setPrototypeOf(this, InvalidParameterException.prototype);
38
39
  }
39
40
  }
40
41
  export class InvalidTagException extends __BaseException {
42
+ name = "InvalidTagException";
43
+ $fault = "client";
41
44
  constructor(opts) {
42
45
  super({
43
46
  name: "InvalidTagException",
44
47
  $fault: "client",
45
48
  ...opts,
46
49
  });
47
- this.name = "InvalidTagException";
48
- this.$fault = "client";
49
50
  Object.setPrototypeOf(this, InvalidTagException.prototype);
50
51
  }
51
52
  }
52
53
  export class ResourceNotFoundException extends __BaseException {
54
+ name = "ResourceNotFoundException";
55
+ $fault = "client";
53
56
  constructor(opts) {
54
57
  super({
55
58
  name: "ResourceNotFoundException",
56
59
  $fault: "client",
57
60
  ...opts,
58
61
  });
59
- this.name = "ResourceNotFoundException";
60
- this.$fault = "client";
61
62
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
62
63
  }
63
64
  }
64
65
  export class TagPolicyException extends __BaseException {
66
+ name = "TagPolicyException";
67
+ $fault = "client";
65
68
  constructor(opts) {
66
69
  super({
67
70
  name: "TagPolicyException",
68
71
  $fault: "client",
69
72
  ...opts,
70
73
  });
71
- this.name = "TagPolicyException";
72
- this.$fault = "client";
73
74
  Object.setPrototypeOf(this, TagPolicyException.prototype);
74
75
  }
75
76
  }
76
77
  export class ThrottlingException extends __BaseException {
78
+ name = "ThrottlingException";
79
+ $fault = "client";
77
80
  constructor(opts) {
78
81
  super({
79
82
  name: "ThrottlingException",
80
83
  $fault: "client",
81
84
  ...opts,
82
85
  });
83
- this.name = "ThrottlingException";
84
- this.$fault = "client";
85
86
  Object.setPrototypeOf(this, ThrottlingException.prototype);
86
87
  }
87
88
  }
88
89
  export class TooManyTagsException extends __BaseException {
90
+ name = "TooManyTagsException";
91
+ $fault = "client";
89
92
  constructor(opts) {
90
93
  super({
91
94
  name: "TooManyTagsException",
92
95
  $fault: "client",
93
96
  ...opts,
94
97
  });
95
- this.name = "TooManyTagsException";
96
- this.$fault = "client";
97
98
  Object.setPrototypeOf(this, TooManyTagsException.prototype);
98
99
  }
99
100
  }
@@ -205,62 +206,62 @@ export const CertificateType = {
205
206
  PRIVATE: "PRIVATE",
206
207
  };
207
208
  export class ConflictException extends __BaseException {
209
+ name = "ConflictException";
210
+ $fault = "client";
208
211
  constructor(opts) {
209
212
  super({
210
213
  name: "ConflictException",
211
214
  $fault: "client",
212
215
  ...opts,
213
216
  });
214
- this.name = "ConflictException";
215
- this.$fault = "client";
216
217
  Object.setPrototypeOf(this, ConflictException.prototype);
217
218
  }
218
219
  }
219
220
  export class ResourceInUseException extends __BaseException {
221
+ name = "ResourceInUseException";
222
+ $fault = "client";
220
223
  constructor(opts) {
221
224
  super({
222
225
  name: "ResourceInUseException",
223
226
  $fault: "client",
224
227
  ...opts,
225
228
  });
226
- this.name = "ResourceInUseException";
227
- this.$fault = "client";
228
229
  Object.setPrototypeOf(this, ResourceInUseException.prototype);
229
230
  }
230
231
  }
231
232
  export class RequestInProgressException extends __BaseException {
233
+ name = "RequestInProgressException";
234
+ $fault = "client";
232
235
  constructor(opts) {
233
236
  super({
234
237
  name: "RequestInProgressException",
235
238
  $fault: "client",
236
239
  ...opts,
237
240
  });
238
- this.name = "RequestInProgressException";
239
- this.$fault = "client";
240
241
  Object.setPrototypeOf(this, RequestInProgressException.prototype);
241
242
  }
242
243
  }
243
244
  export class LimitExceededException extends __BaseException {
245
+ name = "LimitExceededException";
246
+ $fault = "client";
244
247
  constructor(opts) {
245
248
  super({
246
249
  name: "LimitExceededException",
247
250
  $fault: "client",
248
251
  ...opts,
249
252
  });
250
- this.name = "LimitExceededException";
251
- this.$fault = "client";
252
253
  Object.setPrototypeOf(this, LimitExceededException.prototype);
253
254
  }
254
255
  }
255
256
  export class InvalidArgsException extends __BaseException {
257
+ name = "InvalidArgsException";
258
+ $fault = "client";
256
259
  constructor(opts) {
257
260
  super({
258
261
  name: "InvalidArgsException",
259
262
  $fault: "client",
260
263
  ...opts,
261
264
  });
262
- this.name = "InvalidArgsException";
263
- this.$fault = "client";
264
265
  Object.setPrototypeOf(this, InvalidArgsException.prototype);
265
266
  }
266
267
  }
@@ -272,38 +273,38 @@ export const SortOrder = {
272
273
  DESCENDING: "DESCENDING",
273
274
  };
274
275
  export class ValidationException extends __BaseException {
276
+ name = "ValidationException";
277
+ $fault = "client";
275
278
  constructor(opts) {
276
279
  super({
277
280
  name: "ValidationException",
278
281
  $fault: "client",
279
282
  ...opts,
280
283
  });
281
- this.name = "ValidationException";
282
- this.$fault = "client";
283
284
  Object.setPrototypeOf(this, ValidationException.prototype);
284
285
  }
285
286
  }
286
287
  export class InvalidDomainValidationOptionsException extends __BaseException {
288
+ name = "InvalidDomainValidationOptionsException";
289
+ $fault = "client";
287
290
  constructor(opts) {
288
291
  super({
289
292
  name: "InvalidDomainValidationOptionsException",
290
293
  $fault: "client",
291
294
  ...opts,
292
295
  });
293
- this.name = "InvalidDomainValidationOptionsException";
294
- this.$fault = "client";
295
296
  Object.setPrototypeOf(this, InvalidDomainValidationOptionsException.prototype);
296
297
  }
297
298
  }
298
299
  export class InvalidStateException extends __BaseException {
300
+ name = "InvalidStateException";
301
+ $fault = "client";
299
302
  constructor(opts) {
300
303
  super({
301
304
  name: "InvalidStateException",
302
305
  $fault: "client",
303
306
  ...opts,
304
307
  });
305
- this.name = "InvalidStateException";
306
- this.$fault = "client";
307
308
  Object.setPrototypeOf(this, InvalidStateException.prototype);
308
309
  }
309
310
  }
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: ACMClientConfig) => {
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<any>;
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: ACMClientConfig) => {
7
7
  runtime: string;
8
8
  defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
9
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
- credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
11
11
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<string>;
@@ -22,7 +22,7 @@ export declare const getRuntimeConfig: (config: ACMClientConfig) => {
22
22
  region: string | import("@smithy/types").Provider<any>;
23
23
  profile?: string | undefined;
24
24
  defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
25
- credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
25
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
26
26
  maxAttempts: number | import("@smithy/types").Provider<number>;
27
27
  retryMode: string | import("@smithy/types").Provider<string>;
28
28
  logger: import("@smithy/types").Logger;
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: ACMClientConfig) => {
31
31
  customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
32
32
  userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
33
33
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
34
- endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
34
+ endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
35
35
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
36
36
  logger?: import("@smithy/types").Logger | undefined;
37
37
  }) => import("@smithy/types").EndpointV2;
@@ -6,9 +6,11 @@ export declare const getRuntimeConfig: (config: ACMClientConfig) => {
6
6
  import("@smithy/smithy-client").ResolvedDefaultsMode
7
7
  >;
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
- credentialDefaultProvider: (
10
- input: any
11
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
9
+ credentialDefaultProvider:
10
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
+ | ((
12
+ _: unknown
13
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
12
14
  defaultUserAgentProvider: (
13
15
  config?:
14
16
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
@@ -6,13 +6,15 @@ export declare const getRuntimeConfig: (config: ACMClientConfig) => {
6
6
  import("@smithy/smithy-client").ResolvedDefaultsMode
7
7
  >;
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
- credentialDefaultProvider: (
10
- init?:
11
- | import("@aws-sdk/credential-provider-node").DefaultProviderInit
12
- | undefined
13
- ) => import("@smithy/types").MemoizedProvider<
14
- import("@smithy/types").AwsCredentialIdentity
15
- >;
9
+ credentialDefaultProvider:
10
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
+ | ((
12
+ init?:
13
+ | import("@aws-sdk/credential-provider-node").DefaultProviderInit
14
+ | undefined
15
+ ) => import("@smithy/types").MemoizedProvider<
16
+ import("@smithy/types").AwsCredentialIdentity
17
+ >);
16
18
  defaultUserAgentProvider: (
17
19
  config?:
18
20
  | import("@aws-sdk/util-user-agent-node").PreviouslyResolved
@@ -28,9 +28,11 @@ export declare const getRuntimeConfig: (config: ACMClientConfig) => {
28
28
  | import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
29
29
  | undefined
30
30
  ) => Promise<import("@smithy/types").UserAgent>;
31
- credentialDefaultProvider: (
32
- input: any
33
- ) => import("@smithy/types").AwsCredentialIdentityProvider;
31
+ credentialDefaultProvider:
32
+ | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
33
+ | ((
34
+ _: unknown
35
+ ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
34
36
  maxAttempts: number | import("@smithy/types").Provider<number>;
35
37
  retryMode: string | import("@smithy/types").Provider<string>;
36
38
  logger: import("@smithy/types").Logger;
@@ -50,11 +52,21 @@ export declare const getRuntimeConfig: (config: ACMClientConfig) => {
50
52
  | import("@smithy/types").RetryStrategyV2
51
53
  | undefined;
52
54
  endpoint?:
53
- | string
54
- | import("@smithy/types").Endpoint
55
- | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
56
- | import("@smithy/types").EndpointV2
57
- | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
55
+ | ((
56
+ | string
57
+ | import("@smithy/types").Endpoint
58
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
59
+ | import("@smithy/types").EndpointV2
60
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
61
+ ) &
62
+ (
63
+ | string
64
+ | import("@smithy/types").Provider<string>
65
+ | import("@smithy/types").Endpoint
66
+ | import("@smithy/types").Provider<import("@smithy/types").Endpoint>
67
+ | import("@smithy/types").EndpointV2
68
+ | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
69
+ ))
58
70
  | undefined;
59
71
  endpointProvider: (
60
72
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
package/package.json CHANGED
@@ -1,7 +1,7 @@
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.716.0",
4
+ "version": "3.723.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-acm",
@@ -20,57 +20,57 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.716.0",
24
- "@aws-sdk/client-sts": "3.716.0",
25
- "@aws-sdk/core": "3.716.0",
26
- "@aws-sdk/credential-provider-node": "3.716.0",
27
- "@aws-sdk/middleware-host-header": "3.714.0",
28
- "@aws-sdk/middleware-logger": "3.714.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.714.0",
30
- "@aws-sdk/middleware-user-agent": "3.716.0",
31
- "@aws-sdk/region-config-resolver": "3.714.0",
32
- "@aws-sdk/types": "3.714.0",
33
- "@aws-sdk/util-endpoints": "3.714.0",
34
- "@aws-sdk/util-user-agent-browser": "3.714.0",
35
- "@aws-sdk/util-user-agent-node": "3.716.0",
36
- "@smithy/config-resolver": "^3.0.13",
37
- "@smithy/core": "^2.5.5",
38
- "@smithy/fetch-http-handler": "^4.1.2",
39
- "@smithy/hash-node": "^3.0.11",
40
- "@smithy/invalid-dependency": "^3.0.11",
41
- "@smithy/middleware-content-length": "^3.0.13",
42
- "@smithy/middleware-endpoint": "^3.2.6",
43
- "@smithy/middleware-retry": "^3.0.31",
44
- "@smithy/middleware-serde": "^3.0.11",
45
- "@smithy/middleware-stack": "^3.0.11",
46
- "@smithy/node-config-provider": "^3.1.12",
47
- "@smithy/node-http-handler": "^3.3.2",
48
- "@smithy/protocol-http": "^4.1.8",
49
- "@smithy/smithy-client": "^3.5.1",
50
- "@smithy/types": "^3.7.2",
51
- "@smithy/url-parser": "^3.0.11",
52
- "@smithy/util-base64": "^3.0.0",
53
- "@smithy/util-body-length-browser": "^3.0.0",
54
- "@smithy/util-body-length-node": "^3.0.0",
55
- "@smithy/util-defaults-mode-browser": "^3.0.31",
56
- "@smithy/util-defaults-mode-node": "^3.0.31",
57
- "@smithy/util-endpoints": "^2.1.7",
58
- "@smithy/util-middleware": "^3.0.11",
59
- "@smithy/util-retry": "^3.0.11",
60
- "@smithy/util-utf8": "^3.0.0",
61
- "@smithy/util-waiter": "^3.2.0",
23
+ "@aws-sdk/client-sso-oidc": "3.723.0",
24
+ "@aws-sdk/client-sts": "3.723.0",
25
+ "@aws-sdk/core": "3.723.0",
26
+ "@aws-sdk/credential-provider-node": "3.723.0",
27
+ "@aws-sdk/middleware-host-header": "3.723.0",
28
+ "@aws-sdk/middleware-logger": "3.723.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.723.0",
30
+ "@aws-sdk/middleware-user-agent": "3.723.0",
31
+ "@aws-sdk/region-config-resolver": "3.723.0",
32
+ "@aws-sdk/types": "3.723.0",
33
+ "@aws-sdk/util-endpoints": "3.723.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.723.0",
35
+ "@aws-sdk/util-user-agent-node": "3.723.0",
36
+ "@smithy/config-resolver": "^4.0.0",
37
+ "@smithy/core": "^3.0.0",
38
+ "@smithy/fetch-http-handler": "^5.0.0",
39
+ "@smithy/hash-node": "^4.0.0",
40
+ "@smithy/invalid-dependency": "^4.0.0",
41
+ "@smithy/middleware-content-length": "^4.0.0",
42
+ "@smithy/middleware-endpoint": "^4.0.0",
43
+ "@smithy/middleware-retry": "^4.0.0",
44
+ "@smithy/middleware-serde": "^4.0.0",
45
+ "@smithy/middleware-stack": "^4.0.0",
46
+ "@smithy/node-config-provider": "^4.0.0",
47
+ "@smithy/node-http-handler": "^4.0.0",
48
+ "@smithy/protocol-http": "^5.0.0",
49
+ "@smithy/smithy-client": "^4.0.0",
50
+ "@smithy/types": "^4.0.0",
51
+ "@smithy/url-parser": "^4.0.0",
52
+ "@smithy/util-base64": "^4.0.0",
53
+ "@smithy/util-body-length-browser": "^4.0.0",
54
+ "@smithy/util-body-length-node": "^4.0.0",
55
+ "@smithy/util-defaults-mode-browser": "^4.0.0",
56
+ "@smithy/util-defaults-mode-node": "^4.0.0",
57
+ "@smithy/util-endpoints": "^3.0.0",
58
+ "@smithy/util-middleware": "^4.0.0",
59
+ "@smithy/util-retry": "^4.0.0",
60
+ "@smithy/util-utf8": "^4.0.0",
61
+ "@smithy/util-waiter": "^4.0.0",
62
62
  "tslib": "^2.6.2"
63
63
  },
64
64
  "devDependencies": {
65
- "@tsconfig/node16": "16.1.3",
66
- "@types/node": "^16.18.96",
65
+ "@tsconfig/node18": "18.2.4",
66
+ "@types/node": "^18.19.69",
67
67
  "concurrently": "7.0.0",
68
68
  "downlevel-dts": "0.10.1",
69
69
  "rimraf": "3.0.2",
70
- "typescript": "~4.9.5"
70
+ "typescript": "~5.2.2"
71
71
  },
72
72
  "engines": {
73
- "node": ">=16.0.0"
73
+ "node": ">=18.0.0"
74
74
  },
75
75
  "typesVersions": {
76
76
  "<4.0": {