@aws-sdk/client-acm 3.986.0 → 3.988.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
@@ -15,7 +15,10 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
15
15
  var runtimeConfig = require('./runtimeConfig');
16
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
17
17
  var protocolHttp = require('@smithy/protocol-http');
18
+ var schemas_0 = require('./schemas/schemas_0');
18
19
  var utilWaiter = require('@smithy/util-waiter');
20
+ var errors = require('./models/errors');
21
+ var ACMServiceException = require('./models/ACMServiceException');
19
22
 
20
23
  const resolveClientEndpointParameters = (options) => {
21
24
  return Object.assign(options, {
@@ -111,713 +114,6 @@ class ACMClient extends smithyClient.Client {
111
114
  }
112
115
  }
113
116
 
114
- class ACMServiceException extends smithyClient.ServiceException {
115
- constructor(options) {
116
- super(options);
117
- Object.setPrototypeOf(this, ACMServiceException.prototype);
118
- }
119
- }
120
-
121
- class AccessDeniedException extends ACMServiceException {
122
- name = "AccessDeniedException";
123
- $fault = "client";
124
- Message;
125
- constructor(opts) {
126
- super({
127
- name: "AccessDeniedException",
128
- $fault: "client",
129
- ...opts,
130
- });
131
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
132
- this.Message = opts.Message;
133
- }
134
- }
135
- class InvalidArnException extends ACMServiceException {
136
- name = "InvalidArnException";
137
- $fault = "client";
138
- constructor(opts) {
139
- super({
140
- name: "InvalidArnException",
141
- $fault: "client",
142
- ...opts,
143
- });
144
- Object.setPrototypeOf(this, InvalidArnException.prototype);
145
- }
146
- }
147
- class InvalidParameterException extends ACMServiceException {
148
- name = "InvalidParameterException";
149
- $fault = "client";
150
- constructor(opts) {
151
- super({
152
- name: "InvalidParameterException",
153
- $fault: "client",
154
- ...opts,
155
- });
156
- Object.setPrototypeOf(this, InvalidParameterException.prototype);
157
- }
158
- }
159
- class InvalidTagException extends ACMServiceException {
160
- name = "InvalidTagException";
161
- $fault = "client";
162
- constructor(opts) {
163
- super({
164
- name: "InvalidTagException",
165
- $fault: "client",
166
- ...opts,
167
- });
168
- Object.setPrototypeOf(this, InvalidTagException.prototype);
169
- }
170
- }
171
- class ResourceNotFoundException extends ACMServiceException {
172
- name = "ResourceNotFoundException";
173
- $fault = "client";
174
- constructor(opts) {
175
- super({
176
- name: "ResourceNotFoundException",
177
- $fault: "client",
178
- ...opts,
179
- });
180
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
181
- }
182
- }
183
- class TagPolicyException extends ACMServiceException {
184
- name = "TagPolicyException";
185
- $fault = "client";
186
- constructor(opts) {
187
- super({
188
- name: "TagPolicyException",
189
- $fault: "client",
190
- ...opts,
191
- });
192
- Object.setPrototypeOf(this, TagPolicyException.prototype);
193
- }
194
- }
195
- class ThrottlingException extends ACMServiceException {
196
- name = "ThrottlingException";
197
- $fault = "client";
198
- constructor(opts) {
199
- super({
200
- name: "ThrottlingException",
201
- $fault: "client",
202
- ...opts,
203
- });
204
- Object.setPrototypeOf(this, ThrottlingException.prototype);
205
- }
206
- }
207
- class TooManyTagsException extends ACMServiceException {
208
- name = "TooManyTagsException";
209
- $fault = "client";
210
- constructor(opts) {
211
- super({
212
- name: "TooManyTagsException",
213
- $fault: "client",
214
- ...opts,
215
- });
216
- Object.setPrototypeOf(this, TooManyTagsException.prototype);
217
- }
218
- }
219
- class ConflictException extends ACMServiceException {
220
- name = "ConflictException";
221
- $fault = "client";
222
- constructor(opts) {
223
- super({
224
- name: "ConflictException",
225
- $fault: "client",
226
- ...opts,
227
- });
228
- Object.setPrototypeOf(this, ConflictException.prototype);
229
- }
230
- }
231
- class ResourceInUseException extends ACMServiceException {
232
- name = "ResourceInUseException";
233
- $fault = "client";
234
- constructor(opts) {
235
- super({
236
- name: "ResourceInUseException",
237
- $fault: "client",
238
- ...opts,
239
- });
240
- Object.setPrototypeOf(this, ResourceInUseException.prototype);
241
- }
242
- }
243
- class RequestInProgressException extends ACMServiceException {
244
- name = "RequestInProgressException";
245
- $fault = "client";
246
- constructor(opts) {
247
- super({
248
- name: "RequestInProgressException",
249
- $fault: "client",
250
- ...opts,
251
- });
252
- Object.setPrototypeOf(this, RequestInProgressException.prototype);
253
- }
254
- }
255
- class LimitExceededException extends ACMServiceException {
256
- name = "LimitExceededException";
257
- $fault = "client";
258
- constructor(opts) {
259
- super({
260
- name: "LimitExceededException",
261
- $fault: "client",
262
- ...opts,
263
- });
264
- Object.setPrototypeOf(this, LimitExceededException.prototype);
265
- }
266
- }
267
- class InvalidArgsException extends ACMServiceException {
268
- name = "InvalidArgsException";
269
- $fault = "client";
270
- constructor(opts) {
271
- super({
272
- name: "InvalidArgsException",
273
- $fault: "client",
274
- ...opts,
275
- });
276
- Object.setPrototypeOf(this, InvalidArgsException.prototype);
277
- }
278
- }
279
- class ValidationException extends ACMServiceException {
280
- name = "ValidationException";
281
- $fault = "client";
282
- constructor(opts) {
283
- super({
284
- name: "ValidationException",
285
- $fault: "client",
286
- ...opts,
287
- });
288
- Object.setPrototypeOf(this, ValidationException.prototype);
289
- }
290
- }
291
- class InvalidDomainValidationOptionsException extends ACMServiceException {
292
- name = "InvalidDomainValidationOptionsException";
293
- $fault = "client";
294
- constructor(opts) {
295
- super({
296
- name: "InvalidDomainValidationOptionsException",
297
- $fault: "client",
298
- ...opts,
299
- });
300
- Object.setPrototypeOf(this, InvalidDomainValidationOptionsException.prototype);
301
- }
302
- }
303
- class InvalidStateException extends ACMServiceException {
304
- name = "InvalidStateException";
305
- $fault = "client";
306
- constructor(opts) {
307
- super({
308
- name: "InvalidStateException",
309
- $fault: "client",
310
- ...opts,
311
- });
312
- Object.setPrototypeOf(this, InvalidStateException.prototype);
313
- }
314
- }
315
-
316
- const _ADE = "AccessDeniedException";
317
- const _ATTC = "AddTagsToCertificate";
318
- const _ATTCR = "AddTagsToCertificateRequest";
319
- const _C = "Certificate";
320
- const _CA = "CertificateArn";
321
- const _CAA = "CertificateAuthorityArn";
322
- const _CAr = "CreatedAt";
323
- const _CC = "CertificateChain";
324
- const _CD = "CertificateDetail";
325
- const _CE = "ConflictException";
326
- const _CO = "CertificateOptions";
327
- const _CS = "CertificateSummary";
328
- const _CSL = "CertificateSummaryList";
329
- const _CSe = "CertificateStatuses";
330
- const _CTLP = "CertificateTransparencyLoggingPreference";
331
- const _D = "Domain";
332
- const _DBE = "DaysBeforeExpiry";
333
- const _DC = "DeleteCertificate";
334
- const _DCR = "DeleteCertificateRequest";
335
- const _DCRe = "DescribeCertificateRequest";
336
- const _DCRes = "DescribeCertificateResponse";
337
- const _DCe = "DescribeCertificate";
338
- const _DN = "DomainName";
339
- const _DV = "DomainValidation";
340
- const _DVL = "DomainValidationList";
341
- const _DVO = "DomainValidationOptions";
342
- const _DVOL = "DomainValidationOptionList";
343
- const _DVOo = "DomainValidationOption";
344
- const _E = "Export";
345
- const _EC = "ExportCertificate";
346
- const _ECR = "ExportCertificateRequest";
347
- const _ECRx = "ExportCertificateResponse";
348
- const _EE = "ExpiryEvents";
349
- const _EEC = "ExpiryEventsConfiguration";
350
- const _EKU = "ExtendedKeyUsages";
351
- const _EKUL = "ExtendedKeyUsageList";
352
- const _EKUx = "ExtendedKeyUsage";
353
- const _EO = "ExportOption";
354
- const _Ex = "Exported";
355
- const _F = "Filters";
356
- const _FR = "FailureReason";
357
- const _GAC = "GetAccountConfiguration";
358
- const _GACR = "GetAccountConfigurationResponse";
359
- const _GC = "GetCertificate";
360
- const _GCR = "GetCertificateRequest";
361
- const _GCRe = "GetCertificateResponse";
362
- const _HASAN = "HasAdditionalSubjectAlternativeNames";
363
- const _HR = "HttpRedirect";
364
- const _I = "Issuer";
365
- const _IA = "IssuedAt";
366
- const _IAE = "InvalidArgsException";
367
- const _IAEn = "InvalidArnException";
368
- const _IAm = "ImportedAt";
369
- const _IC = "ImportCertificate";
370
- const _ICR = "ImportCertificateRequest";
371
- const _ICRm = "ImportCertificateResponse";
372
- const _IDVOE = "InvalidDomainValidationOptionsException";
373
- const _IPE = "InvalidParameterException";
374
- const _ISE = "InvalidStateException";
375
- const _IT = "IdempotencyToken";
376
- const _ITE = "InvalidTagException";
377
- const _IU = "InUse";
378
- const _IUB = "InUseBy";
379
- const _In = "Includes";
380
- const _K = "Key";
381
- const _KA = "KeyAlgorithm";
382
- const _KU = "KeyUsages";
383
- const _KUL = "KeyUsageList";
384
- const _KUe = "KeyUsage";
385
- const _LC = "ListCertificates";
386
- const _LCR = "ListCertificatesRequest";
387
- const _LCRi = "ListCertificatesResponse";
388
- const _LEE = "LimitExceededException";
389
- const _LTFC = "ListTagsForCertificate";
390
- const _LTFCR = "ListTagsForCertificateRequest";
391
- const _LTFCRi = "ListTagsForCertificateResponse";
392
- const _M = "Message";
393
- const _MB = "ManagedBy";
394
- const _MI = "MaxItems";
395
- const _N = "Name";
396
- const _NA = "NotAfter";
397
- const _NB = "NotBefore";
398
- const _NT = "NextToken";
399
- const _O = "Options";
400
- const _OID = "OID";
401
- const _P = "Passphrase";
402
- const _PAC = "PutAccountConfiguration";
403
- const _PACR = "PutAccountConfigurationRequest";
404
- const _PB = "PassphraseBlob";
405
- const _PK = "PrivateKey";
406
- const _PKB = "PrivateKeyBlob";
407
- const _RA = "RevokedAt";
408
- const _RC = "RenewCertificate";
409
- const _RCR = "RenewCertificateRequest";
410
- const _RCRe = "RequestCertificateRequest";
411
- const _RCReq = "RequestCertificateResponse";
412
- const _RCRev = "RevokeCertificateRequest";
413
- const _RCRevo = "RevokeCertificateResponse";
414
- const _RCe = "RequestCertificate";
415
- const _RCev = "RevokeCertificate";
416
- const _RE = "RenewalEligibility";
417
- const _RF = "RedirectFrom";
418
- const _RIPE = "RequestInProgressException";
419
- const _RIUE = "ResourceInUseException";
420
- const _RNFE = "ResourceNotFoundException";
421
- const _RR = "RevocationReason";
422
- const _RRe = "ResourceRecord";
423
- const _RS = "RenewalSummary";
424
- const _RSR = "RenewalStatusReason";
425
- const _RSe = "RenewalStatus";
426
- const _RT = "RedirectTo";
427
- const _RTFC = "RemoveTagsFromCertificate";
428
- const _RTFCR = "RemoveTagsFromCertificateRequest";
429
- const _RVE = "ResendValidationEmail";
430
- const _RVER = "ResendValidationEmailRequest";
431
- const _S = "Serial";
432
- const _SA = "SignatureAlgorithm";
433
- const _SAN = "SubjectAlternativeNames";
434
- const _SANS = "SubjectAlternativeNameSummaries";
435
- const _SB = "SortBy";
436
- const _SO = "SortOrder";
437
- const _St = "Status";
438
- const _Su = "Subject";
439
- const _T = "Tags";
440
- const _TE = "ThrottlingException";
441
- const _TL = "TagList";
442
- const _TMTE = "TooManyTagsException";
443
- const _TPE = "TagPolicyException";
444
- const _Ta = "Tag";
445
- const _Ty = "Type";
446
- const _UA = "UpdatedAt";
447
- const _UCO = "UpdateCertificateOptions";
448
- const _UCOR = "UpdateCertificateOptionsRequest";
449
- const _V = "Value";
450
- const _VD = "ValidationDomain";
451
- const _VE = "ValidationEmails";
452
- const _VEa = "ValidationException";
453
- const _VM = "ValidationMethod";
454
- const _VS = "ValidationStatus";
455
- const _aQE = "awsQueryError";
456
- const _c = "client";
457
- const _e = "error";
458
- const _eKU = "extendedKeyUsage";
459
- const _eO = "exportOption";
460
- const _hE = "httpError";
461
- const _kT = "keyTypes";
462
- const _kU = "keyUsage";
463
- const _m = "message";
464
- const _mB = "managedBy";
465
- const _s = "smithy.ts.sdk.synthetic.com.amazonaws.acm";
466
- const n0 = "com.amazonaws.acm";
467
- var PassphraseBlob = [0, n0, _PB, 8, 21];
468
- var PrivateKey = [0, n0, _PK, 8, 0];
469
- var PrivateKeyBlob = [0, n0, _PKB, 8, 21];
470
- var AccessDeniedException$ = [-3, n0, _ADE,
471
- { [_aQE]: [`AccessDenied`, 403], [_e]: _c, [_hE]: 403 },
472
- [_M],
473
- [0]
474
- ];
475
- schema.TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
476
- var AddTagsToCertificateRequest$ = [3, n0, _ATTCR,
477
- 0,
478
- [_CA, _T],
479
- [0, () => TagList], 2
480
- ];
481
- var CertificateDetail$ = [3, n0, _CD,
482
- 0,
483
- [_CA, _DN, _SAN, _MB, _DVO, _S, _Su, _I, _CAr, _IA, _IAm, _St, _RA, _RR, _NB, _NA, _KA, _SA, _IUB, _FR, _Ty, _RS, _KU, _EKU, _CAA, _RE, _O],
484
- [0, 0, 64 | 0, 0, () => DomainValidationList, 0, 0, 0, 4, 4, 4, 0, 4, 0, 4, 4, 0, 0, 64 | 0, 0, 0, () => RenewalSummary$, () => KeyUsageList, () => ExtendedKeyUsageList, 0, 0, () => CertificateOptions$]
485
- ];
486
- var CertificateOptions$ = [3, n0, _CO,
487
- 0,
488
- [_CTLP, _E],
489
- [0, 0]
490
- ];
491
- var CertificateSummary$ = [3, n0, _CS,
492
- 0,
493
- [_CA, _DN, _SANS, _HASAN, _St, _Ty, _KA, _KU, _EKU, _EO, _IU, _Ex, _RE, _NB, _NA, _CAr, _IA, _IAm, _RA, _MB],
494
- [0, 0, 64 | 0, 2, 0, 0, 0, 64 | 0, 64 | 0, 0, 2, 2, 0, 4, 4, 4, 4, 4, 4, 0]
495
- ];
496
- var ConflictException$ = [-3, n0, _CE,
497
- { [_e]: _c },
498
- [_m],
499
- [0]
500
- ];
501
- schema.TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
502
- var DeleteCertificateRequest$ = [3, n0, _DCR,
503
- 0,
504
- [_CA],
505
- [0], 1
506
- ];
507
- var DescribeCertificateRequest$ = [3, n0, _DCRe,
508
- 0,
509
- [_CA],
510
- [0], 1
511
- ];
512
- var DescribeCertificateResponse$ = [3, n0, _DCRes,
513
- 0,
514
- [_C],
515
- [() => CertificateDetail$]
516
- ];
517
- var DomainValidation$ = [3, n0, _DV,
518
- 0,
519
- [_DN, _VE, _VD, _VS, _RRe, _HR, _VM],
520
- [0, 64 | 0, 0, 0, () => ResourceRecord$, () => HttpRedirect$, 0], 1
521
- ];
522
- var DomainValidationOption$ = [3, n0, _DVOo,
523
- 0,
524
- [_DN, _VD],
525
- [0, 0], 2
526
- ];
527
- var ExpiryEventsConfiguration$ = [3, n0, _EEC,
528
- 0,
529
- [_DBE],
530
- [1]
531
- ];
532
- var ExportCertificateRequest$ = [3, n0, _ECR,
533
- 0,
534
- [_CA, _P],
535
- [0, [() => PassphraseBlob, 0]], 2
536
- ];
537
- var ExportCertificateResponse$ = [3, n0, _ECRx,
538
- 0,
539
- [_C, _CC, _PK],
540
- [0, 0, [() => PrivateKey, 0]]
541
- ];
542
- var ExtendedKeyUsage$ = [3, n0, _EKUx,
543
- 0,
544
- [_N, _OID],
545
- [0, 0]
546
- ];
547
- var Filters$ = [3, n0, _F,
548
- 0,
549
- [_eKU, _kU, _kT, _eO, _mB],
550
- [64 | 0, 64 | 0, 64 | 0, 0, 0]
551
- ];
552
- var GetAccountConfigurationResponse$ = [3, n0, _GACR,
553
- 0,
554
- [_EE],
555
- [() => ExpiryEventsConfiguration$]
556
- ];
557
- var GetCertificateRequest$ = [3, n0, _GCR,
558
- 0,
559
- [_CA],
560
- [0], 1
561
- ];
562
- var GetCertificateResponse$ = [3, n0, _GCRe,
563
- 0,
564
- [_C, _CC],
565
- [0, 0]
566
- ];
567
- var HttpRedirect$ = [3, n0, _HR,
568
- 0,
569
- [_RF, _RT],
570
- [0, 0]
571
- ];
572
- var ImportCertificateRequest$ = [3, n0, _ICR,
573
- 0,
574
- [_C, _PK, _CA, _CC, _T],
575
- [21, [() => PrivateKeyBlob, 0], 0, 21, () => TagList], 2
576
- ];
577
- var ImportCertificateResponse$ = [3, n0, _ICRm,
578
- 0,
579
- [_CA],
580
- [0]
581
- ];
582
- var InvalidArgsException$ = [-3, n0, _IAE,
583
- { [_e]: _c },
584
- [_m],
585
- [0]
586
- ];
587
- schema.TypeRegistry.for(n0).registerError(InvalidArgsException$, InvalidArgsException);
588
- var InvalidArnException$ = [-3, n0, _IAEn,
589
- { [_e]: _c },
590
- [_m],
591
- [0]
592
- ];
593
- schema.TypeRegistry.for(n0).registerError(InvalidArnException$, InvalidArnException);
594
- var InvalidDomainValidationOptionsException$ = [-3, n0, _IDVOE,
595
- { [_e]: _c },
596
- [_m],
597
- [0]
598
- ];
599
- schema.TypeRegistry.for(n0).registerError(InvalidDomainValidationOptionsException$, InvalidDomainValidationOptionsException);
600
- var InvalidParameterException$ = [-3, n0, _IPE,
601
- { [_e]: _c },
602
- [_m],
603
- [0]
604
- ];
605
- schema.TypeRegistry.for(n0).registerError(InvalidParameterException$, InvalidParameterException);
606
- var InvalidStateException$ = [-3, n0, _ISE,
607
- { [_e]: _c },
608
- [_m],
609
- [0]
610
- ];
611
- schema.TypeRegistry.for(n0).registerError(InvalidStateException$, InvalidStateException);
612
- var InvalidTagException$ = [-3, n0, _ITE,
613
- { [_e]: _c },
614
- [_m],
615
- [0]
616
- ];
617
- schema.TypeRegistry.for(n0).registerError(InvalidTagException$, InvalidTagException);
618
- var KeyUsage$ = [3, n0, _KUe,
619
- 0,
620
- [_N],
621
- [0]
622
- ];
623
- var LimitExceededException$ = [-3, n0, _LEE,
624
- { [_e]: _c },
625
- [_m],
626
- [0]
627
- ];
628
- schema.TypeRegistry.for(n0).registerError(LimitExceededException$, LimitExceededException);
629
- var ListCertificatesRequest$ = [3, n0, _LCR,
630
- 0,
631
- [_CSe, _In, _NT, _MI, _SB, _SO],
632
- [64 | 0, () => Filters$, 0, 1, 0, 0]
633
- ];
634
- var ListCertificatesResponse$ = [3, n0, _LCRi,
635
- 0,
636
- [_NT, _CSL],
637
- [0, () => CertificateSummaryList]
638
- ];
639
- var ListTagsForCertificateRequest$ = [3, n0, _LTFCR,
640
- 0,
641
- [_CA],
642
- [0], 1
643
- ];
644
- var ListTagsForCertificateResponse$ = [3, n0, _LTFCRi,
645
- 0,
646
- [_T],
647
- [() => TagList]
648
- ];
649
- var PutAccountConfigurationRequest$ = [3, n0, _PACR,
650
- 0,
651
- [_IT, _EE],
652
- [0, () => ExpiryEventsConfiguration$], 1
653
- ];
654
- var RemoveTagsFromCertificateRequest$ = [3, n0, _RTFCR,
655
- 0,
656
- [_CA, _T],
657
- [0, () => TagList], 2
658
- ];
659
- var RenewalSummary$ = [3, n0, _RS,
660
- 0,
661
- [_RSe, _DVO, _UA, _RSR],
662
- [0, () => DomainValidationList, 4, 0], 3
663
- ];
664
- var RenewCertificateRequest$ = [3, n0, _RCR,
665
- 0,
666
- [_CA],
667
- [0], 1
668
- ];
669
- var RequestCertificateRequest$ = [3, n0, _RCRe,
670
- 0,
671
- [_DN, _VM, _SAN, _IT, _DVO, _O, _CAA, _T, _KA, _MB],
672
- [0, 0, 64 | 0, 0, () => DomainValidationOptionList, () => CertificateOptions$, 0, () => TagList, 0, 0], 1
673
- ];
674
- var RequestCertificateResponse$ = [3, n0, _RCReq,
675
- 0,
676
- [_CA],
677
- [0]
678
- ];
679
- var RequestInProgressException$ = [-3, n0, _RIPE,
680
- { [_e]: _c },
681
- [_m],
682
- [0]
683
- ];
684
- schema.TypeRegistry.for(n0).registerError(RequestInProgressException$, RequestInProgressException);
685
- var ResendValidationEmailRequest$ = [3, n0, _RVER,
686
- 0,
687
- [_CA, _D, _VD],
688
- [0, 0, 0], 3
689
- ];
690
- var ResourceInUseException$ = [-3, n0, _RIUE,
691
- { [_e]: _c },
692
- [_m],
693
- [0]
694
- ];
695
- schema.TypeRegistry.for(n0).registerError(ResourceInUseException$, ResourceInUseException);
696
- var ResourceNotFoundException$ = [-3, n0, _RNFE,
697
- { [_e]: _c },
698
- [_m],
699
- [0]
700
- ];
701
- schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
702
- var ResourceRecord$ = [3, n0, _RRe,
703
- 0,
704
- [_N, _Ty, _V],
705
- [0, 0, 0], 3
706
- ];
707
- var RevokeCertificateRequest$ = [3, n0, _RCRev,
708
- 0,
709
- [_CA, _RR],
710
- [0, 0], 2
711
- ];
712
- var RevokeCertificateResponse$ = [3, n0, _RCRevo,
713
- 0,
714
- [_CA],
715
- [0]
716
- ];
717
- var Tag$ = [3, n0, _Ta,
718
- 0,
719
- [_K, _V],
720
- [0, 0], 1
721
- ];
722
- var TagPolicyException$ = [-3, n0, _TPE,
723
- { [_e]: _c },
724
- [_m],
725
- [0]
726
- ];
727
- schema.TypeRegistry.for(n0).registerError(TagPolicyException$, TagPolicyException);
728
- var ThrottlingException$ = [-3, n0, _TE,
729
- { [_aQE]: [`Throttling`, 400], [_e]: _c, [_hE]: 400 },
730
- [_m],
731
- [0]
732
- ];
733
- schema.TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
734
- var TooManyTagsException$ = [-3, n0, _TMTE,
735
- { [_e]: _c },
736
- [_m],
737
- [0]
738
- ];
739
- schema.TypeRegistry.for(n0).registerError(TooManyTagsException$, TooManyTagsException);
740
- var UpdateCertificateOptionsRequest$ = [3, n0, _UCOR,
741
- 0,
742
- [_CA, _O],
743
- [0, () => CertificateOptions$], 2
744
- ];
745
- var ValidationException$ = [-3, n0, _VEa,
746
- { [_aQE]: [`ValidationError`, 400], [_e]: _c, [_hE]: 400 },
747
- [_m],
748
- [0]
749
- ];
750
- schema.TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
751
- var __Unit = "unit";
752
- var ACMServiceException$ = [-3, _s, "ACMServiceException", 0, [], []];
753
- schema.TypeRegistry.for(_s).registerError(ACMServiceException$, ACMServiceException);
754
- var CertificateSummaryList = [1, n0, _CSL,
755
- 0, () => CertificateSummary$
756
- ];
757
- var DomainValidationList = [1, n0, _DVL,
758
- 0, () => DomainValidation$
759
- ];
760
- var DomainValidationOptionList = [1, n0, _DVOL,
761
- 0, () => DomainValidationOption$
762
- ];
763
- var ExtendedKeyUsageList = [1, n0, _EKUL,
764
- 0, () => ExtendedKeyUsage$
765
- ];
766
- var KeyUsageList = [1, n0, _KUL,
767
- 0, () => KeyUsage$
768
- ];
769
- var TagList = [1, n0, _TL,
770
- 0, () => Tag$
771
- ];
772
- var AddTagsToCertificate$ = [9, n0, _ATTC,
773
- 0, () => AddTagsToCertificateRequest$, () => __Unit
774
- ];
775
- var DeleteCertificate$ = [9, n0, _DC,
776
- 0, () => DeleteCertificateRequest$, () => __Unit
777
- ];
778
- var DescribeCertificate$ = [9, n0, _DCe,
779
- 0, () => DescribeCertificateRequest$, () => DescribeCertificateResponse$
780
- ];
781
- var ExportCertificate$ = [9, n0, _EC,
782
- 0, () => ExportCertificateRequest$, () => ExportCertificateResponse$
783
- ];
784
- var GetAccountConfiguration$ = [9, n0, _GAC,
785
- 0, () => __Unit, () => GetAccountConfigurationResponse$
786
- ];
787
- var GetCertificate$ = [9, n0, _GC,
788
- 0, () => GetCertificateRequest$, () => GetCertificateResponse$
789
- ];
790
- var ImportCertificate$ = [9, n0, _IC,
791
- 0, () => ImportCertificateRequest$, () => ImportCertificateResponse$
792
- ];
793
- var ListCertificates$ = [9, n0, _LC,
794
- 0, () => ListCertificatesRequest$, () => ListCertificatesResponse$
795
- ];
796
- var ListTagsForCertificate$ = [9, n0, _LTFC,
797
- 0, () => ListTagsForCertificateRequest$, () => ListTagsForCertificateResponse$
798
- ];
799
- var PutAccountConfiguration$ = [9, n0, _PAC,
800
- 0, () => PutAccountConfigurationRequest$, () => __Unit
801
- ];
802
- var RemoveTagsFromCertificate$ = [9, n0, _RTFC,
803
- 0, () => RemoveTagsFromCertificateRequest$, () => __Unit
804
- ];
805
- var RenewCertificate$ = [9, n0, _RC,
806
- 0, () => RenewCertificateRequest$, () => __Unit
807
- ];
808
- var RequestCertificate$ = [9, n0, _RCe,
809
- 0, () => RequestCertificateRequest$, () => RequestCertificateResponse$
810
- ];
811
- var ResendValidationEmail$ = [9, n0, _RVE,
812
- 0, () => ResendValidationEmailRequest$, () => __Unit
813
- ];
814
- var RevokeCertificate$ = [9, n0, _RCev,
815
- 0, () => RevokeCertificateRequest$, () => RevokeCertificateResponse$
816
- ];
817
- var UpdateCertificateOptions$ = [9, n0, _UCO,
818
- 0, () => UpdateCertificateOptionsRequest$, () => __Unit
819
- ];
820
-
821
117
  class AddTagsToCertificateCommand extends smithyClient.Command
822
118
  .classBuilder()
823
119
  .ep(commonParams)
@@ -826,7 +122,7 @@ class AddTagsToCertificateCommand extends smithyClient.Command
826
122
  })
827
123
  .s("CertificateManager", "AddTagsToCertificate", {})
828
124
  .n("ACMClient", "AddTagsToCertificateCommand")
829
- .sc(AddTagsToCertificate$)
125
+ .sc(schemas_0.AddTagsToCertificate$)
830
126
  .build() {
831
127
  }
832
128
 
@@ -838,7 +134,7 @@ class DeleteCertificateCommand extends smithyClient.Command
838
134
  })
839
135
  .s("CertificateManager", "DeleteCertificate", {})
840
136
  .n("ACMClient", "DeleteCertificateCommand")
841
- .sc(DeleteCertificate$)
137
+ .sc(schemas_0.DeleteCertificate$)
842
138
  .build() {
843
139
  }
844
140
 
@@ -850,7 +146,7 @@ class DescribeCertificateCommand extends smithyClient.Command
850
146
  })
851
147
  .s("CertificateManager", "DescribeCertificate", {})
852
148
  .n("ACMClient", "DescribeCertificateCommand")
853
- .sc(DescribeCertificate$)
149
+ .sc(schemas_0.DescribeCertificate$)
854
150
  .build() {
855
151
  }
856
152
 
@@ -862,7 +158,7 @@ class ExportCertificateCommand extends smithyClient.Command
862
158
  })
863
159
  .s("CertificateManager", "ExportCertificate", {})
864
160
  .n("ACMClient", "ExportCertificateCommand")
865
- .sc(ExportCertificate$)
161
+ .sc(schemas_0.ExportCertificate$)
866
162
  .build() {
867
163
  }
868
164
 
@@ -874,7 +170,7 @@ class GetAccountConfigurationCommand extends smithyClient.Command
874
170
  })
875
171
  .s("CertificateManager", "GetAccountConfiguration", {})
876
172
  .n("ACMClient", "GetAccountConfigurationCommand")
877
- .sc(GetAccountConfiguration$)
173
+ .sc(schemas_0.GetAccountConfiguration$)
878
174
  .build() {
879
175
  }
880
176
 
@@ -886,7 +182,7 @@ class GetCertificateCommand extends smithyClient.Command
886
182
  })
887
183
  .s("CertificateManager", "GetCertificate", {})
888
184
  .n("ACMClient", "GetCertificateCommand")
889
- .sc(GetCertificate$)
185
+ .sc(schemas_0.GetCertificate$)
890
186
  .build() {
891
187
  }
892
188
 
@@ -898,7 +194,7 @@ class ImportCertificateCommand extends smithyClient.Command
898
194
  })
899
195
  .s("CertificateManager", "ImportCertificate", {})
900
196
  .n("ACMClient", "ImportCertificateCommand")
901
- .sc(ImportCertificate$)
197
+ .sc(schemas_0.ImportCertificate$)
902
198
  .build() {
903
199
  }
904
200
 
@@ -910,7 +206,7 @@ class ListCertificatesCommand extends smithyClient.Command
910
206
  })
911
207
  .s("CertificateManager", "ListCertificates", {})
912
208
  .n("ACMClient", "ListCertificatesCommand")
913
- .sc(ListCertificates$)
209
+ .sc(schemas_0.ListCertificates$)
914
210
  .build() {
915
211
  }
916
212
 
@@ -922,7 +218,7 @@ class ListTagsForCertificateCommand extends smithyClient.Command
922
218
  })
923
219
  .s("CertificateManager", "ListTagsForCertificate", {})
924
220
  .n("ACMClient", "ListTagsForCertificateCommand")
925
- .sc(ListTagsForCertificate$)
221
+ .sc(schemas_0.ListTagsForCertificate$)
926
222
  .build() {
927
223
  }
928
224
 
@@ -934,7 +230,7 @@ class PutAccountConfigurationCommand extends smithyClient.Command
934
230
  })
935
231
  .s("CertificateManager", "PutAccountConfiguration", {})
936
232
  .n("ACMClient", "PutAccountConfigurationCommand")
937
- .sc(PutAccountConfiguration$)
233
+ .sc(schemas_0.PutAccountConfiguration$)
938
234
  .build() {
939
235
  }
940
236
 
@@ -946,7 +242,7 @@ class RemoveTagsFromCertificateCommand extends smithyClient.Command
946
242
  })
947
243
  .s("CertificateManager", "RemoveTagsFromCertificate", {})
948
244
  .n("ACMClient", "RemoveTagsFromCertificateCommand")
949
- .sc(RemoveTagsFromCertificate$)
245
+ .sc(schemas_0.RemoveTagsFromCertificate$)
950
246
  .build() {
951
247
  }
952
248
 
@@ -958,7 +254,7 @@ class RenewCertificateCommand extends smithyClient.Command
958
254
  })
959
255
  .s("CertificateManager", "RenewCertificate", {})
960
256
  .n("ACMClient", "RenewCertificateCommand")
961
- .sc(RenewCertificate$)
257
+ .sc(schemas_0.RenewCertificate$)
962
258
  .build() {
963
259
  }
964
260
 
@@ -970,7 +266,7 @@ class RequestCertificateCommand extends smithyClient.Command
970
266
  })
971
267
  .s("CertificateManager", "RequestCertificate", {})
972
268
  .n("ACMClient", "RequestCertificateCommand")
973
- .sc(RequestCertificate$)
269
+ .sc(schemas_0.RequestCertificate$)
974
270
  .build() {
975
271
  }
976
272
 
@@ -982,7 +278,7 @@ class ResendValidationEmailCommand extends smithyClient.Command
982
278
  })
983
279
  .s("CertificateManager", "ResendValidationEmail", {})
984
280
  .n("ACMClient", "ResendValidationEmailCommand")
985
- .sc(ResendValidationEmail$)
281
+ .sc(schemas_0.ResendValidationEmail$)
986
282
  .build() {
987
283
  }
988
284
 
@@ -994,7 +290,7 @@ class RevokeCertificateCommand extends smithyClient.Command
994
290
  })
995
291
  .s("CertificateManager", "RevokeCertificate", {})
996
292
  .n("ACMClient", "RevokeCertificateCommand")
997
- .sc(RevokeCertificate$)
293
+ .sc(schemas_0.RevokeCertificate$)
998
294
  .build() {
999
295
  }
1000
296
 
@@ -1006,7 +302,7 @@ class UpdateCertificateOptionsCommand extends smithyClient.Command
1006
302
  })
1007
303
  .s("CertificateManager", "UpdateCertificateOptions", {})
1008
304
  .n("ACMClient", "UpdateCertificateOptionsCommand")
1009
- .sc(UpdateCertificateOptions$)
305
+ .sc(schemas_0.UpdateCertificateOptions$)
1010
306
  .build() {
1011
307
  }
1012
308
 
@@ -1237,128 +533,57 @@ Object.defineProperty(exports, "__Client", {
1237
533
  enumerable: true,
1238
534
  get: function () { return smithyClient.Client; }
1239
535
  });
536
+ Object.defineProperty(exports, "ACMServiceException", {
537
+ enumerable: true,
538
+ get: function () { return ACMServiceException.ACMServiceException; }
539
+ });
1240
540
  exports.ACM = ACM;
1241
541
  exports.ACMClient = ACMClient;
1242
- exports.ACMServiceException = ACMServiceException;
1243
- exports.ACMServiceException$ = ACMServiceException$;
1244
- exports.AccessDeniedException = AccessDeniedException;
1245
- exports.AccessDeniedException$ = AccessDeniedException$;
1246
- exports.AddTagsToCertificate$ = AddTagsToCertificate$;
1247
542
  exports.AddTagsToCertificateCommand = AddTagsToCertificateCommand;
1248
- exports.AddTagsToCertificateRequest$ = AddTagsToCertificateRequest$;
1249
- exports.CertificateDetail$ = CertificateDetail$;
1250
543
  exports.CertificateExport = CertificateExport;
1251
544
  exports.CertificateManagedBy = CertificateManagedBy;
1252
- exports.CertificateOptions$ = CertificateOptions$;
1253
545
  exports.CertificateStatus = CertificateStatus;
1254
- exports.CertificateSummary$ = CertificateSummary$;
1255
546
  exports.CertificateTransparencyLoggingPreference = CertificateTransparencyLoggingPreference;
1256
547
  exports.CertificateType = CertificateType;
1257
- exports.ConflictException = ConflictException;
1258
- exports.ConflictException$ = ConflictException$;
1259
- exports.DeleteCertificate$ = DeleteCertificate$;
1260
548
  exports.DeleteCertificateCommand = DeleteCertificateCommand;
1261
- exports.DeleteCertificateRequest$ = DeleteCertificateRequest$;
1262
- exports.DescribeCertificate$ = DescribeCertificate$;
1263
549
  exports.DescribeCertificateCommand = DescribeCertificateCommand;
1264
- exports.DescribeCertificateRequest$ = DescribeCertificateRequest$;
1265
- exports.DescribeCertificateResponse$ = DescribeCertificateResponse$;
1266
550
  exports.DomainStatus = DomainStatus;
1267
- exports.DomainValidation$ = DomainValidation$;
1268
- exports.DomainValidationOption$ = DomainValidationOption$;
1269
- exports.ExpiryEventsConfiguration$ = ExpiryEventsConfiguration$;
1270
- exports.ExportCertificate$ = ExportCertificate$;
1271
551
  exports.ExportCertificateCommand = ExportCertificateCommand;
1272
- exports.ExportCertificateRequest$ = ExportCertificateRequest$;
1273
- exports.ExportCertificateResponse$ = ExportCertificateResponse$;
1274
- exports.ExtendedKeyUsage$ = ExtendedKeyUsage$;
1275
552
  exports.ExtendedKeyUsageName = ExtendedKeyUsageName;
1276
553
  exports.FailureReason = FailureReason;
1277
- exports.Filters$ = Filters$;
1278
- exports.GetAccountConfiguration$ = GetAccountConfiguration$;
1279
554
  exports.GetAccountConfigurationCommand = GetAccountConfigurationCommand;
1280
- exports.GetAccountConfigurationResponse$ = GetAccountConfigurationResponse$;
1281
- exports.GetCertificate$ = GetCertificate$;
1282
555
  exports.GetCertificateCommand = GetCertificateCommand;
1283
- exports.GetCertificateRequest$ = GetCertificateRequest$;
1284
- exports.GetCertificateResponse$ = GetCertificateResponse$;
1285
- exports.HttpRedirect$ = HttpRedirect$;
1286
- exports.ImportCertificate$ = ImportCertificate$;
1287
556
  exports.ImportCertificateCommand = ImportCertificateCommand;
1288
- exports.ImportCertificateRequest$ = ImportCertificateRequest$;
1289
- exports.ImportCertificateResponse$ = ImportCertificateResponse$;
1290
- exports.InvalidArgsException = InvalidArgsException;
1291
- exports.InvalidArgsException$ = InvalidArgsException$;
1292
- exports.InvalidArnException = InvalidArnException;
1293
- exports.InvalidArnException$ = InvalidArnException$;
1294
- exports.InvalidDomainValidationOptionsException = InvalidDomainValidationOptionsException;
1295
- exports.InvalidDomainValidationOptionsException$ = InvalidDomainValidationOptionsException$;
1296
- exports.InvalidParameterException = InvalidParameterException;
1297
- exports.InvalidParameterException$ = InvalidParameterException$;
1298
- exports.InvalidStateException = InvalidStateException;
1299
- exports.InvalidStateException$ = InvalidStateException$;
1300
- exports.InvalidTagException = InvalidTagException;
1301
- exports.InvalidTagException$ = InvalidTagException$;
1302
557
  exports.KeyAlgorithm = KeyAlgorithm;
1303
- exports.KeyUsage$ = KeyUsage$;
1304
558
  exports.KeyUsageName = KeyUsageName;
1305
- exports.LimitExceededException = LimitExceededException;
1306
- exports.LimitExceededException$ = LimitExceededException$;
1307
- exports.ListCertificates$ = ListCertificates$;
1308
559
  exports.ListCertificatesCommand = ListCertificatesCommand;
1309
- exports.ListCertificatesRequest$ = ListCertificatesRequest$;
1310
- exports.ListCertificatesResponse$ = ListCertificatesResponse$;
1311
- exports.ListTagsForCertificate$ = ListTagsForCertificate$;
1312
560
  exports.ListTagsForCertificateCommand = ListTagsForCertificateCommand;
1313
- exports.ListTagsForCertificateRequest$ = ListTagsForCertificateRequest$;
1314
- exports.ListTagsForCertificateResponse$ = ListTagsForCertificateResponse$;
1315
- exports.PutAccountConfiguration$ = PutAccountConfiguration$;
1316
561
  exports.PutAccountConfigurationCommand = PutAccountConfigurationCommand;
1317
- exports.PutAccountConfigurationRequest$ = PutAccountConfigurationRequest$;
1318
562
  exports.RecordType = RecordType;
1319
- exports.RemoveTagsFromCertificate$ = RemoveTagsFromCertificate$;
1320
563
  exports.RemoveTagsFromCertificateCommand = RemoveTagsFromCertificateCommand;
1321
- exports.RemoveTagsFromCertificateRequest$ = RemoveTagsFromCertificateRequest$;
1322
- exports.RenewCertificate$ = RenewCertificate$;
1323
564
  exports.RenewCertificateCommand = RenewCertificateCommand;
1324
- exports.RenewCertificateRequest$ = RenewCertificateRequest$;
1325
565
  exports.RenewalEligibility = RenewalEligibility;
1326
566
  exports.RenewalStatus = RenewalStatus;
1327
- exports.RenewalSummary$ = RenewalSummary$;
1328
- exports.RequestCertificate$ = RequestCertificate$;
1329
567
  exports.RequestCertificateCommand = RequestCertificateCommand;
1330
- exports.RequestCertificateRequest$ = RequestCertificateRequest$;
1331
- exports.RequestCertificateResponse$ = RequestCertificateResponse$;
1332
- exports.RequestInProgressException = RequestInProgressException;
1333
- exports.RequestInProgressException$ = RequestInProgressException$;
1334
- exports.ResendValidationEmail$ = ResendValidationEmail$;
1335
568
  exports.ResendValidationEmailCommand = ResendValidationEmailCommand;
1336
- exports.ResendValidationEmailRequest$ = ResendValidationEmailRequest$;
1337
- exports.ResourceInUseException = ResourceInUseException;
1338
- exports.ResourceInUseException$ = ResourceInUseException$;
1339
- exports.ResourceNotFoundException = ResourceNotFoundException;
1340
- exports.ResourceNotFoundException$ = ResourceNotFoundException$;
1341
- exports.ResourceRecord$ = ResourceRecord$;
1342
569
  exports.RevocationReason = RevocationReason;
1343
- exports.RevokeCertificate$ = RevokeCertificate$;
1344
570
  exports.RevokeCertificateCommand = RevokeCertificateCommand;
1345
- exports.RevokeCertificateRequest$ = RevokeCertificateRequest$;
1346
- exports.RevokeCertificateResponse$ = RevokeCertificateResponse$;
1347
571
  exports.SortBy = SortBy;
1348
572
  exports.SortOrder = SortOrder;
1349
- exports.Tag$ = Tag$;
1350
- exports.TagPolicyException = TagPolicyException;
1351
- exports.TagPolicyException$ = TagPolicyException$;
1352
- exports.ThrottlingException = ThrottlingException;
1353
- exports.ThrottlingException$ = ThrottlingException$;
1354
- exports.TooManyTagsException = TooManyTagsException;
1355
- exports.TooManyTagsException$ = TooManyTagsException$;
1356
- exports.UpdateCertificateOptions$ = UpdateCertificateOptions$;
1357
573
  exports.UpdateCertificateOptionsCommand = UpdateCertificateOptionsCommand;
1358
- exports.UpdateCertificateOptionsRequest$ = UpdateCertificateOptionsRequest$;
1359
- exports.ValidationException = ValidationException;
1360
- exports.ValidationException$ = ValidationException$;
1361
574
  exports.ValidationMethod = ValidationMethod;
1362
575
  exports.paginateListCertificates = paginateListCertificates;
1363
576
  exports.waitForCertificateValidated = waitForCertificateValidated;
1364
577
  exports.waitUntilCertificateValidated = waitUntilCertificateValidated;
578
+ Object.keys(schemas_0).forEach(function (k) {
579
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
580
+ enumerable: true,
581
+ get: function () { return schemas_0[k]; }
582
+ });
583
+ });
584
+ Object.keys(errors).forEach(function (k) {
585
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
586
+ enumerable: true,
587
+ get: function () { return errors[k]; }
588
+ });
589
+ });