@aws-sdk/client-ecr-public 3.1077.0 → 3.1079.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (77) hide show
  1. package/dist-cjs/index.js +31 -233
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/BatchCheckLayerAvailabilityCommand.js +2 -14
  4. package/dist-es/commands/BatchDeleteImageCommand.js +2 -14
  5. package/dist-es/commands/CompleteLayerUploadCommand.js +2 -14
  6. package/dist-es/commands/CreateRepositoryCommand.js +2 -14
  7. package/dist-es/commands/DeleteRepositoryCommand.js +2 -14
  8. package/dist-es/commands/DeleteRepositoryPolicyCommand.js +2 -14
  9. package/dist-es/commands/DescribeImageTagsCommand.js +2 -14
  10. package/dist-es/commands/DescribeImagesCommand.js +2 -14
  11. package/dist-es/commands/DescribeRegistriesCommand.js +2 -14
  12. package/dist-es/commands/DescribeRepositoriesCommand.js +2 -14
  13. package/dist-es/commands/GetAuthorizationTokenCommand.js +2 -14
  14. package/dist-es/commands/GetRegistryCatalogDataCommand.js +2 -14
  15. package/dist-es/commands/GetRepositoryCatalogDataCommand.js +2 -14
  16. package/dist-es/commands/GetRepositoryPolicyCommand.js +2 -14
  17. package/dist-es/commands/InitiateLayerUploadCommand.js +2 -14
  18. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  19. package/dist-es/commands/PutImageCommand.js +2 -14
  20. package/dist-es/commands/PutRegistryCatalogDataCommand.js +2 -14
  21. package/dist-es/commands/PutRepositoryCatalogDataCommand.js +2 -14
  22. package/dist-es/commands/SetRepositoryPolicyCommand.js +2 -14
  23. package/dist-es/commands/TagResourceCommand.js +2 -14
  24. package/dist-es/commands/UntagResourceCommand.js +2 -14
  25. package/dist-es/commands/UploadLayerPartCommand.js +2 -14
  26. package/dist-es/index.js +1 -0
  27. package/dist-types/commandBuilder.d.ts +18 -0
  28. package/dist-types/commands/BatchCheckLayerAvailabilityCommand.d.ts +3 -8
  29. package/dist-types/commands/BatchDeleteImageCommand.d.ts +3 -8
  30. package/dist-types/commands/CompleteLayerUploadCommand.d.ts +3 -8
  31. package/dist-types/commands/CreateRepositoryCommand.d.ts +3 -8
  32. package/dist-types/commands/DeleteRepositoryCommand.d.ts +3 -8
  33. package/dist-types/commands/DeleteRepositoryPolicyCommand.d.ts +3 -8
  34. package/dist-types/commands/DescribeImageTagsCommand.d.ts +3 -8
  35. package/dist-types/commands/DescribeImagesCommand.d.ts +3 -8
  36. package/dist-types/commands/DescribeRegistriesCommand.d.ts +3 -8
  37. package/dist-types/commands/DescribeRepositoriesCommand.d.ts +3 -8
  38. package/dist-types/commands/GetAuthorizationTokenCommand.d.ts +3 -8
  39. package/dist-types/commands/GetRegistryCatalogDataCommand.d.ts +3 -8
  40. package/dist-types/commands/GetRepositoryCatalogDataCommand.d.ts +3 -8
  41. package/dist-types/commands/GetRepositoryPolicyCommand.d.ts +3 -8
  42. package/dist-types/commands/InitiateLayerUploadCommand.d.ts +3 -8
  43. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  44. package/dist-types/commands/PutImageCommand.d.ts +3 -8
  45. package/dist-types/commands/PutRegistryCatalogDataCommand.d.ts +3 -8
  46. package/dist-types/commands/PutRepositoryCatalogDataCommand.d.ts +3 -8
  47. package/dist-types/commands/SetRepositoryPolicyCommand.d.ts +3 -8
  48. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  49. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  50. package/dist-types/commands/UploadLayerPartCommand.d.ts +3 -8
  51. package/dist-types/index.d.ts +1 -0
  52. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  53. package/dist-types/ts3.4/commands/BatchCheckLayerAvailabilityCommand.d.ts +7 -16
  54. package/dist-types/ts3.4/commands/BatchDeleteImageCommand.d.ts +7 -16
  55. package/dist-types/ts3.4/commands/CompleteLayerUploadCommand.d.ts +7 -16
  56. package/dist-types/ts3.4/commands/CreateRepositoryCommand.d.ts +7 -16
  57. package/dist-types/ts3.4/commands/DeleteRepositoryCommand.d.ts +7 -16
  58. package/dist-types/ts3.4/commands/DeleteRepositoryPolicyCommand.d.ts +7 -16
  59. package/dist-types/ts3.4/commands/DescribeImageTagsCommand.d.ts +7 -16
  60. package/dist-types/ts3.4/commands/DescribeImagesCommand.d.ts +7 -16
  61. package/dist-types/ts3.4/commands/DescribeRegistriesCommand.d.ts +7 -16
  62. package/dist-types/ts3.4/commands/DescribeRepositoriesCommand.d.ts +7 -16
  63. package/dist-types/ts3.4/commands/GetAuthorizationTokenCommand.d.ts +7 -16
  64. package/dist-types/ts3.4/commands/GetRegistryCatalogDataCommand.d.ts +7 -16
  65. package/dist-types/ts3.4/commands/GetRepositoryCatalogDataCommand.d.ts +7 -16
  66. package/dist-types/ts3.4/commands/GetRepositoryPolicyCommand.d.ts +7 -16
  67. package/dist-types/ts3.4/commands/InitiateLayerUploadCommand.d.ts +7 -16
  68. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  69. package/dist-types/ts3.4/commands/PutImageCommand.d.ts +7 -16
  70. package/dist-types/ts3.4/commands/PutRegistryCatalogDataCommand.d.ts +7 -16
  71. package/dist-types/ts3.4/commands/PutRepositoryCatalogDataCommand.d.ts +7 -16
  72. package/dist-types/ts3.4/commands/SetRepositoryPolicyCommand.d.ts +7 -16
  73. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  74. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  75. package/dist-types/ts3.4/commands/UploadLayerPartCommand.d.ts +7 -16
  76. package/dist-types/ts3.4/index.d.ts +1 -0
  77. package/package.json +8 -8
package/dist-cjs/index.js CHANGED
@@ -1,7 +1,8 @@
1
1
  const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
2
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
3
- const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
4
- exports.$Command = Command;
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
4
+ const { Command: $Command } = require("@smithy/core/client");
5
+ exports.$Command = $Command;
5
6
  exports.__Client = Client;
6
7
  const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
8
  const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
@@ -68,7 +69,7 @@ const commonParams = {
68
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
69
70
  };
70
71
 
71
- var version = "3.1076.0";
72
+ var version = "3.1078.0";
72
73
  var packageInfo = {
73
74
  version: version};
74
75
 
@@ -1341,280 +1342,77 @@ class ECRPUBLICClient extends Client {
1341
1342
  }
1342
1343
  }
1343
1344
 
1344
- class BatchCheckLayerAvailabilityCommand extends Command
1345
- .classBuilder()
1346
- .ep(commonParams)
1347
- .m(function (Command, cs, config, o) {
1348
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1349
- })
1350
- .s("SpencerFrontendService", "BatchCheckLayerAvailability", {})
1351
- .n("ECRPUBLICClient", "BatchCheckLayerAvailabilityCommand")
1352
- .sc(BatchCheckLayerAvailability$)
1353
- .build() {
1345
+ const command = makeBuilder(commonParams, "SpencerFrontendService", "ECRPUBLICClient", getEndpointPlugin);
1346
+ const _ep0 = {};
1347
+ const _mw0 = (Command, cs, config, o) => [];
1348
+
1349
+ class BatchCheckLayerAvailabilityCommand extends command(_ep0, _mw0, "BatchCheckLayerAvailability", BatchCheckLayerAvailability$) {
1354
1350
  }
1355
1351
 
1356
- class BatchDeleteImageCommand extends Command
1357
- .classBuilder()
1358
- .ep(commonParams)
1359
- .m(function (Command, cs, config, o) {
1360
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1361
- })
1362
- .s("SpencerFrontendService", "BatchDeleteImage", {})
1363
- .n("ECRPUBLICClient", "BatchDeleteImageCommand")
1364
- .sc(BatchDeleteImage$)
1365
- .build() {
1352
+ class BatchDeleteImageCommand extends command(_ep0, _mw0, "BatchDeleteImage", BatchDeleteImage$) {
1366
1353
  }
1367
1354
 
1368
- class CompleteLayerUploadCommand extends Command
1369
- .classBuilder()
1370
- .ep(commonParams)
1371
- .m(function (Command, cs, config, o) {
1372
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1373
- })
1374
- .s("SpencerFrontendService", "CompleteLayerUpload", {})
1375
- .n("ECRPUBLICClient", "CompleteLayerUploadCommand")
1376
- .sc(CompleteLayerUpload$)
1377
- .build() {
1355
+ class CompleteLayerUploadCommand extends command(_ep0, _mw0, "CompleteLayerUpload", CompleteLayerUpload$) {
1378
1356
  }
1379
1357
 
1380
- class CreateRepositoryCommand extends Command
1381
- .classBuilder()
1382
- .ep(commonParams)
1383
- .m(function (Command, cs, config, o) {
1384
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1385
- })
1386
- .s("SpencerFrontendService", "CreateRepository", {})
1387
- .n("ECRPUBLICClient", "CreateRepositoryCommand")
1388
- .sc(CreateRepository$)
1389
- .build() {
1358
+ class CreateRepositoryCommand extends command(_ep0, _mw0, "CreateRepository", CreateRepository$) {
1390
1359
  }
1391
1360
 
1392
- class DeleteRepositoryCommand extends Command
1393
- .classBuilder()
1394
- .ep(commonParams)
1395
- .m(function (Command, cs, config, o) {
1396
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1397
- })
1398
- .s("SpencerFrontendService", "DeleteRepository", {})
1399
- .n("ECRPUBLICClient", "DeleteRepositoryCommand")
1400
- .sc(DeleteRepository$)
1401
- .build() {
1361
+ class DeleteRepositoryCommand extends command(_ep0, _mw0, "DeleteRepository", DeleteRepository$) {
1402
1362
  }
1403
1363
 
1404
- class DeleteRepositoryPolicyCommand extends Command
1405
- .classBuilder()
1406
- .ep(commonParams)
1407
- .m(function (Command, cs, config, o) {
1408
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1409
- })
1410
- .s("SpencerFrontendService", "DeleteRepositoryPolicy", {})
1411
- .n("ECRPUBLICClient", "DeleteRepositoryPolicyCommand")
1412
- .sc(DeleteRepositoryPolicy$)
1413
- .build() {
1364
+ class DeleteRepositoryPolicyCommand extends command(_ep0, _mw0, "DeleteRepositoryPolicy", DeleteRepositoryPolicy$) {
1414
1365
  }
1415
1366
 
1416
- class DescribeImagesCommand extends Command
1417
- .classBuilder()
1418
- .ep(commonParams)
1419
- .m(function (Command, cs, config, o) {
1420
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1421
- })
1422
- .s("SpencerFrontendService", "DescribeImages", {})
1423
- .n("ECRPUBLICClient", "DescribeImagesCommand")
1424
- .sc(DescribeImages$)
1425
- .build() {
1367
+ class DescribeImagesCommand extends command(_ep0, _mw0, "DescribeImages", DescribeImages$) {
1426
1368
  }
1427
1369
 
1428
- class DescribeImageTagsCommand extends Command
1429
- .classBuilder()
1430
- .ep(commonParams)
1431
- .m(function (Command, cs, config, o) {
1432
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1433
- })
1434
- .s("SpencerFrontendService", "DescribeImageTags", {})
1435
- .n("ECRPUBLICClient", "DescribeImageTagsCommand")
1436
- .sc(DescribeImageTags$)
1437
- .build() {
1370
+ class DescribeImageTagsCommand extends command(_ep0, _mw0, "DescribeImageTags", DescribeImageTags$) {
1438
1371
  }
1439
1372
 
1440
- class DescribeRegistriesCommand extends Command
1441
- .classBuilder()
1442
- .ep(commonParams)
1443
- .m(function (Command, cs, config, o) {
1444
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1445
- })
1446
- .s("SpencerFrontendService", "DescribeRegistries", {})
1447
- .n("ECRPUBLICClient", "DescribeRegistriesCommand")
1448
- .sc(DescribeRegistries$)
1449
- .build() {
1373
+ class DescribeRegistriesCommand extends command(_ep0, _mw0, "DescribeRegistries", DescribeRegistries$) {
1450
1374
  }
1451
1375
 
1452
- class DescribeRepositoriesCommand extends Command
1453
- .classBuilder()
1454
- .ep(commonParams)
1455
- .m(function (Command, cs, config, o) {
1456
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1457
- })
1458
- .s("SpencerFrontendService", "DescribeRepositories", {})
1459
- .n("ECRPUBLICClient", "DescribeRepositoriesCommand")
1460
- .sc(DescribeRepositories$)
1461
- .build() {
1376
+ class DescribeRepositoriesCommand extends command(_ep0, _mw0, "DescribeRepositories", DescribeRepositories$) {
1462
1377
  }
1463
1378
 
1464
- class GetAuthorizationTokenCommand extends Command
1465
- .classBuilder()
1466
- .ep(commonParams)
1467
- .m(function (Command, cs, config, o) {
1468
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1469
- })
1470
- .s("SpencerFrontendService", "GetAuthorizationToken", {})
1471
- .n("ECRPUBLICClient", "GetAuthorizationTokenCommand")
1472
- .sc(GetAuthorizationToken$)
1473
- .build() {
1379
+ class GetAuthorizationTokenCommand extends command(_ep0, _mw0, "GetAuthorizationToken", GetAuthorizationToken$) {
1474
1380
  }
1475
1381
 
1476
- class GetRegistryCatalogDataCommand extends Command
1477
- .classBuilder()
1478
- .ep(commonParams)
1479
- .m(function (Command, cs, config, o) {
1480
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1481
- })
1482
- .s("SpencerFrontendService", "GetRegistryCatalogData", {})
1483
- .n("ECRPUBLICClient", "GetRegistryCatalogDataCommand")
1484
- .sc(GetRegistryCatalogData$)
1485
- .build() {
1382
+ class GetRegistryCatalogDataCommand extends command(_ep0, _mw0, "GetRegistryCatalogData", GetRegistryCatalogData$) {
1486
1383
  }
1487
1384
 
1488
- class GetRepositoryCatalogDataCommand extends Command
1489
- .classBuilder()
1490
- .ep(commonParams)
1491
- .m(function (Command, cs, config, o) {
1492
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1493
- })
1494
- .s("SpencerFrontendService", "GetRepositoryCatalogData", {})
1495
- .n("ECRPUBLICClient", "GetRepositoryCatalogDataCommand")
1496
- .sc(GetRepositoryCatalogData$)
1497
- .build() {
1385
+ class GetRepositoryCatalogDataCommand extends command(_ep0, _mw0, "GetRepositoryCatalogData", GetRepositoryCatalogData$) {
1498
1386
  }
1499
1387
 
1500
- class GetRepositoryPolicyCommand extends Command
1501
- .classBuilder()
1502
- .ep(commonParams)
1503
- .m(function (Command, cs, config, o) {
1504
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1505
- })
1506
- .s("SpencerFrontendService", "GetRepositoryPolicy", {})
1507
- .n("ECRPUBLICClient", "GetRepositoryPolicyCommand")
1508
- .sc(GetRepositoryPolicy$)
1509
- .build() {
1388
+ class GetRepositoryPolicyCommand extends command(_ep0, _mw0, "GetRepositoryPolicy", GetRepositoryPolicy$) {
1510
1389
  }
1511
1390
 
1512
- class InitiateLayerUploadCommand extends Command
1513
- .classBuilder()
1514
- .ep(commonParams)
1515
- .m(function (Command, cs, config, o) {
1516
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1517
- })
1518
- .s("SpencerFrontendService", "InitiateLayerUpload", {})
1519
- .n("ECRPUBLICClient", "InitiateLayerUploadCommand")
1520
- .sc(InitiateLayerUpload$)
1521
- .build() {
1391
+ class InitiateLayerUploadCommand extends command(_ep0, _mw0, "InitiateLayerUpload", InitiateLayerUpload$) {
1522
1392
  }
1523
1393
 
1524
- class ListTagsForResourceCommand extends Command
1525
- .classBuilder()
1526
- .ep(commonParams)
1527
- .m(function (Command, cs, config, o) {
1528
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1529
- })
1530
- .s("SpencerFrontendService", "ListTagsForResource", {})
1531
- .n("ECRPUBLICClient", "ListTagsForResourceCommand")
1532
- .sc(ListTagsForResource$)
1533
- .build() {
1394
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
1534
1395
  }
1535
1396
 
1536
- class PutImageCommand extends Command
1537
- .classBuilder()
1538
- .ep(commonParams)
1539
- .m(function (Command, cs, config, o) {
1540
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1541
- })
1542
- .s("SpencerFrontendService", "PutImage", {})
1543
- .n("ECRPUBLICClient", "PutImageCommand")
1544
- .sc(PutImage$)
1545
- .build() {
1397
+ class PutImageCommand extends command(_ep0, _mw0, "PutImage", PutImage$) {
1546
1398
  }
1547
1399
 
1548
- class PutRegistryCatalogDataCommand extends Command
1549
- .classBuilder()
1550
- .ep(commonParams)
1551
- .m(function (Command, cs, config, o) {
1552
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1553
- })
1554
- .s("SpencerFrontendService", "PutRegistryCatalogData", {})
1555
- .n("ECRPUBLICClient", "PutRegistryCatalogDataCommand")
1556
- .sc(PutRegistryCatalogData$)
1557
- .build() {
1400
+ class PutRegistryCatalogDataCommand extends command(_ep0, _mw0, "PutRegistryCatalogData", PutRegistryCatalogData$) {
1558
1401
  }
1559
1402
 
1560
- class PutRepositoryCatalogDataCommand extends Command
1561
- .classBuilder()
1562
- .ep(commonParams)
1563
- .m(function (Command, cs, config, o) {
1564
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1565
- })
1566
- .s("SpencerFrontendService", "PutRepositoryCatalogData", {})
1567
- .n("ECRPUBLICClient", "PutRepositoryCatalogDataCommand")
1568
- .sc(PutRepositoryCatalogData$)
1569
- .build() {
1403
+ class PutRepositoryCatalogDataCommand extends command(_ep0, _mw0, "PutRepositoryCatalogData", PutRepositoryCatalogData$) {
1570
1404
  }
1571
1405
 
1572
- class SetRepositoryPolicyCommand extends Command
1573
- .classBuilder()
1574
- .ep(commonParams)
1575
- .m(function (Command, cs, config, o) {
1576
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1577
- })
1578
- .s("SpencerFrontendService", "SetRepositoryPolicy", {})
1579
- .n("ECRPUBLICClient", "SetRepositoryPolicyCommand")
1580
- .sc(SetRepositoryPolicy$)
1581
- .build() {
1406
+ class SetRepositoryPolicyCommand extends command(_ep0, _mw0, "SetRepositoryPolicy", SetRepositoryPolicy$) {
1582
1407
  }
1583
1408
 
1584
- class TagResourceCommand extends Command
1585
- .classBuilder()
1586
- .ep(commonParams)
1587
- .m(function (Command, cs, config, o) {
1588
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1589
- })
1590
- .s("SpencerFrontendService", "TagResource", {})
1591
- .n("ECRPUBLICClient", "TagResourceCommand")
1592
- .sc(TagResource$)
1593
- .build() {
1409
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
1594
1410
  }
1595
1411
 
1596
- class UntagResourceCommand extends Command
1597
- .classBuilder()
1598
- .ep(commonParams)
1599
- .m(function (Command, cs, config, o) {
1600
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1601
- })
1602
- .s("SpencerFrontendService", "UntagResource", {})
1603
- .n("ECRPUBLICClient", "UntagResourceCommand")
1604
- .sc(UntagResource$)
1605
- .build() {
1412
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
1606
1413
  }
1607
1414
 
1608
- class UploadLayerPartCommand extends Command
1609
- .classBuilder()
1610
- .ep(commonParams)
1611
- .m(function (Command, cs, config, o) {
1612
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1613
- })
1614
- .s("SpencerFrontendService", "UploadLayerPart", {})
1615
- .n("ECRPUBLICClient", "UploadLayerPartCommand")
1616
- .sc(UploadLayerPart$)
1617
- .build() {
1415
+ class UploadLayerPartCommand extends command(_ep0, _mw0, "UploadLayerPart", UploadLayerPart$) {
1618
1416
  }
1619
1417
 
1620
1418
  const paginateDescribeImages = createPaginator(ECRPUBLICClient, DescribeImagesCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,6 @@
1
+ import { makeBuilder } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "./endpoint/EndpointParameters";
4
+ export const command = makeBuilder(commonParams, "SpencerFrontendService", "ECRPUBLICClient", getEndpointPlugin);
5
+ export const _ep0 = {};
6
+ export const _mw0 = (Command, cs, config, o) => [];
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { BatchCheckLayerAvailability$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class BatchCheckLayerAvailabilityCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SpencerFrontendService", "BatchCheckLayerAvailability", {})
13
- .n("ECRPUBLICClient", "BatchCheckLayerAvailabilityCommand")
14
- .sc(BatchCheckLayerAvailability$)
15
- .build() {
3
+ export class BatchCheckLayerAvailabilityCommand extends command(_ep0, _mw0, "BatchCheckLayerAvailability", BatchCheckLayerAvailability$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { BatchDeleteImage$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class BatchDeleteImageCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SpencerFrontendService", "BatchDeleteImage", {})
13
- .n("ECRPUBLICClient", "BatchDeleteImageCommand")
14
- .sc(BatchDeleteImage$)
15
- .build() {
3
+ export class BatchDeleteImageCommand extends command(_ep0, _mw0, "BatchDeleteImage", BatchDeleteImage$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CompleteLayerUpload$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CompleteLayerUploadCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SpencerFrontendService", "CompleteLayerUpload", {})
13
- .n("ECRPUBLICClient", "CompleteLayerUploadCommand")
14
- .sc(CompleteLayerUpload$)
15
- .build() {
3
+ export class CompleteLayerUploadCommand extends command(_ep0, _mw0, "CompleteLayerUpload", CompleteLayerUpload$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreateRepository$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateRepositoryCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SpencerFrontendService", "CreateRepository", {})
13
- .n("ECRPUBLICClient", "CreateRepositoryCommand")
14
- .sc(CreateRepository$)
15
- .build() {
3
+ export class CreateRepositoryCommand extends command(_ep0, _mw0, "CreateRepository", CreateRepository$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteRepository$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteRepositoryCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SpencerFrontendService", "DeleteRepository", {})
13
- .n("ECRPUBLICClient", "DeleteRepositoryCommand")
14
- .sc(DeleteRepository$)
15
- .build() {
3
+ export class DeleteRepositoryCommand extends command(_ep0, _mw0, "DeleteRepository", DeleteRepository$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteRepositoryPolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteRepositoryPolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SpencerFrontendService", "DeleteRepositoryPolicy", {})
13
- .n("ECRPUBLICClient", "DeleteRepositoryPolicyCommand")
14
- .sc(DeleteRepositoryPolicy$)
15
- .build() {
3
+ export class DeleteRepositoryPolicyCommand extends command(_ep0, _mw0, "DeleteRepositoryPolicy", DeleteRepositoryPolicy$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeImageTags$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeImageTagsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SpencerFrontendService", "DescribeImageTags", {})
13
- .n("ECRPUBLICClient", "DescribeImageTagsCommand")
14
- .sc(DescribeImageTags$)
15
- .build() {
3
+ export class DescribeImageTagsCommand extends command(_ep0, _mw0, "DescribeImageTags", DescribeImageTags$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeImages$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeImagesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SpencerFrontendService", "DescribeImages", {})
13
- .n("ECRPUBLICClient", "DescribeImagesCommand")
14
- .sc(DescribeImages$)
15
- .build() {
3
+ export class DescribeImagesCommand extends command(_ep0, _mw0, "DescribeImages", DescribeImages$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeRegistries$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeRegistriesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SpencerFrontendService", "DescribeRegistries", {})
13
- .n("ECRPUBLICClient", "DescribeRegistriesCommand")
14
- .sc(DescribeRegistries$)
15
- .build() {
3
+ export class DescribeRegistriesCommand extends command(_ep0, _mw0, "DescribeRegistries", DescribeRegistries$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeRepositories$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeRepositoriesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SpencerFrontendService", "DescribeRepositories", {})
13
- .n("ECRPUBLICClient", "DescribeRepositoriesCommand")
14
- .sc(DescribeRepositories$)
15
- .build() {
3
+ export class DescribeRepositoriesCommand extends command(_ep0, _mw0, "DescribeRepositories", DescribeRepositories$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetAuthorizationToken$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetAuthorizationTokenCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SpencerFrontendService", "GetAuthorizationToken", {})
13
- .n("ECRPUBLICClient", "GetAuthorizationTokenCommand")
14
- .sc(GetAuthorizationToken$)
15
- .build() {
3
+ export class GetAuthorizationTokenCommand extends command(_ep0, _mw0, "GetAuthorizationToken", GetAuthorizationToken$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetRegistryCatalogData$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetRegistryCatalogDataCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SpencerFrontendService", "GetRegistryCatalogData", {})
13
- .n("ECRPUBLICClient", "GetRegistryCatalogDataCommand")
14
- .sc(GetRegistryCatalogData$)
15
- .build() {
3
+ export class GetRegistryCatalogDataCommand extends command(_ep0, _mw0, "GetRegistryCatalogData", GetRegistryCatalogData$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetRepositoryCatalogData$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetRepositoryCatalogDataCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SpencerFrontendService", "GetRepositoryCatalogData", {})
13
- .n("ECRPUBLICClient", "GetRepositoryCatalogDataCommand")
14
- .sc(GetRepositoryCatalogData$)
15
- .build() {
3
+ export class GetRepositoryCatalogDataCommand extends command(_ep0, _mw0, "GetRepositoryCatalogData", GetRepositoryCatalogData$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetRepositoryPolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetRepositoryPolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SpencerFrontendService", "GetRepositoryPolicy", {})
13
- .n("ECRPUBLICClient", "GetRepositoryPolicyCommand")
14
- .sc(GetRepositoryPolicy$)
15
- .build() {
3
+ export class GetRepositoryPolicyCommand extends command(_ep0, _mw0, "GetRepositoryPolicy", GetRepositoryPolicy$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { InitiateLayerUpload$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class InitiateLayerUploadCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SpencerFrontendService", "InitiateLayerUpload", {})
13
- .n("ECRPUBLICClient", "InitiateLayerUploadCommand")
14
- .sc(InitiateLayerUpload$)
15
- .build() {
3
+ export class InitiateLayerUploadCommand extends command(_ep0, _mw0, "InitiateLayerUpload", InitiateLayerUpload$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListTagsForResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListTagsForResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SpencerFrontendService", "ListTagsForResource", {})
13
- .n("ECRPUBLICClient", "ListTagsForResourceCommand")
14
- .sc(ListTagsForResource$)
15
- .build() {
3
+ export class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
16
4
  }