@aws-sdk/client-ecr 3.54.1 → 3.58.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +27 -0
- package/dist-cjs/ECRClient.js +13 -13
- package/dist-cjs/commands/BatchCheckLayerAvailabilityCommand.js +3 -3
- package/dist-cjs/commands/BatchDeleteImageCommand.js +3 -3
- package/dist-cjs/commands/BatchGetImageCommand.js +3 -3
- package/dist-cjs/commands/BatchGetRepositoryScanningConfigurationCommand.js +3 -3
- package/dist-cjs/commands/CompleteLayerUploadCommand.js +3 -3
- package/dist-cjs/commands/CreatePullThroughCacheRuleCommand.js +3 -3
- package/dist-cjs/commands/CreateRepositoryCommand.js +3 -3
- package/dist-cjs/commands/DeleteLifecyclePolicyCommand.js +3 -3
- package/dist-cjs/commands/DeletePullThroughCacheRuleCommand.js +3 -3
- package/dist-cjs/commands/DeleteRegistryPolicyCommand.js +3 -3
- package/dist-cjs/commands/DeleteRepositoryCommand.js +3 -3
- package/dist-cjs/commands/DeleteRepositoryPolicyCommand.js +3 -3
- package/dist-cjs/commands/DescribeImageReplicationStatusCommand.js +3 -3
- package/dist-cjs/commands/DescribeImageScanFindingsCommand.js +3 -3
- package/dist-cjs/commands/DescribeImagesCommand.js +3 -3
- package/dist-cjs/commands/DescribePullThroughCacheRulesCommand.js +3 -3
- package/dist-cjs/commands/DescribeRegistryCommand.js +3 -3
- package/dist-cjs/commands/DescribeRepositoriesCommand.js +3 -3
- package/dist-cjs/commands/GetAuthorizationTokenCommand.js +3 -3
- package/dist-cjs/commands/GetDownloadUrlForLayerCommand.js +3 -3
- package/dist-cjs/commands/GetLifecyclePolicyCommand.js +3 -3
- package/dist-cjs/commands/GetLifecyclePolicyPreviewCommand.js +3 -3
- package/dist-cjs/commands/GetRegistryPolicyCommand.js +3 -3
- package/dist-cjs/commands/GetRegistryScanningConfigurationCommand.js +3 -3
- package/dist-cjs/commands/GetRepositoryPolicyCommand.js +3 -3
- package/dist-cjs/commands/InitiateLayerUploadCommand.js +3 -3
- package/dist-cjs/commands/ListImagesCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/PutImageCommand.js +3 -3
- package/dist-cjs/commands/PutImageScanningConfigurationCommand.js +3 -3
- package/dist-cjs/commands/PutImageTagMutabilityCommand.js +3 -3
- package/dist-cjs/commands/PutLifecyclePolicyCommand.js +3 -3
- package/dist-cjs/commands/PutRegistryPolicyCommand.js +3 -3
- package/dist-cjs/commands/PutRegistryScanningConfigurationCommand.js +3 -3
- package/dist-cjs/commands/PutReplicationConfigurationCommand.js +3 -3
- package/dist-cjs/commands/SetRepositoryPolicyCommand.js +3 -3
- package/dist-cjs/commands/StartImageScanCommand.js +3 -3
- package/dist-cjs/commands/StartLifecyclePolicyPreviewCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UploadLayerPartCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_json1_1.js +313 -313
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-cjs/waiters/waitForImageScanComplete.js +3 -3
- package/dist-cjs/waiters/waitForLifecyclePolicyPreviewComplete.js +3 -3
- package/dist-es/ECR.js +41 -41
- package/dist-es/pagination/DescribeImageScanFindingsPaginator.js +4 -4
- package/dist-es/pagination/DescribeImagesPaginator.js +4 -4
- package/dist-es/pagination/DescribePullThroughCacheRulesPaginator.js +4 -4
- package/dist-es/pagination/DescribeRepositoriesPaginator.js +4 -4
- package/dist-es/pagination/GetLifecyclePolicyPreviewPaginator.js +4 -4
- package/dist-es/pagination/ListImagesPaginator.js +4 -4
- package/dist-types/models/models_0.d.ts +3 -1
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- 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,15 +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
3615
|
lastRecordedPullTime: output.lastRecordedPullTime !== undefined && output.lastRecordedPullTime !== null
|
|
3616
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastRecordedPullTime)))
|
|
3616
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastRecordedPullTime)))
|
|
3617
3617
|
: undefined,
|
|
3618
|
-
registryId: smithy_client_1.expectString(output.registryId),
|
|
3619
|
-
repositoryName: smithy_client_1.expectString(output.repositoryName),
|
|
3618
|
+
registryId: (0, smithy_client_1.expectString)(output.registryId),
|
|
3619
|
+
repositoryName: (0, smithy_client_1.expectString)(output.repositoryName),
|
|
3620
3620
|
};
|
|
3621
3621
|
};
|
|
3622
3622
|
const deserializeAws_json1_1ImageDetailList = (output, context) => {
|
|
@@ -3632,13 +3632,13 @@ const deserializeAws_json1_1ImageDetailList = (output, context) => {
|
|
|
3632
3632
|
};
|
|
3633
3633
|
const deserializeAws_json1_1ImageDigestDoesNotMatchException = (output, context) => {
|
|
3634
3634
|
return {
|
|
3635
|
-
message: smithy_client_1.expectString(output.message),
|
|
3635
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
3636
3636
|
};
|
|
3637
3637
|
};
|
|
3638
3638
|
const deserializeAws_json1_1ImageFailure = (output, context) => {
|
|
3639
3639
|
return {
|
|
3640
|
-
failureCode: smithy_client_1.expectString(output.failureCode),
|
|
3641
|
-
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),
|
|
3642
3642
|
imageId: output.imageId !== undefined && output.imageId !== null
|
|
3643
3643
|
? deserializeAws_json1_1ImageIdentifier(output.imageId, context)
|
|
3644
3644
|
: undefined,
|
|
@@ -3657,8 +3657,8 @@ const deserializeAws_json1_1ImageFailureList = (output, context) => {
|
|
|
3657
3657
|
};
|
|
3658
3658
|
const deserializeAws_json1_1ImageIdentifier = (output, context) => {
|
|
3659
3659
|
return {
|
|
3660
|
-
imageDigest: smithy_client_1.expectString(output.imageDigest),
|
|
3661
|
-
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),
|
|
3662
3662
|
};
|
|
3663
3663
|
};
|
|
3664
3664
|
const deserializeAws_json1_1ImageIdentifierList = (output, context) => {
|
|
@@ -3685,15 +3685,15 @@ const deserializeAws_json1_1ImageList = (output, context) => {
|
|
|
3685
3685
|
};
|
|
3686
3686
|
const deserializeAws_json1_1ImageNotFoundException = (output, context) => {
|
|
3687
3687
|
return {
|
|
3688
|
-
message: smithy_client_1.expectString(output.message),
|
|
3688
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
3689
3689
|
};
|
|
3690
3690
|
};
|
|
3691
3691
|
const deserializeAws_json1_1ImageReplicationStatus = (output, context) => {
|
|
3692
3692
|
return {
|
|
3693
|
-
failureCode: smithy_client_1.expectString(output.failureCode),
|
|
3694
|
-
region: smithy_client_1.expectString(output.region),
|
|
3695
|
-
registryId: smithy_client_1.expectString(output.registryId),
|
|
3696
|
-
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),
|
|
3697
3697
|
};
|
|
3698
3698
|
};
|
|
3699
3699
|
const deserializeAws_json1_1ImageReplicationStatusList = (output, context) => {
|
|
@@ -3712,10 +3712,10 @@ const deserializeAws_json1_1ImageScanFinding = (output, context) => {
|
|
|
3712
3712
|
attributes: output.attributes !== undefined && output.attributes !== null
|
|
3713
3713
|
? deserializeAws_json1_1AttributeList(output.attributes, context)
|
|
3714
3714
|
: undefined,
|
|
3715
|
-
description: smithy_client_1.expectString(output.description),
|
|
3716
|
-
name: smithy_client_1.expectString(output.name),
|
|
3717
|
-
severity: smithy_client_1.expectString(output.severity),
|
|
3718
|
-
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),
|
|
3719
3719
|
};
|
|
3720
3720
|
};
|
|
3721
3721
|
const deserializeAws_json1_1ImageScanFindingList = (output, context) => {
|
|
@@ -3741,10 +3741,10 @@ const deserializeAws_json1_1ImageScanFindings = (output, context) => {
|
|
|
3741
3741
|
? deserializeAws_json1_1ImageScanFindingList(output.findings, context)
|
|
3742
3742
|
: undefined,
|
|
3743
3743
|
imageScanCompletedAt: output.imageScanCompletedAt !== undefined && output.imageScanCompletedAt !== null
|
|
3744
|
-
? 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)))
|
|
3745
3745
|
: undefined,
|
|
3746
3746
|
vulnerabilitySourceUpdatedAt: output.vulnerabilitySourceUpdatedAt !== undefined && output.vulnerabilitySourceUpdatedAt !== null
|
|
3747
|
-
? 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)))
|
|
3748
3748
|
: undefined,
|
|
3749
3749
|
};
|
|
3750
3750
|
};
|
|
@@ -3754,27 +3754,27 @@ const deserializeAws_json1_1ImageScanFindingsSummary = (output, context) => {
|
|
|
3754
3754
|
? deserializeAws_json1_1FindingSeverityCounts(output.findingSeverityCounts, context)
|
|
3755
3755
|
: undefined,
|
|
3756
3756
|
imageScanCompletedAt: output.imageScanCompletedAt !== undefined && output.imageScanCompletedAt !== null
|
|
3757
|
-
? 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)))
|
|
3758
3758
|
: undefined,
|
|
3759
3759
|
vulnerabilitySourceUpdatedAt: output.vulnerabilitySourceUpdatedAt !== undefined && output.vulnerabilitySourceUpdatedAt !== null
|
|
3760
|
-
? 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)))
|
|
3761
3761
|
: undefined,
|
|
3762
3762
|
};
|
|
3763
3763
|
};
|
|
3764
3764
|
const deserializeAws_json1_1ImageScanningConfiguration = (output, context) => {
|
|
3765
3765
|
return {
|
|
3766
|
-
scanOnPush: smithy_client_1.expectBoolean(output.scanOnPush),
|
|
3766
|
+
scanOnPush: (0, smithy_client_1.expectBoolean)(output.scanOnPush),
|
|
3767
3767
|
};
|
|
3768
3768
|
};
|
|
3769
3769
|
const deserializeAws_json1_1ImageScanStatus = (output, context) => {
|
|
3770
3770
|
return {
|
|
3771
|
-
description: smithy_client_1.expectString(output.description),
|
|
3772
|
-
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),
|
|
3773
3773
|
};
|
|
3774
3774
|
};
|
|
3775
3775
|
const deserializeAws_json1_1ImageTagAlreadyExistsException = (output, context) => {
|
|
3776
3776
|
return {
|
|
3777
|
-
message: smithy_client_1.expectString(output.message),
|
|
3777
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
3778
3778
|
};
|
|
3779
3779
|
};
|
|
3780
3780
|
const deserializeAws_json1_1ImageTagList = (output, context) => {
|
|
@@ -3784,7 +3784,7 @@ const deserializeAws_json1_1ImageTagList = (output, context) => {
|
|
|
3784
3784
|
if (entry === null) {
|
|
3785
3785
|
return null;
|
|
3786
3786
|
}
|
|
3787
|
-
return smithy_client_1.expectString(entry);
|
|
3787
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
3788
3788
|
});
|
|
3789
3789
|
return retVal;
|
|
3790
3790
|
};
|
|
@@ -3795,64 +3795,64 @@ const deserializeAws_json1_1ImageTagsList = (output, context) => {
|
|
|
3795
3795
|
if (entry === null) {
|
|
3796
3796
|
return null;
|
|
3797
3797
|
}
|
|
3798
|
-
return smithy_client_1.expectString(entry);
|
|
3798
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
3799
3799
|
});
|
|
3800
3800
|
return retVal;
|
|
3801
3801
|
};
|
|
3802
3802
|
const deserializeAws_json1_1InitiateLayerUploadResponse = (output, context) => {
|
|
3803
3803
|
return {
|
|
3804
|
-
partSize: smithy_client_1.expectLong(output.partSize),
|
|
3805
|
-
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),
|
|
3806
3806
|
};
|
|
3807
3807
|
};
|
|
3808
3808
|
const deserializeAws_json1_1InvalidLayerException = (output, context) => {
|
|
3809
3809
|
return {
|
|
3810
|
-
message: smithy_client_1.expectString(output.message),
|
|
3810
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
3811
3811
|
};
|
|
3812
3812
|
};
|
|
3813
3813
|
const deserializeAws_json1_1InvalidLayerPartException = (output, context) => {
|
|
3814
3814
|
return {
|
|
3815
|
-
lastValidByteReceived: smithy_client_1.expectLong(output.lastValidByteReceived),
|
|
3816
|
-
message: smithy_client_1.expectString(output.message),
|
|
3817
|
-
registryId: smithy_client_1.expectString(output.registryId),
|
|
3818
|
-
repositoryName: smithy_client_1.expectString(output.repositoryName),
|
|
3819
|
-
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),
|
|
3820
3820
|
};
|
|
3821
3821
|
};
|
|
3822
3822
|
const deserializeAws_json1_1InvalidParameterException = (output, context) => {
|
|
3823
3823
|
return {
|
|
3824
|
-
message: smithy_client_1.expectString(output.message),
|
|
3824
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
3825
3825
|
};
|
|
3826
3826
|
};
|
|
3827
3827
|
const deserializeAws_json1_1InvalidTagParameterException = (output, context) => {
|
|
3828
3828
|
return {
|
|
3829
|
-
message: smithy_client_1.expectString(output.message),
|
|
3829
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
3830
3830
|
};
|
|
3831
3831
|
};
|
|
3832
3832
|
const deserializeAws_json1_1KmsException = (output, context) => {
|
|
3833
3833
|
return {
|
|
3834
|
-
kmsError: smithy_client_1.expectString(output.kmsError),
|
|
3835
|
-
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),
|
|
3836
3836
|
};
|
|
3837
3837
|
};
|
|
3838
3838
|
const deserializeAws_json1_1Layer = (output, context) => {
|
|
3839
3839
|
return {
|
|
3840
|
-
layerAvailability: smithy_client_1.expectString(output.layerAvailability),
|
|
3841
|
-
layerDigest: smithy_client_1.expectString(output.layerDigest),
|
|
3842
|
-
layerSize: smithy_client_1.expectLong(output.layerSize),
|
|
3843
|
-
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),
|
|
3844
3844
|
};
|
|
3845
3845
|
};
|
|
3846
3846
|
const deserializeAws_json1_1LayerAlreadyExistsException = (output, context) => {
|
|
3847
3847
|
return {
|
|
3848
|
-
message: smithy_client_1.expectString(output.message),
|
|
3848
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
3849
3849
|
};
|
|
3850
3850
|
};
|
|
3851
3851
|
const deserializeAws_json1_1LayerFailure = (output, context) => {
|
|
3852
3852
|
return {
|
|
3853
|
-
failureCode: smithy_client_1.expectString(output.failureCode),
|
|
3854
|
-
failureReason: smithy_client_1.expectString(output.failureReason),
|
|
3855
|
-
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),
|
|
3856
3856
|
};
|
|
3857
3857
|
};
|
|
3858
3858
|
const deserializeAws_json1_1LayerFailureList = (output, context) => {
|
|
@@ -3868,7 +3868,7 @@ const deserializeAws_json1_1LayerFailureList = (output, context) => {
|
|
|
3868
3868
|
};
|
|
3869
3869
|
const deserializeAws_json1_1LayerInaccessibleException = (output, context) => {
|
|
3870
3870
|
return {
|
|
3871
|
-
message: smithy_client_1.expectString(output.message),
|
|
3871
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
3872
3872
|
};
|
|
3873
3873
|
};
|
|
3874
3874
|
const deserializeAws_json1_1LayerList = (output, context) => {
|
|
@@ -3884,27 +3884,27 @@ const deserializeAws_json1_1LayerList = (output, context) => {
|
|
|
3884
3884
|
};
|
|
3885
3885
|
const deserializeAws_json1_1LayerPartTooSmallException = (output, context) => {
|
|
3886
3886
|
return {
|
|
3887
|
-
message: smithy_client_1.expectString(output.message),
|
|
3887
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
3888
3888
|
};
|
|
3889
3889
|
};
|
|
3890
3890
|
const deserializeAws_json1_1LayersNotFoundException = (output, context) => {
|
|
3891
3891
|
return {
|
|
3892
|
-
message: smithy_client_1.expectString(output.message),
|
|
3892
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
3893
3893
|
};
|
|
3894
3894
|
};
|
|
3895
3895
|
const deserializeAws_json1_1LifecyclePolicyNotFoundException = (output, context) => {
|
|
3896
3896
|
return {
|
|
3897
|
-
message: smithy_client_1.expectString(output.message),
|
|
3897
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
3898
3898
|
};
|
|
3899
3899
|
};
|
|
3900
3900
|
const deserializeAws_json1_1LifecyclePolicyPreviewInProgressException = (output, context) => {
|
|
3901
3901
|
return {
|
|
3902
|
-
message: smithy_client_1.expectString(output.message),
|
|
3902
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
3903
3903
|
};
|
|
3904
3904
|
};
|
|
3905
3905
|
const deserializeAws_json1_1LifecyclePolicyPreviewNotFoundException = (output, context) => {
|
|
3906
3906
|
return {
|
|
3907
|
-
message: smithy_client_1.expectString(output.message),
|
|
3907
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
3908
3908
|
};
|
|
3909
3909
|
};
|
|
3910
3910
|
const deserializeAws_json1_1LifecyclePolicyPreviewResult = (output, context) => {
|
|
@@ -3912,10 +3912,10 @@ const deserializeAws_json1_1LifecyclePolicyPreviewResult = (output, context) =>
|
|
|
3912
3912
|
action: output.action !== undefined && output.action !== null
|
|
3913
3913
|
? deserializeAws_json1_1LifecyclePolicyRuleAction(output.action, context)
|
|
3914
3914
|
: undefined,
|
|
3915
|
-
appliedRulePriority: smithy_client_1.expectInt32(output.appliedRulePriority),
|
|
3916
|
-
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),
|
|
3917
3917
|
imagePushedAt: output.imagePushedAt !== undefined && output.imagePushedAt !== null
|
|
3918
|
-
? 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)))
|
|
3919
3919
|
: undefined,
|
|
3920
3920
|
imageTags: output.imageTags !== undefined && output.imageTags !== null
|
|
3921
3921
|
? deserializeAws_json1_1ImageTagList(output.imageTags, context)
|
|
@@ -3935,17 +3935,17 @@ const deserializeAws_json1_1LifecyclePolicyPreviewResultList = (output, context)
|
|
|
3935
3935
|
};
|
|
3936
3936
|
const deserializeAws_json1_1LifecyclePolicyPreviewSummary = (output, context) => {
|
|
3937
3937
|
return {
|
|
3938
|
-
expiringImageTotalCount: smithy_client_1.expectInt32(output.expiringImageTotalCount),
|
|
3938
|
+
expiringImageTotalCount: (0, smithy_client_1.expectInt32)(output.expiringImageTotalCount),
|
|
3939
3939
|
};
|
|
3940
3940
|
};
|
|
3941
3941
|
const deserializeAws_json1_1LifecyclePolicyRuleAction = (output, context) => {
|
|
3942
3942
|
return {
|
|
3943
|
-
type: smithy_client_1.expectString(output.type),
|
|
3943
|
+
type: (0, smithy_client_1.expectString)(output.type),
|
|
3944
3944
|
};
|
|
3945
3945
|
};
|
|
3946
3946
|
const deserializeAws_json1_1LimitExceededException = (output, context) => {
|
|
3947
3947
|
return {
|
|
3948
|
-
message: smithy_client_1.expectString(output.message),
|
|
3948
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
3949
3949
|
};
|
|
3950
3950
|
};
|
|
3951
3951
|
const deserializeAws_json1_1ListImagesResponse = (output, context) => {
|
|
@@ -3953,7 +3953,7 @@ const deserializeAws_json1_1ListImagesResponse = (output, context) => {
|
|
|
3953
3953
|
imageIds: output.imageIds !== undefined && output.imageIds !== null
|
|
3954
3954
|
? deserializeAws_json1_1ImageIdentifierList(output.imageIds, context)
|
|
3955
3955
|
: undefined,
|
|
3956
|
-
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
3956
|
+
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
3957
3957
|
};
|
|
3958
3958
|
};
|
|
3959
3959
|
const deserializeAws_json1_1ListTagsForResourceResponse = (output, context) => {
|
|
@@ -3974,16 +3974,16 @@ const deserializeAws_json1_1PackageVulnerabilityDetails = (output, context) => {
|
|
|
3974
3974
|
relatedVulnerabilities: output.relatedVulnerabilities !== undefined && output.relatedVulnerabilities !== null
|
|
3975
3975
|
? deserializeAws_json1_1RelatedVulnerabilitiesList(output.relatedVulnerabilities, context)
|
|
3976
3976
|
: undefined,
|
|
3977
|
-
source: smithy_client_1.expectString(output.source),
|
|
3978
|
-
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),
|
|
3979
3979
|
vendorCreatedAt: output.vendorCreatedAt !== undefined && output.vendorCreatedAt !== null
|
|
3980
|
-
? 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)))
|
|
3981
3981
|
: undefined,
|
|
3982
|
-
vendorSeverity: smithy_client_1.expectString(output.vendorSeverity),
|
|
3982
|
+
vendorSeverity: (0, smithy_client_1.expectString)(output.vendorSeverity),
|
|
3983
3983
|
vendorUpdatedAt: output.vendorUpdatedAt !== undefined && output.vendorUpdatedAt !== null
|
|
3984
|
-
? 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)))
|
|
3985
3985
|
: undefined,
|
|
3986
|
-
vulnerabilityId: smithy_client_1.expectString(output.vulnerabilityId),
|
|
3986
|
+
vulnerabilityId: (0, smithy_client_1.expectString)(output.vulnerabilityId),
|
|
3987
3987
|
vulnerablePackages: output.vulnerablePackages !== undefined && output.vulnerablePackages !== null
|
|
3988
3988
|
? deserializeAws_json1_1VulnerablePackagesList(output.vulnerablePackages, context)
|
|
3989
3989
|
: undefined,
|
|
@@ -3992,16 +3992,16 @@ const deserializeAws_json1_1PackageVulnerabilityDetails = (output, context) => {
|
|
|
3992
3992
|
const deserializeAws_json1_1PullThroughCacheRule = (output, context) => {
|
|
3993
3993
|
return {
|
|
3994
3994
|
createdAt: output.createdAt !== undefined && output.createdAt !== null
|
|
3995
|
-
? 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)))
|
|
3996
3996
|
: undefined,
|
|
3997
|
-
ecrRepositoryPrefix: smithy_client_1.expectString(output.ecrRepositoryPrefix),
|
|
3998
|
-
registryId: smithy_client_1.expectString(output.registryId),
|
|
3999
|
-
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),
|
|
4000
4000
|
};
|
|
4001
4001
|
};
|
|
4002
4002
|
const deserializeAws_json1_1PullThroughCacheRuleAlreadyExistsException = (output, context) => {
|
|
4003
4003
|
return {
|
|
4004
|
-
message: smithy_client_1.expectString(output.message),
|
|
4004
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
4005
4005
|
};
|
|
4006
4006
|
};
|
|
4007
4007
|
const deserializeAws_json1_1PullThroughCacheRuleList = (output, context) => {
|
|
@@ -4017,7 +4017,7 @@ const deserializeAws_json1_1PullThroughCacheRuleList = (output, context) => {
|
|
|
4017
4017
|
};
|
|
4018
4018
|
const deserializeAws_json1_1PullThroughCacheRuleNotFoundException = (output, context) => {
|
|
4019
4019
|
return {
|
|
4020
|
-
message: smithy_client_1.expectString(output.message),
|
|
4020
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
4021
4021
|
};
|
|
4022
4022
|
};
|
|
4023
4023
|
const deserializeAws_json1_1PutImageResponse = (output, context) => {
|
|
@@ -4032,28 +4032,28 @@ const deserializeAws_json1_1PutImageScanningConfigurationResponse = (output, con
|
|
|
4032
4032
|
imageScanningConfiguration: output.imageScanningConfiguration !== undefined && output.imageScanningConfiguration !== null
|
|
4033
4033
|
? deserializeAws_json1_1ImageScanningConfiguration(output.imageScanningConfiguration, context)
|
|
4034
4034
|
: undefined,
|
|
4035
|
-
registryId: smithy_client_1.expectString(output.registryId),
|
|
4036
|
-
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),
|
|
4037
4037
|
};
|
|
4038
4038
|
};
|
|
4039
4039
|
const deserializeAws_json1_1PutImageTagMutabilityResponse = (output, context) => {
|
|
4040
4040
|
return {
|
|
4041
|
-
imageTagMutability: smithy_client_1.expectString(output.imageTagMutability),
|
|
4042
|
-
registryId: smithy_client_1.expectString(output.registryId),
|
|
4043
|
-
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),
|
|
4044
4044
|
};
|
|
4045
4045
|
};
|
|
4046
4046
|
const deserializeAws_json1_1PutLifecyclePolicyResponse = (output, context) => {
|
|
4047
4047
|
return {
|
|
4048
|
-
lifecyclePolicyText: smithy_client_1.expectString(output.lifecyclePolicyText),
|
|
4049
|
-
registryId: smithy_client_1.expectString(output.registryId),
|
|
4050
|
-
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),
|
|
4051
4051
|
};
|
|
4052
4052
|
};
|
|
4053
4053
|
const deserializeAws_json1_1PutRegistryPolicyResponse = (output, context) => {
|
|
4054
4054
|
return {
|
|
4055
|
-
policyText: smithy_client_1.expectString(output.policyText),
|
|
4056
|
-
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),
|
|
4057
4057
|
};
|
|
4058
4058
|
};
|
|
4059
4059
|
const deserializeAws_json1_1PutRegistryScanningConfigurationResponse = (output, context) => {
|
|
@@ -4072,13 +4072,13 @@ const deserializeAws_json1_1PutReplicationConfigurationResponse = (output, conte
|
|
|
4072
4072
|
};
|
|
4073
4073
|
const deserializeAws_json1_1Recommendation = (output, context) => {
|
|
4074
4074
|
return {
|
|
4075
|
-
text: smithy_client_1.expectString(output.text),
|
|
4076
|
-
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),
|
|
4077
4077
|
};
|
|
4078
4078
|
};
|
|
4079
4079
|
const deserializeAws_json1_1ReferencedImagesNotFoundException = (output, context) => {
|
|
4080
4080
|
return {
|
|
4081
|
-
message: smithy_client_1.expectString(output.message),
|
|
4081
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
4082
4082
|
};
|
|
4083
4083
|
};
|
|
4084
4084
|
const deserializeAws_json1_1ReferenceUrlsList = (output, context) => {
|
|
@@ -4088,13 +4088,13 @@ const deserializeAws_json1_1ReferenceUrlsList = (output, context) => {
|
|
|
4088
4088
|
if (entry === null) {
|
|
4089
4089
|
return null;
|
|
4090
4090
|
}
|
|
4091
|
-
return smithy_client_1.expectString(entry);
|
|
4091
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
4092
4092
|
});
|
|
4093
4093
|
return retVal;
|
|
4094
4094
|
};
|
|
4095
4095
|
const deserializeAws_json1_1RegistryPolicyNotFoundException = (output, context) => {
|
|
4096
4096
|
return {
|
|
4097
|
-
message: smithy_client_1.expectString(output.message),
|
|
4097
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
4098
4098
|
};
|
|
4099
4099
|
};
|
|
4100
4100
|
const deserializeAws_json1_1RegistryScanningConfiguration = (output, context) => {
|
|
@@ -4102,7 +4102,7 @@ const deserializeAws_json1_1RegistryScanningConfiguration = (output, context) =>
|
|
|
4102
4102
|
rules: output.rules !== undefined && output.rules !== null
|
|
4103
4103
|
? deserializeAws_json1_1RegistryScanningRuleList(output.rules, context)
|
|
4104
4104
|
: undefined,
|
|
4105
|
-
scanType: smithy_client_1.expectString(output.scanType),
|
|
4105
|
+
scanType: (0, smithy_client_1.expectString)(output.scanType),
|
|
4106
4106
|
};
|
|
4107
4107
|
};
|
|
4108
4108
|
const deserializeAws_json1_1RegistryScanningRule = (output, context) => {
|
|
@@ -4110,7 +4110,7 @@ const deserializeAws_json1_1RegistryScanningRule = (output, context) => {
|
|
|
4110
4110
|
repositoryFilters: output.repositoryFilters !== undefined && output.repositoryFilters !== null
|
|
4111
4111
|
? deserializeAws_json1_1ScanningRepositoryFilterList(output.repositoryFilters, context)
|
|
4112
4112
|
: undefined,
|
|
4113
|
-
scanFrequency: smithy_client_1.expectString(output.scanFrequency),
|
|
4113
|
+
scanFrequency: (0, smithy_client_1.expectString)(output.scanFrequency),
|
|
4114
4114
|
};
|
|
4115
4115
|
};
|
|
4116
4116
|
const deserializeAws_json1_1RegistryScanningRuleList = (output, context) => {
|
|
@@ -4131,7 +4131,7 @@ const deserializeAws_json1_1RelatedVulnerabilitiesList = (output, context) => {
|
|
|
4131
4131
|
if (entry === null) {
|
|
4132
4132
|
return null;
|
|
4133
4133
|
}
|
|
4134
|
-
return smithy_client_1.expectString(entry);
|
|
4134
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
4135
4135
|
});
|
|
4136
4136
|
return retVal;
|
|
4137
4137
|
};
|
|
@@ -4151,8 +4151,8 @@ const deserializeAws_json1_1ReplicationConfiguration = (output, context) => {
|
|
|
4151
4151
|
};
|
|
4152
4152
|
const deserializeAws_json1_1ReplicationDestination = (output, context) => {
|
|
4153
4153
|
return {
|
|
4154
|
-
region: smithy_client_1.expectString(output.region),
|
|
4155
|
-
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),
|
|
4156
4156
|
};
|
|
4157
4157
|
};
|
|
4158
4158
|
const deserializeAws_json1_1ReplicationDestinationList = (output, context) => {
|
|
@@ -4190,7 +4190,7 @@ const deserializeAws_json1_1ReplicationRuleList = (output, context) => {
|
|
|
4190
4190
|
const deserializeAws_json1_1Repository = (output, context) => {
|
|
4191
4191
|
return {
|
|
4192
4192
|
createdAt: output.createdAt !== undefined && output.createdAt !== null
|
|
4193
|
-
? 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)))
|
|
4194
4194
|
: undefined,
|
|
4195
4195
|
encryptionConfiguration: output.encryptionConfiguration !== undefined && output.encryptionConfiguration !== null
|
|
4196
4196
|
? deserializeAws_json1_1EncryptionConfiguration(output.encryptionConfiguration, context)
|
|
@@ -4198,22 +4198,22 @@ const deserializeAws_json1_1Repository = (output, context) => {
|
|
|
4198
4198
|
imageScanningConfiguration: output.imageScanningConfiguration !== undefined && output.imageScanningConfiguration !== null
|
|
4199
4199
|
? deserializeAws_json1_1ImageScanningConfiguration(output.imageScanningConfiguration, context)
|
|
4200
4200
|
: undefined,
|
|
4201
|
-
imageTagMutability: smithy_client_1.expectString(output.imageTagMutability),
|
|
4202
|
-
registryId: smithy_client_1.expectString(output.registryId),
|
|
4203
|
-
repositoryArn: smithy_client_1.expectString(output.repositoryArn),
|
|
4204
|
-
repositoryName: smithy_client_1.expectString(output.repositoryName),
|
|
4205
|
-
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),
|
|
4206
4206
|
};
|
|
4207
4207
|
};
|
|
4208
4208
|
const deserializeAws_json1_1RepositoryAlreadyExistsException = (output, context) => {
|
|
4209
4209
|
return {
|
|
4210
|
-
message: smithy_client_1.expectString(output.message),
|
|
4210
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
4211
4211
|
};
|
|
4212
4212
|
};
|
|
4213
4213
|
const deserializeAws_json1_1RepositoryFilter = (output, context) => {
|
|
4214
4214
|
return {
|
|
4215
|
-
filter: smithy_client_1.expectString(output.filter),
|
|
4216
|
-
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),
|
|
4217
4217
|
};
|
|
4218
4218
|
};
|
|
4219
4219
|
const deserializeAws_json1_1RepositoryFilterList = (output, context) => {
|
|
@@ -4240,17 +4240,17 @@ const deserializeAws_json1_1RepositoryList = (output, context) => {
|
|
|
4240
4240
|
};
|
|
4241
4241
|
const deserializeAws_json1_1RepositoryNotEmptyException = (output, context) => {
|
|
4242
4242
|
return {
|
|
4243
|
-
message: smithy_client_1.expectString(output.message),
|
|
4243
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
4244
4244
|
};
|
|
4245
4245
|
};
|
|
4246
4246
|
const deserializeAws_json1_1RepositoryNotFoundException = (output, context) => {
|
|
4247
4247
|
return {
|
|
4248
|
-
message: smithy_client_1.expectString(output.message),
|
|
4248
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
4249
4249
|
};
|
|
4250
4250
|
};
|
|
4251
4251
|
const deserializeAws_json1_1RepositoryPolicyNotFoundException = (output, context) => {
|
|
4252
4252
|
return {
|
|
4253
|
-
message: smithy_client_1.expectString(output.message),
|
|
4253
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
4254
4254
|
};
|
|
4255
4255
|
};
|
|
4256
4256
|
const deserializeAws_json1_1RepositoryScanningConfiguration = (output, context) => {
|
|
@@ -4258,17 +4258,17 @@ const deserializeAws_json1_1RepositoryScanningConfiguration = (output, context)
|
|
|
4258
4258
|
appliedScanFilters: output.appliedScanFilters !== undefined && output.appliedScanFilters !== null
|
|
4259
4259
|
? deserializeAws_json1_1ScanningRepositoryFilterList(output.appliedScanFilters, context)
|
|
4260
4260
|
: undefined,
|
|
4261
|
-
repositoryArn: smithy_client_1.expectString(output.repositoryArn),
|
|
4262
|
-
repositoryName: smithy_client_1.expectString(output.repositoryName),
|
|
4263
|
-
scanFrequency: smithy_client_1.expectString(output.scanFrequency),
|
|
4264
|
-
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),
|
|
4265
4265
|
};
|
|
4266
4266
|
};
|
|
4267
4267
|
const deserializeAws_json1_1RepositoryScanningConfigurationFailure = (output, context) => {
|
|
4268
4268
|
return {
|
|
4269
|
-
failureCode: smithy_client_1.expectString(output.failureCode),
|
|
4270
|
-
failureReason: smithy_client_1.expectString(output.failureReason),
|
|
4271
|
-
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),
|
|
4272
4272
|
};
|
|
4273
4273
|
};
|
|
4274
4274
|
const deserializeAws_json1_1RepositoryScanningConfigurationFailureList = (output, context) => {
|
|
@@ -4298,9 +4298,9 @@ const deserializeAws_json1_1Resource = (output, context) => {
|
|
|
4298
4298
|
details: output.details !== undefined && output.details !== null
|
|
4299
4299
|
? deserializeAws_json1_1ResourceDetails(output.details, context)
|
|
4300
4300
|
: undefined,
|
|
4301
|
-
id: smithy_client_1.expectString(output.id),
|
|
4301
|
+
id: (0, smithy_client_1.expectString)(output.id),
|
|
4302
4302
|
tags: output.tags !== undefined && output.tags !== null ? deserializeAws_json1_1Tags(output.tags, context) : undefined,
|
|
4303
|
-
type: smithy_client_1.expectString(output.type),
|
|
4303
|
+
type: (0, smithy_client_1.expectString)(output.type),
|
|
4304
4304
|
};
|
|
4305
4305
|
};
|
|
4306
4306
|
const deserializeAws_json1_1ResourceDetails = (output, context) => {
|
|
@@ -4323,8 +4323,8 @@ const deserializeAws_json1_1ResourceList = (output, context) => {
|
|
|
4323
4323
|
};
|
|
4324
4324
|
const deserializeAws_json1_1ScanningRepositoryFilter = (output, context) => {
|
|
4325
4325
|
return {
|
|
4326
|
-
filter: smithy_client_1.expectString(output.filter),
|
|
4327
|
-
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),
|
|
4328
4328
|
};
|
|
4329
4329
|
};
|
|
4330
4330
|
const deserializeAws_json1_1ScanningRepositoryFilterList = (output, context) => {
|
|
@@ -4340,7 +4340,7 @@ const deserializeAws_json1_1ScanningRepositoryFilterList = (output, context) =>
|
|
|
4340
4340
|
};
|
|
4341
4341
|
const deserializeAws_json1_1ScanNotFoundException = (output, context) => {
|
|
4342
4342
|
return {
|
|
4343
|
-
message: smithy_client_1.expectString(output.message),
|
|
4343
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
4344
4344
|
};
|
|
4345
4345
|
};
|
|
4346
4346
|
const deserializeAws_json1_1ScoreDetails = (output, context) => {
|
|
@@ -4352,14 +4352,14 @@ const deserializeAws_json1_1ScoreDetails = (output, context) => {
|
|
|
4352
4352
|
};
|
|
4353
4353
|
const deserializeAws_json1_1ServerException = (output, context) => {
|
|
4354
4354
|
return {
|
|
4355
|
-
message: smithy_client_1.expectString(output.message),
|
|
4355
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
4356
4356
|
};
|
|
4357
4357
|
};
|
|
4358
4358
|
const deserializeAws_json1_1SetRepositoryPolicyResponse = (output, context) => {
|
|
4359
4359
|
return {
|
|
4360
|
-
policyText: smithy_client_1.expectString(output.policyText),
|
|
4361
|
-
registryId: smithy_client_1.expectString(output.registryId),
|
|
4362
|
-
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),
|
|
4363
4363
|
};
|
|
4364
4364
|
};
|
|
4365
4365
|
const deserializeAws_json1_1StartImageScanResponse = (output, context) => {
|
|
@@ -4370,22 +4370,22 @@ const deserializeAws_json1_1StartImageScanResponse = (output, context) => {
|
|
|
4370
4370
|
imageScanStatus: output.imageScanStatus !== undefined && output.imageScanStatus !== null
|
|
4371
4371
|
? deserializeAws_json1_1ImageScanStatus(output.imageScanStatus, context)
|
|
4372
4372
|
: undefined,
|
|
4373
|
-
registryId: smithy_client_1.expectString(output.registryId),
|
|
4374
|
-
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),
|
|
4375
4375
|
};
|
|
4376
4376
|
};
|
|
4377
4377
|
const deserializeAws_json1_1StartLifecyclePolicyPreviewResponse = (output, context) => {
|
|
4378
4378
|
return {
|
|
4379
|
-
lifecyclePolicyText: smithy_client_1.expectString(output.lifecyclePolicyText),
|
|
4380
|
-
registryId: smithy_client_1.expectString(output.registryId),
|
|
4381
|
-
repositoryName: smithy_client_1.expectString(output.repositoryName),
|
|
4382
|
-
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),
|
|
4383
4383
|
};
|
|
4384
4384
|
};
|
|
4385
4385
|
const deserializeAws_json1_1Tag = (output, context) => {
|
|
4386
4386
|
return {
|
|
4387
|
-
Key: smithy_client_1.expectString(output.Key),
|
|
4388
|
-
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),
|
|
4389
4389
|
};
|
|
4390
4390
|
};
|
|
4391
4391
|
const deserializeAws_json1_1TagList = (output, context) => {
|
|
@@ -4409,23 +4409,23 @@ const deserializeAws_json1_1Tags = (output, context) => {
|
|
|
4409
4409
|
}
|
|
4410
4410
|
return {
|
|
4411
4411
|
...acc,
|
|
4412
|
-
[key]: smithy_client_1.expectString(value),
|
|
4412
|
+
[key]: (0, smithy_client_1.expectString)(value),
|
|
4413
4413
|
};
|
|
4414
4414
|
}, {});
|
|
4415
4415
|
};
|
|
4416
4416
|
const deserializeAws_json1_1TooManyTagsException = (output, context) => {
|
|
4417
4417
|
return {
|
|
4418
|
-
message: smithy_client_1.expectString(output.message),
|
|
4418
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
4419
4419
|
};
|
|
4420
4420
|
};
|
|
4421
4421
|
const deserializeAws_json1_1UnsupportedImageTypeException = (output, context) => {
|
|
4422
4422
|
return {
|
|
4423
|
-
message: smithy_client_1.expectString(output.message),
|
|
4423
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
4424
4424
|
};
|
|
4425
4425
|
};
|
|
4426
4426
|
const deserializeAws_json1_1UnsupportedUpstreamRegistryException = (output, context) => {
|
|
4427
4427
|
return {
|
|
4428
|
-
message: smithy_client_1.expectString(output.message),
|
|
4428
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
4429
4429
|
};
|
|
4430
4430
|
};
|
|
4431
4431
|
const deserializeAws_json1_1UntagResourceResponse = (output, context) => {
|
|
@@ -4433,32 +4433,32 @@ const deserializeAws_json1_1UntagResourceResponse = (output, context) => {
|
|
|
4433
4433
|
};
|
|
4434
4434
|
const deserializeAws_json1_1UploadLayerPartResponse = (output, context) => {
|
|
4435
4435
|
return {
|
|
4436
|
-
lastByteReceived: smithy_client_1.expectLong(output.lastByteReceived),
|
|
4437
|
-
registryId: smithy_client_1.expectString(output.registryId),
|
|
4438
|
-
repositoryName: smithy_client_1.expectString(output.repositoryName),
|
|
4439
|
-
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),
|
|
4440
4440
|
};
|
|
4441
4441
|
};
|
|
4442
4442
|
const deserializeAws_json1_1UploadNotFoundException = (output, context) => {
|
|
4443
4443
|
return {
|
|
4444
|
-
message: smithy_client_1.expectString(output.message),
|
|
4444
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
4445
4445
|
};
|
|
4446
4446
|
};
|
|
4447
4447
|
const deserializeAws_json1_1ValidationException = (output, context) => {
|
|
4448
4448
|
return {
|
|
4449
|
-
message: smithy_client_1.expectString(output.message),
|
|
4449
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
4450
4450
|
};
|
|
4451
4451
|
};
|
|
4452
4452
|
const deserializeAws_json1_1VulnerablePackage = (output, context) => {
|
|
4453
4453
|
return {
|
|
4454
|
-
arch: smithy_client_1.expectString(output.arch),
|
|
4455
|
-
epoch: smithy_client_1.expectInt32(output.epoch),
|
|
4456
|
-
filePath: smithy_client_1.expectString(output.filePath),
|
|
4457
|
-
name: smithy_client_1.expectString(output.name),
|
|
4458
|
-
packageManager: smithy_client_1.expectString(output.packageManager),
|
|
4459
|
-
release: smithy_client_1.expectString(output.release),
|
|
4460
|
-
sourceLayerHash: smithy_client_1.expectString(output.sourceLayerHash),
|
|
4461
|
-
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),
|
|
4462
4462
|
};
|
|
4463
4463
|
};
|
|
4464
4464
|
const deserializeAws_json1_1VulnerablePackagesList = (output, context) => {
|