@aws-sdk/client-acm 3.926.0 → 3.928.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.
Files changed (40) hide show
  1. package/dist-cjs/index.js +728 -795
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/ACMClient.js +2 -0
  4. package/dist-es/commands/AddTagsToCertificateCommand.js +3 -9
  5. package/dist-es/commands/DeleteCertificateCommand.js +3 -9
  6. package/dist-es/commands/DescribeCertificateCommand.js +3 -9
  7. package/dist-es/commands/ExportCertificateCommand.js +3 -10
  8. package/dist-es/commands/GetAccountConfigurationCommand.js +3 -9
  9. package/dist-es/commands/GetCertificateCommand.js +3 -9
  10. package/dist-es/commands/ImportCertificateCommand.js +3 -10
  11. package/dist-es/commands/ListCertificatesCommand.js +3 -9
  12. package/dist-es/commands/ListTagsForCertificateCommand.js +3 -9
  13. package/dist-es/commands/PutAccountConfigurationCommand.js +3 -9
  14. package/dist-es/commands/RemoveTagsFromCertificateCommand.js +3 -9
  15. package/dist-es/commands/RenewCertificateCommand.js +3 -9
  16. package/dist-es/commands/RequestCertificateCommand.js +3 -9
  17. package/dist-es/commands/ResendValidationEmailCommand.js +3 -9
  18. package/dist-es/commands/RevokeCertificateCommand.js +3 -9
  19. package/dist-es/commands/UpdateCertificateOptionsCommand.js +3 -9
  20. package/dist-es/models/models_0.js +0 -13
  21. package/dist-es/runtimeConfig.shared.js +7 -0
  22. package/dist-es/schemas/schemas_0.js +655 -0
  23. package/dist-types/ACMClient.d.ts +10 -1
  24. package/dist-types/models/models_0.d.ts +0 -12
  25. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  26. package/dist-types/runtimeConfig.d.ts +1 -0
  27. package/dist-types/runtimeConfig.native.d.ts +1 -0
  28. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  29. package/dist-types/schemas/schemas_0.d.ts +90 -0
  30. package/dist-types/ts3.4/ACMClient.d.ts +4 -0
  31. package/dist-types/ts3.4/models/models_0.d.ts +0 -9
  32. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  33. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  34. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  35. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  36. package/dist-types/ts3.4/schemas/schemas_0.d.ts +96 -0
  37. package/package.json +5 -5
  38. package/dist-es/protocols/Aws_json1_1.js +0 -624
  39. package/dist-types/protocols/Aws_json1_1.d.ts +0 -146
  40. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -197
package/dist-cjs/index.js CHANGED
@@ -6,6 +6,7 @@ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detect
6
6
  var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
7
7
  var configResolver = require('@smithy/config-resolver');
8
8
  var core = require('@smithy/core');
9
+ var schema = require('@smithy/core/schema');
9
10
  var middlewareContentLength = require('@smithy/middleware-content-length');
10
11
  var middlewareEndpoint = require('@smithy/middleware-endpoint');
11
12
  var middlewareRetry = require('@smithy/middleware-retry');
@@ -14,8 +15,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
14
15
  var runtimeConfig = require('./runtimeConfig');
15
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
16
17
  var protocolHttp = require('@smithy/protocol-http');
17
- var middlewareSerde = require('@smithy/middleware-serde');
18
- var core$1 = require('@aws-sdk/core');
19
18
  var utilWaiter = require('@smithy/util-waiter');
20
19
 
21
20
  const resolveClientEndpointParameters = (options) => {
@@ -92,6 +91,7 @@ class ACMClient extends smithyClient.Client {
92
91
  const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
93
92
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
94
93
  this.config = _config_8;
94
+ this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
95
95
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
96
96
  this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
97
97
  this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
@@ -111,14 +111,14 @@ class ACMClient extends smithyClient.Client {
111
111
  }
112
112
  }
113
113
 
114
- class ACMServiceException extends smithyClient.ServiceException {
114
+ let ACMServiceException$1 = class ACMServiceException extends smithyClient.ServiceException {
115
115
  constructor(options) {
116
116
  super(options);
117
117
  Object.setPrototypeOf(this, ACMServiceException.prototype);
118
118
  }
119
- }
119
+ };
120
120
 
121
- class AccessDeniedException extends ACMServiceException {
121
+ let AccessDeniedException$1 = class AccessDeniedException extends ACMServiceException$1 {
122
122
  name = "AccessDeniedException";
123
123
  $fault = "client";
124
124
  Message;
@@ -131,8 +131,8 @@ class AccessDeniedException extends ACMServiceException {
131
131
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
132
132
  this.Message = opts.Message;
133
133
  }
134
- }
135
- class InvalidArnException extends ACMServiceException {
134
+ };
135
+ let InvalidArnException$1 = class InvalidArnException extends ACMServiceException$1 {
136
136
  name = "InvalidArnException";
137
137
  $fault = "client";
138
138
  constructor(opts) {
@@ -143,8 +143,8 @@ class InvalidArnException extends ACMServiceException {
143
143
  });
144
144
  Object.setPrototypeOf(this, InvalidArnException.prototype);
145
145
  }
146
- }
147
- class InvalidParameterException extends ACMServiceException {
146
+ };
147
+ let InvalidParameterException$1 = class InvalidParameterException extends ACMServiceException$1 {
148
148
  name = "InvalidParameterException";
149
149
  $fault = "client";
150
150
  constructor(opts) {
@@ -155,8 +155,8 @@ class InvalidParameterException extends ACMServiceException {
155
155
  });
156
156
  Object.setPrototypeOf(this, InvalidParameterException.prototype);
157
157
  }
158
- }
159
- class InvalidTagException extends ACMServiceException {
158
+ };
159
+ let InvalidTagException$1 = class InvalidTagException extends ACMServiceException$1 {
160
160
  name = "InvalidTagException";
161
161
  $fault = "client";
162
162
  constructor(opts) {
@@ -167,8 +167,8 @@ class InvalidTagException extends ACMServiceException {
167
167
  });
168
168
  Object.setPrototypeOf(this, InvalidTagException.prototype);
169
169
  }
170
- }
171
- class ResourceNotFoundException extends ACMServiceException {
170
+ };
171
+ let ResourceNotFoundException$1 = class ResourceNotFoundException extends ACMServiceException$1 {
172
172
  name = "ResourceNotFoundException";
173
173
  $fault = "client";
174
174
  constructor(opts) {
@@ -179,8 +179,8 @@ class ResourceNotFoundException extends ACMServiceException {
179
179
  });
180
180
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
181
181
  }
182
- }
183
- class TagPolicyException extends ACMServiceException {
182
+ };
183
+ let TagPolicyException$1 = class TagPolicyException extends ACMServiceException$1 {
184
184
  name = "TagPolicyException";
185
185
  $fault = "client";
186
186
  constructor(opts) {
@@ -191,8 +191,8 @@ class TagPolicyException extends ACMServiceException {
191
191
  });
192
192
  Object.setPrototypeOf(this, TagPolicyException.prototype);
193
193
  }
194
- }
195
- class ThrottlingException extends ACMServiceException {
194
+ };
195
+ let ThrottlingException$1 = class ThrottlingException extends ACMServiceException$1 {
196
196
  name = "ThrottlingException";
197
197
  $fault = "client";
198
198
  constructor(opts) {
@@ -203,8 +203,8 @@ class ThrottlingException extends ACMServiceException {
203
203
  });
204
204
  Object.setPrototypeOf(this, ThrottlingException.prototype);
205
205
  }
206
- }
207
- class TooManyTagsException extends ACMServiceException {
206
+ };
207
+ let TooManyTagsException$1 = class TooManyTagsException extends ACMServiceException$1 {
208
208
  name = "TooManyTagsException";
209
209
  $fault = "client";
210
210
  constructor(opts) {
@@ -215,7 +215,7 @@ class TooManyTagsException extends ACMServiceException {
215
215
  });
216
216
  Object.setPrototypeOf(this, TooManyTagsException.prototype);
217
217
  }
218
- }
218
+ };
219
219
  const RecordType = {
220
220
  CNAME: "CNAME",
221
221
  };
@@ -332,7 +332,7 @@ const CertificateType = {
332
332
  IMPORTED: "IMPORTED",
333
333
  PRIVATE: "PRIVATE",
334
334
  };
335
- class ConflictException extends ACMServiceException {
335
+ let ConflictException$1 = class ConflictException extends ACMServiceException$1 {
336
336
  name = "ConflictException";
337
337
  $fault = "client";
338
338
  constructor(opts) {
@@ -343,8 +343,8 @@ class ConflictException extends ACMServiceException {
343
343
  });
344
344
  Object.setPrototypeOf(this, ConflictException.prototype);
345
345
  }
346
- }
347
- class ResourceInUseException extends ACMServiceException {
346
+ };
347
+ let ResourceInUseException$1 = class ResourceInUseException extends ACMServiceException$1 {
348
348
  name = "ResourceInUseException";
349
349
  $fault = "client";
350
350
  constructor(opts) {
@@ -355,8 +355,8 @@ class ResourceInUseException extends ACMServiceException {
355
355
  });
356
356
  Object.setPrototypeOf(this, ResourceInUseException.prototype);
357
357
  }
358
- }
359
- class RequestInProgressException extends ACMServiceException {
358
+ };
359
+ let RequestInProgressException$1 = class RequestInProgressException extends ACMServiceException$1 {
360
360
  name = "RequestInProgressException";
361
361
  $fault = "client";
362
362
  constructor(opts) {
@@ -367,8 +367,8 @@ class RequestInProgressException extends ACMServiceException {
367
367
  });
368
368
  Object.setPrototypeOf(this, RequestInProgressException.prototype);
369
369
  }
370
- }
371
- class LimitExceededException extends ACMServiceException {
370
+ };
371
+ let LimitExceededException$1 = class LimitExceededException extends ACMServiceException$1 {
372
372
  name = "LimitExceededException";
373
373
  $fault = "client";
374
374
  constructor(opts) {
@@ -379,8 +379,8 @@ class LimitExceededException extends ACMServiceException {
379
379
  });
380
380
  Object.setPrototypeOf(this, LimitExceededException.prototype);
381
381
  }
382
- }
383
- class InvalidArgsException extends ACMServiceException {
382
+ };
383
+ let InvalidArgsException$1 = class InvalidArgsException extends ACMServiceException$1 {
384
384
  name = "InvalidArgsException";
385
385
  $fault = "client";
386
386
  constructor(opts) {
@@ -391,7 +391,7 @@ class InvalidArgsException extends ACMServiceException {
391
391
  });
392
392
  Object.setPrototypeOf(this, InvalidArgsException.prototype);
393
393
  }
394
- }
394
+ };
395
395
  const SortBy = {
396
396
  CREATED_AT: "CREATED_AT",
397
397
  };
@@ -399,7 +399,7 @@ const SortOrder = {
399
399
  ASCENDING: "ASCENDING",
400
400
  DESCENDING: "DESCENDING",
401
401
  };
402
- class ValidationException extends ACMServiceException {
402
+ let ValidationException$1 = class ValidationException extends ACMServiceException$1 {
403
403
  name = "ValidationException";
404
404
  $fault = "client";
405
405
  constructor(opts) {
@@ -410,8 +410,8 @@ class ValidationException extends ACMServiceException {
410
410
  });
411
411
  Object.setPrototypeOf(this, ValidationException.prototype);
412
412
  }
413
- }
414
- class InvalidDomainValidationOptionsException extends ACMServiceException {
413
+ };
414
+ let InvalidDomainValidationOptionsException$1 = class InvalidDomainValidationOptionsException extends ACMServiceException$1 {
415
415
  name = "InvalidDomainValidationOptionsException";
416
416
  $fault = "client";
417
417
  constructor(opts) {
@@ -422,8 +422,8 @@ class InvalidDomainValidationOptionsException extends ACMServiceException {
422
422
  });
423
423
  Object.setPrototypeOf(this, InvalidDomainValidationOptionsException.prototype);
424
424
  }
425
- }
426
- class InvalidStateException extends ACMServiceException {
425
+ };
426
+ let InvalidStateException$1 = class InvalidStateException extends ACMServiceException$1 {
427
427
  name = "InvalidStateException";
428
428
  $fault = "client";
429
429
  constructor(opts) {
@@ -434,650 +434,661 @@ class InvalidStateException extends ACMServiceException {
434
434
  });
435
435
  Object.setPrototypeOf(this, InvalidStateException.prototype);
436
436
  }
437
- }
438
- const ExportCertificateRequestFilterSensitiveLog = (obj) => ({
439
- ...obj,
440
- ...(obj.Passphrase && { Passphrase: smithyClient.SENSITIVE_STRING }),
441
- });
442
- const ExportCertificateResponseFilterSensitiveLog = (obj) => ({
443
- ...obj,
444
- ...(obj.PrivateKey && { PrivateKey: smithyClient.SENSITIVE_STRING }),
445
- });
446
- const ImportCertificateRequestFilterSensitiveLog = (obj) => ({
447
- ...obj,
448
- ...(obj.PrivateKey && { PrivateKey: smithyClient.SENSITIVE_STRING }),
449
- });
450
-
451
- const se_AddTagsToCertificateCommand = async (input, context) => {
452
- const headers = sharedHeaders("AddTagsToCertificate");
453
- let body;
454
- body = JSON.stringify(smithyClient._json(input));
455
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
456
- };
457
- const se_DeleteCertificateCommand = async (input, context) => {
458
- const headers = sharedHeaders("DeleteCertificate");
459
- let body;
460
- body = JSON.stringify(smithyClient._json(input));
461
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
462
- };
463
- const se_DescribeCertificateCommand = async (input, context) => {
464
- const headers = sharedHeaders("DescribeCertificate");
465
- let body;
466
- body = JSON.stringify(smithyClient._json(input));
467
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
468
- };
469
- const se_ExportCertificateCommand = async (input, context) => {
470
- const headers = sharedHeaders("ExportCertificate");
471
- let body;
472
- body = JSON.stringify(se_ExportCertificateRequest(input, context));
473
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
474
- };
475
- const se_GetAccountConfigurationCommand = async (input, context) => {
476
- const headers = sharedHeaders("GetAccountConfiguration");
477
- const body = "{}";
478
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
479
- };
480
- const se_GetCertificateCommand = async (input, context) => {
481
- const headers = sharedHeaders("GetCertificate");
482
- let body;
483
- body = JSON.stringify(smithyClient._json(input));
484
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
485
- };
486
- const se_ImportCertificateCommand = async (input, context) => {
487
- const headers = sharedHeaders("ImportCertificate");
488
- let body;
489
- body = JSON.stringify(se_ImportCertificateRequest(input, context));
490
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
491
- };
492
- const se_ListCertificatesCommand = async (input, context) => {
493
- const headers = sharedHeaders("ListCertificates");
494
- let body;
495
- body = JSON.stringify(smithyClient._json(input));
496
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
497
- };
498
- const se_ListTagsForCertificateCommand = async (input, context) => {
499
- const headers = sharedHeaders("ListTagsForCertificate");
500
- let body;
501
- body = JSON.stringify(smithyClient._json(input));
502
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
503
- };
504
- const se_PutAccountConfigurationCommand = async (input, context) => {
505
- const headers = sharedHeaders("PutAccountConfiguration");
506
- let body;
507
- body = JSON.stringify(smithyClient._json(input));
508
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
509
- };
510
- const se_RemoveTagsFromCertificateCommand = async (input, context) => {
511
- const headers = sharedHeaders("RemoveTagsFromCertificate");
512
- let body;
513
- body = JSON.stringify(smithyClient._json(input));
514
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
515
- };
516
- const se_RenewCertificateCommand = async (input, context) => {
517
- const headers = sharedHeaders("RenewCertificate");
518
- let body;
519
- body = JSON.stringify(smithyClient._json(input));
520
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
521
- };
522
- const se_RequestCertificateCommand = async (input, context) => {
523
- const headers = sharedHeaders("RequestCertificate");
524
- let body;
525
- body = JSON.stringify(smithyClient._json(input));
526
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
527
- };
528
- const se_ResendValidationEmailCommand = async (input, context) => {
529
- const headers = sharedHeaders("ResendValidationEmail");
530
- let body;
531
- body = JSON.stringify(smithyClient._json(input));
532
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
533
- };
534
- const se_RevokeCertificateCommand = async (input, context) => {
535
- const headers = sharedHeaders("RevokeCertificate");
536
- let body;
537
- body = JSON.stringify(smithyClient._json(input));
538
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
539
- };
540
- const se_UpdateCertificateOptionsCommand = async (input, context) => {
541
- const headers = sharedHeaders("UpdateCertificateOptions");
542
- let body;
543
- body = JSON.stringify(smithyClient._json(input));
544
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
545
- };
546
- const de_AddTagsToCertificateCommand = async (output, context) => {
547
- if (output.statusCode >= 300) {
548
- return de_CommandError(output, context);
549
- }
550
- await smithyClient.collectBody(output.body, context);
551
- const response = {
552
- $metadata: deserializeMetadata(output),
553
- };
554
- return response;
555
- };
556
- const de_DeleteCertificateCommand = async (output, context) => {
557
- if (output.statusCode >= 300) {
558
- return de_CommandError(output, context);
559
- }
560
- await smithyClient.collectBody(output.body, context);
561
- const response = {
562
- $metadata: deserializeMetadata(output),
563
- };
564
- return response;
565
- };
566
- const de_DescribeCertificateCommand = async (output, context) => {
567
- if (output.statusCode >= 300) {
568
- return de_CommandError(output, context);
569
- }
570
- const data = await core$1.parseJsonBody(output.body, context);
571
- let contents = {};
572
- contents = de_DescribeCertificateResponse(data);
573
- const response = {
574
- $metadata: deserializeMetadata(output),
575
- ...contents,
576
- };
577
- return response;
578
- };
579
- const de_ExportCertificateCommand = async (output, context) => {
580
- if (output.statusCode >= 300) {
581
- return de_CommandError(output, context);
582
- }
583
- const data = await core$1.parseJsonBody(output.body, context);
584
- let contents = {};
585
- contents = smithyClient._json(data);
586
- const response = {
587
- $metadata: deserializeMetadata(output),
588
- ...contents,
589
- };
590
- return response;
591
- };
592
- const de_GetAccountConfigurationCommand = async (output, context) => {
593
- if (output.statusCode >= 300) {
594
- return de_CommandError(output, context);
595
- }
596
- const data = await core$1.parseJsonBody(output.body, context);
597
- let contents = {};
598
- contents = smithyClient._json(data);
599
- const response = {
600
- $metadata: deserializeMetadata(output),
601
- ...contents,
602
- };
603
- return response;
604
- };
605
- const de_GetCertificateCommand = async (output, context) => {
606
- if (output.statusCode >= 300) {
607
- return de_CommandError(output, context);
608
- }
609
- const data = await core$1.parseJsonBody(output.body, context);
610
- let contents = {};
611
- contents = smithyClient._json(data);
612
- const response = {
613
- $metadata: deserializeMetadata(output),
614
- ...contents,
615
- };
616
- return response;
617
437
  };
618
- const de_ImportCertificateCommand = async (output, context) => {
619
- if (output.statusCode >= 300) {
620
- return de_CommandError(output, context);
621
- }
622
- const data = await core$1.parseJsonBody(output.body, context);
623
- let contents = {};
624
- contents = smithyClient._json(data);
625
- const response = {
626
- $metadata: deserializeMetadata(output),
627
- ...contents,
628
- };
629
- return response;
630
- };
631
- const de_ListCertificatesCommand = async (output, context) => {
632
- if (output.statusCode >= 300) {
633
- return de_CommandError(output, context);
634
- }
635
- const data = await core$1.parseJsonBody(output.body, context);
636
- let contents = {};
637
- contents = de_ListCertificatesResponse(data);
638
- const response = {
639
- $metadata: deserializeMetadata(output),
640
- ...contents,
641
- };
642
- return response;
643
- };
644
- const de_ListTagsForCertificateCommand = async (output, context) => {
645
- if (output.statusCode >= 300) {
646
- return de_CommandError(output, context);
647
- }
648
- const data = await core$1.parseJsonBody(output.body, context);
649
- let contents = {};
650
- contents = smithyClient._json(data);
651
- const response = {
652
- $metadata: deserializeMetadata(output),
653
- ...contents,
654
- };
655
- return response;
656
- };
657
- const de_PutAccountConfigurationCommand = async (output, context) => {
658
- if (output.statusCode >= 300) {
659
- return de_CommandError(output, context);
660
- }
661
- await smithyClient.collectBody(output.body, context);
662
- const response = {
663
- $metadata: deserializeMetadata(output),
664
- };
665
- return response;
666
- };
667
- const de_RemoveTagsFromCertificateCommand = async (output, context) => {
668
- if (output.statusCode >= 300) {
669
- return de_CommandError(output, context);
670
- }
671
- await smithyClient.collectBody(output.body, context);
672
- const response = {
673
- $metadata: deserializeMetadata(output),
674
- };
675
- return response;
676
- };
677
- const de_RenewCertificateCommand = async (output, context) => {
678
- if (output.statusCode >= 300) {
679
- return de_CommandError(output, context);
680
- }
681
- await smithyClient.collectBody(output.body, context);
682
- const response = {
683
- $metadata: deserializeMetadata(output),
684
- };
685
- return response;
686
- };
687
- const de_RequestCertificateCommand = async (output, context) => {
688
- if (output.statusCode >= 300) {
689
- return de_CommandError(output, context);
690
- }
691
- const data = await core$1.parseJsonBody(output.body, context);
692
- let contents = {};
693
- contents = smithyClient._json(data);
694
- const response = {
695
- $metadata: deserializeMetadata(output),
696
- ...contents,
697
- };
698
- return response;
699
- };
700
- const de_ResendValidationEmailCommand = async (output, context) => {
701
- if (output.statusCode >= 300) {
702
- return de_CommandError(output, context);
703
- }
704
- await smithyClient.collectBody(output.body, context);
705
- const response = {
706
- $metadata: deserializeMetadata(output),
707
- };
708
- return response;
709
- };
710
- const de_RevokeCertificateCommand = async (output, context) => {
711
- if (output.statusCode >= 300) {
712
- return de_CommandError(output, context);
713
- }
714
- const data = await core$1.parseJsonBody(output.body, context);
715
- let contents = {};
716
- contents = smithyClient._json(data);
717
- const response = {
718
- $metadata: deserializeMetadata(output),
719
- ...contents,
720
- };
721
- return response;
722
- };
723
- const de_UpdateCertificateOptionsCommand = async (output, context) => {
724
- if (output.statusCode >= 300) {
725
- return de_CommandError(output, context);
726
- }
727
- await smithyClient.collectBody(output.body, context);
728
- const response = {
729
- $metadata: deserializeMetadata(output),
730
- };
731
- return response;
732
- };
733
- const de_CommandError = async (output, context) => {
734
- const parsedOutput = {
735
- ...output,
736
- body: await core$1.parseJsonErrorBody(output.body, context),
737
- };
738
- const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
739
- switch (errorCode) {
740
- case "InvalidArnException":
741
- case "com.amazonaws.acm#InvalidArnException":
742
- throw await de_InvalidArnExceptionRes(parsedOutput);
743
- case "InvalidParameterException":
744
- case "com.amazonaws.acm#InvalidParameterException":
745
- throw await de_InvalidParameterExceptionRes(parsedOutput);
746
- case "InvalidTagException":
747
- case "com.amazonaws.acm#InvalidTagException":
748
- throw await de_InvalidTagExceptionRes(parsedOutput);
749
- case "ResourceNotFoundException":
750
- case "com.amazonaws.acm#ResourceNotFoundException":
751
- throw await de_ResourceNotFoundExceptionRes(parsedOutput);
752
- case "TagPolicyException":
753
- case "com.amazonaws.acm#TagPolicyException":
754
- throw await de_TagPolicyExceptionRes(parsedOutput);
755
- case "ThrottlingException":
756
- case "com.amazonaws.acm#ThrottlingException":
757
- throw await de_ThrottlingExceptionRes(parsedOutput);
758
- case "TooManyTagsException":
759
- case "com.amazonaws.acm#TooManyTagsException":
760
- throw await de_TooManyTagsExceptionRes(parsedOutput);
761
- case "AccessDeniedException":
762
- case "com.amazonaws.acm#AccessDeniedException":
763
- throw await de_AccessDeniedExceptionRes(parsedOutput);
764
- case "ConflictException":
765
- case "com.amazonaws.acm#ConflictException":
766
- throw await de_ConflictExceptionRes(parsedOutput);
767
- case "ResourceInUseException":
768
- case "com.amazonaws.acm#ResourceInUseException":
769
- throw await de_ResourceInUseExceptionRes(parsedOutput);
770
- case "RequestInProgressException":
771
- case "com.amazonaws.acm#RequestInProgressException":
772
- throw await de_RequestInProgressExceptionRes(parsedOutput);
773
- case "LimitExceededException":
774
- case "com.amazonaws.acm#LimitExceededException":
775
- throw await de_LimitExceededExceptionRes(parsedOutput);
776
- case "InvalidArgsException":
777
- case "com.amazonaws.acm#InvalidArgsException":
778
- throw await de_InvalidArgsExceptionRes(parsedOutput);
779
- case "ValidationException":
780
- case "com.amazonaws.acm#ValidationException":
781
- throw await de_ValidationExceptionRes(parsedOutput);
782
- case "InvalidDomainValidationOptionsException":
783
- case "com.amazonaws.acm#InvalidDomainValidationOptionsException":
784
- throw await de_InvalidDomainValidationOptionsExceptionRes(parsedOutput);
785
- case "InvalidStateException":
786
- case "com.amazonaws.acm#InvalidStateException":
787
- throw await de_InvalidStateExceptionRes(parsedOutput);
788
- default:
789
- const parsedBody = parsedOutput.body;
790
- return throwDefaultError({
791
- output,
792
- parsedBody,
793
- errorCode,
794
- });
795
- }
796
- };
797
- const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
798
- const body = parsedOutput.body;
799
- const deserialized = smithyClient._json(body);
800
- const exception = new AccessDeniedException({
801
- $metadata: deserializeMetadata(parsedOutput),
802
- ...deserialized,
803
- });
804
- return smithyClient.decorateServiceException(exception, body);
805
- };
806
- const de_ConflictExceptionRes = async (parsedOutput, context) => {
807
- const body = parsedOutput.body;
808
- const deserialized = smithyClient._json(body);
809
- const exception = new ConflictException({
810
- $metadata: deserializeMetadata(parsedOutput),
811
- ...deserialized,
812
- });
813
- return smithyClient.decorateServiceException(exception, body);
814
- };
815
- const de_InvalidArgsExceptionRes = async (parsedOutput, context) => {
816
- const body = parsedOutput.body;
817
- const deserialized = smithyClient._json(body);
818
- const exception = new InvalidArgsException({
819
- $metadata: deserializeMetadata(parsedOutput),
820
- ...deserialized,
821
- });
822
- return smithyClient.decorateServiceException(exception, body);
823
- };
824
- const de_InvalidArnExceptionRes = async (parsedOutput, context) => {
825
- const body = parsedOutput.body;
826
- const deserialized = smithyClient._json(body);
827
- const exception = new InvalidArnException({
828
- $metadata: deserializeMetadata(parsedOutput),
829
- ...deserialized,
830
- });
831
- return smithyClient.decorateServiceException(exception, body);
832
- };
833
- const de_InvalidDomainValidationOptionsExceptionRes = async (parsedOutput, context) => {
834
- const body = parsedOutput.body;
835
- const deserialized = smithyClient._json(body);
836
- const exception = new InvalidDomainValidationOptionsException({
837
- $metadata: deserializeMetadata(parsedOutput),
838
- ...deserialized,
839
- });
840
- return smithyClient.decorateServiceException(exception, body);
841
- };
842
- const de_InvalidParameterExceptionRes = async (parsedOutput, context) => {
843
- const body = parsedOutput.body;
844
- const deserialized = smithyClient._json(body);
845
- const exception = new InvalidParameterException({
846
- $metadata: deserializeMetadata(parsedOutput),
847
- ...deserialized,
848
- });
849
- return smithyClient.decorateServiceException(exception, body);
850
- };
851
- const de_InvalidStateExceptionRes = async (parsedOutput, context) => {
852
- const body = parsedOutput.body;
853
- const deserialized = smithyClient._json(body);
854
- const exception = new InvalidStateException({
855
- $metadata: deserializeMetadata(parsedOutput),
856
- ...deserialized,
857
- });
858
- return smithyClient.decorateServiceException(exception, body);
859
- };
860
- const de_InvalidTagExceptionRes = async (parsedOutput, context) => {
861
- const body = parsedOutput.body;
862
- const deserialized = smithyClient._json(body);
863
- const exception = new InvalidTagException({
864
- $metadata: deserializeMetadata(parsedOutput),
865
- ...deserialized,
866
- });
867
- return smithyClient.decorateServiceException(exception, body);
868
- };
869
- const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
870
- const body = parsedOutput.body;
871
- const deserialized = smithyClient._json(body);
872
- const exception = new LimitExceededException({
873
- $metadata: deserializeMetadata(parsedOutput),
874
- ...deserialized,
875
- });
876
- return smithyClient.decorateServiceException(exception, body);
877
- };
878
- const de_RequestInProgressExceptionRes = async (parsedOutput, context) => {
879
- const body = parsedOutput.body;
880
- const deserialized = smithyClient._json(body);
881
- const exception = new RequestInProgressException({
882
- $metadata: deserializeMetadata(parsedOutput),
883
- ...deserialized,
884
- });
885
- return smithyClient.decorateServiceException(exception, body);
886
- };
887
- const de_ResourceInUseExceptionRes = async (parsedOutput, context) => {
888
- const body = parsedOutput.body;
889
- const deserialized = smithyClient._json(body);
890
- const exception = new ResourceInUseException({
891
- $metadata: deserializeMetadata(parsedOutput),
892
- ...deserialized,
893
- });
894
- return smithyClient.decorateServiceException(exception, body);
895
- };
896
- const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
897
- const body = parsedOutput.body;
898
- const deserialized = smithyClient._json(body);
899
- const exception = new ResourceNotFoundException({
900
- $metadata: deserializeMetadata(parsedOutput),
901
- ...deserialized,
902
- });
903
- return smithyClient.decorateServiceException(exception, body);
904
- };
905
- const de_TagPolicyExceptionRes = async (parsedOutput, context) => {
906
- const body = parsedOutput.body;
907
- const deserialized = smithyClient._json(body);
908
- const exception = new TagPolicyException({
909
- $metadata: deserializeMetadata(parsedOutput),
910
- ...deserialized,
911
- });
912
- return smithyClient.decorateServiceException(exception, body);
913
- };
914
- const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
915
- const body = parsedOutput.body;
916
- const deserialized = smithyClient._json(body);
917
- const exception = new ThrottlingException({
918
- $metadata: deserializeMetadata(parsedOutput),
919
- ...deserialized,
920
- });
921
- return smithyClient.decorateServiceException(exception, body);
922
- };
923
- const de_TooManyTagsExceptionRes = async (parsedOutput, context) => {
924
- const body = parsedOutput.body;
925
- const deserialized = smithyClient._json(body);
926
- const exception = new TooManyTagsException({
927
- $metadata: deserializeMetadata(parsedOutput),
928
- ...deserialized,
929
- });
930
- return smithyClient.decorateServiceException(exception, body);
931
- };
932
- const de_ValidationExceptionRes = async (parsedOutput, context) => {
933
- const body = parsedOutput.body;
934
- const deserialized = smithyClient._json(body);
935
- const exception = new ValidationException({
936
- $metadata: deserializeMetadata(parsedOutput),
937
- ...deserialized,
938
- });
939
- return smithyClient.decorateServiceException(exception, body);
940
- };
941
- const se_ExportCertificateRequest = (input, context) => {
942
- return smithyClient.take(input, {
943
- CertificateArn: [],
944
- Passphrase: context.base64Encoder,
945
- });
946
- };
947
- const se_ImportCertificateRequest = (input, context) => {
948
- return smithyClient.take(input, {
949
- Certificate: context.base64Encoder,
950
- CertificateArn: [],
951
- CertificateChain: context.base64Encoder,
952
- PrivateKey: context.base64Encoder,
953
- Tags: smithyClient._json,
954
- });
955
- };
956
- const de_CertificateDetail = (output, context) => {
957
- return smithyClient.take(output, {
958
- CertificateArn: smithyClient.expectString,
959
- CertificateAuthorityArn: smithyClient.expectString,
960
- CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
961
- DomainName: smithyClient.expectString,
962
- DomainValidationOptions: smithyClient._json,
963
- ExtendedKeyUsages: smithyClient._json,
964
- FailureReason: smithyClient.expectString,
965
- ImportedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
966
- InUseBy: smithyClient._json,
967
- IssuedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
968
- Issuer: smithyClient.expectString,
969
- KeyAlgorithm: smithyClient.expectString,
970
- KeyUsages: smithyClient._json,
971
- ManagedBy: smithyClient.expectString,
972
- NotAfter: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
973
- NotBefore: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
974
- Options: smithyClient._json,
975
- RenewalEligibility: smithyClient.expectString,
976
- RenewalSummary: (_) => de_RenewalSummary(_),
977
- RevocationReason: smithyClient.expectString,
978
- RevokedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
979
- Serial: smithyClient.expectString,
980
- SignatureAlgorithm: smithyClient.expectString,
981
- Status: smithyClient.expectString,
982
- Subject: smithyClient.expectString,
983
- SubjectAlternativeNames: smithyClient._json,
984
- Type: smithyClient.expectString,
985
- });
986
- };
987
- const de_CertificateSummary = (output, context) => {
988
- return smithyClient.take(output, {
989
- CertificateArn: smithyClient.expectString,
990
- CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
991
- DomainName: smithyClient.expectString,
992
- ExportOption: smithyClient.expectString,
993
- Exported: smithyClient.expectBoolean,
994
- ExtendedKeyUsages: smithyClient._json,
995
- HasAdditionalSubjectAlternativeNames: smithyClient.expectBoolean,
996
- ImportedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
997
- InUse: smithyClient.expectBoolean,
998
- IssuedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
999
- KeyAlgorithm: smithyClient.expectString,
1000
- KeyUsages: smithyClient._json,
1001
- ManagedBy: smithyClient.expectString,
1002
- NotAfter: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1003
- NotBefore: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1004
- RenewalEligibility: smithyClient.expectString,
1005
- RevokedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1006
- Status: smithyClient.expectString,
1007
- SubjectAlternativeNameSummaries: smithyClient._json,
1008
- Type: smithyClient.expectString,
1009
- });
1010
- };
1011
- const de_CertificateSummaryList = (output, context) => {
1012
- const retVal = (output || [])
1013
- .filter((e) => e != null)
1014
- .map((entry) => {
1015
- return de_CertificateSummary(entry);
1016
- });
1017
- return retVal;
1018
- };
1019
- const de_DescribeCertificateResponse = (output, context) => {
1020
- return smithyClient.take(output, {
1021
- Certificate: (_) => de_CertificateDetail(_),
1022
- });
1023
- };
1024
- const de_ListCertificatesResponse = (output, context) => {
1025
- return smithyClient.take(output, {
1026
- CertificateSummaryList: (_) => de_CertificateSummaryList(_),
1027
- NextToken: smithyClient.expectString,
1028
- });
1029
- };
1030
- const de_RenewalSummary = (output, context) => {
1031
- return smithyClient.take(output, {
1032
- DomainValidationOptions: smithyClient._json,
1033
- RenewalStatus: smithyClient.expectString,
1034
- RenewalStatusReason: smithyClient.expectString,
1035
- UpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1036
- });
1037
- };
1038
- const deserializeMetadata = (output) => ({
1039
- httpStatusCode: output.statusCode,
1040
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1041
- extendedRequestId: output.headers["x-amz-id-2"],
1042
- cfId: output.headers["x-amz-cf-id"],
1043
- });
1044
- const throwDefaultError = smithyClient.withBaseException(ACMServiceException);
1045
- const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
1046
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1047
- const contents = {
1048
- protocol,
1049
- hostname,
1050
- port,
1051
- method: "POST",
1052
- path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
1053
- headers,
1054
- };
1055
- if (body !== undefined) {
1056
- contents.body = body;
1057
- }
1058
- return new protocolHttp.HttpRequest(contents);
1059
- };
1060
- function sharedHeaders(operation) {
1061
- return {
1062
- "content-type": "application/x-amz-json-1.1",
1063
- "x-amz-target": `CertificateManager.${operation}`,
1064
- };
1065
- }
438
+
439
+ const _ADE = "AccessDeniedException";
440
+ const _ATTC = "AddTagsToCertificate";
441
+ const _ATTCR = "AddTagsToCertificateRequest";
442
+ const _C = "Certificate";
443
+ const _CA = "CertificateArn";
444
+ const _CAA = "CertificateAuthorityArn";
445
+ const _CAr = "CreatedAt";
446
+ const _CC = "CertificateChain";
447
+ const _CD = "CertificateDetail";
448
+ const _CE = "ConflictException";
449
+ const _CO = "CertificateOptions";
450
+ const _CS = "CertificateSummary";
451
+ const _CSL = "CertificateSummaryList";
452
+ const _CSe = "CertificateStatuses";
453
+ const _CTLP = "CertificateTransparencyLoggingPreference";
454
+ const _D = "Domain";
455
+ const _DBE = "DaysBeforeExpiry";
456
+ const _DC = "DeleteCertificate";
457
+ const _DCR = "DeleteCertificateRequest";
458
+ const _DCRe = "DescribeCertificateRequest";
459
+ const _DCRes = "DescribeCertificateResponse";
460
+ const _DCe = "DescribeCertificate";
461
+ const _DN = "DomainName";
462
+ const _DV = "DomainValidation";
463
+ const _DVL = "DomainValidationList";
464
+ const _DVO = "DomainValidationOptions";
465
+ const _DVOL = "DomainValidationOptionList";
466
+ const _DVOo = "DomainValidationOption";
467
+ const _E = "Export";
468
+ const _EC = "ExportCertificate";
469
+ const _ECR = "ExportCertificateRequest";
470
+ const _ECRx = "ExportCertificateResponse";
471
+ const _EE = "ExpiryEvents";
472
+ const _EEC = "ExpiryEventsConfiguration";
473
+ const _EKU = "ExtendedKeyUsages";
474
+ const _EKUL = "ExtendedKeyUsageList";
475
+ const _EKUx = "ExtendedKeyUsage";
476
+ const _EO = "ExportOption";
477
+ const _Ex = "Exported";
478
+ const _F = "Filters";
479
+ const _FR = "FailureReason";
480
+ const _GAC = "GetAccountConfiguration";
481
+ const _GACR = "GetAccountConfigurationResponse";
482
+ const _GC = "GetCertificate";
483
+ const _GCR = "GetCertificateRequest";
484
+ const _GCRe = "GetCertificateResponse";
485
+ const _HASAN = "HasAdditionalSubjectAlternativeNames";
486
+ const _HR = "HttpRedirect";
487
+ const _I = "Issuer";
488
+ const _IA = "IssuedAt";
489
+ const _IAE = "InvalidArgsException";
490
+ const _IAEn = "InvalidArnException";
491
+ const _IAm = "ImportedAt";
492
+ const _IC = "ImportCertificate";
493
+ const _ICR = "ImportCertificateRequest";
494
+ const _ICRm = "ImportCertificateResponse";
495
+ const _IDVOE = "InvalidDomainValidationOptionsException";
496
+ const _IPE = "InvalidParameterException";
497
+ const _ISE = "InvalidStateException";
498
+ const _IT = "IdempotencyToken";
499
+ const _ITE = "InvalidTagException";
500
+ const _IU = "InUse";
501
+ const _IUB = "InUseBy";
502
+ const _In = "Includes";
503
+ const _K = "Key";
504
+ const _KA = "KeyAlgorithm";
505
+ const _KU = "KeyUsages";
506
+ const _KUL = "KeyUsageList";
507
+ const _KUe = "KeyUsage";
508
+ const _LC = "ListCertificates";
509
+ const _LCR = "ListCertificatesRequest";
510
+ const _LCRi = "ListCertificatesResponse";
511
+ const _LEE = "LimitExceededException";
512
+ const _LTFC = "ListTagsForCertificate";
513
+ const _LTFCR = "ListTagsForCertificateRequest";
514
+ const _LTFCRi = "ListTagsForCertificateResponse";
515
+ const _M = "Message";
516
+ const _MB = "ManagedBy";
517
+ const _MI = "MaxItems";
518
+ const _N = "Name";
519
+ const _NA = "NotAfter";
520
+ const _NB = "NotBefore";
521
+ const _NT = "NextToken";
522
+ const _O = "Options";
523
+ const _OID = "OID";
524
+ const _P = "Passphrase";
525
+ const _PAC = "PutAccountConfiguration";
526
+ const _PACR = "PutAccountConfigurationRequest";
527
+ const _PB = "PassphraseBlob";
528
+ const _PK = "PrivateKey";
529
+ const _PKB = "PrivateKeyBlob";
530
+ const _RA = "RevokedAt";
531
+ const _RC = "RenewCertificate";
532
+ const _RCR = "RenewCertificateRequest";
533
+ const _RCRe = "RequestCertificateRequest";
534
+ const _RCReq = "RequestCertificateResponse";
535
+ const _RCRev = "RevokeCertificateRequest";
536
+ const _RCRevo = "RevokeCertificateResponse";
537
+ const _RCe = "RequestCertificate";
538
+ const _RCev = "RevokeCertificate";
539
+ const _RE = "RenewalEligibility";
540
+ const _RF = "RedirectFrom";
541
+ const _RIPE = "RequestInProgressException";
542
+ const _RIUE = "ResourceInUseException";
543
+ const _RNFE = "ResourceNotFoundException";
544
+ const _RR = "RevocationReason";
545
+ const _RRe = "ResourceRecord";
546
+ const _RS = "RenewalSummary";
547
+ const _RSR = "RenewalStatusReason";
548
+ const _RSe = "RenewalStatus";
549
+ const _RT = "RedirectTo";
550
+ const _RTFC = "RemoveTagsFromCertificate";
551
+ const _RTFCR = "RemoveTagsFromCertificateRequest";
552
+ const _RVE = "ResendValidationEmail";
553
+ const _RVER = "ResendValidationEmailRequest";
554
+ const _S = "Serial";
555
+ const _SA = "SignatureAlgorithm";
556
+ const _SAN = "SubjectAlternativeNames";
557
+ const _SANS = "SubjectAlternativeNameSummaries";
558
+ const _SB = "SortBy";
559
+ const _SO = "SortOrder";
560
+ const _St = "Status";
561
+ const _Su = "Subject";
562
+ const _T = "Tags";
563
+ const _TE = "ThrottlingException";
564
+ const _TL = "TagList";
565
+ const _TMTE = "TooManyTagsException";
566
+ const _TPE = "TagPolicyException";
567
+ const _Ta = "Tag";
568
+ const _Ty = "Type";
569
+ const _UA = "UpdatedAt";
570
+ const _UCO = "UpdateCertificateOptions";
571
+ const _UCOR = "UpdateCertificateOptionsRequest";
572
+ const _V = "Value";
573
+ const _VD = "ValidationDomain";
574
+ const _VE = "ValidationEmails";
575
+ const _VEa = "ValidationException";
576
+ const _VM = "ValidationMethod";
577
+ const _VS = "ValidationStatus";
578
+ const _aQE = "awsQueryError";
579
+ const _c = "client";
580
+ const _e = "error";
581
+ const _eKU = "extendedKeyUsage";
582
+ const _eO = "exportOption";
583
+ const _hE = "httpError";
584
+ const _kT = "keyTypes";
585
+ const _kU = "keyUsage";
586
+ const _m = "message";
587
+ const _mB = "managedBy";
588
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.acm";
589
+ const n0 = "com.amazonaws.acm";
590
+ var PassphraseBlob = [0, n0, _PB, 8, 21];
591
+ var PrivateKey = [0, n0, _PK, 8, 0];
592
+ var PrivateKeyBlob = [0, n0, _PKB, 8, 21];
593
+ var AccessDeniedException = [
594
+ -3,
595
+ n0,
596
+ _ADE,
597
+ {
598
+ [_e]: _c,
599
+ [_hE]: 403,
600
+ [_aQE]: [`AccessDenied`, 403],
601
+ },
602
+ [_M],
603
+ [0],
604
+ ];
605
+ schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
606
+ var AddTagsToCertificateRequest = [3, n0, _ATTCR, 0, [_CA, _T], [0, () => TagList]];
607
+ var CertificateDetail = [
608
+ 3,
609
+ n0,
610
+ _CD,
611
+ 0,
612
+ [
613
+ _CA,
614
+ _DN,
615
+ _SAN,
616
+ _MB,
617
+ _DVO,
618
+ _S,
619
+ _Su,
620
+ _I,
621
+ _CAr,
622
+ _IA,
623
+ _IAm,
624
+ _St,
625
+ _RA,
626
+ _RR,
627
+ _NB,
628
+ _NA,
629
+ _KA,
630
+ _SA,
631
+ _IUB,
632
+ _FR,
633
+ _Ty,
634
+ _RS,
635
+ _KU,
636
+ _EKU,
637
+ _CAA,
638
+ _RE,
639
+ _O,
640
+ ],
641
+ [
642
+ 0,
643
+ 0,
644
+ 64 | 0,
645
+ 0,
646
+ () => DomainValidationList,
647
+ 0,
648
+ 0,
649
+ 0,
650
+ 4,
651
+ 4,
652
+ 4,
653
+ 0,
654
+ 4,
655
+ 0,
656
+ 4,
657
+ 4,
658
+ 0,
659
+ 0,
660
+ 64 | 0,
661
+ 0,
662
+ 0,
663
+ () => RenewalSummary,
664
+ () => KeyUsageList,
665
+ () => ExtendedKeyUsageList,
666
+ 0,
667
+ 0,
668
+ () => CertificateOptions,
669
+ ],
670
+ ];
671
+ var CertificateOptions = [3, n0, _CO, 0, [_CTLP, _E], [0, 0]];
672
+ var CertificateSummary = [
673
+ 3,
674
+ n0,
675
+ _CS,
676
+ 0,
677
+ [_CA, _DN, _SANS, _HASAN, _St, _Ty, _KA, _KU, _EKU, _EO, _IU, _Ex, _RE, _NB, _NA, _CAr, _IA, _IAm, _RA, _MB],
678
+ [0, 0, 64 | 0, 2, 0, 0, 0, 64 | 0, 64 | 0, 0, 2, 2, 0, 4, 4, 4, 4, 4, 4, 0],
679
+ ];
680
+ var ConflictException = [
681
+ -3,
682
+ n0,
683
+ _CE,
684
+ {
685
+ [_e]: _c,
686
+ },
687
+ [_m],
688
+ [0],
689
+ ];
690
+ schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
691
+ var DeleteCertificateRequest = [3, n0, _DCR, 0, [_CA], [0]];
692
+ var DescribeCertificateRequest = [3, n0, _DCRe, 0, [_CA], [0]];
693
+ var DescribeCertificateResponse = [3, n0, _DCRes, 0, [_C], [() => CertificateDetail]];
694
+ var DomainValidation = [
695
+ 3,
696
+ n0,
697
+ _DV,
698
+ 0,
699
+ [_DN, _VE, _VD, _VS, _RRe, _HR, _VM],
700
+ [0, 64 | 0, 0, 0, () => ResourceRecord, () => HttpRedirect, 0],
701
+ ];
702
+ var DomainValidationOption = [3, n0, _DVOo, 0, [_DN, _VD], [0, 0]];
703
+ var ExpiryEventsConfiguration = [3, n0, _EEC, 0, [_DBE], [1]];
704
+ var ExportCertificateRequest = [
705
+ 3,
706
+ n0,
707
+ _ECR,
708
+ 0,
709
+ [_CA, _P],
710
+ [0, [() => PassphraseBlob, 0]],
711
+ ];
712
+ var ExportCertificateResponse = [
713
+ 3,
714
+ n0,
715
+ _ECRx,
716
+ 0,
717
+ [_C, _CC, _PK],
718
+ [0, 0, [() => PrivateKey, 0]],
719
+ ];
720
+ var ExtendedKeyUsage = [3, n0, _EKUx, 0, [_N, _OID], [0, 0]];
721
+ var Filters = [3, n0, _F, 0, [_eKU, _kU, _kT, _eO, _mB], [64 | 0, 64 | 0, 64 | 0, 0, 0]];
722
+ var GetAccountConfigurationResponse = [
723
+ 3,
724
+ n0,
725
+ _GACR,
726
+ 0,
727
+ [_EE],
728
+ [() => ExpiryEventsConfiguration],
729
+ ];
730
+ var GetCertificateRequest = [3, n0, _GCR, 0, [_CA], [0]];
731
+ var GetCertificateResponse = [3, n0, _GCRe, 0, [_C, _CC], [0, 0]];
732
+ var HttpRedirect = [3, n0, _HR, 0, [_RF, _RT], [0, 0]];
733
+ var ImportCertificateRequest = [
734
+ 3,
735
+ n0,
736
+ _ICR,
737
+ 0,
738
+ [_CA, _C, _PK, _CC, _T],
739
+ [0, 21, [() => PrivateKeyBlob, 0], 21, () => TagList],
740
+ ];
741
+ var ImportCertificateResponse = [3, n0, _ICRm, 0, [_CA], [0]];
742
+ var InvalidArgsException = [
743
+ -3,
744
+ n0,
745
+ _IAE,
746
+ {
747
+ [_e]: _c,
748
+ },
749
+ [_m],
750
+ [0],
751
+ ];
752
+ schema.TypeRegistry.for(n0).registerError(InvalidArgsException, InvalidArgsException$1);
753
+ var InvalidArnException = [
754
+ -3,
755
+ n0,
756
+ _IAEn,
757
+ {
758
+ [_e]: _c,
759
+ },
760
+ [_m],
761
+ [0],
762
+ ];
763
+ schema.TypeRegistry.for(n0).registerError(InvalidArnException, InvalidArnException$1);
764
+ var InvalidDomainValidationOptionsException = [
765
+ -3,
766
+ n0,
767
+ _IDVOE,
768
+ {
769
+ [_e]: _c,
770
+ },
771
+ [_m],
772
+ [0],
773
+ ];
774
+ schema.TypeRegistry.for(n0).registerError(InvalidDomainValidationOptionsException, InvalidDomainValidationOptionsException$1);
775
+ var InvalidParameterException = [
776
+ -3,
777
+ n0,
778
+ _IPE,
779
+ {
780
+ [_e]: _c,
781
+ },
782
+ [_m],
783
+ [0],
784
+ ];
785
+ schema.TypeRegistry.for(n0).registerError(InvalidParameterException, InvalidParameterException$1);
786
+ var InvalidStateException = [
787
+ -3,
788
+ n0,
789
+ _ISE,
790
+ {
791
+ [_e]: _c,
792
+ },
793
+ [_m],
794
+ [0],
795
+ ];
796
+ schema.TypeRegistry.for(n0).registerError(InvalidStateException, InvalidStateException$1);
797
+ var InvalidTagException = [
798
+ -3,
799
+ n0,
800
+ _ITE,
801
+ {
802
+ [_e]: _c,
803
+ },
804
+ [_m],
805
+ [0],
806
+ ];
807
+ schema.TypeRegistry.for(n0).registerError(InvalidTagException, InvalidTagException$1);
808
+ var KeyUsage = [3, n0, _KUe, 0, [_N], [0]];
809
+ var LimitExceededException = [
810
+ -3,
811
+ n0,
812
+ _LEE,
813
+ {
814
+ [_e]: _c,
815
+ },
816
+ [_m],
817
+ [0],
818
+ ];
819
+ schema.TypeRegistry.for(n0).registerError(LimitExceededException, LimitExceededException$1);
820
+ var ListCertificatesRequest = [
821
+ 3,
822
+ n0,
823
+ _LCR,
824
+ 0,
825
+ [_CSe, _In, _NT, _MI, _SB, _SO],
826
+ [64 | 0, () => Filters, 0, 1, 0, 0],
827
+ ];
828
+ var ListCertificatesResponse = [
829
+ 3,
830
+ n0,
831
+ _LCRi,
832
+ 0,
833
+ [_NT, _CSL],
834
+ [0, () => CertificateSummaryList],
835
+ ];
836
+ var ListTagsForCertificateRequest = [3, n0, _LTFCR, 0, [_CA], [0]];
837
+ var ListTagsForCertificateResponse = [3, n0, _LTFCRi, 0, [_T], [() => TagList]];
838
+ var PutAccountConfigurationRequest = [
839
+ 3,
840
+ n0,
841
+ _PACR,
842
+ 0,
843
+ [_EE, _IT],
844
+ [() => ExpiryEventsConfiguration, 0],
845
+ ];
846
+ var RemoveTagsFromCertificateRequest = [3, n0, _RTFCR, 0, [_CA, _T], [0, () => TagList]];
847
+ var RenewalSummary = [
848
+ 3,
849
+ n0,
850
+ _RS,
851
+ 0,
852
+ [_RSe, _DVO, _RSR, _UA],
853
+ [0, () => DomainValidationList, 0, 4],
854
+ ];
855
+ var RenewCertificateRequest = [3, n0, _RCR, 0, [_CA], [0]];
856
+ var RequestCertificateRequest = [
857
+ 3,
858
+ n0,
859
+ _RCRe,
860
+ 0,
861
+ [_DN, _VM, _SAN, _IT, _DVO, _O, _CAA, _T, _KA, _MB],
862
+ [0, 0, 64 | 0, 0, () => DomainValidationOptionList, () => CertificateOptions, 0, () => TagList, 0, 0],
863
+ ];
864
+ var RequestCertificateResponse = [3, n0, _RCReq, 0, [_CA], [0]];
865
+ var RequestInProgressException = [
866
+ -3,
867
+ n0,
868
+ _RIPE,
869
+ {
870
+ [_e]: _c,
871
+ },
872
+ [_m],
873
+ [0],
874
+ ];
875
+ schema.TypeRegistry.for(n0).registerError(RequestInProgressException, RequestInProgressException$1);
876
+ var ResendValidationEmailRequest = [3, n0, _RVER, 0, [_CA, _D, _VD], [0, 0, 0]];
877
+ var ResourceInUseException = [
878
+ -3,
879
+ n0,
880
+ _RIUE,
881
+ {
882
+ [_e]: _c,
883
+ },
884
+ [_m],
885
+ [0],
886
+ ];
887
+ schema.TypeRegistry.for(n0).registerError(ResourceInUseException, ResourceInUseException$1);
888
+ var ResourceNotFoundException = [
889
+ -3,
890
+ n0,
891
+ _RNFE,
892
+ {
893
+ [_e]: _c,
894
+ },
895
+ [_m],
896
+ [0],
897
+ ];
898
+ schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
899
+ var ResourceRecord = [3, n0, _RRe, 0, [_N, _Ty, _V], [0, 0, 0]];
900
+ var RevokeCertificateRequest = [3, n0, _RCRev, 0, [_CA, _RR], [0, 0]];
901
+ var RevokeCertificateResponse = [3, n0, _RCRevo, 0, [_CA], [0]];
902
+ var Tag = [3, n0, _Ta, 0, [_K, _V], [0, 0]];
903
+ var TagPolicyException = [
904
+ -3,
905
+ n0,
906
+ _TPE,
907
+ {
908
+ [_e]: _c,
909
+ },
910
+ [_m],
911
+ [0],
912
+ ];
913
+ schema.TypeRegistry.for(n0).registerError(TagPolicyException, TagPolicyException$1);
914
+ var ThrottlingException = [
915
+ -3,
916
+ n0,
917
+ _TE,
918
+ {
919
+ [_e]: _c,
920
+ [_hE]: 400,
921
+ [_aQE]: [`Throttling`, 400],
922
+ },
923
+ [_m],
924
+ [0],
925
+ ];
926
+ schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
927
+ var TooManyTagsException = [
928
+ -3,
929
+ n0,
930
+ _TMTE,
931
+ {
932
+ [_e]: _c,
933
+ },
934
+ [_m],
935
+ [0],
936
+ ];
937
+ schema.TypeRegistry.for(n0).registerError(TooManyTagsException, TooManyTagsException$1);
938
+ var UpdateCertificateOptionsRequest = [
939
+ 3,
940
+ n0,
941
+ _UCOR,
942
+ 0,
943
+ [_CA, _O],
944
+ [0, () => CertificateOptions],
945
+ ];
946
+ var ValidationException = [
947
+ -3,
948
+ n0,
949
+ _VEa,
950
+ {
951
+ [_e]: _c,
952
+ [_hE]: 400,
953
+ [_aQE]: [`ValidationError`, 400],
954
+ },
955
+ [_m],
956
+ [0],
957
+ ];
958
+ schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
959
+ var __Unit = "unit";
960
+ var ACMServiceException = [-3, _s, "ACMServiceException", 0, [], []];
961
+ schema.TypeRegistry.for(_s).registerError(ACMServiceException, ACMServiceException$1);
962
+ var CertificateSummaryList = [1, n0, _CSL, 0, () => CertificateSummary];
963
+ var DomainValidationList = [1, n0, _DVL, 0, () => DomainValidation];
964
+ var DomainValidationOptionList = [1, n0, _DVOL, 0, () => DomainValidationOption];
965
+ var ExtendedKeyUsageList = [1, n0, _EKUL, 0, () => ExtendedKeyUsage];
966
+ var KeyUsageList = [1, n0, _KUL, 0, () => KeyUsage];
967
+ var TagList = [1, n0, _TL, 0, () => Tag];
968
+ var AddTagsToCertificate = [
969
+ 9,
970
+ n0,
971
+ _ATTC,
972
+ 0,
973
+ () => AddTagsToCertificateRequest,
974
+ () => __Unit,
975
+ ];
976
+ var DeleteCertificate = [9, n0, _DC, 0, () => DeleteCertificateRequest, () => __Unit];
977
+ var DescribeCertificate = [
978
+ 9,
979
+ n0,
980
+ _DCe,
981
+ 0,
982
+ () => DescribeCertificateRequest,
983
+ () => DescribeCertificateResponse,
984
+ ];
985
+ var ExportCertificate = [
986
+ 9,
987
+ n0,
988
+ _EC,
989
+ 0,
990
+ () => ExportCertificateRequest,
991
+ () => ExportCertificateResponse,
992
+ ];
993
+ var GetAccountConfiguration = [
994
+ 9,
995
+ n0,
996
+ _GAC,
997
+ 0,
998
+ () => __Unit,
999
+ () => GetAccountConfigurationResponse,
1000
+ ];
1001
+ var GetCertificate = [
1002
+ 9,
1003
+ n0,
1004
+ _GC,
1005
+ 0,
1006
+ () => GetCertificateRequest,
1007
+ () => GetCertificateResponse,
1008
+ ];
1009
+ var ImportCertificate = [
1010
+ 9,
1011
+ n0,
1012
+ _IC,
1013
+ 0,
1014
+ () => ImportCertificateRequest,
1015
+ () => ImportCertificateResponse,
1016
+ ];
1017
+ var ListCertificates = [
1018
+ 9,
1019
+ n0,
1020
+ _LC,
1021
+ 0,
1022
+ () => ListCertificatesRequest,
1023
+ () => ListCertificatesResponse,
1024
+ ];
1025
+ var ListTagsForCertificate = [
1026
+ 9,
1027
+ n0,
1028
+ _LTFC,
1029
+ 0,
1030
+ () => ListTagsForCertificateRequest,
1031
+ () => ListTagsForCertificateResponse,
1032
+ ];
1033
+ var PutAccountConfiguration = [
1034
+ 9,
1035
+ n0,
1036
+ _PAC,
1037
+ 0,
1038
+ () => PutAccountConfigurationRequest,
1039
+ () => __Unit,
1040
+ ];
1041
+ var RemoveTagsFromCertificate = [
1042
+ 9,
1043
+ n0,
1044
+ _RTFC,
1045
+ 0,
1046
+ () => RemoveTagsFromCertificateRequest,
1047
+ () => __Unit,
1048
+ ];
1049
+ var RenewCertificate = [9, n0, _RC, 0, () => RenewCertificateRequest, () => __Unit];
1050
+ var RequestCertificate = [
1051
+ 9,
1052
+ n0,
1053
+ _RCe,
1054
+ 0,
1055
+ () => RequestCertificateRequest,
1056
+ () => RequestCertificateResponse,
1057
+ ];
1058
+ var ResendValidationEmail = [
1059
+ 9,
1060
+ n0,
1061
+ _RVE,
1062
+ 0,
1063
+ () => ResendValidationEmailRequest,
1064
+ () => __Unit,
1065
+ ];
1066
+ var RevokeCertificate = [
1067
+ 9,
1068
+ n0,
1069
+ _RCev,
1070
+ 0,
1071
+ () => RevokeCertificateRequest,
1072
+ () => RevokeCertificateResponse,
1073
+ ];
1074
+ var UpdateCertificateOptions = [
1075
+ 9,
1076
+ n0,
1077
+ _UCO,
1078
+ 0,
1079
+ () => UpdateCertificateOptionsRequest,
1080
+ () => __Unit,
1081
+ ];
1066
1082
 
1067
1083
  class AddTagsToCertificateCommand extends smithyClient.Command
1068
1084
  .classBuilder()
1069
1085
  .ep(commonParams)
1070
1086
  .m(function (Command, cs, config, o) {
1071
- return [
1072
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1073
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1074
- ];
1087
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1075
1088
  })
1076
1089
  .s("CertificateManager", "AddTagsToCertificate", {})
1077
1090
  .n("ACMClient", "AddTagsToCertificateCommand")
1078
- .f(void 0, void 0)
1079
- .ser(se_AddTagsToCertificateCommand)
1080
- .de(de_AddTagsToCertificateCommand)
1091
+ .sc(AddTagsToCertificate)
1081
1092
  .build() {
1082
1093
  }
1083
1094
 
@@ -1085,16 +1096,11 @@ class DeleteCertificateCommand extends smithyClient.Command
1085
1096
  .classBuilder()
1086
1097
  .ep(commonParams)
1087
1098
  .m(function (Command, cs, config, o) {
1088
- return [
1089
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1090
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1091
- ];
1099
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1092
1100
  })
1093
1101
  .s("CertificateManager", "DeleteCertificate", {})
1094
1102
  .n("ACMClient", "DeleteCertificateCommand")
1095
- .f(void 0, void 0)
1096
- .ser(se_DeleteCertificateCommand)
1097
- .de(de_DeleteCertificateCommand)
1103
+ .sc(DeleteCertificate)
1098
1104
  .build() {
1099
1105
  }
1100
1106
 
@@ -1102,16 +1108,11 @@ class DescribeCertificateCommand extends smithyClient.Command
1102
1108
  .classBuilder()
1103
1109
  .ep(commonParams)
1104
1110
  .m(function (Command, cs, config, o) {
1105
- return [
1106
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1107
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1108
- ];
1111
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1109
1112
  })
1110
1113
  .s("CertificateManager", "DescribeCertificate", {})
1111
1114
  .n("ACMClient", "DescribeCertificateCommand")
1112
- .f(void 0, void 0)
1113
- .ser(se_DescribeCertificateCommand)
1114
- .de(de_DescribeCertificateCommand)
1115
+ .sc(DescribeCertificate)
1115
1116
  .build() {
1116
1117
  }
1117
1118
 
@@ -1119,16 +1120,11 @@ class ExportCertificateCommand extends smithyClient.Command
1119
1120
  .classBuilder()
1120
1121
  .ep(commonParams)
1121
1122
  .m(function (Command, cs, config, o) {
1122
- return [
1123
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1124
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1125
- ];
1123
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1126
1124
  })
1127
1125
  .s("CertificateManager", "ExportCertificate", {})
1128
1126
  .n("ACMClient", "ExportCertificateCommand")
1129
- .f(ExportCertificateRequestFilterSensitiveLog, ExportCertificateResponseFilterSensitiveLog)
1130
- .ser(se_ExportCertificateCommand)
1131
- .de(de_ExportCertificateCommand)
1127
+ .sc(ExportCertificate)
1132
1128
  .build() {
1133
1129
  }
1134
1130
 
@@ -1136,16 +1132,11 @@ class GetAccountConfigurationCommand extends smithyClient.Command
1136
1132
  .classBuilder()
1137
1133
  .ep(commonParams)
1138
1134
  .m(function (Command, cs, config, o) {
1139
- return [
1140
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1141
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1142
- ];
1135
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1143
1136
  })
1144
1137
  .s("CertificateManager", "GetAccountConfiguration", {})
1145
1138
  .n("ACMClient", "GetAccountConfigurationCommand")
1146
- .f(void 0, void 0)
1147
- .ser(se_GetAccountConfigurationCommand)
1148
- .de(de_GetAccountConfigurationCommand)
1139
+ .sc(GetAccountConfiguration)
1149
1140
  .build() {
1150
1141
  }
1151
1142
 
@@ -1153,16 +1144,11 @@ class GetCertificateCommand extends smithyClient.Command
1153
1144
  .classBuilder()
1154
1145
  .ep(commonParams)
1155
1146
  .m(function (Command, cs, config, o) {
1156
- return [
1157
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1158
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1159
- ];
1147
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1160
1148
  })
1161
1149
  .s("CertificateManager", "GetCertificate", {})
1162
1150
  .n("ACMClient", "GetCertificateCommand")
1163
- .f(void 0, void 0)
1164
- .ser(se_GetCertificateCommand)
1165
- .de(de_GetCertificateCommand)
1151
+ .sc(GetCertificate)
1166
1152
  .build() {
1167
1153
  }
1168
1154
 
@@ -1170,16 +1156,11 @@ class ImportCertificateCommand extends smithyClient.Command
1170
1156
  .classBuilder()
1171
1157
  .ep(commonParams)
1172
1158
  .m(function (Command, cs, config, o) {
1173
- return [
1174
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1175
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1176
- ];
1159
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1177
1160
  })
1178
1161
  .s("CertificateManager", "ImportCertificate", {})
1179
1162
  .n("ACMClient", "ImportCertificateCommand")
1180
- .f(ImportCertificateRequestFilterSensitiveLog, void 0)
1181
- .ser(se_ImportCertificateCommand)
1182
- .de(de_ImportCertificateCommand)
1163
+ .sc(ImportCertificate)
1183
1164
  .build() {
1184
1165
  }
1185
1166
 
@@ -1187,16 +1168,11 @@ class ListCertificatesCommand extends smithyClient.Command
1187
1168
  .classBuilder()
1188
1169
  .ep(commonParams)
1189
1170
  .m(function (Command, cs, config, o) {
1190
- return [
1191
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1192
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1193
- ];
1171
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1194
1172
  })
1195
1173
  .s("CertificateManager", "ListCertificates", {})
1196
1174
  .n("ACMClient", "ListCertificatesCommand")
1197
- .f(void 0, void 0)
1198
- .ser(se_ListCertificatesCommand)
1199
- .de(de_ListCertificatesCommand)
1175
+ .sc(ListCertificates)
1200
1176
  .build() {
1201
1177
  }
1202
1178
 
@@ -1204,16 +1180,11 @@ class ListTagsForCertificateCommand extends smithyClient.Command
1204
1180
  .classBuilder()
1205
1181
  .ep(commonParams)
1206
1182
  .m(function (Command, cs, config, o) {
1207
- return [
1208
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1209
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1210
- ];
1183
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1211
1184
  })
1212
1185
  .s("CertificateManager", "ListTagsForCertificate", {})
1213
1186
  .n("ACMClient", "ListTagsForCertificateCommand")
1214
- .f(void 0, void 0)
1215
- .ser(se_ListTagsForCertificateCommand)
1216
- .de(de_ListTagsForCertificateCommand)
1187
+ .sc(ListTagsForCertificate)
1217
1188
  .build() {
1218
1189
  }
1219
1190
 
@@ -1221,16 +1192,11 @@ class PutAccountConfigurationCommand extends smithyClient.Command
1221
1192
  .classBuilder()
1222
1193
  .ep(commonParams)
1223
1194
  .m(function (Command, cs, config, o) {
1224
- return [
1225
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1226
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1227
- ];
1195
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1228
1196
  })
1229
1197
  .s("CertificateManager", "PutAccountConfiguration", {})
1230
1198
  .n("ACMClient", "PutAccountConfigurationCommand")
1231
- .f(void 0, void 0)
1232
- .ser(se_PutAccountConfigurationCommand)
1233
- .de(de_PutAccountConfigurationCommand)
1199
+ .sc(PutAccountConfiguration)
1234
1200
  .build() {
1235
1201
  }
1236
1202
 
@@ -1238,16 +1204,11 @@ class RemoveTagsFromCertificateCommand extends smithyClient.Command
1238
1204
  .classBuilder()
1239
1205
  .ep(commonParams)
1240
1206
  .m(function (Command, cs, config, o) {
1241
- return [
1242
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1243
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1244
- ];
1207
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1245
1208
  })
1246
1209
  .s("CertificateManager", "RemoveTagsFromCertificate", {})
1247
1210
  .n("ACMClient", "RemoveTagsFromCertificateCommand")
1248
- .f(void 0, void 0)
1249
- .ser(se_RemoveTagsFromCertificateCommand)
1250
- .de(de_RemoveTagsFromCertificateCommand)
1211
+ .sc(RemoveTagsFromCertificate)
1251
1212
  .build() {
1252
1213
  }
1253
1214
 
@@ -1255,16 +1216,11 @@ class RenewCertificateCommand extends smithyClient.Command
1255
1216
  .classBuilder()
1256
1217
  .ep(commonParams)
1257
1218
  .m(function (Command, cs, config, o) {
1258
- return [
1259
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1260
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1261
- ];
1219
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1262
1220
  })
1263
1221
  .s("CertificateManager", "RenewCertificate", {})
1264
1222
  .n("ACMClient", "RenewCertificateCommand")
1265
- .f(void 0, void 0)
1266
- .ser(se_RenewCertificateCommand)
1267
- .de(de_RenewCertificateCommand)
1223
+ .sc(RenewCertificate)
1268
1224
  .build() {
1269
1225
  }
1270
1226
 
@@ -1272,16 +1228,11 @@ class RequestCertificateCommand extends smithyClient.Command
1272
1228
  .classBuilder()
1273
1229
  .ep(commonParams)
1274
1230
  .m(function (Command, cs, config, o) {
1275
- return [
1276
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1277
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1278
- ];
1231
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1279
1232
  })
1280
1233
  .s("CertificateManager", "RequestCertificate", {})
1281
1234
  .n("ACMClient", "RequestCertificateCommand")
1282
- .f(void 0, void 0)
1283
- .ser(se_RequestCertificateCommand)
1284
- .de(de_RequestCertificateCommand)
1235
+ .sc(RequestCertificate)
1285
1236
  .build() {
1286
1237
  }
1287
1238
 
@@ -1289,16 +1240,11 @@ class ResendValidationEmailCommand extends smithyClient.Command
1289
1240
  .classBuilder()
1290
1241
  .ep(commonParams)
1291
1242
  .m(function (Command, cs, config, o) {
1292
- return [
1293
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1294
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1295
- ];
1243
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1296
1244
  })
1297
1245
  .s("CertificateManager", "ResendValidationEmail", {})
1298
1246
  .n("ACMClient", "ResendValidationEmailCommand")
1299
- .f(void 0, void 0)
1300
- .ser(se_ResendValidationEmailCommand)
1301
- .de(de_ResendValidationEmailCommand)
1247
+ .sc(ResendValidationEmail)
1302
1248
  .build() {
1303
1249
  }
1304
1250
 
@@ -1306,16 +1252,11 @@ class RevokeCertificateCommand extends smithyClient.Command
1306
1252
  .classBuilder()
1307
1253
  .ep(commonParams)
1308
1254
  .m(function (Command, cs, config, o) {
1309
- return [
1310
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1311
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1312
- ];
1255
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1313
1256
  })
1314
1257
  .s("CertificateManager", "RevokeCertificate", {})
1315
1258
  .n("ACMClient", "RevokeCertificateCommand")
1316
- .f(void 0, void 0)
1317
- .ser(se_RevokeCertificateCommand)
1318
- .de(de_RevokeCertificateCommand)
1259
+ .sc(RevokeCertificate)
1319
1260
  .build() {
1320
1261
  }
1321
1262
 
@@ -1323,16 +1264,11 @@ class UpdateCertificateOptionsCommand extends smithyClient.Command
1323
1264
  .classBuilder()
1324
1265
  .ep(commonParams)
1325
1266
  .m(function (Command, cs, config, o) {
1326
- return [
1327
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1328
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1329
- ];
1267
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1330
1268
  })
1331
1269
  .s("CertificateManager", "UpdateCertificateOptions", {})
1332
1270
  .n("ACMClient", "UpdateCertificateOptionsCommand")
1333
- .f(void 0, void 0)
1334
- .ser(se_UpdateCertificateOptionsCommand)
1335
- .de(de_UpdateCertificateOptionsCommand)
1271
+ .sc(UpdateCertificateOptions)
1336
1272
  .build() {
1337
1273
  }
1338
1274
 
@@ -1435,36 +1371,33 @@ Object.defineProperty(exports, "__Client", {
1435
1371
  });
1436
1372
  exports.ACM = ACM;
1437
1373
  exports.ACMClient = ACMClient;
1438
- exports.ACMServiceException = ACMServiceException;
1439
- exports.AccessDeniedException = AccessDeniedException;
1374
+ exports.ACMServiceException = ACMServiceException$1;
1375
+ exports.AccessDeniedException = AccessDeniedException$1;
1440
1376
  exports.AddTagsToCertificateCommand = AddTagsToCertificateCommand;
1441
1377
  exports.CertificateExport = CertificateExport;
1442
1378
  exports.CertificateManagedBy = CertificateManagedBy;
1443
1379
  exports.CertificateStatus = CertificateStatus;
1444
1380
  exports.CertificateTransparencyLoggingPreference = CertificateTransparencyLoggingPreference;
1445
1381
  exports.CertificateType = CertificateType;
1446
- exports.ConflictException = ConflictException;
1382
+ exports.ConflictException = ConflictException$1;
1447
1383
  exports.DeleteCertificateCommand = DeleteCertificateCommand;
1448
1384
  exports.DescribeCertificateCommand = DescribeCertificateCommand;
1449
1385
  exports.DomainStatus = DomainStatus;
1450
1386
  exports.ExportCertificateCommand = ExportCertificateCommand;
1451
- exports.ExportCertificateRequestFilterSensitiveLog = ExportCertificateRequestFilterSensitiveLog;
1452
- exports.ExportCertificateResponseFilterSensitiveLog = ExportCertificateResponseFilterSensitiveLog;
1453
1387
  exports.ExtendedKeyUsageName = ExtendedKeyUsageName;
1454
1388
  exports.FailureReason = FailureReason;
1455
1389
  exports.GetAccountConfigurationCommand = GetAccountConfigurationCommand;
1456
1390
  exports.GetCertificateCommand = GetCertificateCommand;
1457
1391
  exports.ImportCertificateCommand = ImportCertificateCommand;
1458
- exports.ImportCertificateRequestFilterSensitiveLog = ImportCertificateRequestFilterSensitiveLog;
1459
- exports.InvalidArgsException = InvalidArgsException;
1460
- exports.InvalidArnException = InvalidArnException;
1461
- exports.InvalidDomainValidationOptionsException = InvalidDomainValidationOptionsException;
1462
- exports.InvalidParameterException = InvalidParameterException;
1463
- exports.InvalidStateException = InvalidStateException;
1464
- exports.InvalidTagException = InvalidTagException;
1392
+ exports.InvalidArgsException = InvalidArgsException$1;
1393
+ exports.InvalidArnException = InvalidArnException$1;
1394
+ exports.InvalidDomainValidationOptionsException = InvalidDomainValidationOptionsException$1;
1395
+ exports.InvalidParameterException = InvalidParameterException$1;
1396
+ exports.InvalidStateException = InvalidStateException$1;
1397
+ exports.InvalidTagException = InvalidTagException$1;
1465
1398
  exports.KeyAlgorithm = KeyAlgorithm;
1466
1399
  exports.KeyUsageName = KeyUsageName;
1467
- exports.LimitExceededException = LimitExceededException;
1400
+ exports.LimitExceededException = LimitExceededException$1;
1468
1401
  exports.ListCertificatesCommand = ListCertificatesCommand;
1469
1402
  exports.ListTagsForCertificateCommand = ListTagsForCertificateCommand;
1470
1403
  exports.PutAccountConfigurationCommand = PutAccountConfigurationCommand;
@@ -1474,19 +1407,19 @@ exports.RenewCertificateCommand = RenewCertificateCommand;
1474
1407
  exports.RenewalEligibility = RenewalEligibility;
1475
1408
  exports.RenewalStatus = RenewalStatus;
1476
1409
  exports.RequestCertificateCommand = RequestCertificateCommand;
1477
- exports.RequestInProgressException = RequestInProgressException;
1410
+ exports.RequestInProgressException = RequestInProgressException$1;
1478
1411
  exports.ResendValidationEmailCommand = ResendValidationEmailCommand;
1479
- exports.ResourceInUseException = ResourceInUseException;
1480
- exports.ResourceNotFoundException = ResourceNotFoundException;
1412
+ exports.ResourceInUseException = ResourceInUseException$1;
1413
+ exports.ResourceNotFoundException = ResourceNotFoundException$1;
1481
1414
  exports.RevocationReason = RevocationReason;
1482
1415
  exports.RevokeCertificateCommand = RevokeCertificateCommand;
1483
1416
  exports.SortBy = SortBy;
1484
1417
  exports.SortOrder = SortOrder;
1485
- exports.TagPolicyException = TagPolicyException;
1486
- exports.ThrottlingException = ThrottlingException;
1487
- exports.TooManyTagsException = TooManyTagsException;
1418
+ exports.TagPolicyException = TagPolicyException$1;
1419
+ exports.ThrottlingException = ThrottlingException$1;
1420
+ exports.TooManyTagsException = TooManyTagsException$1;
1488
1421
  exports.UpdateCertificateOptionsCommand = UpdateCertificateOptionsCommand;
1489
- exports.ValidationException = ValidationException;
1422
+ exports.ValidationException = ValidationException$1;
1490
1423
  exports.ValidationMethod = ValidationMethod;
1491
1424
  exports.paginateListCertificates = paginateListCertificates;
1492
1425
  exports.waitForCertificateValidated = waitForCertificateValidated;