@aws-sdk/client-ecr-public 3.54.0 → 3.56.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 +24 -0
- package/dist-cjs/ECRPUBLICClient.js +13 -13
- package/dist-cjs/commands/BatchCheckLayerAvailabilityCommand.js +3 -3
- package/dist-cjs/commands/BatchDeleteImageCommand.js +3 -3
- package/dist-cjs/commands/CompleteLayerUploadCommand.js +3 -3
- package/dist-cjs/commands/CreateRepositoryCommand.js +3 -3
- package/dist-cjs/commands/DeleteRepositoryCommand.js +3 -3
- package/dist-cjs/commands/DeleteRepositoryPolicyCommand.js +3 -3
- package/dist-cjs/commands/DescribeImageTagsCommand.js +3 -3
- package/dist-cjs/commands/DescribeImagesCommand.js +3 -3
- package/dist-cjs/commands/DescribeRegistriesCommand.js +3 -3
- package/dist-cjs/commands/DescribeRepositoriesCommand.js +3 -3
- package/dist-cjs/commands/GetAuthorizationTokenCommand.js +3 -3
- package/dist-cjs/commands/GetRegistryCatalogDataCommand.js +3 -3
- package/dist-cjs/commands/GetRepositoryCatalogDataCommand.js +3 -3
- package/dist-cjs/commands/GetRepositoryPolicyCommand.js +3 -3
- package/dist-cjs/commands/InitiateLayerUploadCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/PutImageCommand.js +3 -3
- package/dist-cjs/commands/PutRegistryCatalogDataCommand.js +3 -3
- package/dist-cjs/commands/PutRepositoryCatalogDataCommand.js +3 -3
- package/dist-cjs/commands/SetRepositoryPolicyCommand.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 +151 -151
- 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-es/ECRPUBLIC.js +23 -23
- package/dist-es/pagination/DescribeImageTagsPaginator.js +4 -4
- package/dist-es/pagination/DescribeImagesPaginator.js +4 -4
- package/dist-es/pagination/DescribeRegistriesPaginator.js +4 -4
- package/dist-es/pagination/DescribeRepositoriesPaginator.js +4 -4
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- package/package.json +34 -34
|
@@ -277,7 +277,7 @@ const deserializeAws_json1_1BatchCheckLayerAvailabilityCommandError = async (out
|
|
|
277
277
|
$fault: "client",
|
|
278
278
|
$metadata: deserializeMetadata(output),
|
|
279
279
|
});
|
|
280
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
280
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
281
281
|
}
|
|
282
282
|
};
|
|
283
283
|
const deserializeAws_json1_1BatchDeleteImageCommand = async (output, context) => {
|
|
@@ -319,7 +319,7 @@ const deserializeAws_json1_1BatchDeleteImageCommandError = async (output, contex
|
|
|
319
319
|
$fault: "client",
|
|
320
320
|
$metadata: deserializeMetadata(output),
|
|
321
321
|
});
|
|
322
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
322
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
323
323
|
}
|
|
324
324
|
};
|
|
325
325
|
const deserializeAws_json1_1CompleteLayerUploadCommand = async (output, context) => {
|
|
@@ -382,7 +382,7 @@ const deserializeAws_json1_1CompleteLayerUploadCommandError = async (output, con
|
|
|
382
382
|
$fault: "client",
|
|
383
383
|
$metadata: deserializeMetadata(output),
|
|
384
384
|
});
|
|
385
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
385
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
386
386
|
}
|
|
387
387
|
};
|
|
388
388
|
const deserializeAws_json1_1CreateRepositoryCommand = async (output, context) => {
|
|
@@ -433,7 +433,7 @@ const deserializeAws_json1_1CreateRepositoryCommandError = async (output, contex
|
|
|
433
433
|
$fault: "client",
|
|
434
434
|
$metadata: deserializeMetadata(output),
|
|
435
435
|
});
|
|
436
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
436
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
437
437
|
}
|
|
438
438
|
};
|
|
439
439
|
const deserializeAws_json1_1DeleteRepositoryCommand = async (output, context) => {
|
|
@@ -478,7 +478,7 @@ const deserializeAws_json1_1DeleteRepositoryCommandError = async (output, contex
|
|
|
478
478
|
$fault: "client",
|
|
479
479
|
$metadata: deserializeMetadata(output),
|
|
480
480
|
});
|
|
481
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
481
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
482
482
|
}
|
|
483
483
|
};
|
|
484
484
|
const deserializeAws_json1_1DeleteRepositoryPolicyCommand = async (output, context) => {
|
|
@@ -523,7 +523,7 @@ const deserializeAws_json1_1DeleteRepositoryPolicyCommandError = async (output,
|
|
|
523
523
|
$fault: "client",
|
|
524
524
|
$metadata: deserializeMetadata(output),
|
|
525
525
|
});
|
|
526
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
526
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
527
527
|
}
|
|
528
528
|
};
|
|
529
529
|
const deserializeAws_json1_1DescribeImagesCommand = async (output, context) => {
|
|
@@ -568,7 +568,7 @@ const deserializeAws_json1_1DescribeImagesCommandError = async (output, context)
|
|
|
568
568
|
$fault: "client",
|
|
569
569
|
$metadata: deserializeMetadata(output),
|
|
570
570
|
});
|
|
571
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
571
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
572
572
|
}
|
|
573
573
|
};
|
|
574
574
|
const deserializeAws_json1_1DescribeImageTagsCommand = async (output, context) => {
|
|
@@ -610,7 +610,7 @@ const deserializeAws_json1_1DescribeImageTagsCommandError = async (output, conte
|
|
|
610
610
|
$fault: "client",
|
|
611
611
|
$metadata: deserializeMetadata(output),
|
|
612
612
|
});
|
|
613
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
613
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
614
614
|
}
|
|
615
615
|
};
|
|
616
616
|
const deserializeAws_json1_1DescribeRegistriesCommand = async (output, context) => {
|
|
@@ -652,7 +652,7 @@ const deserializeAws_json1_1DescribeRegistriesCommandError = async (output, cont
|
|
|
652
652
|
$fault: "client",
|
|
653
653
|
$metadata: deserializeMetadata(output),
|
|
654
654
|
});
|
|
655
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
655
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
656
656
|
}
|
|
657
657
|
};
|
|
658
658
|
const deserializeAws_json1_1DescribeRepositoriesCommand = async (output, context) => {
|
|
@@ -694,7 +694,7 @@ const deserializeAws_json1_1DescribeRepositoriesCommandError = async (output, co
|
|
|
694
694
|
$fault: "client",
|
|
695
695
|
$metadata: deserializeMetadata(output),
|
|
696
696
|
});
|
|
697
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
697
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
698
698
|
}
|
|
699
699
|
};
|
|
700
700
|
const deserializeAws_json1_1GetAuthorizationTokenCommand = async (output, context) => {
|
|
@@ -733,7 +733,7 @@ const deserializeAws_json1_1GetAuthorizationTokenCommandError = async (output, c
|
|
|
733
733
|
$fault: "client",
|
|
734
734
|
$metadata: deserializeMetadata(output),
|
|
735
735
|
});
|
|
736
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
736
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
737
737
|
}
|
|
738
738
|
};
|
|
739
739
|
const deserializeAws_json1_1GetRegistryCatalogDataCommand = async (output, context) => {
|
|
@@ -772,7 +772,7 @@ const deserializeAws_json1_1GetRegistryCatalogDataCommandError = async (output,
|
|
|
772
772
|
$fault: "client",
|
|
773
773
|
$metadata: deserializeMetadata(output),
|
|
774
774
|
});
|
|
775
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
775
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
776
776
|
}
|
|
777
777
|
};
|
|
778
778
|
const deserializeAws_json1_1GetRepositoryCatalogDataCommand = async (output, context) => {
|
|
@@ -814,7 +814,7 @@ const deserializeAws_json1_1GetRepositoryCatalogDataCommandError = async (output
|
|
|
814
814
|
$fault: "client",
|
|
815
815
|
$metadata: deserializeMetadata(output),
|
|
816
816
|
});
|
|
817
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
817
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
818
818
|
}
|
|
819
819
|
};
|
|
820
820
|
const deserializeAws_json1_1GetRepositoryPolicyCommand = async (output, context) => {
|
|
@@ -859,7 +859,7 @@ const deserializeAws_json1_1GetRepositoryPolicyCommandError = async (output, con
|
|
|
859
859
|
$fault: "client",
|
|
860
860
|
$metadata: deserializeMetadata(output),
|
|
861
861
|
});
|
|
862
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
862
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
863
863
|
}
|
|
864
864
|
};
|
|
865
865
|
const deserializeAws_json1_1InitiateLayerUploadCommand = async (output, context) => {
|
|
@@ -907,7 +907,7 @@ const deserializeAws_json1_1InitiateLayerUploadCommandError = async (output, con
|
|
|
907
907
|
$fault: "client",
|
|
908
908
|
$metadata: deserializeMetadata(output),
|
|
909
909
|
});
|
|
910
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
910
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
911
911
|
}
|
|
912
912
|
};
|
|
913
913
|
const deserializeAws_json1_1ListTagsForResourceCommand = async (output, context) => {
|
|
@@ -949,7 +949,7 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
|
|
|
949
949
|
$fault: "client",
|
|
950
950
|
$metadata: deserializeMetadata(output),
|
|
951
951
|
});
|
|
952
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
952
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
953
953
|
}
|
|
954
954
|
};
|
|
955
955
|
const deserializeAws_json1_1PutImageCommand = async (output, context) => {
|
|
@@ -1015,7 +1015,7 @@ const deserializeAws_json1_1PutImageCommandError = async (output, context) => {
|
|
|
1015
1015
|
$fault: "client",
|
|
1016
1016
|
$metadata: deserializeMetadata(output),
|
|
1017
1017
|
});
|
|
1018
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1018
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1019
1019
|
}
|
|
1020
1020
|
};
|
|
1021
1021
|
const deserializeAws_json1_1PutRegistryCatalogDataCommand = async (output, context) => {
|
|
@@ -1057,7 +1057,7 @@ const deserializeAws_json1_1PutRegistryCatalogDataCommandError = async (output,
|
|
|
1057
1057
|
$fault: "client",
|
|
1058
1058
|
$metadata: deserializeMetadata(output),
|
|
1059
1059
|
});
|
|
1060
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1060
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1061
1061
|
}
|
|
1062
1062
|
};
|
|
1063
1063
|
const deserializeAws_json1_1PutRepositoryCatalogDataCommand = async (output, context) => {
|
|
@@ -1099,7 +1099,7 @@ const deserializeAws_json1_1PutRepositoryCatalogDataCommandError = async (output
|
|
|
1099
1099
|
$fault: "client",
|
|
1100
1100
|
$metadata: deserializeMetadata(output),
|
|
1101
1101
|
});
|
|
1102
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1102
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1103
1103
|
}
|
|
1104
1104
|
};
|
|
1105
1105
|
const deserializeAws_json1_1SetRepositoryPolicyCommand = async (output, context) => {
|
|
@@ -1141,7 +1141,7 @@ const deserializeAws_json1_1SetRepositoryPolicyCommandError = async (output, con
|
|
|
1141
1141
|
$fault: "client",
|
|
1142
1142
|
$metadata: deserializeMetadata(output),
|
|
1143
1143
|
});
|
|
1144
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1144
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1145
1145
|
}
|
|
1146
1146
|
};
|
|
1147
1147
|
const deserializeAws_json1_1TagResourceCommand = async (output, context) => {
|
|
@@ -1189,7 +1189,7 @@ const deserializeAws_json1_1TagResourceCommandError = async (output, context) =>
|
|
|
1189
1189
|
$fault: "client",
|
|
1190
1190
|
$metadata: deserializeMetadata(output),
|
|
1191
1191
|
});
|
|
1192
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1192
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1193
1193
|
}
|
|
1194
1194
|
};
|
|
1195
1195
|
const deserializeAws_json1_1UntagResourceCommand = async (output, context) => {
|
|
@@ -1237,7 +1237,7 @@ const deserializeAws_json1_1UntagResourceCommandError = async (output, context)
|
|
|
1237
1237
|
$fault: "client",
|
|
1238
1238
|
$metadata: deserializeMetadata(output),
|
|
1239
1239
|
});
|
|
1240
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1240
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1241
1241
|
}
|
|
1242
1242
|
};
|
|
1243
1243
|
const deserializeAws_json1_1UploadLayerPartCommand = async (output, context) => {
|
|
@@ -1294,7 +1294,7 @@ const deserializeAws_json1_1UploadLayerPartCommandError = async (output, context
|
|
|
1294
1294
|
$fault: "client",
|
|
1295
1295
|
$metadata: deserializeMetadata(output),
|
|
1296
1296
|
});
|
|
1297
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1297
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1298
1298
|
}
|
|
1299
1299
|
};
|
|
1300
1300
|
const deserializeAws_json1_1EmptyUploadExceptionResponse = async (parsedOutput, context) => {
|
|
@@ -1304,7 +1304,7 @@ const deserializeAws_json1_1EmptyUploadExceptionResponse = async (parsedOutput,
|
|
|
1304
1304
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1305
1305
|
...deserialized,
|
|
1306
1306
|
});
|
|
1307
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1307
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1308
1308
|
};
|
|
1309
1309
|
const deserializeAws_json1_1ImageAlreadyExistsExceptionResponse = async (parsedOutput, context) => {
|
|
1310
1310
|
const body = parsedOutput.body;
|
|
@@ -1313,7 +1313,7 @@ const deserializeAws_json1_1ImageAlreadyExistsExceptionResponse = async (parsedO
|
|
|
1313
1313
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1314
1314
|
...deserialized,
|
|
1315
1315
|
});
|
|
1316
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1316
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1317
1317
|
};
|
|
1318
1318
|
const deserializeAws_json1_1ImageDigestDoesNotMatchExceptionResponse = async (parsedOutput, context) => {
|
|
1319
1319
|
const body = parsedOutput.body;
|
|
@@ -1322,7 +1322,7 @@ const deserializeAws_json1_1ImageDigestDoesNotMatchExceptionResponse = async (pa
|
|
|
1322
1322
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1323
1323
|
...deserialized,
|
|
1324
1324
|
});
|
|
1325
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1325
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1326
1326
|
};
|
|
1327
1327
|
const deserializeAws_json1_1ImageNotFoundExceptionResponse = async (parsedOutput, context) => {
|
|
1328
1328
|
const body = parsedOutput.body;
|
|
@@ -1331,7 +1331,7 @@ const deserializeAws_json1_1ImageNotFoundExceptionResponse = async (parsedOutput
|
|
|
1331
1331
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1332
1332
|
...deserialized,
|
|
1333
1333
|
});
|
|
1334
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1334
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1335
1335
|
};
|
|
1336
1336
|
const deserializeAws_json1_1ImageTagAlreadyExistsExceptionResponse = async (parsedOutput, context) => {
|
|
1337
1337
|
const body = parsedOutput.body;
|
|
@@ -1340,7 +1340,7 @@ const deserializeAws_json1_1ImageTagAlreadyExistsExceptionResponse = async (pars
|
|
|
1340
1340
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1341
1341
|
...deserialized,
|
|
1342
1342
|
});
|
|
1343
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1343
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1344
1344
|
};
|
|
1345
1345
|
const deserializeAws_json1_1InvalidLayerExceptionResponse = async (parsedOutput, context) => {
|
|
1346
1346
|
const body = parsedOutput.body;
|
|
@@ -1349,7 +1349,7 @@ const deserializeAws_json1_1InvalidLayerExceptionResponse = async (parsedOutput,
|
|
|
1349
1349
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1350
1350
|
...deserialized,
|
|
1351
1351
|
});
|
|
1352
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1352
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1353
1353
|
};
|
|
1354
1354
|
const deserializeAws_json1_1InvalidLayerPartExceptionResponse = async (parsedOutput, context) => {
|
|
1355
1355
|
const body = parsedOutput.body;
|
|
@@ -1358,7 +1358,7 @@ const deserializeAws_json1_1InvalidLayerPartExceptionResponse = async (parsedOut
|
|
|
1358
1358
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1359
1359
|
...deserialized,
|
|
1360
1360
|
});
|
|
1361
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1361
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1362
1362
|
};
|
|
1363
1363
|
const deserializeAws_json1_1InvalidParameterExceptionResponse = async (parsedOutput, context) => {
|
|
1364
1364
|
const body = parsedOutput.body;
|
|
@@ -1367,7 +1367,7 @@ const deserializeAws_json1_1InvalidParameterExceptionResponse = async (parsedOut
|
|
|
1367
1367
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1368
1368
|
...deserialized,
|
|
1369
1369
|
});
|
|
1370
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1370
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1371
1371
|
};
|
|
1372
1372
|
const deserializeAws_json1_1InvalidTagParameterExceptionResponse = async (parsedOutput, context) => {
|
|
1373
1373
|
const body = parsedOutput.body;
|
|
@@ -1376,7 +1376,7 @@ const deserializeAws_json1_1InvalidTagParameterExceptionResponse = async (parsed
|
|
|
1376
1376
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1377
1377
|
...deserialized,
|
|
1378
1378
|
});
|
|
1379
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1379
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1380
1380
|
};
|
|
1381
1381
|
const deserializeAws_json1_1LayerAlreadyExistsExceptionResponse = async (parsedOutput, context) => {
|
|
1382
1382
|
const body = parsedOutput.body;
|
|
@@ -1385,7 +1385,7 @@ const deserializeAws_json1_1LayerAlreadyExistsExceptionResponse = async (parsedO
|
|
|
1385
1385
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1386
1386
|
...deserialized,
|
|
1387
1387
|
});
|
|
1388
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1388
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1389
1389
|
};
|
|
1390
1390
|
const deserializeAws_json1_1LayerPartTooSmallExceptionResponse = async (parsedOutput, context) => {
|
|
1391
1391
|
const body = parsedOutput.body;
|
|
@@ -1394,7 +1394,7 @@ const deserializeAws_json1_1LayerPartTooSmallExceptionResponse = async (parsedOu
|
|
|
1394
1394
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1395
1395
|
...deserialized,
|
|
1396
1396
|
});
|
|
1397
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1397
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1398
1398
|
};
|
|
1399
1399
|
const deserializeAws_json1_1LayersNotFoundExceptionResponse = async (parsedOutput, context) => {
|
|
1400
1400
|
const body = parsedOutput.body;
|
|
@@ -1403,7 +1403,7 @@ const deserializeAws_json1_1LayersNotFoundExceptionResponse = async (parsedOutpu
|
|
|
1403
1403
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1404
1404
|
...deserialized,
|
|
1405
1405
|
});
|
|
1406
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1406
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1407
1407
|
};
|
|
1408
1408
|
const deserializeAws_json1_1LimitExceededExceptionResponse = async (parsedOutput, context) => {
|
|
1409
1409
|
const body = parsedOutput.body;
|
|
@@ -1412,7 +1412,7 @@ const deserializeAws_json1_1LimitExceededExceptionResponse = async (parsedOutput
|
|
|
1412
1412
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1413
1413
|
...deserialized,
|
|
1414
1414
|
});
|
|
1415
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1415
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1416
1416
|
};
|
|
1417
1417
|
const deserializeAws_json1_1ReferencedImagesNotFoundExceptionResponse = async (parsedOutput, context) => {
|
|
1418
1418
|
const body = parsedOutput.body;
|
|
@@ -1421,7 +1421,7 @@ const deserializeAws_json1_1ReferencedImagesNotFoundExceptionResponse = async (p
|
|
|
1421
1421
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1422
1422
|
...deserialized,
|
|
1423
1423
|
});
|
|
1424
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1424
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1425
1425
|
};
|
|
1426
1426
|
const deserializeAws_json1_1RegistryNotFoundExceptionResponse = async (parsedOutput, context) => {
|
|
1427
1427
|
const body = parsedOutput.body;
|
|
@@ -1430,7 +1430,7 @@ const deserializeAws_json1_1RegistryNotFoundExceptionResponse = async (parsedOut
|
|
|
1430
1430
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1431
1431
|
...deserialized,
|
|
1432
1432
|
});
|
|
1433
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1433
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1434
1434
|
};
|
|
1435
1435
|
const deserializeAws_json1_1RepositoryAlreadyExistsExceptionResponse = async (parsedOutput, context) => {
|
|
1436
1436
|
const body = parsedOutput.body;
|
|
@@ -1439,7 +1439,7 @@ const deserializeAws_json1_1RepositoryAlreadyExistsExceptionResponse = async (pa
|
|
|
1439
1439
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1440
1440
|
...deserialized,
|
|
1441
1441
|
});
|
|
1442
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1442
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1443
1443
|
};
|
|
1444
1444
|
const deserializeAws_json1_1RepositoryNotEmptyExceptionResponse = async (parsedOutput, context) => {
|
|
1445
1445
|
const body = parsedOutput.body;
|
|
@@ -1448,7 +1448,7 @@ const deserializeAws_json1_1RepositoryNotEmptyExceptionResponse = async (parsedO
|
|
|
1448
1448
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1449
1449
|
...deserialized,
|
|
1450
1450
|
});
|
|
1451
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1451
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1452
1452
|
};
|
|
1453
1453
|
const deserializeAws_json1_1RepositoryNotFoundExceptionResponse = async (parsedOutput, context) => {
|
|
1454
1454
|
const body = parsedOutput.body;
|
|
@@ -1457,7 +1457,7 @@ const deserializeAws_json1_1RepositoryNotFoundExceptionResponse = async (parsedO
|
|
|
1457
1457
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1458
1458
|
...deserialized,
|
|
1459
1459
|
});
|
|
1460
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1460
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1461
1461
|
};
|
|
1462
1462
|
const deserializeAws_json1_1RepositoryPolicyNotFoundExceptionResponse = async (parsedOutput, context) => {
|
|
1463
1463
|
const body = parsedOutput.body;
|
|
@@ -1466,7 +1466,7 @@ const deserializeAws_json1_1RepositoryPolicyNotFoundExceptionResponse = async (p
|
|
|
1466
1466
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1467
1467
|
...deserialized,
|
|
1468
1468
|
});
|
|
1469
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1469
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1470
1470
|
};
|
|
1471
1471
|
const deserializeAws_json1_1ServerExceptionResponse = async (parsedOutput, context) => {
|
|
1472
1472
|
const body = parsedOutput.body;
|
|
@@ -1475,7 +1475,7 @@ const deserializeAws_json1_1ServerExceptionResponse = async (parsedOutput, conte
|
|
|
1475
1475
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1476
1476
|
...deserialized,
|
|
1477
1477
|
});
|
|
1478
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1478
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1479
1479
|
};
|
|
1480
1480
|
const deserializeAws_json1_1TooManyTagsExceptionResponse = async (parsedOutput, context) => {
|
|
1481
1481
|
const body = parsedOutput.body;
|
|
@@ -1484,7 +1484,7 @@ const deserializeAws_json1_1TooManyTagsExceptionResponse = async (parsedOutput,
|
|
|
1484
1484
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1485
1485
|
...deserialized,
|
|
1486
1486
|
});
|
|
1487
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1487
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1488
1488
|
};
|
|
1489
1489
|
const deserializeAws_json1_1UnsupportedCommandExceptionResponse = async (parsedOutput, context) => {
|
|
1490
1490
|
const body = parsedOutput.body;
|
|
@@ -1493,7 +1493,7 @@ const deserializeAws_json1_1UnsupportedCommandExceptionResponse = async (parsedO
|
|
|
1493
1493
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1494
1494
|
...deserialized,
|
|
1495
1495
|
});
|
|
1496
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1496
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1497
1497
|
};
|
|
1498
1498
|
const deserializeAws_json1_1UploadNotFoundExceptionResponse = async (parsedOutput, context) => {
|
|
1499
1499
|
const body = parsedOutput.body;
|
|
@@ -1502,7 +1502,7 @@ const deserializeAws_json1_1UploadNotFoundExceptionResponse = async (parsedOutpu
|
|
|
1502
1502
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1503
1503
|
...deserialized,
|
|
1504
1504
|
});
|
|
1505
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
1505
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1506
1506
|
};
|
|
1507
1507
|
const serializeAws_json1_1ArchitectureList = (input, context) => {
|
|
1508
1508
|
return input
|
|
@@ -1809,15 +1809,15 @@ const deserializeAws_json1_1ArchitectureList = (output, context) => {
|
|
|
1809
1809
|
if (entry === null) {
|
|
1810
1810
|
return null;
|
|
1811
1811
|
}
|
|
1812
|
-
return smithy_client_1.expectString(entry);
|
|
1812
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
1813
1813
|
});
|
|
1814
1814
|
return retVal;
|
|
1815
1815
|
};
|
|
1816
1816
|
const deserializeAws_json1_1AuthorizationData = (output, context) => {
|
|
1817
1817
|
return {
|
|
1818
|
-
authorizationToken: smithy_client_1.expectString(output.authorizationToken),
|
|
1818
|
+
authorizationToken: (0, smithy_client_1.expectString)(output.authorizationToken),
|
|
1819
1819
|
expiresAt: output.expiresAt !== undefined && output.expiresAt !== null
|
|
1820
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.expiresAt)))
|
|
1820
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.expiresAt)))
|
|
1821
1821
|
: undefined,
|
|
1822
1822
|
};
|
|
1823
1823
|
};
|
|
@@ -1843,10 +1843,10 @@ const deserializeAws_json1_1BatchDeleteImageResponse = (output, context) => {
|
|
|
1843
1843
|
};
|
|
1844
1844
|
const deserializeAws_json1_1CompleteLayerUploadResponse = (output, context) => {
|
|
1845
1845
|
return {
|
|
1846
|
-
layerDigest: smithy_client_1.expectString(output.layerDigest),
|
|
1847
|
-
registryId: smithy_client_1.expectString(output.registryId),
|
|
1848
|
-
repositoryName: smithy_client_1.expectString(output.repositoryName),
|
|
1849
|
-
uploadId: smithy_client_1.expectString(output.uploadId),
|
|
1846
|
+
layerDigest: (0, smithy_client_1.expectString)(output.layerDigest),
|
|
1847
|
+
registryId: (0, smithy_client_1.expectString)(output.registryId),
|
|
1848
|
+
repositoryName: (0, smithy_client_1.expectString)(output.repositoryName),
|
|
1849
|
+
uploadId: (0, smithy_client_1.expectString)(output.uploadId),
|
|
1850
1850
|
};
|
|
1851
1851
|
};
|
|
1852
1852
|
const deserializeAws_json1_1CreateRepositoryResponse = (output, context) => {
|
|
@@ -1861,9 +1861,9 @@ const deserializeAws_json1_1CreateRepositoryResponse = (output, context) => {
|
|
|
1861
1861
|
};
|
|
1862
1862
|
const deserializeAws_json1_1DeleteRepositoryPolicyResponse = (output, context) => {
|
|
1863
1863
|
return {
|
|
1864
|
-
policyText: smithy_client_1.expectString(output.policyText),
|
|
1865
|
-
registryId: smithy_client_1.expectString(output.registryId),
|
|
1866
|
-
repositoryName: smithy_client_1.expectString(output.repositoryName),
|
|
1864
|
+
policyText: (0, smithy_client_1.expectString)(output.policyText),
|
|
1865
|
+
registryId: (0, smithy_client_1.expectString)(output.registryId),
|
|
1866
|
+
repositoryName: (0, smithy_client_1.expectString)(output.repositoryName),
|
|
1867
1867
|
};
|
|
1868
1868
|
};
|
|
1869
1869
|
const deserializeAws_json1_1DeleteRepositoryResponse = (output, context) => {
|
|
@@ -1878,7 +1878,7 @@ const deserializeAws_json1_1DescribeImagesResponse = (output, context) => {
|
|
|
1878
1878
|
imageDetails: output.imageDetails !== undefined && output.imageDetails !== null
|
|
1879
1879
|
? deserializeAws_json1_1ImageDetailList(output.imageDetails, context)
|
|
1880
1880
|
: undefined,
|
|
1881
|
-
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
1881
|
+
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
1882
1882
|
};
|
|
1883
1883
|
};
|
|
1884
1884
|
const deserializeAws_json1_1DescribeImageTagsResponse = (output, context) => {
|
|
@@ -1886,12 +1886,12 @@ const deserializeAws_json1_1DescribeImageTagsResponse = (output, context) => {
|
|
|
1886
1886
|
imageTagDetails: output.imageTagDetails !== undefined && output.imageTagDetails !== null
|
|
1887
1887
|
? deserializeAws_json1_1ImageTagDetailList(output.imageTagDetails, context)
|
|
1888
1888
|
: undefined,
|
|
1889
|
-
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
1889
|
+
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
1890
1890
|
};
|
|
1891
1891
|
};
|
|
1892
1892
|
const deserializeAws_json1_1DescribeRegistriesResponse = (output, context) => {
|
|
1893
1893
|
return {
|
|
1894
|
-
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
1894
|
+
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
1895
1895
|
registries: output.registries !== undefined && output.registries !== null
|
|
1896
1896
|
? deserializeAws_json1_1RegistryList(output.registries, context)
|
|
1897
1897
|
: undefined,
|
|
@@ -1899,7 +1899,7 @@ const deserializeAws_json1_1DescribeRegistriesResponse = (output, context) => {
|
|
|
1899
1899
|
};
|
|
1900
1900
|
const deserializeAws_json1_1DescribeRepositoriesResponse = (output, context) => {
|
|
1901
1901
|
return {
|
|
1902
|
-
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
1902
|
+
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
1903
1903
|
repositories: output.repositories !== undefined && output.repositories !== null
|
|
1904
1904
|
? deserializeAws_json1_1RepositoryList(output.repositories, context)
|
|
1905
1905
|
: undefined,
|
|
@@ -1907,7 +1907,7 @@ const deserializeAws_json1_1DescribeRepositoriesResponse = (output, context) =>
|
|
|
1907
1907
|
};
|
|
1908
1908
|
const deserializeAws_json1_1EmptyUploadException = (output, context) => {
|
|
1909
1909
|
return {
|
|
1910
|
-
message: smithy_client_1.expectString(output.message),
|
|
1910
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
1911
1911
|
};
|
|
1912
1912
|
};
|
|
1913
1913
|
const deserializeAws_json1_1GetAuthorizationTokenResponse = (output, context) => {
|
|
@@ -1933,9 +1933,9 @@ const deserializeAws_json1_1GetRepositoryCatalogDataResponse = (output, context)
|
|
|
1933
1933
|
};
|
|
1934
1934
|
const deserializeAws_json1_1GetRepositoryPolicyResponse = (output, context) => {
|
|
1935
1935
|
return {
|
|
1936
|
-
policyText: smithy_client_1.expectString(output.policyText),
|
|
1937
|
-
registryId: smithy_client_1.expectString(output.registryId),
|
|
1938
|
-
repositoryName: smithy_client_1.expectString(output.repositoryName),
|
|
1936
|
+
policyText: (0, smithy_client_1.expectString)(output.policyText),
|
|
1937
|
+
registryId: (0, smithy_client_1.expectString)(output.registryId),
|
|
1938
|
+
repositoryName: (0, smithy_client_1.expectString)(output.repositoryName),
|
|
1939
1939
|
};
|
|
1940
1940
|
};
|
|
1941
1941
|
const deserializeAws_json1_1Image = (output, context) => {
|
|
@@ -1943,31 +1943,31 @@ const deserializeAws_json1_1Image = (output, context) => {
|
|
|
1943
1943
|
imageId: output.imageId !== undefined && output.imageId !== null
|
|
1944
1944
|
? deserializeAws_json1_1ImageIdentifier(output.imageId, context)
|
|
1945
1945
|
: undefined,
|
|
1946
|
-
imageManifest: smithy_client_1.expectString(output.imageManifest),
|
|
1947
|
-
imageManifestMediaType: smithy_client_1.expectString(output.imageManifestMediaType),
|
|
1948
|
-
registryId: smithy_client_1.expectString(output.registryId),
|
|
1949
|
-
repositoryName: smithy_client_1.expectString(output.repositoryName),
|
|
1946
|
+
imageManifest: (0, smithy_client_1.expectString)(output.imageManifest),
|
|
1947
|
+
imageManifestMediaType: (0, smithy_client_1.expectString)(output.imageManifestMediaType),
|
|
1948
|
+
registryId: (0, smithy_client_1.expectString)(output.registryId),
|
|
1949
|
+
repositoryName: (0, smithy_client_1.expectString)(output.repositoryName),
|
|
1950
1950
|
};
|
|
1951
1951
|
};
|
|
1952
1952
|
const deserializeAws_json1_1ImageAlreadyExistsException = (output, context) => {
|
|
1953
1953
|
return {
|
|
1954
|
-
message: smithy_client_1.expectString(output.message),
|
|
1954
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
1955
1955
|
};
|
|
1956
1956
|
};
|
|
1957
1957
|
const deserializeAws_json1_1ImageDetail = (output, context) => {
|
|
1958
1958
|
return {
|
|
1959
|
-
artifactMediaType: smithy_client_1.expectString(output.artifactMediaType),
|
|
1960
|
-
imageDigest: smithy_client_1.expectString(output.imageDigest),
|
|
1961
|
-
imageManifestMediaType: smithy_client_1.expectString(output.imageManifestMediaType),
|
|
1959
|
+
artifactMediaType: (0, smithy_client_1.expectString)(output.artifactMediaType),
|
|
1960
|
+
imageDigest: (0, smithy_client_1.expectString)(output.imageDigest),
|
|
1961
|
+
imageManifestMediaType: (0, smithy_client_1.expectString)(output.imageManifestMediaType),
|
|
1962
1962
|
imagePushedAt: output.imagePushedAt !== undefined && output.imagePushedAt !== null
|
|
1963
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.imagePushedAt)))
|
|
1963
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.imagePushedAt)))
|
|
1964
1964
|
: undefined,
|
|
1965
|
-
imageSizeInBytes: smithy_client_1.expectLong(output.imageSizeInBytes),
|
|
1965
|
+
imageSizeInBytes: (0, smithy_client_1.expectLong)(output.imageSizeInBytes),
|
|
1966
1966
|
imageTags: output.imageTags !== undefined && output.imageTags !== null
|
|
1967
1967
|
? deserializeAws_json1_1ImageTagList(output.imageTags, context)
|
|
1968
1968
|
: undefined,
|
|
1969
|
-
registryId: smithy_client_1.expectString(output.registryId),
|
|
1970
|
-
repositoryName: smithy_client_1.expectString(output.repositoryName),
|
|
1969
|
+
registryId: (0, smithy_client_1.expectString)(output.registryId),
|
|
1970
|
+
repositoryName: (0, smithy_client_1.expectString)(output.repositoryName),
|
|
1971
1971
|
};
|
|
1972
1972
|
};
|
|
1973
1973
|
const deserializeAws_json1_1ImageDetailList = (output, context) => {
|
|
@@ -1983,13 +1983,13 @@ const deserializeAws_json1_1ImageDetailList = (output, context) => {
|
|
|
1983
1983
|
};
|
|
1984
1984
|
const deserializeAws_json1_1ImageDigestDoesNotMatchException = (output, context) => {
|
|
1985
1985
|
return {
|
|
1986
|
-
message: smithy_client_1.expectString(output.message),
|
|
1986
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
1987
1987
|
};
|
|
1988
1988
|
};
|
|
1989
1989
|
const deserializeAws_json1_1ImageFailure = (output, context) => {
|
|
1990
1990
|
return {
|
|
1991
|
-
failureCode: smithy_client_1.expectString(output.failureCode),
|
|
1992
|
-
failureReason: smithy_client_1.expectString(output.failureReason),
|
|
1991
|
+
failureCode: (0, smithy_client_1.expectString)(output.failureCode),
|
|
1992
|
+
failureReason: (0, smithy_client_1.expectString)(output.failureReason),
|
|
1993
1993
|
imageId: output.imageId !== undefined && output.imageId !== null
|
|
1994
1994
|
? deserializeAws_json1_1ImageIdentifier(output.imageId, context)
|
|
1995
1995
|
: undefined,
|
|
@@ -2008,8 +2008,8 @@ const deserializeAws_json1_1ImageFailureList = (output, context) => {
|
|
|
2008
2008
|
};
|
|
2009
2009
|
const deserializeAws_json1_1ImageIdentifier = (output, context) => {
|
|
2010
2010
|
return {
|
|
2011
|
-
imageDigest: smithy_client_1.expectString(output.imageDigest),
|
|
2012
|
-
imageTag: smithy_client_1.expectString(output.imageTag),
|
|
2011
|
+
imageDigest: (0, smithy_client_1.expectString)(output.imageDigest),
|
|
2012
|
+
imageTag: (0, smithy_client_1.expectString)(output.imageTag),
|
|
2013
2013
|
};
|
|
2014
2014
|
};
|
|
2015
2015
|
const deserializeAws_json1_1ImageIdentifierList = (output, context) => {
|
|
@@ -2025,23 +2025,23 @@ const deserializeAws_json1_1ImageIdentifierList = (output, context) => {
|
|
|
2025
2025
|
};
|
|
2026
2026
|
const deserializeAws_json1_1ImageNotFoundException = (output, context) => {
|
|
2027
2027
|
return {
|
|
2028
|
-
message: smithy_client_1.expectString(output.message),
|
|
2028
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
2029
2029
|
};
|
|
2030
2030
|
};
|
|
2031
2031
|
const deserializeAws_json1_1ImageTagAlreadyExistsException = (output, context) => {
|
|
2032
2032
|
return {
|
|
2033
|
-
message: smithy_client_1.expectString(output.message),
|
|
2033
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
2034
2034
|
};
|
|
2035
2035
|
};
|
|
2036
2036
|
const deserializeAws_json1_1ImageTagDetail = (output, context) => {
|
|
2037
2037
|
return {
|
|
2038
2038
|
createdAt: output.createdAt !== undefined && output.createdAt !== null
|
|
2039
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt)))
|
|
2039
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
|
|
2040
2040
|
: undefined,
|
|
2041
2041
|
imageDetail: output.imageDetail !== undefined && output.imageDetail !== null
|
|
2042
2042
|
? deserializeAws_json1_1ReferencedImageDetail(output.imageDetail, context)
|
|
2043
2043
|
: undefined,
|
|
2044
|
-
imageTag: smithy_client_1.expectString(output.imageTag),
|
|
2044
|
+
imageTag: (0, smithy_client_1.expectString)(output.imageTag),
|
|
2045
2045
|
};
|
|
2046
2046
|
};
|
|
2047
2047
|
const deserializeAws_json1_1ImageTagDetailList = (output, context) => {
|
|
@@ -2062,58 +2062,58 @@ const deserializeAws_json1_1ImageTagList = (output, context) => {
|
|
|
2062
2062
|
if (entry === null) {
|
|
2063
2063
|
return null;
|
|
2064
2064
|
}
|
|
2065
|
-
return smithy_client_1.expectString(entry);
|
|
2065
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
2066
2066
|
});
|
|
2067
2067
|
return retVal;
|
|
2068
2068
|
};
|
|
2069
2069
|
const deserializeAws_json1_1InitiateLayerUploadResponse = (output, context) => {
|
|
2070
2070
|
return {
|
|
2071
|
-
partSize: smithy_client_1.expectLong(output.partSize),
|
|
2072
|
-
uploadId: smithy_client_1.expectString(output.uploadId),
|
|
2071
|
+
partSize: (0, smithy_client_1.expectLong)(output.partSize),
|
|
2072
|
+
uploadId: (0, smithy_client_1.expectString)(output.uploadId),
|
|
2073
2073
|
};
|
|
2074
2074
|
};
|
|
2075
2075
|
const deserializeAws_json1_1InvalidLayerException = (output, context) => {
|
|
2076
2076
|
return {
|
|
2077
|
-
message: smithy_client_1.expectString(output.message),
|
|
2077
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
2078
2078
|
};
|
|
2079
2079
|
};
|
|
2080
2080
|
const deserializeAws_json1_1InvalidLayerPartException = (output, context) => {
|
|
2081
2081
|
return {
|
|
2082
|
-
lastValidByteReceived: smithy_client_1.expectLong(output.lastValidByteReceived),
|
|
2083
|
-
message: smithy_client_1.expectString(output.message),
|
|
2084
|
-
registryId: smithy_client_1.expectString(output.registryId),
|
|
2085
|
-
repositoryName: smithy_client_1.expectString(output.repositoryName),
|
|
2086
|
-
uploadId: smithy_client_1.expectString(output.uploadId),
|
|
2082
|
+
lastValidByteReceived: (0, smithy_client_1.expectLong)(output.lastValidByteReceived),
|
|
2083
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
2084
|
+
registryId: (0, smithy_client_1.expectString)(output.registryId),
|
|
2085
|
+
repositoryName: (0, smithy_client_1.expectString)(output.repositoryName),
|
|
2086
|
+
uploadId: (0, smithy_client_1.expectString)(output.uploadId),
|
|
2087
2087
|
};
|
|
2088
2088
|
};
|
|
2089
2089
|
const deserializeAws_json1_1InvalidParameterException = (output, context) => {
|
|
2090
2090
|
return {
|
|
2091
|
-
message: smithy_client_1.expectString(output.message),
|
|
2091
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
2092
2092
|
};
|
|
2093
2093
|
};
|
|
2094
2094
|
const deserializeAws_json1_1InvalidTagParameterException = (output, context) => {
|
|
2095
2095
|
return {
|
|
2096
|
-
message: smithy_client_1.expectString(output.message),
|
|
2096
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
2097
2097
|
};
|
|
2098
2098
|
};
|
|
2099
2099
|
const deserializeAws_json1_1Layer = (output, context) => {
|
|
2100
2100
|
return {
|
|
2101
|
-
layerAvailability: smithy_client_1.expectString(output.layerAvailability),
|
|
2102
|
-
layerDigest: smithy_client_1.expectString(output.layerDigest),
|
|
2103
|
-
layerSize: smithy_client_1.expectLong(output.layerSize),
|
|
2104
|
-
mediaType: smithy_client_1.expectString(output.mediaType),
|
|
2101
|
+
layerAvailability: (0, smithy_client_1.expectString)(output.layerAvailability),
|
|
2102
|
+
layerDigest: (0, smithy_client_1.expectString)(output.layerDigest),
|
|
2103
|
+
layerSize: (0, smithy_client_1.expectLong)(output.layerSize),
|
|
2104
|
+
mediaType: (0, smithy_client_1.expectString)(output.mediaType),
|
|
2105
2105
|
};
|
|
2106
2106
|
};
|
|
2107
2107
|
const deserializeAws_json1_1LayerAlreadyExistsException = (output, context) => {
|
|
2108
2108
|
return {
|
|
2109
|
-
message: smithy_client_1.expectString(output.message),
|
|
2109
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
2110
2110
|
};
|
|
2111
2111
|
};
|
|
2112
2112
|
const deserializeAws_json1_1LayerFailure = (output, context) => {
|
|
2113
2113
|
return {
|
|
2114
|
-
failureCode: smithy_client_1.expectString(output.failureCode),
|
|
2115
|
-
failureReason: smithy_client_1.expectString(output.failureReason),
|
|
2116
|
-
layerDigest: smithy_client_1.expectString(output.layerDigest),
|
|
2114
|
+
failureCode: (0, smithy_client_1.expectString)(output.failureCode),
|
|
2115
|
+
failureReason: (0, smithy_client_1.expectString)(output.failureReason),
|
|
2116
|
+
layerDigest: (0, smithy_client_1.expectString)(output.layerDigest),
|
|
2117
2117
|
};
|
|
2118
2118
|
};
|
|
2119
2119
|
const deserializeAws_json1_1LayerFailureList = (output, context) => {
|
|
@@ -2140,17 +2140,17 @@ const deserializeAws_json1_1LayerList = (output, context) => {
|
|
|
2140
2140
|
};
|
|
2141
2141
|
const deserializeAws_json1_1LayerPartTooSmallException = (output, context) => {
|
|
2142
2142
|
return {
|
|
2143
|
-
message: smithy_client_1.expectString(output.message),
|
|
2143
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
2144
2144
|
};
|
|
2145
2145
|
};
|
|
2146
2146
|
const deserializeAws_json1_1LayersNotFoundException = (output, context) => {
|
|
2147
2147
|
return {
|
|
2148
|
-
message: smithy_client_1.expectString(output.message),
|
|
2148
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
2149
2149
|
};
|
|
2150
2150
|
};
|
|
2151
2151
|
const deserializeAws_json1_1LimitExceededException = (output, context) => {
|
|
2152
2152
|
return {
|
|
2153
|
-
message: smithy_client_1.expectString(output.message),
|
|
2153
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
2154
2154
|
};
|
|
2155
2155
|
};
|
|
2156
2156
|
const deserializeAws_json1_1ListTagsForResourceResponse = (output, context) => {
|
|
@@ -2167,7 +2167,7 @@ const deserializeAws_json1_1OperatingSystemList = (output, context) => {
|
|
|
2167
2167
|
if (entry === null) {
|
|
2168
2168
|
return null;
|
|
2169
2169
|
}
|
|
2170
|
-
return smithy_client_1.expectString(entry);
|
|
2170
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
2171
2171
|
});
|
|
2172
2172
|
return retVal;
|
|
2173
2173
|
};
|
|
@@ -2194,18 +2194,18 @@ const deserializeAws_json1_1PutRepositoryCatalogDataResponse = (output, context)
|
|
|
2194
2194
|
};
|
|
2195
2195
|
const deserializeAws_json1_1ReferencedImageDetail = (output, context) => {
|
|
2196
2196
|
return {
|
|
2197
|
-
artifactMediaType: smithy_client_1.expectString(output.artifactMediaType),
|
|
2198
|
-
imageDigest: smithy_client_1.expectString(output.imageDigest),
|
|
2199
|
-
imageManifestMediaType: smithy_client_1.expectString(output.imageManifestMediaType),
|
|
2197
|
+
artifactMediaType: (0, smithy_client_1.expectString)(output.artifactMediaType),
|
|
2198
|
+
imageDigest: (0, smithy_client_1.expectString)(output.imageDigest),
|
|
2199
|
+
imageManifestMediaType: (0, smithy_client_1.expectString)(output.imageManifestMediaType),
|
|
2200
2200
|
imagePushedAt: output.imagePushedAt !== undefined && output.imagePushedAt !== null
|
|
2201
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.imagePushedAt)))
|
|
2201
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.imagePushedAt)))
|
|
2202
2202
|
: undefined,
|
|
2203
|
-
imageSizeInBytes: smithy_client_1.expectLong(output.imageSizeInBytes),
|
|
2203
|
+
imageSizeInBytes: (0, smithy_client_1.expectLong)(output.imageSizeInBytes),
|
|
2204
2204
|
};
|
|
2205
2205
|
};
|
|
2206
2206
|
const deserializeAws_json1_1ReferencedImagesNotFoundException = (output, context) => {
|
|
2207
2207
|
return {
|
|
2208
|
-
message: smithy_client_1.expectString(output.message),
|
|
2208
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
2209
2209
|
};
|
|
2210
2210
|
};
|
|
2211
2211
|
const deserializeAws_json1_1Registry = (output, context) => {
|
|
@@ -2213,18 +2213,18 @@ const deserializeAws_json1_1Registry = (output, context) => {
|
|
|
2213
2213
|
aliases: output.aliases !== undefined && output.aliases !== null
|
|
2214
2214
|
? deserializeAws_json1_1RegistryAliasList(output.aliases, context)
|
|
2215
2215
|
: undefined,
|
|
2216
|
-
registryArn: smithy_client_1.expectString(output.registryArn),
|
|
2217
|
-
registryId: smithy_client_1.expectString(output.registryId),
|
|
2218
|
-
registryUri: smithy_client_1.expectString(output.registryUri),
|
|
2219
|
-
verified: smithy_client_1.expectBoolean(output.verified),
|
|
2216
|
+
registryArn: (0, smithy_client_1.expectString)(output.registryArn),
|
|
2217
|
+
registryId: (0, smithy_client_1.expectString)(output.registryId),
|
|
2218
|
+
registryUri: (0, smithy_client_1.expectString)(output.registryUri),
|
|
2219
|
+
verified: (0, smithy_client_1.expectBoolean)(output.verified),
|
|
2220
2220
|
};
|
|
2221
2221
|
};
|
|
2222
2222
|
const deserializeAws_json1_1RegistryAlias = (output, context) => {
|
|
2223
2223
|
return {
|
|
2224
|
-
defaultRegistryAlias: smithy_client_1.expectBoolean(output.defaultRegistryAlias),
|
|
2225
|
-
name: smithy_client_1.expectString(output.name),
|
|
2226
|
-
primaryRegistryAlias: smithy_client_1.expectBoolean(output.primaryRegistryAlias),
|
|
2227
|
-
status: smithy_client_1.expectString(output.status),
|
|
2224
|
+
defaultRegistryAlias: (0, smithy_client_1.expectBoolean)(output.defaultRegistryAlias),
|
|
2225
|
+
name: (0, smithy_client_1.expectString)(output.name),
|
|
2226
|
+
primaryRegistryAlias: (0, smithy_client_1.expectBoolean)(output.primaryRegistryAlias),
|
|
2227
|
+
status: (0, smithy_client_1.expectString)(output.status),
|
|
2228
2228
|
};
|
|
2229
2229
|
};
|
|
2230
2230
|
const deserializeAws_json1_1RegistryAliasList = (output, context) => {
|
|
@@ -2240,7 +2240,7 @@ const deserializeAws_json1_1RegistryAliasList = (output, context) => {
|
|
|
2240
2240
|
};
|
|
2241
2241
|
const deserializeAws_json1_1RegistryCatalogData = (output, context) => {
|
|
2242
2242
|
return {
|
|
2243
|
-
displayName: smithy_client_1.expectString(output.displayName),
|
|
2243
|
+
displayName: (0, smithy_client_1.expectString)(output.displayName),
|
|
2244
2244
|
};
|
|
2245
2245
|
};
|
|
2246
2246
|
const deserializeAws_json1_1RegistryList = (output, context) => {
|
|
@@ -2256,38 +2256,38 @@ const deserializeAws_json1_1RegistryList = (output, context) => {
|
|
|
2256
2256
|
};
|
|
2257
2257
|
const deserializeAws_json1_1RegistryNotFoundException = (output, context) => {
|
|
2258
2258
|
return {
|
|
2259
|
-
message: smithy_client_1.expectString(output.message),
|
|
2259
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
2260
2260
|
};
|
|
2261
2261
|
};
|
|
2262
2262
|
const deserializeAws_json1_1Repository = (output, context) => {
|
|
2263
2263
|
return {
|
|
2264
2264
|
createdAt: output.createdAt !== undefined && output.createdAt !== null
|
|
2265
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt)))
|
|
2265
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
|
|
2266
2266
|
: undefined,
|
|
2267
|
-
registryId: smithy_client_1.expectString(output.registryId),
|
|
2268
|
-
repositoryArn: smithy_client_1.expectString(output.repositoryArn),
|
|
2269
|
-
repositoryName: smithy_client_1.expectString(output.repositoryName),
|
|
2270
|
-
repositoryUri: smithy_client_1.expectString(output.repositoryUri),
|
|
2267
|
+
registryId: (0, smithy_client_1.expectString)(output.registryId),
|
|
2268
|
+
repositoryArn: (0, smithy_client_1.expectString)(output.repositoryArn),
|
|
2269
|
+
repositoryName: (0, smithy_client_1.expectString)(output.repositoryName),
|
|
2270
|
+
repositoryUri: (0, smithy_client_1.expectString)(output.repositoryUri),
|
|
2271
2271
|
};
|
|
2272
2272
|
};
|
|
2273
2273
|
const deserializeAws_json1_1RepositoryAlreadyExistsException = (output, context) => {
|
|
2274
2274
|
return {
|
|
2275
|
-
message: smithy_client_1.expectString(output.message),
|
|
2275
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
2276
2276
|
};
|
|
2277
2277
|
};
|
|
2278
2278
|
const deserializeAws_json1_1RepositoryCatalogData = (output, context) => {
|
|
2279
2279
|
return {
|
|
2280
|
-
aboutText: smithy_client_1.expectString(output.aboutText),
|
|
2280
|
+
aboutText: (0, smithy_client_1.expectString)(output.aboutText),
|
|
2281
2281
|
architectures: output.architectures !== undefined && output.architectures !== null
|
|
2282
2282
|
? deserializeAws_json1_1ArchitectureList(output.architectures, context)
|
|
2283
2283
|
: undefined,
|
|
2284
|
-
description: smithy_client_1.expectString(output.description),
|
|
2285
|
-
logoUrl: smithy_client_1.expectString(output.logoUrl),
|
|
2286
|
-
marketplaceCertified: smithy_client_1.expectBoolean(output.marketplaceCertified),
|
|
2284
|
+
description: (0, smithy_client_1.expectString)(output.description),
|
|
2285
|
+
logoUrl: (0, smithy_client_1.expectString)(output.logoUrl),
|
|
2286
|
+
marketplaceCertified: (0, smithy_client_1.expectBoolean)(output.marketplaceCertified),
|
|
2287
2287
|
operatingSystems: output.operatingSystems !== undefined && output.operatingSystems !== null
|
|
2288
2288
|
? deserializeAws_json1_1OperatingSystemList(output.operatingSystems, context)
|
|
2289
2289
|
: undefined,
|
|
2290
|
-
usageText: smithy_client_1.expectString(output.usageText),
|
|
2290
|
+
usageText: (0, smithy_client_1.expectString)(output.usageText),
|
|
2291
2291
|
};
|
|
2292
2292
|
};
|
|
2293
2293
|
const deserializeAws_json1_1RepositoryList = (output, context) => {
|
|
@@ -2303,35 +2303,35 @@ const deserializeAws_json1_1RepositoryList = (output, context) => {
|
|
|
2303
2303
|
};
|
|
2304
2304
|
const deserializeAws_json1_1RepositoryNotEmptyException = (output, context) => {
|
|
2305
2305
|
return {
|
|
2306
|
-
message: smithy_client_1.expectString(output.message),
|
|
2306
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
2307
2307
|
};
|
|
2308
2308
|
};
|
|
2309
2309
|
const deserializeAws_json1_1RepositoryNotFoundException = (output, context) => {
|
|
2310
2310
|
return {
|
|
2311
|
-
message: smithy_client_1.expectString(output.message),
|
|
2311
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
2312
2312
|
};
|
|
2313
2313
|
};
|
|
2314
2314
|
const deserializeAws_json1_1RepositoryPolicyNotFoundException = (output, context) => {
|
|
2315
2315
|
return {
|
|
2316
|
-
message: smithy_client_1.expectString(output.message),
|
|
2316
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
2317
2317
|
};
|
|
2318
2318
|
};
|
|
2319
2319
|
const deserializeAws_json1_1ServerException = (output, context) => {
|
|
2320
2320
|
return {
|
|
2321
|
-
message: smithy_client_1.expectString(output.message),
|
|
2321
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
2322
2322
|
};
|
|
2323
2323
|
};
|
|
2324
2324
|
const deserializeAws_json1_1SetRepositoryPolicyResponse = (output, context) => {
|
|
2325
2325
|
return {
|
|
2326
|
-
policyText: smithy_client_1.expectString(output.policyText),
|
|
2327
|
-
registryId: smithy_client_1.expectString(output.registryId),
|
|
2328
|
-
repositoryName: smithy_client_1.expectString(output.repositoryName),
|
|
2326
|
+
policyText: (0, smithy_client_1.expectString)(output.policyText),
|
|
2327
|
+
registryId: (0, smithy_client_1.expectString)(output.registryId),
|
|
2328
|
+
repositoryName: (0, smithy_client_1.expectString)(output.repositoryName),
|
|
2329
2329
|
};
|
|
2330
2330
|
};
|
|
2331
2331
|
const deserializeAws_json1_1Tag = (output, context) => {
|
|
2332
2332
|
return {
|
|
2333
|
-
Key: smithy_client_1.expectString(output.Key),
|
|
2334
|
-
Value: smithy_client_1.expectString(output.Value),
|
|
2333
|
+
Key: (0, smithy_client_1.expectString)(output.Key),
|
|
2334
|
+
Value: (0, smithy_client_1.expectString)(output.Value),
|
|
2335
2335
|
};
|
|
2336
2336
|
};
|
|
2337
2337
|
const deserializeAws_json1_1TagList = (output, context) => {
|
|
@@ -2350,12 +2350,12 @@ const deserializeAws_json1_1TagResourceResponse = (output, context) => {
|
|
|
2350
2350
|
};
|
|
2351
2351
|
const deserializeAws_json1_1TooManyTagsException = (output, context) => {
|
|
2352
2352
|
return {
|
|
2353
|
-
message: smithy_client_1.expectString(output.message),
|
|
2353
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
2354
2354
|
};
|
|
2355
2355
|
};
|
|
2356
2356
|
const deserializeAws_json1_1UnsupportedCommandException = (output, context) => {
|
|
2357
2357
|
return {
|
|
2358
|
-
message: smithy_client_1.expectString(output.message),
|
|
2358
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
2359
2359
|
};
|
|
2360
2360
|
};
|
|
2361
2361
|
const deserializeAws_json1_1UntagResourceResponse = (output, context) => {
|
|
@@ -2363,15 +2363,15 @@ const deserializeAws_json1_1UntagResourceResponse = (output, context) => {
|
|
|
2363
2363
|
};
|
|
2364
2364
|
const deserializeAws_json1_1UploadLayerPartResponse = (output, context) => {
|
|
2365
2365
|
return {
|
|
2366
|
-
lastByteReceived: smithy_client_1.expectLong(output.lastByteReceived),
|
|
2367
|
-
registryId: smithy_client_1.expectString(output.registryId),
|
|
2368
|
-
repositoryName: smithy_client_1.expectString(output.repositoryName),
|
|
2369
|
-
uploadId: smithy_client_1.expectString(output.uploadId),
|
|
2366
|
+
lastByteReceived: (0, smithy_client_1.expectLong)(output.lastByteReceived),
|
|
2367
|
+
registryId: (0, smithy_client_1.expectString)(output.registryId),
|
|
2368
|
+
repositoryName: (0, smithy_client_1.expectString)(output.repositoryName),
|
|
2369
|
+
uploadId: (0, smithy_client_1.expectString)(output.uploadId),
|
|
2370
2370
|
};
|
|
2371
2371
|
};
|
|
2372
2372
|
const deserializeAws_json1_1UploadNotFoundException = (output, context) => {
|
|
2373
2373
|
return {
|
|
2374
|
-
message: smithy_client_1.expectString(output.message),
|
|
2374
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
2375
2375
|
};
|
|
2376
2376
|
};
|
|
2377
2377
|
const deserializeMetadata = (output) => {
|