@aws-sdk/client-acm-pca 3.54.1 → 3.58.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 (63) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/README.md +12 -13
  3. package/dist-cjs/ACMPCAClient.js +13 -13
  4. package/dist-cjs/commands/CreateCertificateAuthorityAuditReportCommand.js +3 -3
  5. package/dist-cjs/commands/CreateCertificateAuthorityCommand.js +3 -3
  6. package/dist-cjs/commands/CreatePermissionCommand.js +3 -3
  7. package/dist-cjs/commands/DeleteCertificateAuthorityCommand.js +3 -3
  8. package/dist-cjs/commands/DeletePermissionCommand.js +3 -3
  9. package/dist-cjs/commands/DeletePolicyCommand.js +3 -3
  10. package/dist-cjs/commands/DescribeCertificateAuthorityAuditReportCommand.js +3 -3
  11. package/dist-cjs/commands/DescribeCertificateAuthorityCommand.js +3 -3
  12. package/dist-cjs/commands/GetCertificateAuthorityCertificateCommand.js +3 -3
  13. package/dist-cjs/commands/GetCertificateAuthorityCsrCommand.js +3 -3
  14. package/dist-cjs/commands/GetCertificateCommand.js +3 -3
  15. package/dist-cjs/commands/GetPolicyCommand.js +3 -3
  16. package/dist-cjs/commands/ImportCertificateAuthorityCertificateCommand.js +3 -3
  17. package/dist-cjs/commands/IssueCertificateCommand.js +3 -3
  18. package/dist-cjs/commands/ListCertificateAuthoritiesCommand.js +3 -3
  19. package/dist-cjs/commands/ListPermissionsCommand.js +3 -3
  20. package/dist-cjs/commands/ListTagsCommand.js +3 -3
  21. package/dist-cjs/commands/PutPolicyCommand.js +3 -3
  22. package/dist-cjs/commands/RestoreCertificateAuthorityCommand.js +3 -3
  23. package/dist-cjs/commands/RevokeCertificateCommand.js +3 -3
  24. package/dist-cjs/commands/TagCertificateAuthorityCommand.js +3 -3
  25. package/dist-cjs/commands/UntagCertificateAuthorityCommand.js +3 -3
  26. package/dist-cjs/commands/UpdateCertificateAuthorityCommand.js +3 -3
  27. package/dist-cjs/endpoints.js +1 -1
  28. package/dist-cjs/models/models_0.js +14 -2
  29. package/dist-cjs/protocols/Aws_json1_1.js +204 -141
  30. package/dist-cjs/runtimeConfig.browser.js +4 -4
  31. package/dist-cjs/runtimeConfig.js +9 -9
  32. package/dist-cjs/runtimeConfig.native.js +1 -1
  33. package/dist-cjs/waiters/waitForAuditReportCreated.js +3 -3
  34. package/dist-cjs/waiters/waitForCertificateAuthorityCSRCreated.js +3 -3
  35. package/dist-cjs/waiters/waitForCertificateIssued.js +3 -3
  36. package/dist-es/ACMPCA.js +23 -23
  37. package/dist-es/models/models_0.js +8 -0
  38. package/dist-es/pagination/ListCertificateAuthoritiesPaginator.js +4 -4
  39. package/dist-es/pagination/ListPermissionsPaginator.js +4 -4
  40. package/dist-es/pagination/ListTagsPaginator.js +4 -4
  41. package/dist-es/protocols/Aws_json1_1.js +56 -2
  42. package/dist-types/ACMPCA.d.ts +89 -90
  43. package/dist-types/ACMPCAClient.d.ts +12 -13
  44. package/dist-types/commands/CreateCertificateAuthorityAuditReportCommand.d.ts +8 -8
  45. package/dist-types/commands/CreateCertificateAuthorityCommand.d.ts +14 -14
  46. package/dist-types/commands/CreatePermissionCommand.d.ts +2 -2
  47. package/dist-types/commands/DeleteCertificateAuthorityCommand.d.ts +2 -2
  48. package/dist-types/commands/DeletePermissionCommand.d.ts +3 -3
  49. package/dist-types/commands/DeletePolicyCommand.d.ts +7 -7
  50. package/dist-types/commands/DescribeCertificateAuthorityCommand.d.ts +3 -3
  51. package/dist-types/commands/GetCertificateAuthorityCsrCommand.d.ts +3 -3
  52. package/dist-types/commands/GetPolicyCommand.d.ts +5 -5
  53. package/dist-types/commands/ImportCertificateAuthorityCertificateCommand.d.ts +5 -5
  54. package/dist-types/commands/ListPermissionsCommand.d.ts +2 -2
  55. package/dist-types/commands/PutPolicyCommand.d.ts +6 -6
  56. package/dist-types/commands/RevokeCertificateCommand.d.ts +12 -12
  57. package/dist-types/commands/TagCertificateAuthorityCommand.d.ts +1 -1
  58. package/dist-types/commands/UpdateCertificateAuthorityCommand.d.ts +4 -4
  59. package/dist-types/models/models_0.d.ts +183 -75
  60. package/dist-types/runtimeConfig.native.d.ts +2 -2
  61. package/dist-types/ts3.4/models/models_0.d.ts +28 -0
  62. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
  63. package/package.json +35 -35
@@ -277,7 +277,7 @@ const deserializeAws_json1_1CreateCertificateAuthorityCommandError = async (outp
277
277
  $fault: "client",
278
278
  $metadata: deserializeMetadata(output),
279
279
  });
280
- throw smithy_client_1.decorateServiceException(response, parsedBody);
280
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
281
281
  }
282
282
  };
283
283
  const deserializeAws_json1_1CreateCertificateAuthorityAuditReportCommand = async (output, context) => {
@@ -328,7 +328,7 @@ const deserializeAws_json1_1CreateCertificateAuthorityAuditReportCommandError =
328
328
  $fault: "client",
329
329
  $metadata: deserializeMetadata(output),
330
330
  });
331
- throw smithy_client_1.decorateServiceException(response, parsedBody);
331
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
332
332
  }
333
333
  };
334
334
  const deserializeAws_json1_1CreatePermissionCommand = async (output, context) => {
@@ -376,7 +376,7 @@ const deserializeAws_json1_1CreatePermissionCommandError = async (output, contex
376
376
  $fault: "client",
377
377
  $metadata: deserializeMetadata(output),
378
378
  });
379
- throw smithy_client_1.decorateServiceException(response, parsedBody);
379
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
380
380
  }
381
381
  };
382
382
  const deserializeAws_json1_1DeleteCertificateAuthorityCommand = async (output, context) => {
@@ -418,7 +418,7 @@ const deserializeAws_json1_1DeleteCertificateAuthorityCommandError = async (outp
418
418
  $fault: "client",
419
419
  $metadata: deserializeMetadata(output),
420
420
  });
421
- throw smithy_client_1.decorateServiceException(response, parsedBody);
421
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
422
422
  }
423
423
  };
424
424
  const deserializeAws_json1_1DeletePermissionCommand = async (output, context) => {
@@ -460,7 +460,7 @@ const deserializeAws_json1_1DeletePermissionCommandError = async (output, contex
460
460
  $fault: "client",
461
461
  $metadata: deserializeMetadata(output),
462
462
  });
463
- throw smithy_client_1.decorateServiceException(response, parsedBody);
463
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
464
464
  }
465
465
  };
466
466
  const deserializeAws_json1_1DeletePolicyCommand = async (output, context) => {
@@ -508,7 +508,7 @@ const deserializeAws_json1_1DeletePolicyCommandError = async (output, context) =
508
508
  $fault: "client",
509
509
  $metadata: deserializeMetadata(output),
510
510
  });
511
- throw smithy_client_1.decorateServiceException(response, parsedBody);
511
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
512
512
  }
513
513
  };
514
514
  const deserializeAws_json1_1DescribeCertificateAuthorityCommand = async (output, context) => {
@@ -547,7 +547,7 @@ const deserializeAws_json1_1DescribeCertificateAuthorityCommandError = async (ou
547
547
  $fault: "client",
548
548
  $metadata: deserializeMetadata(output),
549
549
  });
550
- throw smithy_client_1.decorateServiceException(response, parsedBody);
550
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
551
551
  }
552
552
  };
553
553
  const deserializeAws_json1_1DescribeCertificateAuthorityAuditReportCommand = async (output, context) => {
@@ -589,7 +589,7 @@ const deserializeAws_json1_1DescribeCertificateAuthorityAuditReportCommandError
589
589
  $fault: "client",
590
590
  $metadata: deserializeMetadata(output),
591
591
  });
592
- throw smithy_client_1.decorateServiceException(response, parsedBody);
592
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
593
593
  }
594
594
  };
595
595
  const deserializeAws_json1_1GetCertificateCommand = async (output, context) => {
@@ -637,7 +637,7 @@ const deserializeAws_json1_1GetCertificateCommandError = async (output, context)
637
637
  $fault: "client",
638
638
  $metadata: deserializeMetadata(output),
639
639
  });
640
- throw smithy_client_1.decorateServiceException(response, parsedBody);
640
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
641
641
  }
642
642
  };
643
643
  const deserializeAws_json1_1GetCertificateAuthorityCertificateCommand = async (output, context) => {
@@ -679,7 +679,7 @@ const deserializeAws_json1_1GetCertificateAuthorityCertificateCommandError = asy
679
679
  $fault: "client",
680
680
  $metadata: deserializeMetadata(output),
681
681
  });
682
- throw smithy_client_1.decorateServiceException(response, parsedBody);
682
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
683
683
  }
684
684
  };
685
685
  const deserializeAws_json1_1GetCertificateAuthorityCsrCommand = async (output, context) => {
@@ -727,7 +727,7 @@ const deserializeAws_json1_1GetCertificateAuthorityCsrCommandError = async (outp
727
727
  $fault: "client",
728
728
  $metadata: deserializeMetadata(output),
729
729
  });
730
- throw smithy_client_1.decorateServiceException(response, parsedBody);
730
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
731
731
  }
732
732
  };
733
733
  const deserializeAws_json1_1GetPolicyCommand = async (output, context) => {
@@ -772,7 +772,7 @@ const deserializeAws_json1_1GetPolicyCommandError = async (output, context) => {
772
772
  $fault: "client",
773
773
  $metadata: deserializeMetadata(output),
774
774
  });
775
- throw smithy_client_1.decorateServiceException(response, parsedBody);
775
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
776
776
  }
777
777
  };
778
778
  const deserializeAws_json1_1ImportCertificateAuthorityCertificateCommand = async (output, context) => {
@@ -829,7 +829,7 @@ const deserializeAws_json1_1ImportCertificateAuthorityCertificateCommandError =
829
829
  $fault: "client",
830
830
  $metadata: deserializeMetadata(output),
831
831
  });
832
- throw smithy_client_1.decorateServiceException(response, parsedBody);
832
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
833
833
  }
834
834
  };
835
835
  const deserializeAws_json1_1IssueCertificateCommand = async (output, context) => {
@@ -880,7 +880,7 @@ const deserializeAws_json1_1IssueCertificateCommandError = async (output, contex
880
880
  $fault: "client",
881
881
  $metadata: deserializeMetadata(output),
882
882
  });
883
- throw smithy_client_1.decorateServiceException(response, parsedBody);
883
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
884
884
  }
885
885
  };
886
886
  const deserializeAws_json1_1ListCertificateAuthoritiesCommand = async (output, context) => {
@@ -916,7 +916,7 @@ const deserializeAws_json1_1ListCertificateAuthoritiesCommandError = async (outp
916
916
  $fault: "client",
917
917
  $metadata: deserializeMetadata(output),
918
918
  });
919
- throw smithy_client_1.decorateServiceException(response, parsedBody);
919
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
920
920
  }
921
921
  };
922
922
  const deserializeAws_json1_1ListPermissionsCommand = async (output, context) => {
@@ -964,7 +964,7 @@ const deserializeAws_json1_1ListPermissionsCommandError = async (output, context
964
964
  $fault: "client",
965
965
  $metadata: deserializeMetadata(output),
966
966
  });
967
- throw smithy_client_1.decorateServiceException(response, parsedBody);
967
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
968
968
  }
969
969
  };
970
970
  const deserializeAws_json1_1ListTagsCommand = async (output, context) => {
@@ -1006,7 +1006,7 @@ const deserializeAws_json1_1ListTagsCommandError = async (output, context) => {
1006
1006
  $fault: "client",
1007
1007
  $metadata: deserializeMetadata(output),
1008
1008
  });
1009
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1009
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1010
1010
  }
1011
1011
  };
1012
1012
  const deserializeAws_json1_1PutPolicyCommand = async (output, context) => {
@@ -1057,7 +1057,7 @@ const deserializeAws_json1_1PutPolicyCommandError = async (output, context) => {
1057
1057
  $fault: "client",
1058
1058
  $metadata: deserializeMetadata(output),
1059
1059
  });
1060
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1060
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1061
1061
  }
1062
1062
  };
1063
1063
  const deserializeAws_json1_1RestoreCertificateAuthorityCommand = async (output, context) => {
@@ -1096,7 +1096,7 @@ const deserializeAws_json1_1RestoreCertificateAuthorityCommandError = async (out
1096
1096
  $fault: "client",
1097
1097
  $metadata: deserializeMetadata(output),
1098
1098
  });
1099
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1099
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1100
1100
  }
1101
1101
  };
1102
1102
  const deserializeAws_json1_1RevokeCertificateCommand = async (output, context) => {
@@ -1153,7 +1153,7 @@ const deserializeAws_json1_1RevokeCertificateCommandError = async (output, conte
1153
1153
  $fault: "client",
1154
1154
  $metadata: deserializeMetadata(output),
1155
1155
  });
1156
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1156
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1157
1157
  }
1158
1158
  };
1159
1159
  const deserializeAws_json1_1TagCertificateAuthorityCommand = async (output, context) => {
@@ -1198,7 +1198,7 @@ const deserializeAws_json1_1TagCertificateAuthorityCommandError = async (output,
1198
1198
  $fault: "client",
1199
1199
  $metadata: deserializeMetadata(output),
1200
1200
  });
1201
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1201
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1202
1202
  }
1203
1203
  };
1204
1204
  const deserializeAws_json1_1UntagCertificateAuthorityCommand = async (output, context) => {
@@ -1240,7 +1240,7 @@ const deserializeAws_json1_1UntagCertificateAuthorityCommandError = async (outpu
1240
1240
  $fault: "client",
1241
1241
  $metadata: deserializeMetadata(output),
1242
1242
  });
1243
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1243
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1244
1244
  }
1245
1245
  };
1246
1246
  const deserializeAws_json1_1UpdateCertificateAuthorityCommand = async (output, context) => {
@@ -1288,7 +1288,7 @@ const deserializeAws_json1_1UpdateCertificateAuthorityCommandError = async (outp
1288
1288
  $fault: "client",
1289
1289
  $metadata: deserializeMetadata(output),
1290
1290
  });
1291
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1291
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1292
1292
  }
1293
1293
  };
1294
1294
  const deserializeAws_json1_1CertificateMismatchExceptionResponse = async (parsedOutput, context) => {
@@ -1298,7 +1298,7 @@ const deserializeAws_json1_1CertificateMismatchExceptionResponse = async (parsed
1298
1298
  $metadata: deserializeMetadata(parsedOutput),
1299
1299
  ...deserialized,
1300
1300
  });
1301
- return smithy_client_1.decorateServiceException(exception, body);
1301
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1302
1302
  };
1303
1303
  const deserializeAws_json1_1ConcurrentModificationExceptionResponse = async (parsedOutput, context) => {
1304
1304
  const body = parsedOutput.body;
@@ -1307,7 +1307,7 @@ const deserializeAws_json1_1ConcurrentModificationExceptionResponse = async (par
1307
1307
  $metadata: deserializeMetadata(parsedOutput),
1308
1308
  ...deserialized,
1309
1309
  });
1310
- return smithy_client_1.decorateServiceException(exception, body);
1310
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1311
1311
  };
1312
1312
  const deserializeAws_json1_1InvalidArgsExceptionResponse = async (parsedOutput, context) => {
1313
1313
  const body = parsedOutput.body;
@@ -1316,7 +1316,7 @@ const deserializeAws_json1_1InvalidArgsExceptionResponse = async (parsedOutput,
1316
1316
  $metadata: deserializeMetadata(parsedOutput),
1317
1317
  ...deserialized,
1318
1318
  });
1319
- return smithy_client_1.decorateServiceException(exception, body);
1319
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1320
1320
  };
1321
1321
  const deserializeAws_json1_1InvalidArnExceptionResponse = async (parsedOutput, context) => {
1322
1322
  const body = parsedOutput.body;
@@ -1325,7 +1325,7 @@ const deserializeAws_json1_1InvalidArnExceptionResponse = async (parsedOutput, c
1325
1325
  $metadata: deserializeMetadata(parsedOutput),
1326
1326
  ...deserialized,
1327
1327
  });
1328
- return smithy_client_1.decorateServiceException(exception, body);
1328
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1329
1329
  };
1330
1330
  const deserializeAws_json1_1InvalidNextTokenExceptionResponse = async (parsedOutput, context) => {
1331
1331
  const body = parsedOutput.body;
@@ -1334,7 +1334,7 @@ const deserializeAws_json1_1InvalidNextTokenExceptionResponse = async (parsedOut
1334
1334
  $metadata: deserializeMetadata(parsedOutput),
1335
1335
  ...deserialized,
1336
1336
  });
1337
- return smithy_client_1.decorateServiceException(exception, body);
1337
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1338
1338
  };
1339
1339
  const deserializeAws_json1_1InvalidPolicyExceptionResponse = async (parsedOutput, context) => {
1340
1340
  const body = parsedOutput.body;
@@ -1343,7 +1343,7 @@ const deserializeAws_json1_1InvalidPolicyExceptionResponse = async (parsedOutput
1343
1343
  $metadata: deserializeMetadata(parsedOutput),
1344
1344
  ...deserialized,
1345
1345
  });
1346
- return smithy_client_1.decorateServiceException(exception, body);
1346
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1347
1347
  };
1348
1348
  const deserializeAws_json1_1InvalidRequestExceptionResponse = async (parsedOutput, context) => {
1349
1349
  const body = parsedOutput.body;
@@ -1352,7 +1352,7 @@ const deserializeAws_json1_1InvalidRequestExceptionResponse = async (parsedOutpu
1352
1352
  $metadata: deserializeMetadata(parsedOutput),
1353
1353
  ...deserialized,
1354
1354
  });
1355
- return smithy_client_1.decorateServiceException(exception, body);
1355
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1356
1356
  };
1357
1357
  const deserializeAws_json1_1InvalidStateExceptionResponse = async (parsedOutput, context) => {
1358
1358
  const body = parsedOutput.body;
@@ -1361,7 +1361,7 @@ const deserializeAws_json1_1InvalidStateExceptionResponse = async (parsedOutput,
1361
1361
  $metadata: deserializeMetadata(parsedOutput),
1362
1362
  ...deserialized,
1363
1363
  });
1364
- return smithy_client_1.decorateServiceException(exception, body);
1364
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1365
1365
  };
1366
1366
  const deserializeAws_json1_1InvalidTagExceptionResponse = async (parsedOutput, context) => {
1367
1367
  const body = parsedOutput.body;
@@ -1370,7 +1370,7 @@ const deserializeAws_json1_1InvalidTagExceptionResponse = async (parsedOutput, c
1370
1370
  $metadata: deserializeMetadata(parsedOutput),
1371
1371
  ...deserialized,
1372
1372
  });
1373
- return smithy_client_1.decorateServiceException(exception, body);
1373
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1374
1374
  };
1375
1375
  const deserializeAws_json1_1LimitExceededExceptionResponse = async (parsedOutput, context) => {
1376
1376
  const body = parsedOutput.body;
@@ -1379,7 +1379,7 @@ const deserializeAws_json1_1LimitExceededExceptionResponse = async (parsedOutput
1379
1379
  $metadata: deserializeMetadata(parsedOutput),
1380
1380
  ...deserialized,
1381
1381
  });
1382
- return smithy_client_1.decorateServiceException(exception, body);
1382
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1383
1383
  };
1384
1384
  const deserializeAws_json1_1LockoutPreventedExceptionResponse = async (parsedOutput, context) => {
1385
1385
  const body = parsedOutput.body;
@@ -1388,7 +1388,7 @@ const deserializeAws_json1_1LockoutPreventedExceptionResponse = async (parsedOut
1388
1388
  $metadata: deserializeMetadata(parsedOutput),
1389
1389
  ...deserialized,
1390
1390
  });
1391
- return smithy_client_1.decorateServiceException(exception, body);
1391
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1392
1392
  };
1393
1393
  const deserializeAws_json1_1MalformedCertificateExceptionResponse = async (parsedOutput, context) => {
1394
1394
  const body = parsedOutput.body;
@@ -1397,7 +1397,7 @@ const deserializeAws_json1_1MalformedCertificateExceptionResponse = async (parse
1397
1397
  $metadata: deserializeMetadata(parsedOutput),
1398
1398
  ...deserialized,
1399
1399
  });
1400
- return smithy_client_1.decorateServiceException(exception, body);
1400
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1401
1401
  };
1402
1402
  const deserializeAws_json1_1MalformedCSRExceptionResponse = async (parsedOutput, context) => {
1403
1403
  const body = parsedOutput.body;
@@ -1406,7 +1406,7 @@ const deserializeAws_json1_1MalformedCSRExceptionResponse = async (parsedOutput,
1406
1406
  $metadata: deserializeMetadata(parsedOutput),
1407
1407
  ...deserialized,
1408
1408
  });
1409
- return smithy_client_1.decorateServiceException(exception, body);
1409
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1410
1410
  };
1411
1411
  const deserializeAws_json1_1PermissionAlreadyExistsExceptionResponse = async (parsedOutput, context) => {
1412
1412
  const body = parsedOutput.body;
@@ -1415,7 +1415,7 @@ const deserializeAws_json1_1PermissionAlreadyExistsExceptionResponse = async (pa
1415
1415
  $metadata: deserializeMetadata(parsedOutput),
1416
1416
  ...deserialized,
1417
1417
  });
1418
- return smithy_client_1.decorateServiceException(exception, body);
1418
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1419
1419
  };
1420
1420
  const deserializeAws_json1_1RequestAlreadyProcessedExceptionResponse = async (parsedOutput, context) => {
1421
1421
  const body = parsedOutput.body;
@@ -1424,7 +1424,7 @@ const deserializeAws_json1_1RequestAlreadyProcessedExceptionResponse = async (pa
1424
1424
  $metadata: deserializeMetadata(parsedOutput),
1425
1425
  ...deserialized,
1426
1426
  });
1427
- return smithy_client_1.decorateServiceException(exception, body);
1427
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1428
1428
  };
1429
1429
  const deserializeAws_json1_1RequestFailedExceptionResponse = async (parsedOutput, context) => {
1430
1430
  const body = parsedOutput.body;
@@ -1433,7 +1433,7 @@ const deserializeAws_json1_1RequestFailedExceptionResponse = async (parsedOutput
1433
1433
  $metadata: deserializeMetadata(parsedOutput),
1434
1434
  ...deserialized,
1435
1435
  });
1436
- return smithy_client_1.decorateServiceException(exception, body);
1436
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1437
1437
  };
1438
1438
  const deserializeAws_json1_1RequestInProgressExceptionResponse = async (parsedOutput, context) => {
1439
1439
  const body = parsedOutput.body;
@@ -1442,7 +1442,7 @@ const deserializeAws_json1_1RequestInProgressExceptionResponse = async (parsedOu
1442
1442
  $metadata: deserializeMetadata(parsedOutput),
1443
1443
  ...deserialized,
1444
1444
  });
1445
- return smithy_client_1.decorateServiceException(exception, body);
1445
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1446
1446
  };
1447
1447
  const deserializeAws_json1_1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
1448
1448
  const body = parsedOutput.body;
@@ -1451,7 +1451,7 @@ const deserializeAws_json1_1ResourceNotFoundExceptionResponse = async (parsedOut
1451
1451
  $metadata: deserializeMetadata(parsedOutput),
1452
1452
  ...deserialized,
1453
1453
  });
1454
- return smithy_client_1.decorateServiceException(exception, body);
1454
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1455
1455
  };
1456
1456
  const deserializeAws_json1_1TooManyTagsExceptionResponse = async (parsedOutput, context) => {
1457
1457
  const body = parsedOutput.body;
@@ -1460,7 +1460,7 @@ const deserializeAws_json1_1TooManyTagsExceptionResponse = async (parsedOutput,
1460
1460
  $metadata: deserializeMetadata(parsedOutput),
1461
1461
  ...deserialized,
1462
1462
  });
1463
- return smithy_client_1.decorateServiceException(exception, body);
1463
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
1464
1464
  };
1465
1465
  const serializeAws_json1_1AccessDescription = (input, context) => {
1466
1466
  return {
@@ -1512,6 +1512,10 @@ const serializeAws_json1_1ASN1Subject = (input, context) => {
1512
1512
  return {
1513
1513
  ...(input.CommonName !== undefined && input.CommonName !== null && { CommonName: input.CommonName }),
1514
1514
  ...(input.Country !== undefined && input.Country !== null && { Country: input.Country }),
1515
+ ...(input.CustomAttributes !== undefined &&
1516
+ input.CustomAttributes !== null && {
1517
+ CustomAttributes: serializeAws_json1_1CustomAttributeList(input.CustomAttributes, context),
1518
+ }),
1515
1519
  ...(input.DistinguishedNameQualifier !== undefined &&
1516
1520
  input.DistinguishedNameQualifier !== null && { DistinguishedNameQualifier: input.DistinguishedNameQualifier }),
1517
1521
  ...(input.GenerationQualifier !== undefined &&
@@ -1610,6 +1614,41 @@ const serializeAws_json1_1CsrExtensions = (input, context) => {
1610
1614
  }),
1611
1615
  };
1612
1616
  };
1617
+ const serializeAws_json1_1CustomAttribute = (input, context) => {
1618
+ return {
1619
+ ...(input.ObjectIdentifier !== undefined &&
1620
+ input.ObjectIdentifier !== null && { ObjectIdentifier: input.ObjectIdentifier }),
1621
+ ...(input.Value !== undefined && input.Value !== null && { Value: input.Value }),
1622
+ };
1623
+ };
1624
+ const serializeAws_json1_1CustomAttributeList = (input, context) => {
1625
+ return input
1626
+ .filter((e) => e != null)
1627
+ .map((entry) => {
1628
+ if (entry === null) {
1629
+ return null;
1630
+ }
1631
+ return serializeAws_json1_1CustomAttribute(entry, context);
1632
+ });
1633
+ };
1634
+ const serializeAws_json1_1CustomExtension = (input, context) => {
1635
+ return {
1636
+ ...(input.Critical !== undefined && input.Critical !== null && { Critical: input.Critical }),
1637
+ ...(input.ObjectIdentifier !== undefined &&
1638
+ input.ObjectIdentifier !== null && { ObjectIdentifier: input.ObjectIdentifier }),
1639
+ ...(input.Value !== undefined && input.Value !== null && { Value: input.Value }),
1640
+ };
1641
+ };
1642
+ const serializeAws_json1_1CustomExtensionList = (input, context) => {
1643
+ return input
1644
+ .filter((e) => e != null)
1645
+ .map((entry) => {
1646
+ if (entry === null) {
1647
+ return null;
1648
+ }
1649
+ return serializeAws_json1_1CustomExtension(entry, context);
1650
+ });
1651
+ };
1613
1652
  const serializeAws_json1_1DeleteCertificateAuthorityRequest = (input, context) => {
1614
1653
  return {
1615
1654
  ...(input.CertificateAuthorityArn !== undefined &&
@@ -1676,6 +1715,10 @@ const serializeAws_json1_1Extensions = (input, context) => {
1676
1715
  input.CertificatePolicies !== null && {
1677
1716
  CertificatePolicies: serializeAws_json1_1CertificatePolicyList(input.CertificatePolicies, context),
1678
1717
  }),
1718
+ ...(input.CustomExtensions !== undefined &&
1719
+ input.CustomExtensions !== null && {
1720
+ CustomExtensions: serializeAws_json1_1CustomExtensionList(input.CustomExtensions, context),
1721
+ }),
1679
1722
  ...(input.ExtendedKeyUsage !== undefined &&
1680
1723
  input.ExtendedKeyUsage !== null && {
1681
1724
  ExtendedKeyUsage: serializeAws_json1_1ExtendedKeyUsageList(input.ExtendedKeyUsage, context),
@@ -1960,8 +2003,8 @@ const deserializeAws_json1_1AccessDescriptionList = (output, context) => {
1960
2003
  };
1961
2004
  const deserializeAws_json1_1AccessMethod = (output, context) => {
1962
2005
  return {
1963
- AccessMethodType: smithy_client_1.expectString(output.AccessMethodType),
1964
- CustomObjectIdentifier: smithy_client_1.expectString(output.CustomObjectIdentifier),
2006
+ AccessMethodType: (0, smithy_client_1.expectString)(output.AccessMethodType),
2007
+ CustomObjectIdentifier: (0, smithy_client_1.expectString)(output.CustomObjectIdentifier),
1965
2008
  };
1966
2009
  };
1967
2010
  const deserializeAws_json1_1ActionList = (output, context) => {
@@ -1971,26 +2014,29 @@ const deserializeAws_json1_1ActionList = (output, context) => {
1971
2014
  if (entry === null) {
1972
2015
  return null;
1973
2016
  }
1974
- return smithy_client_1.expectString(entry);
2017
+ return (0, smithy_client_1.expectString)(entry);
1975
2018
  });
1976
2019
  return retVal;
1977
2020
  };
1978
2021
  const deserializeAws_json1_1ASN1Subject = (output, context) => {
1979
2022
  return {
1980
- CommonName: smithy_client_1.expectString(output.CommonName),
1981
- Country: smithy_client_1.expectString(output.Country),
1982
- DistinguishedNameQualifier: smithy_client_1.expectString(output.DistinguishedNameQualifier),
1983
- GenerationQualifier: smithy_client_1.expectString(output.GenerationQualifier),
1984
- GivenName: smithy_client_1.expectString(output.GivenName),
1985
- Initials: smithy_client_1.expectString(output.Initials),
1986
- Locality: smithy_client_1.expectString(output.Locality),
1987
- Organization: smithy_client_1.expectString(output.Organization),
1988
- OrganizationalUnit: smithy_client_1.expectString(output.OrganizationalUnit),
1989
- Pseudonym: smithy_client_1.expectString(output.Pseudonym),
1990
- SerialNumber: smithy_client_1.expectString(output.SerialNumber),
1991
- State: smithy_client_1.expectString(output.State),
1992
- Surname: smithy_client_1.expectString(output.Surname),
1993
- Title: smithy_client_1.expectString(output.Title),
2023
+ CommonName: (0, smithy_client_1.expectString)(output.CommonName),
2024
+ Country: (0, smithy_client_1.expectString)(output.Country),
2025
+ CustomAttributes: output.CustomAttributes !== undefined && output.CustomAttributes !== null
2026
+ ? deserializeAws_json1_1CustomAttributeList(output.CustomAttributes, context)
2027
+ : undefined,
2028
+ DistinguishedNameQualifier: (0, smithy_client_1.expectString)(output.DistinguishedNameQualifier),
2029
+ GenerationQualifier: (0, smithy_client_1.expectString)(output.GenerationQualifier),
2030
+ GivenName: (0, smithy_client_1.expectString)(output.GivenName),
2031
+ Initials: (0, smithy_client_1.expectString)(output.Initials),
2032
+ Locality: (0, smithy_client_1.expectString)(output.Locality),
2033
+ Organization: (0, smithy_client_1.expectString)(output.Organization),
2034
+ OrganizationalUnit: (0, smithy_client_1.expectString)(output.OrganizationalUnit),
2035
+ Pseudonym: (0, smithy_client_1.expectString)(output.Pseudonym),
2036
+ SerialNumber: (0, smithy_client_1.expectString)(output.SerialNumber),
2037
+ State: (0, smithy_client_1.expectString)(output.State),
2038
+ Surname: (0, smithy_client_1.expectString)(output.Surname),
2039
+ Title: (0, smithy_client_1.expectString)(output.Title),
1994
2040
  };
1995
2041
  };
1996
2042
  const deserializeAws_json1_1CertificateAuthorities = (output, context) => {
@@ -2006,34 +2052,34 @@ const deserializeAws_json1_1CertificateAuthorities = (output, context) => {
2006
2052
  };
2007
2053
  const deserializeAws_json1_1CertificateAuthority = (output, context) => {
2008
2054
  return {
2009
- Arn: smithy_client_1.expectString(output.Arn),
2055
+ Arn: (0, smithy_client_1.expectString)(output.Arn),
2010
2056
  CertificateAuthorityConfiguration: output.CertificateAuthorityConfiguration !== undefined && output.CertificateAuthorityConfiguration !== null
2011
2057
  ? deserializeAws_json1_1CertificateAuthorityConfiguration(output.CertificateAuthorityConfiguration, context)
2012
2058
  : undefined,
2013
2059
  CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
2014
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
2060
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedAt)))
2015
2061
  : undefined,
2016
- FailureReason: smithy_client_1.expectString(output.FailureReason),
2017
- KeyStorageSecurityStandard: smithy_client_1.expectString(output.KeyStorageSecurityStandard),
2062
+ FailureReason: (0, smithy_client_1.expectString)(output.FailureReason),
2063
+ KeyStorageSecurityStandard: (0, smithy_client_1.expectString)(output.KeyStorageSecurityStandard),
2018
2064
  LastStateChangeAt: output.LastStateChangeAt !== undefined && output.LastStateChangeAt !== null
2019
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastStateChangeAt)))
2065
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastStateChangeAt)))
2020
2066
  : undefined,
2021
2067
  NotAfter: output.NotAfter !== undefined && output.NotAfter !== null
2022
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.NotAfter)))
2068
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.NotAfter)))
2023
2069
  : undefined,
2024
2070
  NotBefore: output.NotBefore !== undefined && output.NotBefore !== null
2025
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.NotBefore)))
2071
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.NotBefore)))
2026
2072
  : undefined,
2027
- OwnerAccount: smithy_client_1.expectString(output.OwnerAccount),
2073
+ OwnerAccount: (0, smithy_client_1.expectString)(output.OwnerAccount),
2028
2074
  RestorableUntil: output.RestorableUntil !== undefined && output.RestorableUntil !== null
2029
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.RestorableUntil)))
2075
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.RestorableUntil)))
2030
2076
  : undefined,
2031
2077
  RevocationConfiguration: output.RevocationConfiguration !== undefined && output.RevocationConfiguration !== null
2032
2078
  ? deserializeAws_json1_1RevocationConfiguration(output.RevocationConfiguration, context)
2033
2079
  : undefined,
2034
- Serial: smithy_client_1.expectString(output.Serial),
2035
- Status: smithy_client_1.expectString(output.Status),
2036
- Type: smithy_client_1.expectString(output.Type),
2080
+ Serial: (0, smithy_client_1.expectString)(output.Serial),
2081
+ Status: (0, smithy_client_1.expectString)(output.Status),
2082
+ Type: (0, smithy_client_1.expectString)(output.Type),
2037
2083
  };
2038
2084
  };
2039
2085
  const deserializeAws_json1_1CertificateAuthorityConfiguration = (output, context) => {
@@ -2041,8 +2087,8 @@ const deserializeAws_json1_1CertificateAuthorityConfiguration = (output, context
2041
2087
  CsrExtensions: output.CsrExtensions !== undefined && output.CsrExtensions !== null
2042
2088
  ? deserializeAws_json1_1CsrExtensions(output.CsrExtensions, context)
2043
2089
  : undefined,
2044
- KeyAlgorithm: smithy_client_1.expectString(output.KeyAlgorithm),
2045
- SigningAlgorithm: smithy_client_1.expectString(output.SigningAlgorithm),
2090
+ KeyAlgorithm: (0, smithy_client_1.expectString)(output.KeyAlgorithm),
2091
+ SigningAlgorithm: (0, smithy_client_1.expectString)(output.SigningAlgorithm),
2046
2092
  Subject: output.Subject !== undefined && output.Subject !== null
2047
2093
  ? deserializeAws_json1_1ASN1Subject(output.Subject, context)
2048
2094
  : undefined,
@@ -2050,32 +2096,32 @@ const deserializeAws_json1_1CertificateAuthorityConfiguration = (output, context
2050
2096
  };
2051
2097
  const deserializeAws_json1_1CertificateMismatchException = (output, context) => {
2052
2098
  return {
2053
- message: smithy_client_1.expectString(output.message),
2099
+ message: (0, smithy_client_1.expectString)(output.message),
2054
2100
  };
2055
2101
  };
2056
2102
  const deserializeAws_json1_1ConcurrentModificationException = (output, context) => {
2057
2103
  return {
2058
- message: smithy_client_1.expectString(output.message),
2104
+ message: (0, smithy_client_1.expectString)(output.message),
2059
2105
  };
2060
2106
  };
2061
2107
  const deserializeAws_json1_1CreateCertificateAuthorityAuditReportResponse = (output, context) => {
2062
2108
  return {
2063
- AuditReportId: smithy_client_1.expectString(output.AuditReportId),
2064
- S3Key: smithy_client_1.expectString(output.S3Key),
2109
+ AuditReportId: (0, smithy_client_1.expectString)(output.AuditReportId),
2110
+ S3Key: (0, smithy_client_1.expectString)(output.S3Key),
2065
2111
  };
2066
2112
  };
2067
2113
  const deserializeAws_json1_1CreateCertificateAuthorityResponse = (output, context) => {
2068
2114
  return {
2069
- CertificateAuthorityArn: smithy_client_1.expectString(output.CertificateAuthorityArn),
2115
+ CertificateAuthorityArn: (0, smithy_client_1.expectString)(output.CertificateAuthorityArn),
2070
2116
  };
2071
2117
  };
2072
2118
  const deserializeAws_json1_1CrlConfiguration = (output, context) => {
2073
2119
  return {
2074
- CustomCname: smithy_client_1.expectString(output.CustomCname),
2075
- Enabled: smithy_client_1.expectBoolean(output.Enabled),
2076
- ExpirationInDays: smithy_client_1.expectInt32(output.ExpirationInDays),
2077
- S3BucketName: smithy_client_1.expectString(output.S3BucketName),
2078
- S3ObjectAcl: smithy_client_1.expectString(output.S3ObjectAcl),
2120
+ CustomCname: (0, smithy_client_1.expectString)(output.CustomCname),
2121
+ Enabled: (0, smithy_client_1.expectBoolean)(output.Enabled),
2122
+ ExpirationInDays: (0, smithy_client_1.expectInt32)(output.ExpirationInDays),
2123
+ S3BucketName: (0, smithy_client_1.expectString)(output.S3BucketName),
2124
+ S3ObjectAcl: (0, smithy_client_1.expectString)(output.S3ObjectAcl),
2079
2125
  };
2080
2126
  };
2081
2127
  const deserializeAws_json1_1CsrExtensions = (output, context) => {
@@ -2088,14 +2134,31 @@ const deserializeAws_json1_1CsrExtensions = (output, context) => {
2088
2134
  : undefined,
2089
2135
  };
2090
2136
  };
2137
+ const deserializeAws_json1_1CustomAttribute = (output, context) => {
2138
+ return {
2139
+ ObjectIdentifier: (0, smithy_client_1.expectString)(output.ObjectIdentifier),
2140
+ Value: (0, smithy_client_1.expectString)(output.Value),
2141
+ };
2142
+ };
2143
+ const deserializeAws_json1_1CustomAttributeList = (output, context) => {
2144
+ const retVal = (output || [])
2145
+ .filter((e) => e != null)
2146
+ .map((entry) => {
2147
+ if (entry === null) {
2148
+ return null;
2149
+ }
2150
+ return deserializeAws_json1_1CustomAttribute(entry, context);
2151
+ });
2152
+ return retVal;
2153
+ };
2091
2154
  const deserializeAws_json1_1DescribeCertificateAuthorityAuditReportResponse = (output, context) => {
2092
2155
  return {
2093
- AuditReportStatus: smithy_client_1.expectString(output.AuditReportStatus),
2156
+ AuditReportStatus: (0, smithy_client_1.expectString)(output.AuditReportStatus),
2094
2157
  CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
2095
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
2158
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedAt)))
2096
2159
  : undefined,
2097
- S3BucketName: smithy_client_1.expectString(output.S3BucketName),
2098
- S3Key: smithy_client_1.expectString(output.S3Key),
2160
+ S3BucketName: (0, smithy_client_1.expectString)(output.S3BucketName),
2161
+ S3Key: (0, smithy_client_1.expectString)(output.S3Key),
2099
2162
  };
2100
2163
  };
2101
2164
  const deserializeAws_json1_1DescribeCertificateAuthorityResponse = (output, context) => {
@@ -2107,8 +2170,8 @@ const deserializeAws_json1_1DescribeCertificateAuthorityResponse = (output, cont
2107
2170
  };
2108
2171
  const deserializeAws_json1_1EdiPartyName = (output, context) => {
2109
2172
  return {
2110
- NameAssigner: smithy_client_1.expectString(output.NameAssigner),
2111
- PartyName: smithy_client_1.expectString(output.PartyName),
2173
+ NameAssigner: (0, smithy_client_1.expectString)(output.NameAssigner),
2174
+ PartyName: (0, smithy_client_1.expectString)(output.PartyName),
2112
2175
  };
2113
2176
  };
2114
2177
  const deserializeAws_json1_1GeneralName = (output, context) => {
@@ -2116,97 +2179,97 @@ const deserializeAws_json1_1GeneralName = (output, context) => {
2116
2179
  DirectoryName: output.DirectoryName !== undefined && output.DirectoryName !== null
2117
2180
  ? deserializeAws_json1_1ASN1Subject(output.DirectoryName, context)
2118
2181
  : undefined,
2119
- DnsName: smithy_client_1.expectString(output.DnsName),
2182
+ DnsName: (0, smithy_client_1.expectString)(output.DnsName),
2120
2183
  EdiPartyName: output.EdiPartyName !== undefined && output.EdiPartyName !== null
2121
2184
  ? deserializeAws_json1_1EdiPartyName(output.EdiPartyName, context)
2122
2185
  : undefined,
2123
- IpAddress: smithy_client_1.expectString(output.IpAddress),
2186
+ IpAddress: (0, smithy_client_1.expectString)(output.IpAddress),
2124
2187
  OtherName: output.OtherName !== undefined && output.OtherName !== null
2125
2188
  ? deserializeAws_json1_1OtherName(output.OtherName, context)
2126
2189
  : undefined,
2127
- RegisteredId: smithy_client_1.expectString(output.RegisteredId),
2128
- Rfc822Name: smithy_client_1.expectString(output.Rfc822Name),
2129
- UniformResourceIdentifier: smithy_client_1.expectString(output.UniformResourceIdentifier),
2190
+ RegisteredId: (0, smithy_client_1.expectString)(output.RegisteredId),
2191
+ Rfc822Name: (0, smithy_client_1.expectString)(output.Rfc822Name),
2192
+ UniformResourceIdentifier: (0, smithy_client_1.expectString)(output.UniformResourceIdentifier),
2130
2193
  };
2131
2194
  };
2132
2195
  const deserializeAws_json1_1GetCertificateAuthorityCertificateResponse = (output, context) => {
2133
2196
  return {
2134
- Certificate: smithy_client_1.expectString(output.Certificate),
2135
- CertificateChain: smithy_client_1.expectString(output.CertificateChain),
2197
+ Certificate: (0, smithy_client_1.expectString)(output.Certificate),
2198
+ CertificateChain: (0, smithy_client_1.expectString)(output.CertificateChain),
2136
2199
  };
2137
2200
  };
2138
2201
  const deserializeAws_json1_1GetCertificateAuthorityCsrResponse = (output, context) => {
2139
2202
  return {
2140
- Csr: smithy_client_1.expectString(output.Csr),
2203
+ Csr: (0, smithy_client_1.expectString)(output.Csr),
2141
2204
  };
2142
2205
  };
2143
2206
  const deserializeAws_json1_1GetCertificateResponse = (output, context) => {
2144
2207
  return {
2145
- Certificate: smithy_client_1.expectString(output.Certificate),
2146
- CertificateChain: smithy_client_1.expectString(output.CertificateChain),
2208
+ Certificate: (0, smithy_client_1.expectString)(output.Certificate),
2209
+ CertificateChain: (0, smithy_client_1.expectString)(output.CertificateChain),
2147
2210
  };
2148
2211
  };
2149
2212
  const deserializeAws_json1_1GetPolicyResponse = (output, context) => {
2150
2213
  return {
2151
- Policy: smithy_client_1.expectString(output.Policy),
2214
+ Policy: (0, smithy_client_1.expectString)(output.Policy),
2152
2215
  };
2153
2216
  };
2154
2217
  const deserializeAws_json1_1InvalidArgsException = (output, context) => {
2155
2218
  return {
2156
- message: smithy_client_1.expectString(output.message),
2219
+ message: (0, smithy_client_1.expectString)(output.message),
2157
2220
  };
2158
2221
  };
2159
2222
  const deserializeAws_json1_1InvalidArnException = (output, context) => {
2160
2223
  return {
2161
- message: smithy_client_1.expectString(output.message),
2224
+ message: (0, smithy_client_1.expectString)(output.message),
2162
2225
  };
2163
2226
  };
2164
2227
  const deserializeAws_json1_1InvalidNextTokenException = (output, context) => {
2165
2228
  return {
2166
- message: smithy_client_1.expectString(output.message),
2229
+ message: (0, smithy_client_1.expectString)(output.message),
2167
2230
  };
2168
2231
  };
2169
2232
  const deserializeAws_json1_1InvalidPolicyException = (output, context) => {
2170
2233
  return {
2171
- message: smithy_client_1.expectString(output.message),
2234
+ message: (0, smithy_client_1.expectString)(output.message),
2172
2235
  };
2173
2236
  };
2174
2237
  const deserializeAws_json1_1InvalidRequestException = (output, context) => {
2175
2238
  return {
2176
- message: smithy_client_1.expectString(output.message),
2239
+ message: (0, smithy_client_1.expectString)(output.message),
2177
2240
  };
2178
2241
  };
2179
2242
  const deserializeAws_json1_1InvalidStateException = (output, context) => {
2180
2243
  return {
2181
- message: smithy_client_1.expectString(output.message),
2244
+ message: (0, smithy_client_1.expectString)(output.message),
2182
2245
  };
2183
2246
  };
2184
2247
  const deserializeAws_json1_1InvalidTagException = (output, context) => {
2185
2248
  return {
2186
- message: smithy_client_1.expectString(output.message),
2249
+ message: (0, smithy_client_1.expectString)(output.message),
2187
2250
  };
2188
2251
  };
2189
2252
  const deserializeAws_json1_1IssueCertificateResponse = (output, context) => {
2190
2253
  return {
2191
- CertificateArn: smithy_client_1.expectString(output.CertificateArn),
2254
+ CertificateArn: (0, smithy_client_1.expectString)(output.CertificateArn),
2192
2255
  };
2193
2256
  };
2194
2257
  const deserializeAws_json1_1KeyUsage = (output, context) => {
2195
2258
  return {
2196
- CRLSign: smithy_client_1.expectBoolean(output.CRLSign),
2197
- DataEncipherment: smithy_client_1.expectBoolean(output.DataEncipherment),
2198
- DecipherOnly: smithy_client_1.expectBoolean(output.DecipherOnly),
2199
- DigitalSignature: smithy_client_1.expectBoolean(output.DigitalSignature),
2200
- EncipherOnly: smithy_client_1.expectBoolean(output.EncipherOnly),
2201
- KeyAgreement: smithy_client_1.expectBoolean(output.KeyAgreement),
2202
- KeyCertSign: smithy_client_1.expectBoolean(output.KeyCertSign),
2203
- KeyEncipherment: smithy_client_1.expectBoolean(output.KeyEncipherment),
2204
- NonRepudiation: smithy_client_1.expectBoolean(output.NonRepudiation),
2259
+ CRLSign: (0, smithy_client_1.expectBoolean)(output.CRLSign),
2260
+ DataEncipherment: (0, smithy_client_1.expectBoolean)(output.DataEncipherment),
2261
+ DecipherOnly: (0, smithy_client_1.expectBoolean)(output.DecipherOnly),
2262
+ DigitalSignature: (0, smithy_client_1.expectBoolean)(output.DigitalSignature),
2263
+ EncipherOnly: (0, smithy_client_1.expectBoolean)(output.EncipherOnly),
2264
+ KeyAgreement: (0, smithy_client_1.expectBoolean)(output.KeyAgreement),
2265
+ KeyCertSign: (0, smithy_client_1.expectBoolean)(output.KeyCertSign),
2266
+ KeyEncipherment: (0, smithy_client_1.expectBoolean)(output.KeyEncipherment),
2267
+ NonRepudiation: (0, smithy_client_1.expectBoolean)(output.NonRepudiation),
2205
2268
  };
2206
2269
  };
2207
2270
  const deserializeAws_json1_1LimitExceededException = (output, context) => {
2208
2271
  return {
2209
- message: smithy_client_1.expectString(output.message),
2272
+ message: (0, smithy_client_1.expectString)(output.message),
2210
2273
  };
2211
2274
  };
2212
2275
  const deserializeAws_json1_1ListCertificateAuthoritiesResponse = (output, context) => {
@@ -2214,12 +2277,12 @@ const deserializeAws_json1_1ListCertificateAuthoritiesResponse = (output, contex
2214
2277
  CertificateAuthorities: output.CertificateAuthorities !== undefined && output.CertificateAuthorities !== null
2215
2278
  ? deserializeAws_json1_1CertificateAuthorities(output.CertificateAuthorities, context)
2216
2279
  : undefined,
2217
- NextToken: smithy_client_1.expectString(output.NextToken),
2280
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
2218
2281
  };
2219
2282
  };
2220
2283
  const deserializeAws_json1_1ListPermissionsResponse = (output, context) => {
2221
2284
  return {
2222
- NextToken: smithy_client_1.expectString(output.NextToken),
2285
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
2223
2286
  Permissions: output.Permissions !== undefined && output.Permissions !== null
2224
2287
  ? deserializeAws_json1_1PermissionList(output.Permissions, context)
2225
2288
  : undefined,
@@ -2227,7 +2290,7 @@ const deserializeAws_json1_1ListPermissionsResponse = (output, context) => {
2227
2290
  };
2228
2291
  const deserializeAws_json1_1ListTagsResponse = (output, context) => {
2229
2292
  return {
2230
- NextToken: smithy_client_1.expectString(output.NextToken),
2293
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
2231
2294
  Tags: output.Tags !== undefined && output.Tags !== null
2232
2295
  ? deserializeAws_json1_1TagList(output.Tags, context)
2233
2296
  : undefined,
@@ -2235,29 +2298,29 @@ const deserializeAws_json1_1ListTagsResponse = (output, context) => {
2235
2298
  };
2236
2299
  const deserializeAws_json1_1LockoutPreventedException = (output, context) => {
2237
2300
  return {
2238
- message: smithy_client_1.expectString(output.message),
2301
+ message: (0, smithy_client_1.expectString)(output.message),
2239
2302
  };
2240
2303
  };
2241
2304
  const deserializeAws_json1_1MalformedCertificateException = (output, context) => {
2242
2305
  return {
2243
- message: smithy_client_1.expectString(output.message),
2306
+ message: (0, smithy_client_1.expectString)(output.message),
2244
2307
  };
2245
2308
  };
2246
2309
  const deserializeAws_json1_1MalformedCSRException = (output, context) => {
2247
2310
  return {
2248
- message: smithy_client_1.expectString(output.message),
2311
+ message: (0, smithy_client_1.expectString)(output.message),
2249
2312
  };
2250
2313
  };
2251
2314
  const deserializeAws_json1_1OcspConfiguration = (output, context) => {
2252
2315
  return {
2253
- Enabled: smithy_client_1.expectBoolean(output.Enabled),
2254
- OcspCustomCname: smithy_client_1.expectString(output.OcspCustomCname),
2316
+ Enabled: (0, smithy_client_1.expectBoolean)(output.Enabled),
2317
+ OcspCustomCname: (0, smithy_client_1.expectString)(output.OcspCustomCname),
2255
2318
  };
2256
2319
  };
2257
2320
  const deserializeAws_json1_1OtherName = (output, context) => {
2258
2321
  return {
2259
- TypeId: smithy_client_1.expectString(output.TypeId),
2260
- Value: smithy_client_1.expectString(output.Value),
2322
+ TypeId: (0, smithy_client_1.expectString)(output.TypeId),
2323
+ Value: (0, smithy_client_1.expectString)(output.Value),
2261
2324
  };
2262
2325
  };
2263
2326
  const deserializeAws_json1_1Permission = (output, context) => {
@@ -2265,18 +2328,18 @@ const deserializeAws_json1_1Permission = (output, context) => {
2265
2328
  Actions: output.Actions !== undefined && output.Actions !== null
2266
2329
  ? deserializeAws_json1_1ActionList(output.Actions, context)
2267
2330
  : undefined,
2268
- CertificateAuthorityArn: smithy_client_1.expectString(output.CertificateAuthorityArn),
2331
+ CertificateAuthorityArn: (0, smithy_client_1.expectString)(output.CertificateAuthorityArn),
2269
2332
  CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
2270
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
2333
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedAt)))
2271
2334
  : undefined,
2272
- Policy: smithy_client_1.expectString(output.Policy),
2273
- Principal: smithy_client_1.expectString(output.Principal),
2274
- SourceAccount: smithy_client_1.expectString(output.SourceAccount),
2335
+ Policy: (0, smithy_client_1.expectString)(output.Policy),
2336
+ Principal: (0, smithy_client_1.expectString)(output.Principal),
2337
+ SourceAccount: (0, smithy_client_1.expectString)(output.SourceAccount),
2275
2338
  };
2276
2339
  };
2277
2340
  const deserializeAws_json1_1PermissionAlreadyExistsException = (output, context) => {
2278
2341
  return {
2279
- message: smithy_client_1.expectString(output.message),
2342
+ message: (0, smithy_client_1.expectString)(output.message),
2280
2343
  };
2281
2344
  };
2282
2345
  const deserializeAws_json1_1PermissionList = (output, context) => {
@@ -2292,22 +2355,22 @@ const deserializeAws_json1_1PermissionList = (output, context) => {
2292
2355
  };
2293
2356
  const deserializeAws_json1_1RequestAlreadyProcessedException = (output, context) => {
2294
2357
  return {
2295
- message: smithy_client_1.expectString(output.message),
2358
+ message: (0, smithy_client_1.expectString)(output.message),
2296
2359
  };
2297
2360
  };
2298
2361
  const deserializeAws_json1_1RequestFailedException = (output, context) => {
2299
2362
  return {
2300
- message: smithy_client_1.expectString(output.message),
2363
+ message: (0, smithy_client_1.expectString)(output.message),
2301
2364
  };
2302
2365
  };
2303
2366
  const deserializeAws_json1_1RequestInProgressException = (output, context) => {
2304
2367
  return {
2305
- message: smithy_client_1.expectString(output.message),
2368
+ message: (0, smithy_client_1.expectString)(output.message),
2306
2369
  };
2307
2370
  };
2308
2371
  const deserializeAws_json1_1ResourceNotFoundException = (output, context) => {
2309
2372
  return {
2310
- message: smithy_client_1.expectString(output.message),
2373
+ message: (0, smithy_client_1.expectString)(output.message),
2311
2374
  };
2312
2375
  };
2313
2376
  const deserializeAws_json1_1RevocationConfiguration = (output, context) => {
@@ -2322,8 +2385,8 @@ const deserializeAws_json1_1RevocationConfiguration = (output, context) => {
2322
2385
  };
2323
2386
  const deserializeAws_json1_1Tag = (output, context) => {
2324
2387
  return {
2325
- Key: smithy_client_1.expectString(output.Key),
2326
- Value: smithy_client_1.expectString(output.Value),
2388
+ Key: (0, smithy_client_1.expectString)(output.Key),
2389
+ Value: (0, smithy_client_1.expectString)(output.Value),
2327
2390
  };
2328
2391
  };
2329
2392
  const deserializeAws_json1_1TagList = (output, context) => {
@@ -2339,7 +2402,7 @@ const deserializeAws_json1_1TagList = (output, context) => {
2339
2402
  };
2340
2403
  const deserializeAws_json1_1TooManyTagsException = (output, context) => {
2341
2404
  return {
2342
- message: smithy_client_1.expectString(output.message),
2405
+ message: (0, smithy_client_1.expectString)(output.message),
2343
2406
  };
2344
2407
  };
2345
2408
  const deserializeMetadata = (output) => {