@aws-sdk/client-ecr 3.53.0 → 3.55.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 (76) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/dist-cjs/ECRClient.js +13 -13
  3. package/dist-cjs/commands/BatchCheckLayerAvailabilityCommand.js +3 -3
  4. package/dist-cjs/commands/BatchDeleteImageCommand.js +3 -3
  5. package/dist-cjs/commands/BatchGetImageCommand.js +3 -3
  6. package/dist-cjs/commands/BatchGetRepositoryScanningConfigurationCommand.js +3 -3
  7. package/dist-cjs/commands/CompleteLayerUploadCommand.js +3 -3
  8. package/dist-cjs/commands/CreatePullThroughCacheRuleCommand.js +3 -3
  9. package/dist-cjs/commands/CreateRepositoryCommand.js +3 -3
  10. package/dist-cjs/commands/DeleteLifecyclePolicyCommand.js +3 -3
  11. package/dist-cjs/commands/DeletePullThroughCacheRuleCommand.js +3 -3
  12. package/dist-cjs/commands/DeleteRegistryPolicyCommand.js +3 -3
  13. package/dist-cjs/commands/DeleteRepositoryCommand.js +3 -3
  14. package/dist-cjs/commands/DeleteRepositoryPolicyCommand.js +3 -3
  15. package/dist-cjs/commands/DescribeImageReplicationStatusCommand.js +3 -3
  16. package/dist-cjs/commands/DescribeImageScanFindingsCommand.js +3 -3
  17. package/dist-cjs/commands/DescribeImagesCommand.js +3 -3
  18. package/dist-cjs/commands/DescribePullThroughCacheRulesCommand.js +3 -3
  19. package/dist-cjs/commands/DescribeRegistryCommand.js +3 -3
  20. package/dist-cjs/commands/DescribeRepositoriesCommand.js +3 -3
  21. package/dist-cjs/commands/GetAuthorizationTokenCommand.js +3 -3
  22. package/dist-cjs/commands/GetDownloadUrlForLayerCommand.js +3 -3
  23. package/dist-cjs/commands/GetLifecyclePolicyCommand.js +3 -3
  24. package/dist-cjs/commands/GetLifecyclePolicyPreviewCommand.js +3 -3
  25. package/dist-cjs/commands/GetRegistryPolicyCommand.js +3 -3
  26. package/dist-cjs/commands/GetRegistryScanningConfigurationCommand.js +3 -3
  27. package/dist-cjs/commands/GetRepositoryPolicyCommand.js +3 -3
  28. package/dist-cjs/commands/InitiateLayerUploadCommand.js +3 -3
  29. package/dist-cjs/commands/ListImagesCommand.js +3 -3
  30. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  31. package/dist-cjs/commands/PutImageCommand.js +3 -3
  32. package/dist-cjs/commands/PutImageScanningConfigurationCommand.js +3 -3
  33. package/dist-cjs/commands/PutImageTagMutabilityCommand.js +3 -3
  34. package/dist-cjs/commands/PutLifecyclePolicyCommand.js +3 -3
  35. package/dist-cjs/commands/PutRegistryPolicyCommand.js +3 -3
  36. package/dist-cjs/commands/PutRegistryScanningConfigurationCommand.js +3 -3
  37. package/dist-cjs/commands/PutReplicationConfigurationCommand.js +3 -3
  38. package/dist-cjs/commands/SetRepositoryPolicyCommand.js +3 -3
  39. package/dist-cjs/commands/StartImageScanCommand.js +3 -3
  40. package/dist-cjs/commands/StartLifecyclePolicyPreviewCommand.js +3 -3
  41. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  42. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  43. package/dist-cjs/commands/UploadLayerPartCommand.js +3 -3
  44. package/dist-cjs/endpoints.js +1 -1
  45. package/dist-cjs/protocols/Aws_json1_1.js +315 -312
  46. package/dist-cjs/runtimeConfig.browser.js +4 -4
  47. package/dist-cjs/runtimeConfig.js +9 -9
  48. package/dist-cjs/runtimeConfig.native.js +1 -1
  49. package/dist-cjs/waiters/waitForImageScanComplete.js +3 -3
  50. package/dist-cjs/waiters/waitForLifecyclePolicyPreviewComplete.js +3 -3
  51. package/dist-es/ECR.js +41 -41
  52. package/dist-es/pagination/DescribeImageScanFindingsPaginator.js +4 -4
  53. package/dist-es/pagination/DescribeImagesPaginator.js +4 -4
  54. package/dist-es/pagination/DescribePullThroughCacheRulesPaginator.js +4 -4
  55. package/dist-es/pagination/DescribeRepositoriesPaginator.js +4 -4
  56. package/dist-es/pagination/GetLifecyclePolicyPreviewPaginator.js +4 -4
  57. package/dist-es/pagination/ListImagesPaginator.js +4 -4
  58. package/dist-es/protocols/Aws_json1_1.js +3 -0
  59. package/dist-types/ECR.d.ts +11 -6
  60. package/dist-types/ECRClient.d.ts +2 -2
  61. package/dist-types/commands/BatchCheckLayerAvailabilityCommand.d.ts +1 -1
  62. package/dist-types/commands/CompleteLayerUploadCommand.d.ts +1 -1
  63. package/dist-types/commands/GetDownloadUrlForLayerCommand.d.ts +1 -1
  64. package/dist-types/commands/InitiateLayerUploadCommand.d.ts +1 -1
  65. package/dist-types/commands/PutImageScanningConfigurationCommand.d.ts +6 -1
  66. package/dist-types/commands/UploadLayerPartCommand.d.ts +1 -1
  67. package/dist-types/models/models_0.d.ts +33 -13
  68. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  69. package/dist-types/runtimeConfig.d.ts +1 -1
  70. package/dist-types/runtimeConfig.native.d.ts +3 -3
  71. package/dist-types/ts3.4/ECRClient.d.ts +2 -2
  72. package/dist-types/ts3.4/models/models_0.d.ts +2 -0
  73. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  74. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  75. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
  76. package/package.json +35 -35
@@ -455,7 +455,7 @@ const deserializeAws_json1_1BatchCheckLayerAvailabilityCommandError = async (out
455
455
  $fault: "client",
456
456
  $metadata: deserializeMetadata(output),
457
457
  });
458
- throw smithy_client_1.decorateServiceException(response, parsedBody);
458
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
459
459
  }
460
460
  };
461
461
  const deserializeAws_json1_1BatchDeleteImageCommand = async (output, context) => {
@@ -497,7 +497,7 @@ const deserializeAws_json1_1BatchDeleteImageCommandError = async (output, contex
497
497
  $fault: "client",
498
498
  $metadata: deserializeMetadata(output),
499
499
  });
500
- throw smithy_client_1.decorateServiceException(response, parsedBody);
500
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
501
501
  }
502
502
  };
503
503
  const deserializeAws_json1_1BatchGetImageCommand = async (output, context) => {
@@ -539,7 +539,7 @@ const deserializeAws_json1_1BatchGetImageCommandError = async (output, context)
539
539
  $fault: "client",
540
540
  $metadata: deserializeMetadata(output),
541
541
  });
542
- throw smithy_client_1.decorateServiceException(response, parsedBody);
542
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
543
543
  }
544
544
  };
545
545
  const deserializeAws_json1_1BatchGetRepositoryScanningConfigurationCommand = async (output, context) => {
@@ -584,7 +584,7 @@ const deserializeAws_json1_1BatchGetRepositoryScanningConfigurationCommandError
584
584
  $fault: "client",
585
585
  $metadata: deserializeMetadata(output),
586
586
  });
587
- throw smithy_client_1.decorateServiceException(response, parsedBody);
587
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
588
588
  }
589
589
  };
590
590
  const deserializeAws_json1_1CompleteLayerUploadCommand = async (output, context) => {
@@ -644,7 +644,7 @@ const deserializeAws_json1_1CompleteLayerUploadCommandError = async (output, con
644
644
  $fault: "client",
645
645
  $metadata: deserializeMetadata(output),
646
646
  });
647
- throw smithy_client_1.decorateServiceException(response, parsedBody);
647
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
648
648
  }
649
649
  };
650
650
  const deserializeAws_json1_1CreatePullThroughCacheRuleCommand = async (output, context) => {
@@ -695,7 +695,7 @@ const deserializeAws_json1_1CreatePullThroughCacheRuleCommandError = async (outp
695
695
  $fault: "client",
696
696
  $metadata: deserializeMetadata(output),
697
697
  });
698
- throw smithy_client_1.decorateServiceException(response, parsedBody);
698
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
699
699
  }
700
700
  };
701
701
  const deserializeAws_json1_1CreateRepositoryCommand = async (output, context) => {
@@ -749,7 +749,7 @@ const deserializeAws_json1_1CreateRepositoryCommandError = async (output, contex
749
749
  $fault: "client",
750
750
  $metadata: deserializeMetadata(output),
751
751
  });
752
- throw smithy_client_1.decorateServiceException(response, parsedBody);
752
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
753
753
  }
754
754
  };
755
755
  const deserializeAws_json1_1DeleteLifecyclePolicyCommand = async (output, context) => {
@@ -794,7 +794,7 @@ const deserializeAws_json1_1DeleteLifecyclePolicyCommandError = async (output, c
794
794
  $fault: "client",
795
795
  $metadata: deserializeMetadata(output),
796
796
  });
797
- throw smithy_client_1.decorateServiceException(response, parsedBody);
797
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
798
798
  }
799
799
  };
800
800
  const deserializeAws_json1_1DeletePullThroughCacheRuleCommand = async (output, context) => {
@@ -839,7 +839,7 @@ const deserializeAws_json1_1DeletePullThroughCacheRuleCommandError = async (outp
839
839
  $fault: "client",
840
840
  $metadata: deserializeMetadata(output),
841
841
  });
842
- throw smithy_client_1.decorateServiceException(response, parsedBody);
842
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
843
843
  }
844
844
  };
845
845
  const deserializeAws_json1_1DeleteRegistryPolicyCommand = async (output, context) => {
@@ -884,7 +884,7 @@ const deserializeAws_json1_1DeleteRegistryPolicyCommandError = async (output, co
884
884
  $fault: "client",
885
885
  $metadata: deserializeMetadata(output),
886
886
  });
887
- throw smithy_client_1.decorateServiceException(response, parsedBody);
887
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
888
888
  }
889
889
  };
890
890
  const deserializeAws_json1_1DeleteRepositoryCommand = async (output, context) => {
@@ -932,7 +932,7 @@ const deserializeAws_json1_1DeleteRepositoryCommandError = async (output, contex
932
932
  $fault: "client",
933
933
  $metadata: deserializeMetadata(output),
934
934
  });
935
- throw smithy_client_1.decorateServiceException(response, parsedBody);
935
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
936
936
  }
937
937
  };
938
938
  const deserializeAws_json1_1DeleteRepositoryPolicyCommand = async (output, context) => {
@@ -977,7 +977,7 @@ const deserializeAws_json1_1DeleteRepositoryPolicyCommandError = async (output,
977
977
  $fault: "client",
978
978
  $metadata: deserializeMetadata(output),
979
979
  });
980
- throw smithy_client_1.decorateServiceException(response, parsedBody);
980
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
981
981
  }
982
982
  };
983
983
  const deserializeAws_json1_1DescribeImageReplicationStatusCommand = async (output, context) => {
@@ -1025,7 +1025,7 @@ const deserializeAws_json1_1DescribeImageReplicationStatusCommandError = async (
1025
1025
  $fault: "client",
1026
1026
  $metadata: deserializeMetadata(output),
1027
1027
  });
1028
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1028
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1029
1029
  }
1030
1030
  };
1031
1031
  const deserializeAws_json1_1DescribeImagesCommand = async (output, context) => {
@@ -1070,7 +1070,7 @@ const deserializeAws_json1_1DescribeImagesCommandError = async (output, context)
1070
1070
  $fault: "client",
1071
1071
  $metadata: deserializeMetadata(output),
1072
1072
  });
1073
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1073
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1074
1074
  }
1075
1075
  };
1076
1076
  const deserializeAws_json1_1DescribeImageScanFindingsCommand = async (output, context) => {
@@ -1121,7 +1121,7 @@ const deserializeAws_json1_1DescribeImageScanFindingsCommandError = async (outpu
1121
1121
  $fault: "client",
1122
1122
  $metadata: deserializeMetadata(output),
1123
1123
  });
1124
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1124
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1125
1125
  }
1126
1126
  };
1127
1127
  const deserializeAws_json1_1DescribePullThroughCacheRulesCommand = async (output, context) => {
@@ -1166,7 +1166,7 @@ const deserializeAws_json1_1DescribePullThroughCacheRulesCommandError = async (o
1166
1166
  $fault: "client",
1167
1167
  $metadata: deserializeMetadata(output),
1168
1168
  });
1169
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1169
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1170
1170
  }
1171
1171
  };
1172
1172
  const deserializeAws_json1_1DescribeRegistryCommand = async (output, context) => {
@@ -1208,7 +1208,7 @@ const deserializeAws_json1_1DescribeRegistryCommandError = async (output, contex
1208
1208
  $fault: "client",
1209
1209
  $metadata: deserializeMetadata(output),
1210
1210
  });
1211
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1211
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1212
1212
  }
1213
1213
  };
1214
1214
  const deserializeAws_json1_1DescribeRepositoriesCommand = async (output, context) => {
@@ -1250,7 +1250,7 @@ const deserializeAws_json1_1DescribeRepositoriesCommandError = async (output, co
1250
1250
  $fault: "client",
1251
1251
  $metadata: deserializeMetadata(output),
1252
1252
  });
1253
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1253
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1254
1254
  }
1255
1255
  };
1256
1256
  const deserializeAws_json1_1GetAuthorizationTokenCommand = async (output, context) => {
@@ -1289,7 +1289,7 @@ const deserializeAws_json1_1GetAuthorizationTokenCommandError = async (output, c
1289
1289
  $fault: "client",
1290
1290
  $metadata: deserializeMetadata(output),
1291
1291
  });
1292
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1292
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1293
1293
  }
1294
1294
  };
1295
1295
  const deserializeAws_json1_1GetDownloadUrlForLayerCommand = async (output, context) => {
@@ -1337,7 +1337,7 @@ const deserializeAws_json1_1GetDownloadUrlForLayerCommandError = async (output,
1337
1337
  $fault: "client",
1338
1338
  $metadata: deserializeMetadata(output),
1339
1339
  });
1340
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1340
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1341
1341
  }
1342
1342
  };
1343
1343
  const deserializeAws_json1_1GetLifecyclePolicyCommand = async (output, context) => {
@@ -1382,7 +1382,7 @@ const deserializeAws_json1_1GetLifecyclePolicyCommandError = async (output, cont
1382
1382
  $fault: "client",
1383
1383
  $metadata: deserializeMetadata(output),
1384
1384
  });
1385
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1385
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1386
1386
  }
1387
1387
  };
1388
1388
  const deserializeAws_json1_1GetLifecyclePolicyPreviewCommand = async (output, context) => {
@@ -1427,7 +1427,7 @@ const deserializeAws_json1_1GetLifecyclePolicyPreviewCommandError = async (outpu
1427
1427
  $fault: "client",
1428
1428
  $metadata: deserializeMetadata(output),
1429
1429
  });
1430
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1430
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1431
1431
  }
1432
1432
  };
1433
1433
  const deserializeAws_json1_1GetRegistryPolicyCommand = async (output, context) => {
@@ -1472,7 +1472,7 @@ const deserializeAws_json1_1GetRegistryPolicyCommandError = async (output, conte
1472
1472
  $fault: "client",
1473
1473
  $metadata: deserializeMetadata(output),
1474
1474
  });
1475
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1475
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1476
1476
  }
1477
1477
  };
1478
1478
  const deserializeAws_json1_1GetRegistryScanningConfigurationCommand = async (output, context) => {
@@ -1514,7 +1514,7 @@ const deserializeAws_json1_1GetRegistryScanningConfigurationCommandError = async
1514
1514
  $fault: "client",
1515
1515
  $metadata: deserializeMetadata(output),
1516
1516
  });
1517
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1517
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1518
1518
  }
1519
1519
  };
1520
1520
  const deserializeAws_json1_1GetRepositoryPolicyCommand = async (output, context) => {
@@ -1559,7 +1559,7 @@ const deserializeAws_json1_1GetRepositoryPolicyCommandError = async (output, con
1559
1559
  $fault: "client",
1560
1560
  $metadata: deserializeMetadata(output),
1561
1561
  });
1562
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1562
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1563
1563
  }
1564
1564
  };
1565
1565
  const deserializeAws_json1_1InitiateLayerUploadCommand = async (output, context) => {
@@ -1604,7 +1604,7 @@ const deserializeAws_json1_1InitiateLayerUploadCommandError = async (output, con
1604
1604
  $fault: "client",
1605
1605
  $metadata: deserializeMetadata(output),
1606
1606
  });
1607
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1607
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1608
1608
  }
1609
1609
  };
1610
1610
  const deserializeAws_json1_1ListImagesCommand = async (output, context) => {
@@ -1646,7 +1646,7 @@ const deserializeAws_json1_1ListImagesCommandError = async (output, context) =>
1646
1646
  $fault: "client",
1647
1647
  $metadata: deserializeMetadata(output),
1648
1648
  });
1649
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1649
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1650
1650
  }
1651
1651
  };
1652
1652
  const deserializeAws_json1_1ListTagsForResourceCommand = async (output, context) => {
@@ -1688,7 +1688,7 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
1688
1688
  $fault: "client",
1689
1689
  $metadata: deserializeMetadata(output),
1690
1690
  });
1691
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1691
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1692
1692
  }
1693
1693
  };
1694
1694
  const deserializeAws_json1_1PutImageCommand = async (output, context) => {
@@ -1751,7 +1751,7 @@ const deserializeAws_json1_1PutImageCommandError = async (output, context) => {
1751
1751
  $fault: "client",
1752
1752
  $metadata: deserializeMetadata(output),
1753
1753
  });
1754
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1754
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1755
1755
  }
1756
1756
  };
1757
1757
  const deserializeAws_json1_1PutImageScanningConfigurationCommand = async (output, context) => {
@@ -1796,7 +1796,7 @@ const deserializeAws_json1_1PutImageScanningConfigurationCommandError = async (o
1796
1796
  $fault: "client",
1797
1797
  $metadata: deserializeMetadata(output),
1798
1798
  });
1799
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1799
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1800
1800
  }
1801
1801
  };
1802
1802
  const deserializeAws_json1_1PutImageTagMutabilityCommand = async (output, context) => {
@@ -1838,7 +1838,7 @@ const deserializeAws_json1_1PutImageTagMutabilityCommandError = async (output, c
1838
1838
  $fault: "client",
1839
1839
  $metadata: deserializeMetadata(output),
1840
1840
  });
1841
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1841
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1842
1842
  }
1843
1843
  };
1844
1844
  const deserializeAws_json1_1PutLifecyclePolicyCommand = async (output, context) => {
@@ -1880,7 +1880,7 @@ const deserializeAws_json1_1PutLifecyclePolicyCommandError = async (output, cont
1880
1880
  $fault: "client",
1881
1881
  $metadata: deserializeMetadata(output),
1882
1882
  });
1883
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1883
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1884
1884
  }
1885
1885
  };
1886
1886
  const deserializeAws_json1_1PutRegistryPolicyCommand = async (output, context) => {
@@ -1922,7 +1922,7 @@ const deserializeAws_json1_1PutRegistryPolicyCommandError = async (output, conte
1922
1922
  $fault: "client",
1923
1923
  $metadata: deserializeMetadata(output),
1924
1924
  });
1925
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1925
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1926
1926
  }
1927
1927
  };
1928
1928
  const deserializeAws_json1_1PutRegistryScanningConfigurationCommand = async (output, context) => {
@@ -1964,7 +1964,7 @@ const deserializeAws_json1_1PutRegistryScanningConfigurationCommandError = async
1964
1964
  $fault: "client",
1965
1965
  $metadata: deserializeMetadata(output),
1966
1966
  });
1967
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1967
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1968
1968
  }
1969
1969
  };
1970
1970
  const deserializeAws_json1_1PutReplicationConfigurationCommand = async (output, context) => {
@@ -2006,7 +2006,7 @@ const deserializeAws_json1_1PutReplicationConfigurationCommandError = async (out
2006
2006
  $fault: "client",
2007
2007
  $metadata: deserializeMetadata(output),
2008
2008
  });
2009
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2009
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2010
2010
  }
2011
2011
  };
2012
2012
  const deserializeAws_json1_1SetRepositoryPolicyCommand = async (output, context) => {
@@ -2048,7 +2048,7 @@ const deserializeAws_json1_1SetRepositoryPolicyCommandError = async (output, con
2048
2048
  $fault: "client",
2049
2049
  $metadata: deserializeMetadata(output),
2050
2050
  });
2051
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2051
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2052
2052
  }
2053
2053
  };
2054
2054
  const deserializeAws_json1_1StartImageScanCommand = async (output, context) => {
@@ -2102,7 +2102,7 @@ const deserializeAws_json1_1StartImageScanCommandError = async (output, context)
2102
2102
  $fault: "client",
2103
2103
  $metadata: deserializeMetadata(output),
2104
2104
  });
2105
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2105
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2106
2106
  }
2107
2107
  };
2108
2108
  const deserializeAws_json1_1StartLifecyclePolicyPreviewCommand = async (output, context) => {
@@ -2150,7 +2150,7 @@ const deserializeAws_json1_1StartLifecyclePolicyPreviewCommandError = async (out
2150
2150
  $fault: "client",
2151
2151
  $metadata: deserializeMetadata(output),
2152
2152
  });
2153
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2153
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2154
2154
  }
2155
2155
  };
2156
2156
  const deserializeAws_json1_1TagResourceCommand = async (output, context) => {
@@ -2198,7 +2198,7 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
2198
2198
  $fault: "client",
2199
2199
  $metadata: deserializeMetadata(output),
2200
2200
  });
2201
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2201
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2202
2202
  }
2203
2203
  };
2204
2204
  const deserializeAws_json1_1UntagResourceCommand = async (output, context) => {
@@ -2246,7 +2246,7 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
2246
2246
  $fault: "client",
2247
2247
  $metadata: deserializeMetadata(output),
2248
2248
  });
2249
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2249
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2250
2250
  }
2251
2251
  };
2252
2252
  const deserializeAws_json1_1UploadLayerPartCommand = async (output, context) => {
@@ -2300,7 +2300,7 @@ const deserializeAws_json1_1UploadLayerPartCommandError = async (output, context
2300
2300
  $fault: "client",
2301
2301
  $metadata: deserializeMetadata(output),
2302
2302
  });
2303
- throw smithy_client_1.decorateServiceException(response, parsedBody);
2303
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2304
2304
  }
2305
2305
  };
2306
2306
  const deserializeAws_json1_1EmptyUploadExceptionResponse = async (parsedOutput, context) => {
@@ -2310,7 +2310,7 @@ const deserializeAws_json1_1EmptyUploadExceptionResponse = async (parsedOutput,
2310
2310
  $metadata: deserializeMetadata(parsedOutput),
2311
2311
  ...deserialized,
2312
2312
  });
2313
- return smithy_client_1.decorateServiceException(exception, body);
2313
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2314
2314
  };
2315
2315
  const deserializeAws_json1_1ImageAlreadyExistsExceptionResponse = async (parsedOutput, context) => {
2316
2316
  const body = parsedOutput.body;
@@ -2319,7 +2319,7 @@ const deserializeAws_json1_1ImageAlreadyExistsExceptionResponse = async (parsedO
2319
2319
  $metadata: deserializeMetadata(parsedOutput),
2320
2320
  ...deserialized,
2321
2321
  });
2322
- return smithy_client_1.decorateServiceException(exception, body);
2322
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2323
2323
  };
2324
2324
  const deserializeAws_json1_1ImageDigestDoesNotMatchExceptionResponse = async (parsedOutput, context) => {
2325
2325
  const body = parsedOutput.body;
@@ -2328,7 +2328,7 @@ const deserializeAws_json1_1ImageDigestDoesNotMatchExceptionResponse = async (pa
2328
2328
  $metadata: deserializeMetadata(parsedOutput),
2329
2329
  ...deserialized,
2330
2330
  });
2331
- return smithy_client_1.decorateServiceException(exception, body);
2331
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2332
2332
  };
2333
2333
  const deserializeAws_json1_1ImageNotFoundExceptionResponse = async (parsedOutput, context) => {
2334
2334
  const body = parsedOutput.body;
@@ -2337,7 +2337,7 @@ const deserializeAws_json1_1ImageNotFoundExceptionResponse = async (parsedOutput
2337
2337
  $metadata: deserializeMetadata(parsedOutput),
2338
2338
  ...deserialized,
2339
2339
  });
2340
- return smithy_client_1.decorateServiceException(exception, body);
2340
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2341
2341
  };
2342
2342
  const deserializeAws_json1_1ImageTagAlreadyExistsExceptionResponse = async (parsedOutput, context) => {
2343
2343
  const body = parsedOutput.body;
@@ -2346,7 +2346,7 @@ const deserializeAws_json1_1ImageTagAlreadyExistsExceptionResponse = async (pars
2346
2346
  $metadata: deserializeMetadata(parsedOutput),
2347
2347
  ...deserialized,
2348
2348
  });
2349
- return smithy_client_1.decorateServiceException(exception, body);
2349
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2350
2350
  };
2351
2351
  const deserializeAws_json1_1InvalidLayerExceptionResponse = async (parsedOutput, context) => {
2352
2352
  const body = parsedOutput.body;
@@ -2355,7 +2355,7 @@ const deserializeAws_json1_1InvalidLayerExceptionResponse = async (parsedOutput,
2355
2355
  $metadata: deserializeMetadata(parsedOutput),
2356
2356
  ...deserialized,
2357
2357
  });
2358
- return smithy_client_1.decorateServiceException(exception, body);
2358
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2359
2359
  };
2360
2360
  const deserializeAws_json1_1InvalidLayerPartExceptionResponse = async (parsedOutput, context) => {
2361
2361
  const body = parsedOutput.body;
@@ -2364,7 +2364,7 @@ const deserializeAws_json1_1InvalidLayerPartExceptionResponse = async (parsedOut
2364
2364
  $metadata: deserializeMetadata(parsedOutput),
2365
2365
  ...deserialized,
2366
2366
  });
2367
- return smithy_client_1.decorateServiceException(exception, body);
2367
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2368
2368
  };
2369
2369
  const deserializeAws_json1_1InvalidParameterExceptionResponse = async (parsedOutput, context) => {
2370
2370
  const body = parsedOutput.body;
@@ -2373,7 +2373,7 @@ const deserializeAws_json1_1InvalidParameterExceptionResponse = async (parsedOut
2373
2373
  $metadata: deserializeMetadata(parsedOutput),
2374
2374
  ...deserialized,
2375
2375
  });
2376
- return smithy_client_1.decorateServiceException(exception, body);
2376
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2377
2377
  };
2378
2378
  const deserializeAws_json1_1InvalidTagParameterExceptionResponse = async (parsedOutput, context) => {
2379
2379
  const body = parsedOutput.body;
@@ -2382,7 +2382,7 @@ const deserializeAws_json1_1InvalidTagParameterExceptionResponse = async (parsed
2382
2382
  $metadata: deserializeMetadata(parsedOutput),
2383
2383
  ...deserialized,
2384
2384
  });
2385
- return smithy_client_1.decorateServiceException(exception, body);
2385
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2386
2386
  };
2387
2387
  const deserializeAws_json1_1KmsExceptionResponse = async (parsedOutput, context) => {
2388
2388
  const body = parsedOutput.body;
@@ -2391,7 +2391,7 @@ const deserializeAws_json1_1KmsExceptionResponse = async (parsedOutput, context)
2391
2391
  $metadata: deserializeMetadata(parsedOutput),
2392
2392
  ...deserialized,
2393
2393
  });
2394
- return smithy_client_1.decorateServiceException(exception, body);
2394
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2395
2395
  };
2396
2396
  const deserializeAws_json1_1LayerAlreadyExistsExceptionResponse = async (parsedOutput, context) => {
2397
2397
  const body = parsedOutput.body;
@@ -2400,7 +2400,7 @@ const deserializeAws_json1_1LayerAlreadyExistsExceptionResponse = async (parsedO
2400
2400
  $metadata: deserializeMetadata(parsedOutput),
2401
2401
  ...deserialized,
2402
2402
  });
2403
- return smithy_client_1.decorateServiceException(exception, body);
2403
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2404
2404
  };
2405
2405
  const deserializeAws_json1_1LayerInaccessibleExceptionResponse = async (parsedOutput, context) => {
2406
2406
  const body = parsedOutput.body;
@@ -2409,7 +2409,7 @@ const deserializeAws_json1_1LayerInaccessibleExceptionResponse = async (parsedOu
2409
2409
  $metadata: deserializeMetadata(parsedOutput),
2410
2410
  ...deserialized,
2411
2411
  });
2412
- return smithy_client_1.decorateServiceException(exception, body);
2412
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2413
2413
  };
2414
2414
  const deserializeAws_json1_1LayerPartTooSmallExceptionResponse = async (parsedOutput, context) => {
2415
2415
  const body = parsedOutput.body;
@@ -2418,7 +2418,7 @@ const deserializeAws_json1_1LayerPartTooSmallExceptionResponse = async (parsedOu
2418
2418
  $metadata: deserializeMetadata(parsedOutput),
2419
2419
  ...deserialized,
2420
2420
  });
2421
- return smithy_client_1.decorateServiceException(exception, body);
2421
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2422
2422
  };
2423
2423
  const deserializeAws_json1_1LayersNotFoundExceptionResponse = async (parsedOutput, context) => {
2424
2424
  const body = parsedOutput.body;
@@ -2427,7 +2427,7 @@ const deserializeAws_json1_1LayersNotFoundExceptionResponse = async (parsedOutpu
2427
2427
  $metadata: deserializeMetadata(parsedOutput),
2428
2428
  ...deserialized,
2429
2429
  });
2430
- return smithy_client_1.decorateServiceException(exception, body);
2430
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2431
2431
  };
2432
2432
  const deserializeAws_json1_1LifecyclePolicyNotFoundExceptionResponse = async (parsedOutput, context) => {
2433
2433
  const body = parsedOutput.body;
@@ -2436,7 +2436,7 @@ const deserializeAws_json1_1LifecyclePolicyNotFoundExceptionResponse = async (pa
2436
2436
  $metadata: deserializeMetadata(parsedOutput),
2437
2437
  ...deserialized,
2438
2438
  });
2439
- return smithy_client_1.decorateServiceException(exception, body);
2439
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2440
2440
  };
2441
2441
  const deserializeAws_json1_1LifecyclePolicyPreviewInProgressExceptionResponse = async (parsedOutput, context) => {
2442
2442
  const body = parsedOutput.body;
@@ -2445,7 +2445,7 @@ const deserializeAws_json1_1LifecyclePolicyPreviewInProgressExceptionResponse =
2445
2445
  $metadata: deserializeMetadata(parsedOutput),
2446
2446
  ...deserialized,
2447
2447
  });
2448
- return smithy_client_1.decorateServiceException(exception, body);
2448
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2449
2449
  };
2450
2450
  const deserializeAws_json1_1LifecyclePolicyPreviewNotFoundExceptionResponse = async (parsedOutput, context) => {
2451
2451
  const body = parsedOutput.body;
@@ -2454,7 +2454,7 @@ const deserializeAws_json1_1LifecyclePolicyPreviewNotFoundExceptionResponse = as
2454
2454
  $metadata: deserializeMetadata(parsedOutput),
2455
2455
  ...deserialized,
2456
2456
  });
2457
- return smithy_client_1.decorateServiceException(exception, body);
2457
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2458
2458
  };
2459
2459
  const deserializeAws_json1_1LimitExceededExceptionResponse = async (parsedOutput, context) => {
2460
2460
  const body = parsedOutput.body;
@@ -2463,7 +2463,7 @@ const deserializeAws_json1_1LimitExceededExceptionResponse = async (parsedOutput
2463
2463
  $metadata: deserializeMetadata(parsedOutput),
2464
2464
  ...deserialized,
2465
2465
  });
2466
- return smithy_client_1.decorateServiceException(exception, body);
2466
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2467
2467
  };
2468
2468
  const deserializeAws_json1_1PullThroughCacheRuleAlreadyExistsExceptionResponse = async (parsedOutput, context) => {
2469
2469
  const body = parsedOutput.body;
@@ -2472,7 +2472,7 @@ const deserializeAws_json1_1PullThroughCacheRuleAlreadyExistsExceptionResponse =
2472
2472
  $metadata: deserializeMetadata(parsedOutput),
2473
2473
  ...deserialized,
2474
2474
  });
2475
- return smithy_client_1.decorateServiceException(exception, body);
2475
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2476
2476
  };
2477
2477
  const deserializeAws_json1_1PullThroughCacheRuleNotFoundExceptionResponse = async (parsedOutput, context) => {
2478
2478
  const body = parsedOutput.body;
@@ -2481,7 +2481,7 @@ const deserializeAws_json1_1PullThroughCacheRuleNotFoundExceptionResponse = asyn
2481
2481
  $metadata: deserializeMetadata(parsedOutput),
2482
2482
  ...deserialized,
2483
2483
  });
2484
- return smithy_client_1.decorateServiceException(exception, body);
2484
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2485
2485
  };
2486
2486
  const deserializeAws_json1_1ReferencedImagesNotFoundExceptionResponse = async (parsedOutput, context) => {
2487
2487
  const body = parsedOutput.body;
@@ -2490,7 +2490,7 @@ const deserializeAws_json1_1ReferencedImagesNotFoundExceptionResponse = async (p
2490
2490
  $metadata: deserializeMetadata(parsedOutput),
2491
2491
  ...deserialized,
2492
2492
  });
2493
- return smithy_client_1.decorateServiceException(exception, body);
2493
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2494
2494
  };
2495
2495
  const deserializeAws_json1_1RegistryPolicyNotFoundExceptionResponse = async (parsedOutput, context) => {
2496
2496
  const body = parsedOutput.body;
@@ -2499,7 +2499,7 @@ const deserializeAws_json1_1RegistryPolicyNotFoundExceptionResponse = async (par
2499
2499
  $metadata: deserializeMetadata(parsedOutput),
2500
2500
  ...deserialized,
2501
2501
  });
2502
- return smithy_client_1.decorateServiceException(exception, body);
2502
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2503
2503
  };
2504
2504
  const deserializeAws_json1_1RepositoryAlreadyExistsExceptionResponse = async (parsedOutput, context) => {
2505
2505
  const body = parsedOutput.body;
@@ -2508,7 +2508,7 @@ const deserializeAws_json1_1RepositoryAlreadyExistsExceptionResponse = async (pa
2508
2508
  $metadata: deserializeMetadata(parsedOutput),
2509
2509
  ...deserialized,
2510
2510
  });
2511
- return smithy_client_1.decorateServiceException(exception, body);
2511
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2512
2512
  };
2513
2513
  const deserializeAws_json1_1RepositoryNotEmptyExceptionResponse = async (parsedOutput, context) => {
2514
2514
  const body = parsedOutput.body;
@@ -2517,7 +2517,7 @@ const deserializeAws_json1_1RepositoryNotEmptyExceptionResponse = async (parsedO
2517
2517
  $metadata: deserializeMetadata(parsedOutput),
2518
2518
  ...deserialized,
2519
2519
  });
2520
- return smithy_client_1.decorateServiceException(exception, body);
2520
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2521
2521
  };
2522
2522
  const deserializeAws_json1_1RepositoryNotFoundExceptionResponse = async (parsedOutput, context) => {
2523
2523
  const body = parsedOutput.body;
@@ -2526,7 +2526,7 @@ const deserializeAws_json1_1RepositoryNotFoundExceptionResponse = async (parsedO
2526
2526
  $metadata: deserializeMetadata(parsedOutput),
2527
2527
  ...deserialized,
2528
2528
  });
2529
- return smithy_client_1.decorateServiceException(exception, body);
2529
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2530
2530
  };
2531
2531
  const deserializeAws_json1_1RepositoryPolicyNotFoundExceptionResponse = async (parsedOutput, context) => {
2532
2532
  const body = parsedOutput.body;
@@ -2535,7 +2535,7 @@ const deserializeAws_json1_1RepositoryPolicyNotFoundExceptionResponse = async (p
2535
2535
  $metadata: deserializeMetadata(parsedOutput),
2536
2536
  ...deserialized,
2537
2537
  });
2538
- return smithy_client_1.decorateServiceException(exception, body);
2538
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2539
2539
  };
2540
2540
  const deserializeAws_json1_1ScanNotFoundExceptionResponse = async (parsedOutput, context) => {
2541
2541
  const body = parsedOutput.body;
@@ -2544,7 +2544,7 @@ const deserializeAws_json1_1ScanNotFoundExceptionResponse = async (parsedOutput,
2544
2544
  $metadata: deserializeMetadata(parsedOutput),
2545
2545
  ...deserialized,
2546
2546
  });
2547
- return smithy_client_1.decorateServiceException(exception, body);
2547
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2548
2548
  };
2549
2549
  const deserializeAws_json1_1ServerExceptionResponse = async (parsedOutput, context) => {
2550
2550
  const body = parsedOutput.body;
@@ -2553,7 +2553,7 @@ const deserializeAws_json1_1ServerExceptionResponse = async (parsedOutput, conte
2553
2553
  $metadata: deserializeMetadata(parsedOutput),
2554
2554
  ...deserialized,
2555
2555
  });
2556
- return smithy_client_1.decorateServiceException(exception, body);
2556
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2557
2557
  };
2558
2558
  const deserializeAws_json1_1TooManyTagsExceptionResponse = async (parsedOutput, context) => {
2559
2559
  const body = parsedOutput.body;
@@ -2562,7 +2562,7 @@ const deserializeAws_json1_1TooManyTagsExceptionResponse = async (parsedOutput,
2562
2562
  $metadata: deserializeMetadata(parsedOutput),
2563
2563
  ...deserialized,
2564
2564
  });
2565
- return smithy_client_1.decorateServiceException(exception, body);
2565
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2566
2566
  };
2567
2567
  const deserializeAws_json1_1UnsupportedImageTypeExceptionResponse = async (parsedOutput, context) => {
2568
2568
  const body = parsedOutput.body;
@@ -2571,7 +2571,7 @@ const deserializeAws_json1_1UnsupportedImageTypeExceptionResponse = async (parse
2571
2571
  $metadata: deserializeMetadata(parsedOutput),
2572
2572
  ...deserialized,
2573
2573
  });
2574
- return smithy_client_1.decorateServiceException(exception, body);
2574
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2575
2575
  };
2576
2576
  const deserializeAws_json1_1UnsupportedUpstreamRegistryExceptionResponse = async (parsedOutput, context) => {
2577
2577
  const body = parsedOutput.body;
@@ -2580,7 +2580,7 @@ const deserializeAws_json1_1UnsupportedUpstreamRegistryExceptionResponse = async
2580
2580
  $metadata: deserializeMetadata(parsedOutput),
2581
2581
  ...deserialized,
2582
2582
  });
2583
- return smithy_client_1.decorateServiceException(exception, body);
2583
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2584
2584
  };
2585
2585
  const deserializeAws_json1_1UploadNotFoundExceptionResponse = async (parsedOutput, context) => {
2586
2586
  const body = parsedOutput.body;
@@ -2589,7 +2589,7 @@ const deserializeAws_json1_1UploadNotFoundExceptionResponse = async (parsedOutpu
2589
2589
  $metadata: deserializeMetadata(parsedOutput),
2590
2590
  ...deserialized,
2591
2591
  });
2592
- return smithy_client_1.decorateServiceException(exception, body);
2592
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2593
2593
  };
2594
2594
  const deserializeAws_json1_1ValidationExceptionResponse = async (parsedOutput, context) => {
2595
2595
  const body = parsedOutput.body;
@@ -2598,7 +2598,7 @@ const deserializeAws_json1_1ValidationExceptionResponse = async (parsedOutput, c
2598
2598
  $metadata: deserializeMetadata(parsedOutput),
2599
2599
  ...deserialized,
2600
2600
  });
2601
- return smithy_client_1.decorateServiceException(exception, body);
2601
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2602
2602
  };
2603
2603
  const serializeAws_json1_1BatchCheckLayerAvailabilityRequest = (input, context) => {
2604
2604
  return {
@@ -3191,8 +3191,8 @@ const serializeAws_json1_1UploadLayerPartRequest = (input, context) => {
3191
3191
  };
3192
3192
  const deserializeAws_json1_1Attribute = (output, context) => {
3193
3193
  return {
3194
- key: smithy_client_1.expectString(output.key),
3195
- value: smithy_client_1.expectString(output.value),
3194
+ key: (0, smithy_client_1.expectString)(output.key),
3195
+ value: (0, smithy_client_1.expectString)(output.value),
3196
3196
  };
3197
3197
  };
3198
3198
  const deserializeAws_json1_1AttributeList = (output, context) => {
@@ -3208,11 +3208,11 @@ const deserializeAws_json1_1AttributeList = (output, context) => {
3208
3208
  };
3209
3209
  const deserializeAws_json1_1AuthorizationData = (output, context) => {
3210
3210
  return {
3211
- authorizationToken: smithy_client_1.expectString(output.authorizationToken),
3211
+ authorizationToken: (0, smithy_client_1.expectString)(output.authorizationToken),
3212
3212
  expiresAt: output.expiresAt !== undefined && output.expiresAt !== null
3213
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.expiresAt)))
3213
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.expiresAt)))
3214
3214
  : undefined,
3215
- proxyEndpoint: smithy_client_1.expectString(output.proxyEndpoint),
3215
+ proxyEndpoint: (0, smithy_client_1.expectString)(output.proxyEndpoint),
3216
3216
  };
3217
3217
  };
3218
3218
  const deserializeAws_json1_1AuthorizationDataList = (output, context) => {
@@ -3228,18 +3228,18 @@ const deserializeAws_json1_1AuthorizationDataList = (output, context) => {
3228
3228
  };
3229
3229
  const deserializeAws_json1_1AwsEcrContainerImageDetails = (output, context) => {
3230
3230
  return {
3231
- architecture: smithy_client_1.expectString(output.architecture),
3232
- author: smithy_client_1.expectString(output.author),
3233
- imageHash: smithy_client_1.expectString(output.imageHash),
3231
+ architecture: (0, smithy_client_1.expectString)(output.architecture),
3232
+ author: (0, smithy_client_1.expectString)(output.author),
3233
+ imageHash: (0, smithy_client_1.expectString)(output.imageHash),
3234
3234
  imageTags: output.imageTags !== undefined && output.imageTags !== null
3235
3235
  ? deserializeAws_json1_1ImageTagsList(output.imageTags, context)
3236
3236
  : undefined,
3237
- platform: smithy_client_1.expectString(output.platform),
3237
+ platform: (0, smithy_client_1.expectString)(output.platform),
3238
3238
  pushedAt: output.pushedAt !== undefined && output.pushedAt !== null
3239
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.pushedAt)))
3239
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.pushedAt)))
3240
3240
  : undefined,
3241
- registry: smithy_client_1.expectString(output.registry),
3242
- repositoryName: smithy_client_1.expectString(output.repositoryName),
3241
+ registry: (0, smithy_client_1.expectString)(output.registry),
3242
+ repositoryName: (0, smithy_client_1.expectString)(output.repositoryName),
3243
3243
  };
3244
3244
  };
3245
3245
  const deserializeAws_json1_1BatchCheckLayerAvailabilityResponse = (output, context) => {
@@ -3284,20 +3284,20 @@ const deserializeAws_json1_1BatchGetRepositoryScanningConfigurationResponse = (o
3284
3284
  };
3285
3285
  const deserializeAws_json1_1CompleteLayerUploadResponse = (output, context) => {
3286
3286
  return {
3287
- layerDigest: smithy_client_1.expectString(output.layerDigest),
3288
- registryId: smithy_client_1.expectString(output.registryId),
3289
- repositoryName: smithy_client_1.expectString(output.repositoryName),
3290
- uploadId: smithy_client_1.expectString(output.uploadId),
3287
+ layerDigest: (0, smithy_client_1.expectString)(output.layerDigest),
3288
+ registryId: (0, smithy_client_1.expectString)(output.registryId),
3289
+ repositoryName: (0, smithy_client_1.expectString)(output.repositoryName),
3290
+ uploadId: (0, smithy_client_1.expectString)(output.uploadId),
3291
3291
  };
3292
3292
  };
3293
3293
  const deserializeAws_json1_1CreatePullThroughCacheRuleResponse = (output, context) => {
3294
3294
  return {
3295
3295
  createdAt: output.createdAt !== undefined && output.createdAt !== null
3296
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt)))
3296
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
3297
3297
  : undefined,
3298
- ecrRepositoryPrefix: smithy_client_1.expectString(output.ecrRepositoryPrefix),
3299
- registryId: smithy_client_1.expectString(output.registryId),
3300
- upstreamRegistryUrl: smithy_client_1.expectString(output.upstreamRegistryUrl),
3298
+ ecrRepositoryPrefix: (0, smithy_client_1.expectString)(output.ecrRepositoryPrefix),
3299
+ registryId: (0, smithy_client_1.expectString)(output.registryId),
3300
+ upstreamRegistryUrl: (0, smithy_client_1.expectString)(output.upstreamRegistryUrl),
3301
3301
  };
3302
3302
  };
3303
3303
  const deserializeAws_json1_1CreateRepositoryResponse = (output, context) => {
@@ -3309,16 +3309,16 @@ const deserializeAws_json1_1CreateRepositoryResponse = (output, context) => {
3309
3309
  };
3310
3310
  const deserializeAws_json1_1CvssScore = (output, context) => {
3311
3311
  return {
3312
- baseScore: smithy_client_1.limitedParseDouble(output.baseScore),
3313
- scoringVector: smithy_client_1.expectString(output.scoringVector),
3314
- source: smithy_client_1.expectString(output.source),
3315
- version: smithy_client_1.expectString(output.version),
3312
+ baseScore: (0, smithy_client_1.limitedParseDouble)(output.baseScore),
3313
+ scoringVector: (0, smithy_client_1.expectString)(output.scoringVector),
3314
+ source: (0, smithy_client_1.expectString)(output.source),
3315
+ version: (0, smithy_client_1.expectString)(output.version),
3316
3316
  };
3317
3317
  };
3318
3318
  const deserializeAws_json1_1CvssScoreAdjustment = (output, context) => {
3319
3319
  return {
3320
- metric: smithy_client_1.expectString(output.metric),
3321
- reason: smithy_client_1.expectString(output.reason),
3320
+ metric: (0, smithy_client_1.expectString)(output.metric),
3321
+ reason: (0, smithy_client_1.expectString)(output.reason),
3322
3322
  };
3323
3323
  };
3324
3324
  const deserializeAws_json1_1CvssScoreAdjustmentList = (output, context) => {
@@ -3337,10 +3337,10 @@ const deserializeAws_json1_1CvssScoreDetails = (output, context) => {
3337
3337
  adjustments: output.adjustments !== undefined && output.adjustments !== null
3338
3338
  ? deserializeAws_json1_1CvssScoreAdjustmentList(output.adjustments, context)
3339
3339
  : undefined,
3340
- score: smithy_client_1.limitedParseDouble(output.score),
3341
- scoreSource: smithy_client_1.expectString(output.scoreSource),
3342
- scoringVector: smithy_client_1.expectString(output.scoringVector),
3343
- version: smithy_client_1.expectString(output.version),
3340
+ score: (0, smithy_client_1.limitedParseDouble)(output.score),
3341
+ scoreSource: (0, smithy_client_1.expectString)(output.scoreSource),
3342
+ scoringVector: (0, smithy_client_1.expectString)(output.scoringVector),
3343
+ version: (0, smithy_client_1.expectString)(output.version),
3344
3344
  };
3345
3345
  };
3346
3346
  const deserializeAws_json1_1CvssScoreList = (output, context) => {
@@ -3357,34 +3357,34 @@ const deserializeAws_json1_1CvssScoreList = (output, context) => {
3357
3357
  const deserializeAws_json1_1DeleteLifecyclePolicyResponse = (output, context) => {
3358
3358
  return {
3359
3359
  lastEvaluatedAt: output.lastEvaluatedAt !== undefined && output.lastEvaluatedAt !== null
3360
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastEvaluatedAt)))
3360
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastEvaluatedAt)))
3361
3361
  : undefined,
3362
- lifecyclePolicyText: smithy_client_1.expectString(output.lifecyclePolicyText),
3363
- registryId: smithy_client_1.expectString(output.registryId),
3364
- repositoryName: smithy_client_1.expectString(output.repositoryName),
3362
+ lifecyclePolicyText: (0, smithy_client_1.expectString)(output.lifecyclePolicyText),
3363
+ registryId: (0, smithy_client_1.expectString)(output.registryId),
3364
+ repositoryName: (0, smithy_client_1.expectString)(output.repositoryName),
3365
3365
  };
3366
3366
  };
3367
3367
  const deserializeAws_json1_1DeletePullThroughCacheRuleResponse = (output, context) => {
3368
3368
  return {
3369
3369
  createdAt: output.createdAt !== undefined && output.createdAt !== null
3370
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt)))
3370
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
3371
3371
  : undefined,
3372
- ecrRepositoryPrefix: smithy_client_1.expectString(output.ecrRepositoryPrefix),
3373
- registryId: smithy_client_1.expectString(output.registryId),
3374
- upstreamRegistryUrl: smithy_client_1.expectString(output.upstreamRegistryUrl),
3372
+ ecrRepositoryPrefix: (0, smithy_client_1.expectString)(output.ecrRepositoryPrefix),
3373
+ registryId: (0, smithy_client_1.expectString)(output.registryId),
3374
+ upstreamRegistryUrl: (0, smithy_client_1.expectString)(output.upstreamRegistryUrl),
3375
3375
  };
3376
3376
  };
3377
3377
  const deserializeAws_json1_1DeleteRegistryPolicyResponse = (output, context) => {
3378
3378
  return {
3379
- policyText: smithy_client_1.expectString(output.policyText),
3380
- registryId: smithy_client_1.expectString(output.registryId),
3379
+ policyText: (0, smithy_client_1.expectString)(output.policyText),
3380
+ registryId: (0, smithy_client_1.expectString)(output.registryId),
3381
3381
  };
3382
3382
  };
3383
3383
  const deserializeAws_json1_1DeleteRepositoryPolicyResponse = (output, context) => {
3384
3384
  return {
3385
- policyText: smithy_client_1.expectString(output.policyText),
3386
- registryId: smithy_client_1.expectString(output.registryId),
3387
- repositoryName: smithy_client_1.expectString(output.repositoryName),
3385
+ policyText: (0, smithy_client_1.expectString)(output.policyText),
3386
+ registryId: (0, smithy_client_1.expectString)(output.registryId),
3387
+ repositoryName: (0, smithy_client_1.expectString)(output.repositoryName),
3388
3388
  };
3389
3389
  };
3390
3390
  const deserializeAws_json1_1DeleteRepositoryResponse = (output, context) => {
@@ -3402,7 +3402,7 @@ const deserializeAws_json1_1DescribeImageReplicationStatusResponse = (output, co
3402
3402
  replicationStatuses: output.replicationStatuses !== undefined && output.replicationStatuses !== null
3403
3403
  ? deserializeAws_json1_1ImageReplicationStatusList(output.replicationStatuses, context)
3404
3404
  : undefined,
3405
- repositoryName: smithy_client_1.expectString(output.repositoryName),
3405
+ repositoryName: (0, smithy_client_1.expectString)(output.repositoryName),
3406
3406
  };
3407
3407
  };
3408
3408
  const deserializeAws_json1_1DescribeImageScanFindingsResponse = (output, context) => {
@@ -3416,9 +3416,9 @@ const deserializeAws_json1_1DescribeImageScanFindingsResponse = (output, context
3416
3416
  imageScanStatus: output.imageScanStatus !== undefined && output.imageScanStatus !== null
3417
3417
  ? deserializeAws_json1_1ImageScanStatus(output.imageScanStatus, context)
3418
3418
  : undefined,
3419
- nextToken: smithy_client_1.expectString(output.nextToken),
3420
- registryId: smithy_client_1.expectString(output.registryId),
3421
- repositoryName: smithy_client_1.expectString(output.repositoryName),
3419
+ nextToken: (0, smithy_client_1.expectString)(output.nextToken),
3420
+ registryId: (0, smithy_client_1.expectString)(output.registryId),
3421
+ repositoryName: (0, smithy_client_1.expectString)(output.repositoryName),
3422
3422
  };
3423
3423
  };
3424
3424
  const deserializeAws_json1_1DescribeImagesResponse = (output, context) => {
@@ -3426,12 +3426,12 @@ const deserializeAws_json1_1DescribeImagesResponse = (output, context) => {
3426
3426
  imageDetails: output.imageDetails !== undefined && output.imageDetails !== null
3427
3427
  ? deserializeAws_json1_1ImageDetailList(output.imageDetails, context)
3428
3428
  : undefined,
3429
- nextToken: smithy_client_1.expectString(output.nextToken),
3429
+ nextToken: (0, smithy_client_1.expectString)(output.nextToken),
3430
3430
  };
3431
3431
  };
3432
3432
  const deserializeAws_json1_1DescribePullThroughCacheRulesResponse = (output, context) => {
3433
3433
  return {
3434
- nextToken: smithy_client_1.expectString(output.nextToken),
3434
+ nextToken: (0, smithy_client_1.expectString)(output.nextToken),
3435
3435
  pullThroughCacheRules: output.pullThroughCacheRules !== undefined && output.pullThroughCacheRules !== null
3436
3436
  ? deserializeAws_json1_1PullThroughCacheRuleList(output.pullThroughCacheRules, context)
3437
3437
  : undefined,
@@ -3439,7 +3439,7 @@ const deserializeAws_json1_1DescribePullThroughCacheRulesResponse = (output, con
3439
3439
  };
3440
3440
  const deserializeAws_json1_1DescribeRegistryResponse = (output, context) => {
3441
3441
  return {
3442
- registryId: smithy_client_1.expectString(output.registryId),
3442
+ registryId: (0, smithy_client_1.expectString)(output.registryId),
3443
3443
  replicationConfiguration: output.replicationConfiguration !== undefined && output.replicationConfiguration !== null
3444
3444
  ? deserializeAws_json1_1ReplicationConfiguration(output.replicationConfiguration, context)
3445
3445
  : undefined,
@@ -3447,7 +3447,7 @@ const deserializeAws_json1_1DescribeRegistryResponse = (output, context) => {
3447
3447
  };
3448
3448
  const deserializeAws_json1_1DescribeRepositoriesResponse = (output, context) => {
3449
3449
  return {
3450
- nextToken: smithy_client_1.expectString(output.nextToken),
3450
+ nextToken: (0, smithy_client_1.expectString)(output.nextToken),
3451
3451
  repositories: output.repositories !== undefined && output.repositories !== null
3452
3452
  ? deserializeAws_json1_1RepositoryList(output.repositories, context)
3453
3453
  : undefined,
@@ -3455,25 +3455,25 @@ const deserializeAws_json1_1DescribeRepositoriesResponse = (output, context) =>
3455
3455
  };
3456
3456
  const deserializeAws_json1_1EmptyUploadException = (output, context) => {
3457
3457
  return {
3458
- message: smithy_client_1.expectString(output.message),
3458
+ message: (0, smithy_client_1.expectString)(output.message),
3459
3459
  };
3460
3460
  };
3461
3461
  const deserializeAws_json1_1EncryptionConfiguration = (output, context) => {
3462
3462
  return {
3463
- encryptionType: smithy_client_1.expectString(output.encryptionType),
3464
- kmsKey: smithy_client_1.expectString(output.kmsKey),
3463
+ encryptionType: (0, smithy_client_1.expectString)(output.encryptionType),
3464
+ kmsKey: (0, smithy_client_1.expectString)(output.kmsKey),
3465
3465
  };
3466
3466
  };
3467
3467
  const deserializeAws_json1_1EnhancedImageScanFinding = (output, context) => {
3468
3468
  return {
3469
- awsAccountId: smithy_client_1.expectString(output.awsAccountId),
3470
- description: smithy_client_1.expectString(output.description),
3471
- findingArn: smithy_client_1.expectString(output.findingArn),
3469
+ awsAccountId: (0, smithy_client_1.expectString)(output.awsAccountId),
3470
+ description: (0, smithy_client_1.expectString)(output.description),
3471
+ findingArn: (0, smithy_client_1.expectString)(output.findingArn),
3472
3472
  firstObservedAt: output.firstObservedAt !== undefined && output.firstObservedAt !== null
3473
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.firstObservedAt)))
3473
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.firstObservedAt)))
3474
3474
  : undefined,
3475
3475
  lastObservedAt: output.lastObservedAt !== undefined && output.lastObservedAt !== null
3476
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastObservedAt)))
3476
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastObservedAt)))
3477
3477
  : undefined,
3478
3478
  packageVulnerabilityDetails: output.packageVulnerabilityDetails !== undefined && output.packageVulnerabilityDetails !== null
3479
3479
  ? deserializeAws_json1_1PackageVulnerabilityDetails(output.packageVulnerabilityDetails, context)
@@ -3484,16 +3484,16 @@ const deserializeAws_json1_1EnhancedImageScanFinding = (output, context) => {
3484
3484
  resources: output.resources !== undefined && output.resources !== null
3485
3485
  ? deserializeAws_json1_1ResourceList(output.resources, context)
3486
3486
  : undefined,
3487
- score: smithy_client_1.limitedParseDouble(output.score),
3487
+ score: (0, smithy_client_1.limitedParseDouble)(output.score),
3488
3488
  scoreDetails: output.scoreDetails !== undefined && output.scoreDetails !== null
3489
3489
  ? deserializeAws_json1_1ScoreDetails(output.scoreDetails, context)
3490
3490
  : undefined,
3491
- severity: smithy_client_1.expectString(output.severity),
3492
- status: smithy_client_1.expectString(output.status),
3493
- title: smithy_client_1.expectString(output.title),
3494
- type: smithy_client_1.expectString(output.type),
3491
+ severity: (0, smithy_client_1.expectString)(output.severity),
3492
+ status: (0, smithy_client_1.expectString)(output.status),
3493
+ title: (0, smithy_client_1.expectString)(output.title),
3494
+ type: (0, smithy_client_1.expectString)(output.type),
3495
3495
  updatedAt: output.updatedAt !== undefined && output.updatedAt !== null
3496
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.updatedAt)))
3496
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.updatedAt)))
3497
3497
  : undefined,
3498
3498
  };
3499
3499
  };
@@ -3515,7 +3515,7 @@ const deserializeAws_json1_1FindingSeverityCounts = (output, context) => {
3515
3515
  }
3516
3516
  return {
3517
3517
  ...acc,
3518
- [key]: smithy_client_1.expectInt32(value),
3518
+ [key]: (0, smithy_client_1.expectInt32)(value),
3519
3519
  };
3520
3520
  }, {});
3521
3521
  };
@@ -3528,20 +3528,20 @@ const deserializeAws_json1_1GetAuthorizationTokenResponse = (output, context) =>
3528
3528
  };
3529
3529
  const deserializeAws_json1_1GetDownloadUrlForLayerResponse = (output, context) => {
3530
3530
  return {
3531
- downloadUrl: smithy_client_1.expectString(output.downloadUrl),
3532
- layerDigest: smithy_client_1.expectString(output.layerDigest),
3531
+ downloadUrl: (0, smithy_client_1.expectString)(output.downloadUrl),
3532
+ layerDigest: (0, smithy_client_1.expectString)(output.layerDigest),
3533
3533
  };
3534
3534
  };
3535
3535
  const deserializeAws_json1_1GetLifecyclePolicyPreviewResponse = (output, context) => {
3536
3536
  return {
3537
- lifecyclePolicyText: smithy_client_1.expectString(output.lifecyclePolicyText),
3538
- nextToken: smithy_client_1.expectString(output.nextToken),
3537
+ lifecyclePolicyText: (0, smithy_client_1.expectString)(output.lifecyclePolicyText),
3538
+ nextToken: (0, smithy_client_1.expectString)(output.nextToken),
3539
3539
  previewResults: output.previewResults !== undefined && output.previewResults !== null
3540
3540
  ? deserializeAws_json1_1LifecyclePolicyPreviewResultList(output.previewResults, context)
3541
3541
  : undefined,
3542
- registryId: smithy_client_1.expectString(output.registryId),
3543
- repositoryName: smithy_client_1.expectString(output.repositoryName),
3544
- status: smithy_client_1.expectString(output.status),
3542
+ registryId: (0, smithy_client_1.expectString)(output.registryId),
3543
+ repositoryName: (0, smithy_client_1.expectString)(output.repositoryName),
3544
+ status: (0, smithy_client_1.expectString)(output.status),
3545
3545
  summary: output.summary !== undefined && output.summary !== null
3546
3546
  ? deserializeAws_json1_1LifecyclePolicyPreviewSummary(output.summary, context)
3547
3547
  : undefined,
@@ -3550,22 +3550,22 @@ const deserializeAws_json1_1GetLifecyclePolicyPreviewResponse = (output, context
3550
3550
  const deserializeAws_json1_1GetLifecyclePolicyResponse = (output, context) => {
3551
3551
  return {
3552
3552
  lastEvaluatedAt: output.lastEvaluatedAt !== undefined && output.lastEvaluatedAt !== null
3553
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastEvaluatedAt)))
3553
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastEvaluatedAt)))
3554
3554
  : undefined,
3555
- lifecyclePolicyText: smithy_client_1.expectString(output.lifecyclePolicyText),
3556
- registryId: smithy_client_1.expectString(output.registryId),
3557
- repositoryName: smithy_client_1.expectString(output.repositoryName),
3555
+ lifecyclePolicyText: (0, smithy_client_1.expectString)(output.lifecyclePolicyText),
3556
+ registryId: (0, smithy_client_1.expectString)(output.registryId),
3557
+ repositoryName: (0, smithy_client_1.expectString)(output.repositoryName),
3558
3558
  };
3559
3559
  };
3560
3560
  const deserializeAws_json1_1GetRegistryPolicyResponse = (output, context) => {
3561
3561
  return {
3562
- policyText: smithy_client_1.expectString(output.policyText),
3563
- registryId: smithy_client_1.expectString(output.registryId),
3562
+ policyText: (0, smithy_client_1.expectString)(output.policyText),
3563
+ registryId: (0, smithy_client_1.expectString)(output.registryId),
3564
3564
  };
3565
3565
  };
3566
3566
  const deserializeAws_json1_1GetRegistryScanningConfigurationResponse = (output, context) => {
3567
3567
  return {
3568
- registryId: smithy_client_1.expectString(output.registryId),
3568
+ registryId: (0, smithy_client_1.expectString)(output.registryId),
3569
3569
  scanningConfiguration: output.scanningConfiguration !== undefined && output.scanningConfiguration !== null
3570
3570
  ? deserializeAws_json1_1RegistryScanningConfiguration(output.scanningConfiguration, context)
3571
3571
  : undefined,
@@ -3573,9 +3573,9 @@ const deserializeAws_json1_1GetRegistryScanningConfigurationResponse = (output,
3573
3573
  };
3574
3574
  const deserializeAws_json1_1GetRepositoryPolicyResponse = (output, context) => {
3575
3575
  return {
3576
- policyText: smithy_client_1.expectString(output.policyText),
3577
- registryId: smithy_client_1.expectString(output.registryId),
3578
- repositoryName: smithy_client_1.expectString(output.repositoryName),
3576
+ policyText: (0, smithy_client_1.expectString)(output.policyText),
3577
+ registryId: (0, smithy_client_1.expectString)(output.registryId),
3578
+ repositoryName: (0, smithy_client_1.expectString)(output.repositoryName),
3579
3579
  };
3580
3580
  };
3581
3581
  const deserializeAws_json1_1Image = (output, context) => {
@@ -3583,24 +3583,24 @@ const deserializeAws_json1_1Image = (output, context) => {
3583
3583
  imageId: output.imageId !== undefined && output.imageId !== null
3584
3584
  ? deserializeAws_json1_1ImageIdentifier(output.imageId, context)
3585
3585
  : undefined,
3586
- imageManifest: smithy_client_1.expectString(output.imageManifest),
3587
- imageManifestMediaType: smithy_client_1.expectString(output.imageManifestMediaType),
3588
- registryId: smithy_client_1.expectString(output.registryId),
3589
- repositoryName: smithy_client_1.expectString(output.repositoryName),
3586
+ imageManifest: (0, smithy_client_1.expectString)(output.imageManifest),
3587
+ imageManifestMediaType: (0, smithy_client_1.expectString)(output.imageManifestMediaType),
3588
+ registryId: (0, smithy_client_1.expectString)(output.registryId),
3589
+ repositoryName: (0, smithy_client_1.expectString)(output.repositoryName),
3590
3590
  };
3591
3591
  };
3592
3592
  const deserializeAws_json1_1ImageAlreadyExistsException = (output, context) => {
3593
3593
  return {
3594
- message: smithy_client_1.expectString(output.message),
3594
+ message: (0, smithy_client_1.expectString)(output.message),
3595
3595
  };
3596
3596
  };
3597
3597
  const deserializeAws_json1_1ImageDetail = (output, context) => {
3598
3598
  return {
3599
- artifactMediaType: smithy_client_1.expectString(output.artifactMediaType),
3600
- imageDigest: smithy_client_1.expectString(output.imageDigest),
3601
- imageManifestMediaType: smithy_client_1.expectString(output.imageManifestMediaType),
3599
+ artifactMediaType: (0, smithy_client_1.expectString)(output.artifactMediaType),
3600
+ imageDigest: (0, smithy_client_1.expectString)(output.imageDigest),
3601
+ imageManifestMediaType: (0, smithy_client_1.expectString)(output.imageManifestMediaType),
3602
3602
  imagePushedAt: output.imagePushedAt !== undefined && output.imagePushedAt !== null
3603
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.imagePushedAt)))
3603
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.imagePushedAt)))
3604
3604
  : undefined,
3605
3605
  imageScanFindingsSummary: output.imageScanFindingsSummary !== undefined && output.imageScanFindingsSummary !== null
3606
3606
  ? deserializeAws_json1_1ImageScanFindingsSummary(output.imageScanFindingsSummary, context)
@@ -3608,12 +3608,15 @@ const deserializeAws_json1_1ImageDetail = (output, context) => {
3608
3608
  imageScanStatus: output.imageScanStatus !== undefined && output.imageScanStatus !== null
3609
3609
  ? deserializeAws_json1_1ImageScanStatus(output.imageScanStatus, context)
3610
3610
  : undefined,
3611
- imageSizeInBytes: smithy_client_1.expectLong(output.imageSizeInBytes),
3611
+ imageSizeInBytes: (0, smithy_client_1.expectLong)(output.imageSizeInBytes),
3612
3612
  imageTags: output.imageTags !== undefined && output.imageTags !== null
3613
3613
  ? deserializeAws_json1_1ImageTagList(output.imageTags, context)
3614
3614
  : undefined,
3615
- registryId: smithy_client_1.expectString(output.registryId),
3616
- repositoryName: smithy_client_1.expectString(output.repositoryName),
3615
+ lastRecordedPullTime: output.lastRecordedPullTime !== undefined && output.lastRecordedPullTime !== null
3616
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastRecordedPullTime)))
3617
+ : undefined,
3618
+ registryId: (0, smithy_client_1.expectString)(output.registryId),
3619
+ repositoryName: (0, smithy_client_1.expectString)(output.repositoryName),
3617
3620
  };
3618
3621
  };
3619
3622
  const deserializeAws_json1_1ImageDetailList = (output, context) => {
@@ -3629,13 +3632,13 @@ const deserializeAws_json1_1ImageDetailList = (output, context) => {
3629
3632
  };
3630
3633
  const deserializeAws_json1_1ImageDigestDoesNotMatchException = (output, context) => {
3631
3634
  return {
3632
- message: smithy_client_1.expectString(output.message),
3635
+ message: (0, smithy_client_1.expectString)(output.message),
3633
3636
  };
3634
3637
  };
3635
3638
  const deserializeAws_json1_1ImageFailure = (output, context) => {
3636
3639
  return {
3637
- failureCode: smithy_client_1.expectString(output.failureCode),
3638
- failureReason: smithy_client_1.expectString(output.failureReason),
3640
+ failureCode: (0, smithy_client_1.expectString)(output.failureCode),
3641
+ failureReason: (0, smithy_client_1.expectString)(output.failureReason),
3639
3642
  imageId: output.imageId !== undefined && output.imageId !== null
3640
3643
  ? deserializeAws_json1_1ImageIdentifier(output.imageId, context)
3641
3644
  : undefined,
@@ -3654,8 +3657,8 @@ const deserializeAws_json1_1ImageFailureList = (output, context) => {
3654
3657
  };
3655
3658
  const deserializeAws_json1_1ImageIdentifier = (output, context) => {
3656
3659
  return {
3657
- imageDigest: smithy_client_1.expectString(output.imageDigest),
3658
- imageTag: smithy_client_1.expectString(output.imageTag),
3660
+ imageDigest: (0, smithy_client_1.expectString)(output.imageDigest),
3661
+ imageTag: (0, smithy_client_1.expectString)(output.imageTag),
3659
3662
  };
3660
3663
  };
3661
3664
  const deserializeAws_json1_1ImageIdentifierList = (output, context) => {
@@ -3682,15 +3685,15 @@ const deserializeAws_json1_1ImageList = (output, context) => {
3682
3685
  };
3683
3686
  const deserializeAws_json1_1ImageNotFoundException = (output, context) => {
3684
3687
  return {
3685
- message: smithy_client_1.expectString(output.message),
3688
+ message: (0, smithy_client_1.expectString)(output.message),
3686
3689
  };
3687
3690
  };
3688
3691
  const deserializeAws_json1_1ImageReplicationStatus = (output, context) => {
3689
3692
  return {
3690
- failureCode: smithy_client_1.expectString(output.failureCode),
3691
- region: smithy_client_1.expectString(output.region),
3692
- registryId: smithy_client_1.expectString(output.registryId),
3693
- status: smithy_client_1.expectString(output.status),
3693
+ failureCode: (0, smithy_client_1.expectString)(output.failureCode),
3694
+ region: (0, smithy_client_1.expectString)(output.region),
3695
+ registryId: (0, smithy_client_1.expectString)(output.registryId),
3696
+ status: (0, smithy_client_1.expectString)(output.status),
3694
3697
  };
3695
3698
  };
3696
3699
  const deserializeAws_json1_1ImageReplicationStatusList = (output, context) => {
@@ -3709,10 +3712,10 @@ const deserializeAws_json1_1ImageScanFinding = (output, context) => {
3709
3712
  attributes: output.attributes !== undefined && output.attributes !== null
3710
3713
  ? deserializeAws_json1_1AttributeList(output.attributes, context)
3711
3714
  : undefined,
3712
- description: smithy_client_1.expectString(output.description),
3713
- name: smithy_client_1.expectString(output.name),
3714
- severity: smithy_client_1.expectString(output.severity),
3715
- uri: smithy_client_1.expectString(output.uri),
3715
+ description: (0, smithy_client_1.expectString)(output.description),
3716
+ name: (0, smithy_client_1.expectString)(output.name),
3717
+ severity: (0, smithy_client_1.expectString)(output.severity),
3718
+ uri: (0, smithy_client_1.expectString)(output.uri),
3716
3719
  };
3717
3720
  };
3718
3721
  const deserializeAws_json1_1ImageScanFindingList = (output, context) => {
@@ -3738,10 +3741,10 @@ const deserializeAws_json1_1ImageScanFindings = (output, context) => {
3738
3741
  ? deserializeAws_json1_1ImageScanFindingList(output.findings, context)
3739
3742
  : undefined,
3740
3743
  imageScanCompletedAt: output.imageScanCompletedAt !== undefined && output.imageScanCompletedAt !== null
3741
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.imageScanCompletedAt)))
3744
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.imageScanCompletedAt)))
3742
3745
  : undefined,
3743
3746
  vulnerabilitySourceUpdatedAt: output.vulnerabilitySourceUpdatedAt !== undefined && output.vulnerabilitySourceUpdatedAt !== null
3744
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.vulnerabilitySourceUpdatedAt)))
3747
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.vulnerabilitySourceUpdatedAt)))
3745
3748
  : undefined,
3746
3749
  };
3747
3750
  };
@@ -3751,27 +3754,27 @@ const deserializeAws_json1_1ImageScanFindingsSummary = (output, context) => {
3751
3754
  ? deserializeAws_json1_1FindingSeverityCounts(output.findingSeverityCounts, context)
3752
3755
  : undefined,
3753
3756
  imageScanCompletedAt: output.imageScanCompletedAt !== undefined && output.imageScanCompletedAt !== null
3754
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.imageScanCompletedAt)))
3757
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.imageScanCompletedAt)))
3755
3758
  : undefined,
3756
3759
  vulnerabilitySourceUpdatedAt: output.vulnerabilitySourceUpdatedAt !== undefined && output.vulnerabilitySourceUpdatedAt !== null
3757
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.vulnerabilitySourceUpdatedAt)))
3760
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.vulnerabilitySourceUpdatedAt)))
3758
3761
  : undefined,
3759
3762
  };
3760
3763
  };
3761
3764
  const deserializeAws_json1_1ImageScanningConfiguration = (output, context) => {
3762
3765
  return {
3763
- scanOnPush: smithy_client_1.expectBoolean(output.scanOnPush),
3766
+ scanOnPush: (0, smithy_client_1.expectBoolean)(output.scanOnPush),
3764
3767
  };
3765
3768
  };
3766
3769
  const deserializeAws_json1_1ImageScanStatus = (output, context) => {
3767
3770
  return {
3768
- description: smithy_client_1.expectString(output.description),
3769
- status: smithy_client_1.expectString(output.status),
3771
+ description: (0, smithy_client_1.expectString)(output.description),
3772
+ status: (0, smithy_client_1.expectString)(output.status),
3770
3773
  };
3771
3774
  };
3772
3775
  const deserializeAws_json1_1ImageTagAlreadyExistsException = (output, context) => {
3773
3776
  return {
3774
- message: smithy_client_1.expectString(output.message),
3777
+ message: (0, smithy_client_1.expectString)(output.message),
3775
3778
  };
3776
3779
  };
3777
3780
  const deserializeAws_json1_1ImageTagList = (output, context) => {
@@ -3781,7 +3784,7 @@ const deserializeAws_json1_1ImageTagList = (output, context) => {
3781
3784
  if (entry === null) {
3782
3785
  return null;
3783
3786
  }
3784
- return smithy_client_1.expectString(entry);
3787
+ return (0, smithy_client_1.expectString)(entry);
3785
3788
  });
3786
3789
  return retVal;
3787
3790
  };
@@ -3792,64 +3795,64 @@ const deserializeAws_json1_1ImageTagsList = (output, context) => {
3792
3795
  if (entry === null) {
3793
3796
  return null;
3794
3797
  }
3795
- return smithy_client_1.expectString(entry);
3798
+ return (0, smithy_client_1.expectString)(entry);
3796
3799
  });
3797
3800
  return retVal;
3798
3801
  };
3799
3802
  const deserializeAws_json1_1InitiateLayerUploadResponse = (output, context) => {
3800
3803
  return {
3801
- partSize: smithy_client_1.expectLong(output.partSize),
3802
- uploadId: smithy_client_1.expectString(output.uploadId),
3804
+ partSize: (0, smithy_client_1.expectLong)(output.partSize),
3805
+ uploadId: (0, smithy_client_1.expectString)(output.uploadId),
3803
3806
  };
3804
3807
  };
3805
3808
  const deserializeAws_json1_1InvalidLayerException = (output, context) => {
3806
3809
  return {
3807
- message: smithy_client_1.expectString(output.message),
3810
+ message: (0, smithy_client_1.expectString)(output.message),
3808
3811
  };
3809
3812
  };
3810
3813
  const deserializeAws_json1_1InvalidLayerPartException = (output, context) => {
3811
3814
  return {
3812
- lastValidByteReceived: smithy_client_1.expectLong(output.lastValidByteReceived),
3813
- message: smithy_client_1.expectString(output.message),
3814
- registryId: smithy_client_1.expectString(output.registryId),
3815
- repositoryName: smithy_client_1.expectString(output.repositoryName),
3816
- uploadId: smithy_client_1.expectString(output.uploadId),
3815
+ lastValidByteReceived: (0, smithy_client_1.expectLong)(output.lastValidByteReceived),
3816
+ message: (0, smithy_client_1.expectString)(output.message),
3817
+ registryId: (0, smithy_client_1.expectString)(output.registryId),
3818
+ repositoryName: (0, smithy_client_1.expectString)(output.repositoryName),
3819
+ uploadId: (0, smithy_client_1.expectString)(output.uploadId),
3817
3820
  };
3818
3821
  };
3819
3822
  const deserializeAws_json1_1InvalidParameterException = (output, context) => {
3820
3823
  return {
3821
- message: smithy_client_1.expectString(output.message),
3824
+ message: (0, smithy_client_1.expectString)(output.message),
3822
3825
  };
3823
3826
  };
3824
3827
  const deserializeAws_json1_1InvalidTagParameterException = (output, context) => {
3825
3828
  return {
3826
- message: smithy_client_1.expectString(output.message),
3829
+ message: (0, smithy_client_1.expectString)(output.message),
3827
3830
  };
3828
3831
  };
3829
3832
  const deserializeAws_json1_1KmsException = (output, context) => {
3830
3833
  return {
3831
- kmsError: smithy_client_1.expectString(output.kmsError),
3832
- message: smithy_client_1.expectString(output.message),
3834
+ kmsError: (0, smithy_client_1.expectString)(output.kmsError),
3835
+ message: (0, smithy_client_1.expectString)(output.message),
3833
3836
  };
3834
3837
  };
3835
3838
  const deserializeAws_json1_1Layer = (output, context) => {
3836
3839
  return {
3837
- layerAvailability: smithy_client_1.expectString(output.layerAvailability),
3838
- layerDigest: smithy_client_1.expectString(output.layerDigest),
3839
- layerSize: smithy_client_1.expectLong(output.layerSize),
3840
- mediaType: smithy_client_1.expectString(output.mediaType),
3840
+ layerAvailability: (0, smithy_client_1.expectString)(output.layerAvailability),
3841
+ layerDigest: (0, smithy_client_1.expectString)(output.layerDigest),
3842
+ layerSize: (0, smithy_client_1.expectLong)(output.layerSize),
3843
+ mediaType: (0, smithy_client_1.expectString)(output.mediaType),
3841
3844
  };
3842
3845
  };
3843
3846
  const deserializeAws_json1_1LayerAlreadyExistsException = (output, context) => {
3844
3847
  return {
3845
- message: smithy_client_1.expectString(output.message),
3848
+ message: (0, smithy_client_1.expectString)(output.message),
3846
3849
  };
3847
3850
  };
3848
3851
  const deserializeAws_json1_1LayerFailure = (output, context) => {
3849
3852
  return {
3850
- failureCode: smithy_client_1.expectString(output.failureCode),
3851
- failureReason: smithy_client_1.expectString(output.failureReason),
3852
- layerDigest: smithy_client_1.expectString(output.layerDigest),
3853
+ failureCode: (0, smithy_client_1.expectString)(output.failureCode),
3854
+ failureReason: (0, smithy_client_1.expectString)(output.failureReason),
3855
+ layerDigest: (0, smithy_client_1.expectString)(output.layerDigest),
3853
3856
  };
3854
3857
  };
3855
3858
  const deserializeAws_json1_1LayerFailureList = (output, context) => {
@@ -3865,7 +3868,7 @@ const deserializeAws_json1_1LayerFailureList = (output, context) => {
3865
3868
  };
3866
3869
  const deserializeAws_json1_1LayerInaccessibleException = (output, context) => {
3867
3870
  return {
3868
- message: smithy_client_1.expectString(output.message),
3871
+ message: (0, smithy_client_1.expectString)(output.message),
3869
3872
  };
3870
3873
  };
3871
3874
  const deserializeAws_json1_1LayerList = (output, context) => {
@@ -3881,27 +3884,27 @@ const deserializeAws_json1_1LayerList = (output, context) => {
3881
3884
  };
3882
3885
  const deserializeAws_json1_1LayerPartTooSmallException = (output, context) => {
3883
3886
  return {
3884
- message: smithy_client_1.expectString(output.message),
3887
+ message: (0, smithy_client_1.expectString)(output.message),
3885
3888
  };
3886
3889
  };
3887
3890
  const deserializeAws_json1_1LayersNotFoundException = (output, context) => {
3888
3891
  return {
3889
- message: smithy_client_1.expectString(output.message),
3892
+ message: (0, smithy_client_1.expectString)(output.message),
3890
3893
  };
3891
3894
  };
3892
3895
  const deserializeAws_json1_1LifecyclePolicyNotFoundException = (output, context) => {
3893
3896
  return {
3894
- message: smithy_client_1.expectString(output.message),
3897
+ message: (0, smithy_client_1.expectString)(output.message),
3895
3898
  };
3896
3899
  };
3897
3900
  const deserializeAws_json1_1LifecyclePolicyPreviewInProgressException = (output, context) => {
3898
3901
  return {
3899
- message: smithy_client_1.expectString(output.message),
3902
+ message: (0, smithy_client_1.expectString)(output.message),
3900
3903
  };
3901
3904
  };
3902
3905
  const deserializeAws_json1_1LifecyclePolicyPreviewNotFoundException = (output, context) => {
3903
3906
  return {
3904
- message: smithy_client_1.expectString(output.message),
3907
+ message: (0, smithy_client_1.expectString)(output.message),
3905
3908
  };
3906
3909
  };
3907
3910
  const deserializeAws_json1_1LifecyclePolicyPreviewResult = (output, context) => {
@@ -3909,10 +3912,10 @@ const deserializeAws_json1_1LifecyclePolicyPreviewResult = (output, context) =>
3909
3912
  action: output.action !== undefined && output.action !== null
3910
3913
  ? deserializeAws_json1_1LifecyclePolicyRuleAction(output.action, context)
3911
3914
  : undefined,
3912
- appliedRulePriority: smithy_client_1.expectInt32(output.appliedRulePriority),
3913
- imageDigest: smithy_client_1.expectString(output.imageDigest),
3915
+ appliedRulePriority: (0, smithy_client_1.expectInt32)(output.appliedRulePriority),
3916
+ imageDigest: (0, smithy_client_1.expectString)(output.imageDigest),
3914
3917
  imagePushedAt: output.imagePushedAt !== undefined && output.imagePushedAt !== null
3915
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.imagePushedAt)))
3918
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.imagePushedAt)))
3916
3919
  : undefined,
3917
3920
  imageTags: output.imageTags !== undefined && output.imageTags !== null
3918
3921
  ? deserializeAws_json1_1ImageTagList(output.imageTags, context)
@@ -3932,17 +3935,17 @@ const deserializeAws_json1_1LifecyclePolicyPreviewResultList = (output, context)
3932
3935
  };
3933
3936
  const deserializeAws_json1_1LifecyclePolicyPreviewSummary = (output, context) => {
3934
3937
  return {
3935
- expiringImageTotalCount: smithy_client_1.expectInt32(output.expiringImageTotalCount),
3938
+ expiringImageTotalCount: (0, smithy_client_1.expectInt32)(output.expiringImageTotalCount),
3936
3939
  };
3937
3940
  };
3938
3941
  const deserializeAws_json1_1LifecyclePolicyRuleAction = (output, context) => {
3939
3942
  return {
3940
- type: smithy_client_1.expectString(output.type),
3943
+ type: (0, smithy_client_1.expectString)(output.type),
3941
3944
  };
3942
3945
  };
3943
3946
  const deserializeAws_json1_1LimitExceededException = (output, context) => {
3944
3947
  return {
3945
- message: smithy_client_1.expectString(output.message),
3948
+ message: (0, smithy_client_1.expectString)(output.message),
3946
3949
  };
3947
3950
  };
3948
3951
  const deserializeAws_json1_1ListImagesResponse = (output, context) => {
@@ -3950,7 +3953,7 @@ const deserializeAws_json1_1ListImagesResponse = (output, context) => {
3950
3953
  imageIds: output.imageIds !== undefined && output.imageIds !== null
3951
3954
  ? deserializeAws_json1_1ImageIdentifierList(output.imageIds, context)
3952
3955
  : undefined,
3953
- nextToken: smithy_client_1.expectString(output.nextToken),
3956
+ nextToken: (0, smithy_client_1.expectString)(output.nextToken),
3954
3957
  };
3955
3958
  };
3956
3959
  const deserializeAws_json1_1ListTagsForResourceResponse = (output, context) => {
@@ -3971,16 +3974,16 @@ const deserializeAws_json1_1PackageVulnerabilityDetails = (output, context) => {
3971
3974
  relatedVulnerabilities: output.relatedVulnerabilities !== undefined && output.relatedVulnerabilities !== null
3972
3975
  ? deserializeAws_json1_1RelatedVulnerabilitiesList(output.relatedVulnerabilities, context)
3973
3976
  : undefined,
3974
- source: smithy_client_1.expectString(output.source),
3975
- sourceUrl: smithy_client_1.expectString(output.sourceUrl),
3977
+ source: (0, smithy_client_1.expectString)(output.source),
3978
+ sourceUrl: (0, smithy_client_1.expectString)(output.sourceUrl),
3976
3979
  vendorCreatedAt: output.vendorCreatedAt !== undefined && output.vendorCreatedAt !== null
3977
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.vendorCreatedAt)))
3980
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.vendorCreatedAt)))
3978
3981
  : undefined,
3979
- vendorSeverity: smithy_client_1.expectString(output.vendorSeverity),
3982
+ vendorSeverity: (0, smithy_client_1.expectString)(output.vendorSeverity),
3980
3983
  vendorUpdatedAt: output.vendorUpdatedAt !== undefined && output.vendorUpdatedAt !== null
3981
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.vendorUpdatedAt)))
3984
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.vendorUpdatedAt)))
3982
3985
  : undefined,
3983
- vulnerabilityId: smithy_client_1.expectString(output.vulnerabilityId),
3986
+ vulnerabilityId: (0, smithy_client_1.expectString)(output.vulnerabilityId),
3984
3987
  vulnerablePackages: output.vulnerablePackages !== undefined && output.vulnerablePackages !== null
3985
3988
  ? deserializeAws_json1_1VulnerablePackagesList(output.vulnerablePackages, context)
3986
3989
  : undefined,
@@ -3989,16 +3992,16 @@ const deserializeAws_json1_1PackageVulnerabilityDetails = (output, context) => {
3989
3992
  const deserializeAws_json1_1PullThroughCacheRule = (output, context) => {
3990
3993
  return {
3991
3994
  createdAt: output.createdAt !== undefined && output.createdAt !== null
3992
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt)))
3995
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
3993
3996
  : undefined,
3994
- ecrRepositoryPrefix: smithy_client_1.expectString(output.ecrRepositoryPrefix),
3995
- registryId: smithy_client_1.expectString(output.registryId),
3996
- upstreamRegistryUrl: smithy_client_1.expectString(output.upstreamRegistryUrl),
3997
+ ecrRepositoryPrefix: (0, smithy_client_1.expectString)(output.ecrRepositoryPrefix),
3998
+ registryId: (0, smithy_client_1.expectString)(output.registryId),
3999
+ upstreamRegistryUrl: (0, smithy_client_1.expectString)(output.upstreamRegistryUrl),
3997
4000
  };
3998
4001
  };
3999
4002
  const deserializeAws_json1_1PullThroughCacheRuleAlreadyExistsException = (output, context) => {
4000
4003
  return {
4001
- message: smithy_client_1.expectString(output.message),
4004
+ message: (0, smithy_client_1.expectString)(output.message),
4002
4005
  };
4003
4006
  };
4004
4007
  const deserializeAws_json1_1PullThroughCacheRuleList = (output, context) => {
@@ -4014,7 +4017,7 @@ const deserializeAws_json1_1PullThroughCacheRuleList = (output, context) => {
4014
4017
  };
4015
4018
  const deserializeAws_json1_1PullThroughCacheRuleNotFoundException = (output, context) => {
4016
4019
  return {
4017
- message: smithy_client_1.expectString(output.message),
4020
+ message: (0, smithy_client_1.expectString)(output.message),
4018
4021
  };
4019
4022
  };
4020
4023
  const deserializeAws_json1_1PutImageResponse = (output, context) => {
@@ -4029,28 +4032,28 @@ const deserializeAws_json1_1PutImageScanningConfigurationResponse = (output, con
4029
4032
  imageScanningConfiguration: output.imageScanningConfiguration !== undefined && output.imageScanningConfiguration !== null
4030
4033
  ? deserializeAws_json1_1ImageScanningConfiguration(output.imageScanningConfiguration, context)
4031
4034
  : undefined,
4032
- registryId: smithy_client_1.expectString(output.registryId),
4033
- repositoryName: smithy_client_1.expectString(output.repositoryName),
4035
+ registryId: (0, smithy_client_1.expectString)(output.registryId),
4036
+ repositoryName: (0, smithy_client_1.expectString)(output.repositoryName),
4034
4037
  };
4035
4038
  };
4036
4039
  const deserializeAws_json1_1PutImageTagMutabilityResponse = (output, context) => {
4037
4040
  return {
4038
- imageTagMutability: smithy_client_1.expectString(output.imageTagMutability),
4039
- registryId: smithy_client_1.expectString(output.registryId),
4040
- repositoryName: smithy_client_1.expectString(output.repositoryName),
4041
+ imageTagMutability: (0, smithy_client_1.expectString)(output.imageTagMutability),
4042
+ registryId: (0, smithy_client_1.expectString)(output.registryId),
4043
+ repositoryName: (0, smithy_client_1.expectString)(output.repositoryName),
4041
4044
  };
4042
4045
  };
4043
4046
  const deserializeAws_json1_1PutLifecyclePolicyResponse = (output, context) => {
4044
4047
  return {
4045
- lifecyclePolicyText: smithy_client_1.expectString(output.lifecyclePolicyText),
4046
- registryId: smithy_client_1.expectString(output.registryId),
4047
- repositoryName: smithy_client_1.expectString(output.repositoryName),
4048
+ lifecyclePolicyText: (0, smithy_client_1.expectString)(output.lifecyclePolicyText),
4049
+ registryId: (0, smithy_client_1.expectString)(output.registryId),
4050
+ repositoryName: (0, smithy_client_1.expectString)(output.repositoryName),
4048
4051
  };
4049
4052
  };
4050
4053
  const deserializeAws_json1_1PutRegistryPolicyResponse = (output, context) => {
4051
4054
  return {
4052
- policyText: smithy_client_1.expectString(output.policyText),
4053
- registryId: smithy_client_1.expectString(output.registryId),
4055
+ policyText: (0, smithy_client_1.expectString)(output.policyText),
4056
+ registryId: (0, smithy_client_1.expectString)(output.registryId),
4054
4057
  };
4055
4058
  };
4056
4059
  const deserializeAws_json1_1PutRegistryScanningConfigurationResponse = (output, context) => {
@@ -4069,13 +4072,13 @@ const deserializeAws_json1_1PutReplicationConfigurationResponse = (output, conte
4069
4072
  };
4070
4073
  const deserializeAws_json1_1Recommendation = (output, context) => {
4071
4074
  return {
4072
- text: smithy_client_1.expectString(output.text),
4073
- url: smithy_client_1.expectString(output.url),
4075
+ text: (0, smithy_client_1.expectString)(output.text),
4076
+ url: (0, smithy_client_1.expectString)(output.url),
4074
4077
  };
4075
4078
  };
4076
4079
  const deserializeAws_json1_1ReferencedImagesNotFoundException = (output, context) => {
4077
4080
  return {
4078
- message: smithy_client_1.expectString(output.message),
4081
+ message: (0, smithy_client_1.expectString)(output.message),
4079
4082
  };
4080
4083
  };
4081
4084
  const deserializeAws_json1_1ReferenceUrlsList = (output, context) => {
@@ -4085,13 +4088,13 @@ const deserializeAws_json1_1ReferenceUrlsList = (output, context) => {
4085
4088
  if (entry === null) {
4086
4089
  return null;
4087
4090
  }
4088
- return smithy_client_1.expectString(entry);
4091
+ return (0, smithy_client_1.expectString)(entry);
4089
4092
  });
4090
4093
  return retVal;
4091
4094
  };
4092
4095
  const deserializeAws_json1_1RegistryPolicyNotFoundException = (output, context) => {
4093
4096
  return {
4094
- message: smithy_client_1.expectString(output.message),
4097
+ message: (0, smithy_client_1.expectString)(output.message),
4095
4098
  };
4096
4099
  };
4097
4100
  const deserializeAws_json1_1RegistryScanningConfiguration = (output, context) => {
@@ -4099,7 +4102,7 @@ const deserializeAws_json1_1RegistryScanningConfiguration = (output, context) =>
4099
4102
  rules: output.rules !== undefined && output.rules !== null
4100
4103
  ? deserializeAws_json1_1RegistryScanningRuleList(output.rules, context)
4101
4104
  : undefined,
4102
- scanType: smithy_client_1.expectString(output.scanType),
4105
+ scanType: (0, smithy_client_1.expectString)(output.scanType),
4103
4106
  };
4104
4107
  };
4105
4108
  const deserializeAws_json1_1RegistryScanningRule = (output, context) => {
@@ -4107,7 +4110,7 @@ const deserializeAws_json1_1RegistryScanningRule = (output, context) => {
4107
4110
  repositoryFilters: output.repositoryFilters !== undefined && output.repositoryFilters !== null
4108
4111
  ? deserializeAws_json1_1ScanningRepositoryFilterList(output.repositoryFilters, context)
4109
4112
  : undefined,
4110
- scanFrequency: smithy_client_1.expectString(output.scanFrequency),
4113
+ scanFrequency: (0, smithy_client_1.expectString)(output.scanFrequency),
4111
4114
  };
4112
4115
  };
4113
4116
  const deserializeAws_json1_1RegistryScanningRuleList = (output, context) => {
@@ -4128,7 +4131,7 @@ const deserializeAws_json1_1RelatedVulnerabilitiesList = (output, context) => {
4128
4131
  if (entry === null) {
4129
4132
  return null;
4130
4133
  }
4131
- return smithy_client_1.expectString(entry);
4134
+ return (0, smithy_client_1.expectString)(entry);
4132
4135
  });
4133
4136
  return retVal;
4134
4137
  };
@@ -4148,8 +4151,8 @@ const deserializeAws_json1_1ReplicationConfiguration = (output, context) => {
4148
4151
  };
4149
4152
  const deserializeAws_json1_1ReplicationDestination = (output, context) => {
4150
4153
  return {
4151
- region: smithy_client_1.expectString(output.region),
4152
- registryId: smithy_client_1.expectString(output.registryId),
4154
+ region: (0, smithy_client_1.expectString)(output.region),
4155
+ registryId: (0, smithy_client_1.expectString)(output.registryId),
4153
4156
  };
4154
4157
  };
4155
4158
  const deserializeAws_json1_1ReplicationDestinationList = (output, context) => {
@@ -4187,7 +4190,7 @@ const deserializeAws_json1_1ReplicationRuleList = (output, context) => {
4187
4190
  const deserializeAws_json1_1Repository = (output, context) => {
4188
4191
  return {
4189
4192
  createdAt: output.createdAt !== undefined && output.createdAt !== null
4190
- ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt)))
4193
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
4191
4194
  : undefined,
4192
4195
  encryptionConfiguration: output.encryptionConfiguration !== undefined && output.encryptionConfiguration !== null
4193
4196
  ? deserializeAws_json1_1EncryptionConfiguration(output.encryptionConfiguration, context)
@@ -4195,22 +4198,22 @@ const deserializeAws_json1_1Repository = (output, context) => {
4195
4198
  imageScanningConfiguration: output.imageScanningConfiguration !== undefined && output.imageScanningConfiguration !== null
4196
4199
  ? deserializeAws_json1_1ImageScanningConfiguration(output.imageScanningConfiguration, context)
4197
4200
  : undefined,
4198
- imageTagMutability: smithy_client_1.expectString(output.imageTagMutability),
4199
- registryId: smithy_client_1.expectString(output.registryId),
4200
- repositoryArn: smithy_client_1.expectString(output.repositoryArn),
4201
- repositoryName: smithy_client_1.expectString(output.repositoryName),
4202
- repositoryUri: smithy_client_1.expectString(output.repositoryUri),
4201
+ imageTagMutability: (0, smithy_client_1.expectString)(output.imageTagMutability),
4202
+ registryId: (0, smithy_client_1.expectString)(output.registryId),
4203
+ repositoryArn: (0, smithy_client_1.expectString)(output.repositoryArn),
4204
+ repositoryName: (0, smithy_client_1.expectString)(output.repositoryName),
4205
+ repositoryUri: (0, smithy_client_1.expectString)(output.repositoryUri),
4203
4206
  };
4204
4207
  };
4205
4208
  const deserializeAws_json1_1RepositoryAlreadyExistsException = (output, context) => {
4206
4209
  return {
4207
- message: smithy_client_1.expectString(output.message),
4210
+ message: (0, smithy_client_1.expectString)(output.message),
4208
4211
  };
4209
4212
  };
4210
4213
  const deserializeAws_json1_1RepositoryFilter = (output, context) => {
4211
4214
  return {
4212
- filter: smithy_client_1.expectString(output.filter),
4213
- filterType: smithy_client_1.expectString(output.filterType),
4215
+ filter: (0, smithy_client_1.expectString)(output.filter),
4216
+ filterType: (0, smithy_client_1.expectString)(output.filterType),
4214
4217
  };
4215
4218
  };
4216
4219
  const deserializeAws_json1_1RepositoryFilterList = (output, context) => {
@@ -4237,17 +4240,17 @@ const deserializeAws_json1_1RepositoryList = (output, context) => {
4237
4240
  };
4238
4241
  const deserializeAws_json1_1RepositoryNotEmptyException = (output, context) => {
4239
4242
  return {
4240
- message: smithy_client_1.expectString(output.message),
4243
+ message: (0, smithy_client_1.expectString)(output.message),
4241
4244
  };
4242
4245
  };
4243
4246
  const deserializeAws_json1_1RepositoryNotFoundException = (output, context) => {
4244
4247
  return {
4245
- message: smithy_client_1.expectString(output.message),
4248
+ message: (0, smithy_client_1.expectString)(output.message),
4246
4249
  };
4247
4250
  };
4248
4251
  const deserializeAws_json1_1RepositoryPolicyNotFoundException = (output, context) => {
4249
4252
  return {
4250
- message: smithy_client_1.expectString(output.message),
4253
+ message: (0, smithy_client_1.expectString)(output.message),
4251
4254
  };
4252
4255
  };
4253
4256
  const deserializeAws_json1_1RepositoryScanningConfiguration = (output, context) => {
@@ -4255,17 +4258,17 @@ const deserializeAws_json1_1RepositoryScanningConfiguration = (output, context)
4255
4258
  appliedScanFilters: output.appliedScanFilters !== undefined && output.appliedScanFilters !== null
4256
4259
  ? deserializeAws_json1_1ScanningRepositoryFilterList(output.appliedScanFilters, context)
4257
4260
  : undefined,
4258
- repositoryArn: smithy_client_1.expectString(output.repositoryArn),
4259
- repositoryName: smithy_client_1.expectString(output.repositoryName),
4260
- scanFrequency: smithy_client_1.expectString(output.scanFrequency),
4261
- scanOnPush: smithy_client_1.expectBoolean(output.scanOnPush),
4261
+ repositoryArn: (0, smithy_client_1.expectString)(output.repositoryArn),
4262
+ repositoryName: (0, smithy_client_1.expectString)(output.repositoryName),
4263
+ scanFrequency: (0, smithy_client_1.expectString)(output.scanFrequency),
4264
+ scanOnPush: (0, smithy_client_1.expectBoolean)(output.scanOnPush),
4262
4265
  };
4263
4266
  };
4264
4267
  const deserializeAws_json1_1RepositoryScanningConfigurationFailure = (output, context) => {
4265
4268
  return {
4266
- failureCode: smithy_client_1.expectString(output.failureCode),
4267
- failureReason: smithy_client_1.expectString(output.failureReason),
4268
- repositoryName: smithy_client_1.expectString(output.repositoryName),
4269
+ failureCode: (0, smithy_client_1.expectString)(output.failureCode),
4270
+ failureReason: (0, smithy_client_1.expectString)(output.failureReason),
4271
+ repositoryName: (0, smithy_client_1.expectString)(output.repositoryName),
4269
4272
  };
4270
4273
  };
4271
4274
  const deserializeAws_json1_1RepositoryScanningConfigurationFailureList = (output, context) => {
@@ -4295,9 +4298,9 @@ const deserializeAws_json1_1Resource = (output, context) => {
4295
4298
  details: output.details !== undefined && output.details !== null
4296
4299
  ? deserializeAws_json1_1ResourceDetails(output.details, context)
4297
4300
  : undefined,
4298
- id: smithy_client_1.expectString(output.id),
4301
+ id: (0, smithy_client_1.expectString)(output.id),
4299
4302
  tags: output.tags !== undefined && output.tags !== null ? deserializeAws_json1_1Tags(output.tags, context) : undefined,
4300
- type: smithy_client_1.expectString(output.type),
4303
+ type: (0, smithy_client_1.expectString)(output.type),
4301
4304
  };
4302
4305
  };
4303
4306
  const deserializeAws_json1_1ResourceDetails = (output, context) => {
@@ -4320,8 +4323,8 @@ const deserializeAws_json1_1ResourceList = (output, context) => {
4320
4323
  };
4321
4324
  const deserializeAws_json1_1ScanningRepositoryFilter = (output, context) => {
4322
4325
  return {
4323
- filter: smithy_client_1.expectString(output.filter),
4324
- filterType: smithy_client_1.expectString(output.filterType),
4326
+ filter: (0, smithy_client_1.expectString)(output.filter),
4327
+ filterType: (0, smithy_client_1.expectString)(output.filterType),
4325
4328
  };
4326
4329
  };
4327
4330
  const deserializeAws_json1_1ScanningRepositoryFilterList = (output, context) => {
@@ -4337,7 +4340,7 @@ const deserializeAws_json1_1ScanningRepositoryFilterList = (output, context) =>
4337
4340
  };
4338
4341
  const deserializeAws_json1_1ScanNotFoundException = (output, context) => {
4339
4342
  return {
4340
- message: smithy_client_1.expectString(output.message),
4343
+ message: (0, smithy_client_1.expectString)(output.message),
4341
4344
  };
4342
4345
  };
4343
4346
  const deserializeAws_json1_1ScoreDetails = (output, context) => {
@@ -4349,14 +4352,14 @@ const deserializeAws_json1_1ScoreDetails = (output, context) => {
4349
4352
  };
4350
4353
  const deserializeAws_json1_1ServerException = (output, context) => {
4351
4354
  return {
4352
- message: smithy_client_1.expectString(output.message),
4355
+ message: (0, smithy_client_1.expectString)(output.message),
4353
4356
  };
4354
4357
  };
4355
4358
  const deserializeAws_json1_1SetRepositoryPolicyResponse = (output, context) => {
4356
4359
  return {
4357
- policyText: smithy_client_1.expectString(output.policyText),
4358
- registryId: smithy_client_1.expectString(output.registryId),
4359
- repositoryName: smithy_client_1.expectString(output.repositoryName),
4360
+ policyText: (0, smithy_client_1.expectString)(output.policyText),
4361
+ registryId: (0, smithy_client_1.expectString)(output.registryId),
4362
+ repositoryName: (0, smithy_client_1.expectString)(output.repositoryName),
4360
4363
  };
4361
4364
  };
4362
4365
  const deserializeAws_json1_1StartImageScanResponse = (output, context) => {
@@ -4367,22 +4370,22 @@ const deserializeAws_json1_1StartImageScanResponse = (output, context) => {
4367
4370
  imageScanStatus: output.imageScanStatus !== undefined && output.imageScanStatus !== null
4368
4371
  ? deserializeAws_json1_1ImageScanStatus(output.imageScanStatus, context)
4369
4372
  : undefined,
4370
- registryId: smithy_client_1.expectString(output.registryId),
4371
- repositoryName: smithy_client_1.expectString(output.repositoryName),
4373
+ registryId: (0, smithy_client_1.expectString)(output.registryId),
4374
+ repositoryName: (0, smithy_client_1.expectString)(output.repositoryName),
4372
4375
  };
4373
4376
  };
4374
4377
  const deserializeAws_json1_1StartLifecyclePolicyPreviewResponse = (output, context) => {
4375
4378
  return {
4376
- lifecyclePolicyText: smithy_client_1.expectString(output.lifecyclePolicyText),
4377
- registryId: smithy_client_1.expectString(output.registryId),
4378
- repositoryName: smithy_client_1.expectString(output.repositoryName),
4379
- status: smithy_client_1.expectString(output.status),
4379
+ lifecyclePolicyText: (0, smithy_client_1.expectString)(output.lifecyclePolicyText),
4380
+ registryId: (0, smithy_client_1.expectString)(output.registryId),
4381
+ repositoryName: (0, smithy_client_1.expectString)(output.repositoryName),
4382
+ status: (0, smithy_client_1.expectString)(output.status),
4380
4383
  };
4381
4384
  };
4382
4385
  const deserializeAws_json1_1Tag = (output, context) => {
4383
4386
  return {
4384
- Key: smithy_client_1.expectString(output.Key),
4385
- Value: smithy_client_1.expectString(output.Value),
4387
+ Key: (0, smithy_client_1.expectString)(output.Key),
4388
+ Value: (0, smithy_client_1.expectString)(output.Value),
4386
4389
  };
4387
4390
  };
4388
4391
  const deserializeAws_json1_1TagList = (output, context) => {
@@ -4406,23 +4409,23 @@ const deserializeAws_json1_1Tags = (output, context) => {
4406
4409
  }
4407
4410
  return {
4408
4411
  ...acc,
4409
- [key]: smithy_client_1.expectString(value),
4412
+ [key]: (0, smithy_client_1.expectString)(value),
4410
4413
  };
4411
4414
  }, {});
4412
4415
  };
4413
4416
  const deserializeAws_json1_1TooManyTagsException = (output, context) => {
4414
4417
  return {
4415
- message: smithy_client_1.expectString(output.message),
4418
+ message: (0, smithy_client_1.expectString)(output.message),
4416
4419
  };
4417
4420
  };
4418
4421
  const deserializeAws_json1_1UnsupportedImageTypeException = (output, context) => {
4419
4422
  return {
4420
- message: smithy_client_1.expectString(output.message),
4423
+ message: (0, smithy_client_1.expectString)(output.message),
4421
4424
  };
4422
4425
  };
4423
4426
  const deserializeAws_json1_1UnsupportedUpstreamRegistryException = (output, context) => {
4424
4427
  return {
4425
- message: smithy_client_1.expectString(output.message),
4428
+ message: (0, smithy_client_1.expectString)(output.message),
4426
4429
  };
4427
4430
  };
4428
4431
  const deserializeAws_json1_1UntagResourceResponse = (output, context) => {
@@ -4430,32 +4433,32 @@ const deserializeAws_json1_1UntagResourceResponse = (output, context) => {
4430
4433
  };
4431
4434
  const deserializeAws_json1_1UploadLayerPartResponse = (output, context) => {
4432
4435
  return {
4433
- lastByteReceived: smithy_client_1.expectLong(output.lastByteReceived),
4434
- registryId: smithy_client_1.expectString(output.registryId),
4435
- repositoryName: smithy_client_1.expectString(output.repositoryName),
4436
- uploadId: smithy_client_1.expectString(output.uploadId),
4436
+ lastByteReceived: (0, smithy_client_1.expectLong)(output.lastByteReceived),
4437
+ registryId: (0, smithy_client_1.expectString)(output.registryId),
4438
+ repositoryName: (0, smithy_client_1.expectString)(output.repositoryName),
4439
+ uploadId: (0, smithy_client_1.expectString)(output.uploadId),
4437
4440
  };
4438
4441
  };
4439
4442
  const deserializeAws_json1_1UploadNotFoundException = (output, context) => {
4440
4443
  return {
4441
- message: smithy_client_1.expectString(output.message),
4444
+ message: (0, smithy_client_1.expectString)(output.message),
4442
4445
  };
4443
4446
  };
4444
4447
  const deserializeAws_json1_1ValidationException = (output, context) => {
4445
4448
  return {
4446
- message: smithy_client_1.expectString(output.message),
4449
+ message: (0, smithy_client_1.expectString)(output.message),
4447
4450
  };
4448
4451
  };
4449
4452
  const deserializeAws_json1_1VulnerablePackage = (output, context) => {
4450
4453
  return {
4451
- arch: smithy_client_1.expectString(output.arch),
4452
- epoch: smithy_client_1.expectInt32(output.epoch),
4453
- filePath: smithy_client_1.expectString(output.filePath),
4454
- name: smithy_client_1.expectString(output.name),
4455
- packageManager: smithy_client_1.expectString(output.packageManager),
4456
- release: smithy_client_1.expectString(output.release),
4457
- sourceLayerHash: smithy_client_1.expectString(output.sourceLayerHash),
4458
- version: smithy_client_1.expectString(output.version),
4454
+ arch: (0, smithy_client_1.expectString)(output.arch),
4455
+ epoch: (0, smithy_client_1.expectInt32)(output.epoch),
4456
+ filePath: (0, smithy_client_1.expectString)(output.filePath),
4457
+ name: (0, smithy_client_1.expectString)(output.name),
4458
+ packageManager: (0, smithy_client_1.expectString)(output.packageManager),
4459
+ release: (0, smithy_client_1.expectString)(output.release),
4460
+ sourceLayerHash: (0, smithy_client_1.expectString)(output.sourceLayerHash),
4461
+ version: (0, smithy_client_1.expectString)(output.version),
4459
4462
  };
4460
4463
  };
4461
4464
  const deserializeAws_json1_1VulnerablePackagesList = (output, context) => {