@aws-sdk/client-acm 3.131.0 → 3.142.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +33 -0
- package/README.md +1 -1
- package/dist-cjs/commands/AddTagsToCertificateCommand.js +1 -1
- package/dist-cjs/commands/DeleteCertificateCommand.js +1 -1
- package/dist-cjs/commands/DescribeCertificateCommand.js +2 -2
- package/dist-cjs/commands/ExportCertificateCommand.js +2 -2
- package/dist-cjs/commands/GetAccountConfigurationCommand.js +1 -1
- package/dist-cjs/commands/GetCertificateCommand.js +2 -2
- package/dist-cjs/commands/ImportCertificateCommand.js +2 -2
- package/dist-cjs/commands/ListCertificatesCommand.js +2 -2
- package/dist-cjs/commands/ListTagsForCertificateCommand.js +2 -2
- package/dist-cjs/commands/PutAccountConfigurationCommand.js +1 -1
- package/dist-cjs/commands/RemoveTagsFromCertificateCommand.js +1 -1
- package/dist-cjs/commands/RenewCertificateCommand.js +1 -1
- package/dist-cjs/commands/RequestCertificateCommand.js +2 -2
- package/dist-cjs/commands/ResendValidationEmailCommand.js +1 -1
- package/dist-cjs/commands/UpdateCertificateOptionsCommand.js +1 -1
- package/dist-cjs/models/models_0.js +141 -209
- package/dist-cjs/protocols/Aws_json1_1.js +75 -141
- package/dist-es/commands/AddTagsToCertificateCommand.js +2 -2
- package/dist-es/commands/DeleteCertificateCommand.js +2 -2
- package/dist-es/commands/DescribeCertificateCommand.js +3 -3
- package/dist-es/commands/ExportCertificateCommand.js +3 -3
- package/dist-es/commands/GetAccountConfigurationCommand.js +2 -2
- package/dist-es/commands/GetCertificateCommand.js +3 -3
- package/dist-es/commands/ImportCertificateCommand.js +3 -3
- package/dist-es/commands/ListCertificatesCommand.js +3 -3
- package/dist-es/commands/ListTagsForCertificateCommand.js +3 -3
- package/dist-es/commands/PutAccountConfigurationCommand.js +2 -2
- package/dist-es/commands/RemoveTagsFromCertificateCommand.js +2 -2
- package/dist-es/commands/RenewCertificateCommand.js +2 -2
- package/dist-es/commands/RequestCertificateCommand.js +3 -3
- package/dist-es/commands/ResendValidationEmailCommand.js +2 -2
- package/dist-es/commands/UpdateCertificateOptionsCommand.js +2 -2
- package/dist-es/models/models_0.js +34 -136
- package/dist-es/protocols/Aws_json1_1.js +121 -142
- package/dist-types/models/models_0.d.ts +136 -204
- package/dist-types/ts3.4/models/models_0.d.ts +68 -136
- package/package.json +6 -6
|
@@ -170,7 +170,6 @@ const deserializeAws_json1_1AddTagsToCertificateCommandError = async (output, co
|
|
|
170
170
|
...output,
|
|
171
171
|
body: await parseBody(output.body, context),
|
|
172
172
|
};
|
|
173
|
-
let response;
|
|
174
173
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
175
174
|
switch (errorCode) {
|
|
176
175
|
case "InvalidArnException":
|
|
@@ -196,14 +195,12 @@ const deserializeAws_json1_1AddTagsToCertificateCommandError = async (output, co
|
|
|
196
195
|
throw await deserializeAws_json1_1TooManyTagsExceptionResponse(parsedOutput, context);
|
|
197
196
|
default:
|
|
198
197
|
const parsedBody = parsedOutput.body;
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
$metadata,
|
|
198
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
199
|
+
output,
|
|
200
|
+
parsedBody,
|
|
201
|
+
exceptionCtor: ACMServiceException_1.ACMServiceException,
|
|
202
|
+
errorCode,
|
|
205
203
|
});
|
|
206
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
207
204
|
}
|
|
208
205
|
};
|
|
209
206
|
const deserializeAws_json1_1DeleteCertificateCommand = async (output, context) => {
|
|
@@ -222,7 +219,6 @@ const deserializeAws_json1_1DeleteCertificateCommandError = async (output, conte
|
|
|
222
219
|
...output,
|
|
223
220
|
body: await parseBody(output.body, context),
|
|
224
221
|
};
|
|
225
|
-
let response;
|
|
226
222
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
227
223
|
switch (errorCode) {
|
|
228
224
|
case "InvalidArnException":
|
|
@@ -236,14 +232,12 @@ const deserializeAws_json1_1DeleteCertificateCommandError = async (output, conte
|
|
|
236
232
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
237
233
|
default:
|
|
238
234
|
const parsedBody = parsedOutput.body;
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
$metadata,
|
|
235
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
236
|
+
output,
|
|
237
|
+
parsedBody,
|
|
238
|
+
exceptionCtor: ACMServiceException_1.ACMServiceException,
|
|
239
|
+
errorCode,
|
|
245
240
|
});
|
|
246
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
247
241
|
}
|
|
248
242
|
};
|
|
249
243
|
const deserializeAws_json1_1DescribeCertificateCommand = async (output, context) => {
|
|
@@ -265,7 +259,6 @@ const deserializeAws_json1_1DescribeCertificateCommandError = async (output, con
|
|
|
265
259
|
...output,
|
|
266
260
|
body: await parseBody(output.body, context),
|
|
267
261
|
};
|
|
268
|
-
let response;
|
|
269
262
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
270
263
|
switch (errorCode) {
|
|
271
264
|
case "InvalidArnException":
|
|
@@ -276,14 +269,12 @@ const deserializeAws_json1_1DescribeCertificateCommandError = async (output, con
|
|
|
276
269
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
277
270
|
default:
|
|
278
271
|
const parsedBody = parsedOutput.body;
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
$metadata,
|
|
272
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
273
|
+
output,
|
|
274
|
+
parsedBody,
|
|
275
|
+
exceptionCtor: ACMServiceException_1.ACMServiceException,
|
|
276
|
+
errorCode,
|
|
285
277
|
});
|
|
286
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
287
278
|
}
|
|
288
279
|
};
|
|
289
280
|
const deserializeAws_json1_1ExportCertificateCommand = async (output, context) => {
|
|
@@ -305,7 +296,6 @@ const deserializeAws_json1_1ExportCertificateCommandError = async (output, conte
|
|
|
305
296
|
...output,
|
|
306
297
|
body: await parseBody(output.body, context),
|
|
307
298
|
};
|
|
308
|
-
let response;
|
|
309
299
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
310
300
|
switch (errorCode) {
|
|
311
301
|
case "InvalidArnException":
|
|
@@ -319,14 +309,12 @@ const deserializeAws_json1_1ExportCertificateCommandError = async (output, conte
|
|
|
319
309
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
320
310
|
default:
|
|
321
311
|
const parsedBody = parsedOutput.body;
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
$metadata,
|
|
312
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
313
|
+
output,
|
|
314
|
+
parsedBody,
|
|
315
|
+
exceptionCtor: ACMServiceException_1.ACMServiceException,
|
|
316
|
+
errorCode,
|
|
328
317
|
});
|
|
329
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
330
318
|
}
|
|
331
319
|
};
|
|
332
320
|
const deserializeAws_json1_1GetAccountConfigurationCommand = async (output, context) => {
|
|
@@ -348,7 +336,6 @@ const deserializeAws_json1_1GetAccountConfigurationCommandError = async (output,
|
|
|
348
336
|
...output,
|
|
349
337
|
body: await parseBody(output.body, context),
|
|
350
338
|
};
|
|
351
|
-
let response;
|
|
352
339
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
353
340
|
switch (errorCode) {
|
|
354
341
|
case "AccessDeniedException":
|
|
@@ -359,14 +346,12 @@ const deserializeAws_json1_1GetAccountConfigurationCommandError = async (output,
|
|
|
359
346
|
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
360
347
|
default:
|
|
361
348
|
const parsedBody = parsedOutput.body;
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
$metadata,
|
|
349
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
350
|
+
output,
|
|
351
|
+
parsedBody,
|
|
352
|
+
exceptionCtor: ACMServiceException_1.ACMServiceException,
|
|
353
|
+
errorCode,
|
|
368
354
|
});
|
|
369
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
370
355
|
}
|
|
371
356
|
};
|
|
372
357
|
const deserializeAws_json1_1GetCertificateCommand = async (output, context) => {
|
|
@@ -388,7 +373,6 @@ const deserializeAws_json1_1GetCertificateCommandError = async (output, context)
|
|
|
388
373
|
...output,
|
|
389
374
|
body: await parseBody(output.body, context),
|
|
390
375
|
};
|
|
391
|
-
let response;
|
|
392
376
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
393
377
|
switch (errorCode) {
|
|
394
378
|
case "InvalidArnException":
|
|
@@ -402,14 +386,12 @@ const deserializeAws_json1_1GetCertificateCommandError = async (output, context)
|
|
|
402
386
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
403
387
|
default:
|
|
404
388
|
const parsedBody = parsedOutput.body;
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
$metadata,
|
|
389
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
390
|
+
output,
|
|
391
|
+
parsedBody,
|
|
392
|
+
exceptionCtor: ACMServiceException_1.ACMServiceException,
|
|
393
|
+
errorCode,
|
|
411
394
|
});
|
|
412
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
413
395
|
}
|
|
414
396
|
};
|
|
415
397
|
const deserializeAws_json1_1ImportCertificateCommand = async (output, context) => {
|
|
@@ -431,7 +413,6 @@ const deserializeAws_json1_1ImportCertificateCommandError = async (output, conte
|
|
|
431
413
|
...output,
|
|
432
414
|
body: await parseBody(output.body, context),
|
|
433
415
|
};
|
|
434
|
-
let response;
|
|
435
416
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
436
417
|
switch (errorCode) {
|
|
437
418
|
case "InvalidArnException":
|
|
@@ -457,14 +438,12 @@ const deserializeAws_json1_1ImportCertificateCommandError = async (output, conte
|
|
|
457
438
|
throw await deserializeAws_json1_1TooManyTagsExceptionResponse(parsedOutput, context);
|
|
458
439
|
default:
|
|
459
440
|
const parsedBody = parsedOutput.body;
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
$metadata,
|
|
441
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
442
|
+
output,
|
|
443
|
+
parsedBody,
|
|
444
|
+
exceptionCtor: ACMServiceException_1.ACMServiceException,
|
|
445
|
+
errorCode,
|
|
466
446
|
});
|
|
467
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
468
447
|
}
|
|
469
448
|
};
|
|
470
449
|
const deserializeAws_json1_1ListCertificatesCommand = async (output, context) => {
|
|
@@ -486,7 +465,6 @@ const deserializeAws_json1_1ListCertificatesCommandError = async (output, contex
|
|
|
486
465
|
...output,
|
|
487
466
|
body: await parseBody(output.body, context),
|
|
488
467
|
};
|
|
489
|
-
let response;
|
|
490
468
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
491
469
|
switch (errorCode) {
|
|
492
470
|
case "InvalidArgsException":
|
|
@@ -494,14 +472,12 @@ const deserializeAws_json1_1ListCertificatesCommandError = async (output, contex
|
|
|
494
472
|
throw await deserializeAws_json1_1InvalidArgsExceptionResponse(parsedOutput, context);
|
|
495
473
|
default:
|
|
496
474
|
const parsedBody = parsedOutput.body;
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
$metadata,
|
|
475
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
476
|
+
output,
|
|
477
|
+
parsedBody,
|
|
478
|
+
exceptionCtor: ACMServiceException_1.ACMServiceException,
|
|
479
|
+
errorCode,
|
|
503
480
|
});
|
|
504
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
505
481
|
}
|
|
506
482
|
};
|
|
507
483
|
const deserializeAws_json1_1ListTagsForCertificateCommand = async (output, context) => {
|
|
@@ -523,7 +499,6 @@ const deserializeAws_json1_1ListTagsForCertificateCommandError = async (output,
|
|
|
523
499
|
...output,
|
|
524
500
|
body: await parseBody(output.body, context),
|
|
525
501
|
};
|
|
526
|
-
let response;
|
|
527
502
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
528
503
|
switch (errorCode) {
|
|
529
504
|
case "InvalidArnException":
|
|
@@ -534,14 +509,12 @@ const deserializeAws_json1_1ListTagsForCertificateCommandError = async (output,
|
|
|
534
509
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
535
510
|
default:
|
|
536
511
|
const parsedBody = parsedOutput.body;
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
$metadata,
|
|
512
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
513
|
+
output,
|
|
514
|
+
parsedBody,
|
|
515
|
+
exceptionCtor: ACMServiceException_1.ACMServiceException,
|
|
516
|
+
errorCode,
|
|
543
517
|
});
|
|
544
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
545
518
|
}
|
|
546
519
|
};
|
|
547
520
|
const deserializeAws_json1_1PutAccountConfigurationCommand = async (output, context) => {
|
|
@@ -560,7 +533,6 @@ const deserializeAws_json1_1PutAccountConfigurationCommandError = async (output,
|
|
|
560
533
|
...output,
|
|
561
534
|
body: await parseBody(output.body, context),
|
|
562
535
|
};
|
|
563
|
-
let response;
|
|
564
536
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
565
537
|
switch (errorCode) {
|
|
566
538
|
case "AccessDeniedException":
|
|
@@ -577,14 +549,12 @@ const deserializeAws_json1_1PutAccountConfigurationCommandError = async (output,
|
|
|
577
549
|
throw await deserializeAws_json1_1ValidationExceptionResponse(parsedOutput, context);
|
|
578
550
|
default:
|
|
579
551
|
const parsedBody = parsedOutput.body;
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
$metadata,
|
|
552
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
553
|
+
output,
|
|
554
|
+
parsedBody,
|
|
555
|
+
exceptionCtor: ACMServiceException_1.ACMServiceException,
|
|
556
|
+
errorCode,
|
|
586
557
|
});
|
|
587
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
588
558
|
}
|
|
589
559
|
};
|
|
590
560
|
const deserializeAws_json1_1RemoveTagsFromCertificateCommand = async (output, context) => {
|
|
@@ -603,7 +573,6 @@ const deserializeAws_json1_1RemoveTagsFromCertificateCommandError = async (outpu
|
|
|
603
573
|
...output,
|
|
604
574
|
body: await parseBody(output.body, context),
|
|
605
575
|
};
|
|
606
|
-
let response;
|
|
607
576
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
608
577
|
switch (errorCode) {
|
|
609
578
|
case "InvalidArnException":
|
|
@@ -626,14 +595,12 @@ const deserializeAws_json1_1RemoveTagsFromCertificateCommandError = async (outpu
|
|
|
626
595
|
throw await deserializeAws_json1_1ThrottlingExceptionResponse(parsedOutput, context);
|
|
627
596
|
default:
|
|
628
597
|
const parsedBody = parsedOutput.body;
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
$metadata,
|
|
598
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
599
|
+
output,
|
|
600
|
+
parsedBody,
|
|
601
|
+
exceptionCtor: ACMServiceException_1.ACMServiceException,
|
|
602
|
+
errorCode,
|
|
635
603
|
});
|
|
636
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
637
604
|
}
|
|
638
605
|
};
|
|
639
606
|
const deserializeAws_json1_1RenewCertificateCommand = async (output, context) => {
|
|
@@ -652,7 +619,6 @@ const deserializeAws_json1_1RenewCertificateCommandError = async (output, contex
|
|
|
652
619
|
...output,
|
|
653
620
|
body: await parseBody(output.body, context),
|
|
654
621
|
};
|
|
655
|
-
let response;
|
|
656
622
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
657
623
|
switch (errorCode) {
|
|
658
624
|
case "InvalidArnException":
|
|
@@ -663,14 +629,12 @@ const deserializeAws_json1_1RenewCertificateCommandError = async (output, contex
|
|
|
663
629
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
664
630
|
default:
|
|
665
631
|
const parsedBody = parsedOutput.body;
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
$metadata,
|
|
632
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
633
|
+
output,
|
|
634
|
+
parsedBody,
|
|
635
|
+
exceptionCtor: ACMServiceException_1.ACMServiceException,
|
|
636
|
+
errorCode,
|
|
672
637
|
});
|
|
673
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
674
638
|
}
|
|
675
639
|
};
|
|
676
640
|
const deserializeAws_json1_1RequestCertificateCommand = async (output, context) => {
|
|
@@ -692,7 +656,6 @@ const deserializeAws_json1_1RequestCertificateCommandError = async (output, cont
|
|
|
692
656
|
...output,
|
|
693
657
|
body: await parseBody(output.body, context),
|
|
694
658
|
};
|
|
695
|
-
let response;
|
|
696
659
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
697
660
|
switch (errorCode) {
|
|
698
661
|
case "InvalidArnException":
|
|
@@ -718,14 +681,12 @@ const deserializeAws_json1_1RequestCertificateCommandError = async (output, cont
|
|
|
718
681
|
throw await deserializeAws_json1_1TooManyTagsExceptionResponse(parsedOutput, context);
|
|
719
682
|
default:
|
|
720
683
|
const parsedBody = parsedOutput.body;
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
$metadata,
|
|
684
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
685
|
+
output,
|
|
686
|
+
parsedBody,
|
|
687
|
+
exceptionCtor: ACMServiceException_1.ACMServiceException,
|
|
688
|
+
errorCode,
|
|
727
689
|
});
|
|
728
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
729
690
|
}
|
|
730
691
|
};
|
|
731
692
|
const deserializeAws_json1_1ResendValidationEmailCommand = async (output, context) => {
|
|
@@ -744,7 +705,6 @@ const deserializeAws_json1_1ResendValidationEmailCommandError = async (output, c
|
|
|
744
705
|
...output,
|
|
745
706
|
body: await parseBody(output.body, context),
|
|
746
707
|
};
|
|
747
|
-
let response;
|
|
748
708
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
749
709
|
switch (errorCode) {
|
|
750
710
|
case "InvalidArnException":
|
|
@@ -761,14 +721,12 @@ const deserializeAws_json1_1ResendValidationEmailCommandError = async (output, c
|
|
|
761
721
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
762
722
|
default:
|
|
763
723
|
const parsedBody = parsedOutput.body;
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
$metadata,
|
|
724
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
725
|
+
output,
|
|
726
|
+
parsedBody,
|
|
727
|
+
exceptionCtor: ACMServiceException_1.ACMServiceException,
|
|
728
|
+
errorCode,
|
|
770
729
|
});
|
|
771
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
772
730
|
}
|
|
773
731
|
};
|
|
774
732
|
const deserializeAws_json1_1UpdateCertificateOptionsCommand = async (output, context) => {
|
|
@@ -787,7 +745,6 @@ const deserializeAws_json1_1UpdateCertificateOptionsCommandError = async (output
|
|
|
787
745
|
...output,
|
|
788
746
|
body: await parseBody(output.body, context),
|
|
789
747
|
};
|
|
790
|
-
let response;
|
|
791
748
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
792
749
|
switch (errorCode) {
|
|
793
750
|
case "InvalidArnException":
|
|
@@ -804,14 +761,12 @@ const deserializeAws_json1_1UpdateCertificateOptionsCommandError = async (output
|
|
|
804
761
|
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
805
762
|
default:
|
|
806
763
|
const parsedBody = parsedOutput.body;
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
$metadata,
|
|
764
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
765
|
+
output,
|
|
766
|
+
parsedBody,
|
|
767
|
+
exceptionCtor: ACMServiceException_1.ACMServiceException,
|
|
768
|
+
errorCode,
|
|
813
769
|
});
|
|
814
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
815
770
|
}
|
|
816
771
|
};
|
|
817
772
|
const deserializeAws_json1_1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
|
|
@@ -975,9 +930,6 @@ const serializeAws_json1_1CertificateStatuses = (input, context) => {
|
|
|
975
930
|
return input
|
|
976
931
|
.filter((e) => e != null)
|
|
977
932
|
.map((entry) => {
|
|
978
|
-
if (entry === null) {
|
|
979
|
-
return null;
|
|
980
|
-
}
|
|
981
933
|
return entry;
|
|
982
934
|
});
|
|
983
935
|
};
|
|
@@ -995,9 +947,6 @@ const serializeAws_json1_1DomainList = (input, context) => {
|
|
|
995
947
|
return input
|
|
996
948
|
.filter((e) => e != null)
|
|
997
949
|
.map((entry) => {
|
|
998
|
-
if (entry === null) {
|
|
999
|
-
return null;
|
|
1000
|
-
}
|
|
1001
950
|
return entry;
|
|
1002
951
|
});
|
|
1003
952
|
};
|
|
@@ -1011,9 +960,6 @@ const serializeAws_json1_1DomainValidationOptionList = (input, context) => {
|
|
|
1011
960
|
return input
|
|
1012
961
|
.filter((e) => e != null)
|
|
1013
962
|
.map((entry) => {
|
|
1014
|
-
if (entry === null) {
|
|
1015
|
-
return null;
|
|
1016
|
-
}
|
|
1017
963
|
return serializeAws_json1_1DomainValidationOption(entry, context);
|
|
1018
964
|
});
|
|
1019
965
|
};
|
|
@@ -1032,9 +978,6 @@ const serializeAws_json1_1ExtendedKeyUsageFilterList = (input, context) => {
|
|
|
1032
978
|
return input
|
|
1033
979
|
.filter((e) => e != null)
|
|
1034
980
|
.map((entry) => {
|
|
1035
|
-
if (entry === null) {
|
|
1036
|
-
return null;
|
|
1037
|
-
}
|
|
1038
981
|
return entry;
|
|
1039
982
|
});
|
|
1040
983
|
};
|
|
@@ -1065,9 +1008,6 @@ const serializeAws_json1_1KeyAlgorithmList = (input, context) => {
|
|
|
1065
1008
|
return input
|
|
1066
1009
|
.filter((e) => e != null)
|
|
1067
1010
|
.map((entry) => {
|
|
1068
|
-
if (entry === null) {
|
|
1069
|
-
return null;
|
|
1070
|
-
}
|
|
1071
1011
|
return entry;
|
|
1072
1012
|
});
|
|
1073
1013
|
};
|
|
@@ -1075,9 +1015,6 @@ const serializeAws_json1_1KeyUsageFilterList = (input, context) => {
|
|
|
1075
1015
|
return input
|
|
1076
1016
|
.filter((e) => e != null)
|
|
1077
1017
|
.map((entry) => {
|
|
1078
|
-
if (entry === null) {
|
|
1079
|
-
return null;
|
|
1080
|
-
}
|
|
1081
1018
|
return entry;
|
|
1082
1019
|
});
|
|
1083
1020
|
};
|
|
@@ -1148,9 +1085,6 @@ const serializeAws_json1_1TagList = (input, context) => {
|
|
|
1148
1085
|
return input
|
|
1149
1086
|
.filter((e) => e != null)
|
|
1150
1087
|
.map((entry) => {
|
|
1151
|
-
if (entry === null) {
|
|
1152
|
-
return null;
|
|
1153
|
-
}
|
|
1154
1088
|
return serializeAws_json1_1Tag(entry, context);
|
|
1155
1089
|
});
|
|
1156
1090
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { AddTagsToCertificateRequestFilterSensitiveLog } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1AddTagsToCertificateCommand, serializeAws_json1_1AddTagsToCertificateCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var AddTagsToCertificateCommand = (function (_super) {
|
|
7
7
|
__extends(AddTagsToCertificateCommand, _super);
|
|
@@ -20,7 +20,7 @@ var AddTagsToCertificateCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: AddTagsToCertificateRequestFilterSensitiveLog,
|
|
24
24
|
outputFilterSensitiveLog: function (output) { return output; },
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { DeleteCertificateRequestFilterSensitiveLog } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1DeleteCertificateCommand, serializeAws_json1_1DeleteCertificateCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var DeleteCertificateCommand = (function (_super) {
|
|
7
7
|
__extends(DeleteCertificateCommand, _super);
|
|
@@ -20,7 +20,7 @@ var DeleteCertificateCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: DeleteCertificateRequestFilterSensitiveLog,
|
|
24
24
|
outputFilterSensitiveLog: function (output) { return output; },
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { DescribeCertificateRequestFilterSensitiveLog, DescribeCertificateResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1DescribeCertificateCommand, serializeAws_json1_1DescribeCertificateCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var DescribeCertificateCommand = (function (_super) {
|
|
7
7
|
__extends(DescribeCertificateCommand, _super);
|
|
@@ -20,8 +20,8 @@ var DescribeCertificateCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: DescribeCertificateRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DescribeCertificateResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { ExportCertificateRequestFilterSensitiveLog, ExportCertificateResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1ExportCertificateCommand, serializeAws_json1_1ExportCertificateCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var ExportCertificateCommand = (function (_super) {
|
|
7
7
|
__extends(ExportCertificateCommand, _super);
|
|
@@ -20,8 +20,8 @@ var ExportCertificateCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: ExportCertificateRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: ExportCertificateResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { GetAccountConfigurationResponseFilterSensitiveLog } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1GetAccountConfigurationCommand, serializeAws_json1_1GetAccountConfigurationCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var GetAccountConfigurationCommand = (function (_super) {
|
|
7
7
|
__extends(GetAccountConfigurationCommand, _super);
|
|
@@ -21,7 +21,7 @@ var GetAccountConfigurationCommand = (function (_super) {
|
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
23
|
inputFilterSensitiveLog: function (input) { return input; },
|
|
24
|
-
outputFilterSensitiveLog:
|
|
24
|
+
outputFilterSensitiveLog: GetAccountConfigurationResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { GetCertificateRequestFilterSensitiveLog, GetCertificateResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1GetCertificateCommand, serializeAws_json1_1GetCertificateCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var GetCertificateCommand = (function (_super) {
|
|
7
7
|
__extends(GetCertificateCommand, _super);
|
|
@@ -20,8 +20,8 @@ var GetCertificateCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: GetCertificateRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: GetCertificateResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { ImportCertificateRequestFilterSensitiveLog, ImportCertificateResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1ImportCertificateCommand, serializeAws_json1_1ImportCertificateCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var ImportCertificateCommand = (function (_super) {
|
|
7
7
|
__extends(ImportCertificateCommand, _super);
|
|
@@ -20,8 +20,8 @@ var ImportCertificateCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: ImportCertificateRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: ImportCertificateResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { ListCertificatesRequestFilterSensitiveLog, ListCertificatesResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_1ListCertificatesCommand, serializeAws_json1_1ListCertificatesCommand, } from "../protocols/Aws_json1_1";
|
|
6
6
|
var ListCertificatesCommand = (function (_super) {
|
|
7
7
|
__extends(ListCertificatesCommand, _super);
|
|
@@ -20,8 +20,8 @@ var ListCertificatesCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: ListCertificatesRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: ListCertificatesResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|