@aws-sdk/client-ecr-public 3.1076.0 → 3.1078.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 (89) hide show
  1. package/dist-cjs/index.js +34 -235
  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-es/runtimeConfig.browser.js +0 -2
  28. package/dist-es/runtimeConfig.js +1 -2
  29. package/dist-es/runtimeConfig.native.js +0 -2
  30. package/dist-es/runtimeConfig.shared.js +2 -0
  31. package/dist-types/commandBuilder.d.ts +18 -0
  32. package/dist-types/commands/BatchCheckLayerAvailabilityCommand.d.ts +3 -8
  33. package/dist-types/commands/BatchDeleteImageCommand.d.ts +3 -8
  34. package/dist-types/commands/CompleteLayerUploadCommand.d.ts +3 -8
  35. package/dist-types/commands/CreateRepositoryCommand.d.ts +3 -8
  36. package/dist-types/commands/DeleteRepositoryCommand.d.ts +3 -8
  37. package/dist-types/commands/DeleteRepositoryPolicyCommand.d.ts +3 -8
  38. package/dist-types/commands/DescribeImageTagsCommand.d.ts +3 -8
  39. package/dist-types/commands/DescribeImagesCommand.d.ts +3 -8
  40. package/dist-types/commands/DescribeRegistriesCommand.d.ts +3 -8
  41. package/dist-types/commands/DescribeRepositoriesCommand.d.ts +3 -8
  42. package/dist-types/commands/GetAuthorizationTokenCommand.d.ts +3 -8
  43. package/dist-types/commands/GetRegistryCatalogDataCommand.d.ts +3 -8
  44. package/dist-types/commands/GetRepositoryCatalogDataCommand.d.ts +3 -8
  45. package/dist-types/commands/GetRepositoryPolicyCommand.d.ts +3 -8
  46. package/dist-types/commands/InitiateLayerUploadCommand.d.ts +3 -8
  47. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  48. package/dist-types/commands/PutImageCommand.d.ts +3 -8
  49. package/dist-types/commands/PutRegistryCatalogDataCommand.d.ts +3 -8
  50. package/dist-types/commands/PutRepositoryCatalogDataCommand.d.ts +3 -8
  51. package/dist-types/commands/SetRepositoryPolicyCommand.d.ts +3 -8
  52. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  53. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  54. package/dist-types/commands/UploadLayerPartCommand.d.ts +3 -8
  55. package/dist-types/index.d.ts +1 -0
  56. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  57. package/dist-types/runtimeConfig.d.ts +1 -1
  58. package/dist-types/runtimeConfig.native.d.ts +1 -1
  59. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  60. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  61. package/dist-types/ts3.4/commands/BatchCheckLayerAvailabilityCommand.d.ts +7 -16
  62. package/dist-types/ts3.4/commands/BatchDeleteImageCommand.d.ts +7 -16
  63. package/dist-types/ts3.4/commands/CompleteLayerUploadCommand.d.ts +7 -16
  64. package/dist-types/ts3.4/commands/CreateRepositoryCommand.d.ts +7 -16
  65. package/dist-types/ts3.4/commands/DeleteRepositoryCommand.d.ts +7 -16
  66. package/dist-types/ts3.4/commands/DeleteRepositoryPolicyCommand.d.ts +7 -16
  67. package/dist-types/ts3.4/commands/DescribeImageTagsCommand.d.ts +7 -16
  68. package/dist-types/ts3.4/commands/DescribeImagesCommand.d.ts +7 -16
  69. package/dist-types/ts3.4/commands/DescribeRegistriesCommand.d.ts +7 -16
  70. package/dist-types/ts3.4/commands/DescribeRepositoriesCommand.d.ts +7 -16
  71. package/dist-types/ts3.4/commands/GetAuthorizationTokenCommand.d.ts +7 -16
  72. package/dist-types/ts3.4/commands/GetRegistryCatalogDataCommand.d.ts +7 -16
  73. package/dist-types/ts3.4/commands/GetRepositoryCatalogDataCommand.d.ts +7 -16
  74. package/dist-types/ts3.4/commands/GetRepositoryPolicyCommand.d.ts +7 -16
  75. package/dist-types/ts3.4/commands/InitiateLayerUploadCommand.d.ts +7 -16
  76. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  77. package/dist-types/ts3.4/commands/PutImageCommand.d.ts +7 -16
  78. package/dist-types/ts3.4/commands/PutRegistryCatalogDataCommand.d.ts +7 -16
  79. package/dist-types/ts3.4/commands/PutRepositoryCatalogDataCommand.d.ts +7 -16
  80. package/dist-types/ts3.4/commands/SetRepositoryPolicyCommand.d.ts +7 -16
  81. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  82. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  83. package/dist-types/ts3.4/commands/UploadLayerPartCommand.d.ts +7 -16
  84. package/dist-types/ts3.4/index.d.ts +1 -0
  85. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  86. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  87. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  88. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  89. package/package.json +8 -10
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");
@@ -10,9 +11,10 @@ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CON
10
11
  const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
11
12
  const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
12
13
  const { defaultProvider } = require("@aws-sdk/credential-provider-node");
13
- const { toUtf8, fromUtf8, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
14
+ const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
14
15
  const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
15
16
  const { AwsJson1_1Protocol } = require("@aws-sdk/core/protocols");
17
+ const { Sha256 } = require("@smithy/core/checksum");
16
18
 
17
19
  const defaultECRPUBLICHttpAuthSchemeParametersProvider = async (config, context, input) => {
18
20
  return {
@@ -67,7 +69,7 @@ const commonParams = {
67
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
68
70
  };
69
71
 
70
- var version = "3.1075.0";
72
+ var version = "3.1077.0";
71
73
  var packageInfo = {
72
74
  version: version};
73
75
 
@@ -1219,6 +1221,7 @@ const getRuntimeConfig$1 = (config) => {
1219
1221
  serviceTarget: "SpencerFrontendService",
1220
1222
  },
1221
1223
  serviceId: config?.serviceId ?? "ECR PUBLIC",
1224
+ sha256: config?.sha256 ?? Sha256,
1222
1225
  urlParser: config?.urlParser ?? parseUrl,
1223
1226
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
1224
1227
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -1252,7 +1255,6 @@ const getRuntimeConfig = (config) => {
1252
1255
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
1253
1256
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
1254
1257
  }, config),
1255
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
1256
1258
  streamCollector: config?.streamCollector ?? streamCollector,
1257
1259
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1258
1260
  useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -1340,280 +1342,77 @@ class ECRPUBLICClient extends Client {
1340
1342
  }
1341
1343
  }
1342
1344
 
1343
- class BatchCheckLayerAvailabilityCommand extends Command
1344
- .classBuilder()
1345
- .ep(commonParams)
1346
- .m(function (Command, cs, config, o) {
1347
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1348
- })
1349
- .s("SpencerFrontendService", "BatchCheckLayerAvailability", {})
1350
- .n("ECRPUBLICClient", "BatchCheckLayerAvailabilityCommand")
1351
- .sc(BatchCheckLayerAvailability$)
1352
- .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$) {
1353
1350
  }
1354
1351
 
1355
- class BatchDeleteImageCommand extends Command
1356
- .classBuilder()
1357
- .ep(commonParams)
1358
- .m(function (Command, cs, config, o) {
1359
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1360
- })
1361
- .s("SpencerFrontendService", "BatchDeleteImage", {})
1362
- .n("ECRPUBLICClient", "BatchDeleteImageCommand")
1363
- .sc(BatchDeleteImage$)
1364
- .build() {
1352
+ class BatchDeleteImageCommand extends command(_ep0, _mw0, "BatchDeleteImage", BatchDeleteImage$) {
1365
1353
  }
1366
1354
 
1367
- class CompleteLayerUploadCommand extends Command
1368
- .classBuilder()
1369
- .ep(commonParams)
1370
- .m(function (Command, cs, config, o) {
1371
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1372
- })
1373
- .s("SpencerFrontendService", "CompleteLayerUpload", {})
1374
- .n("ECRPUBLICClient", "CompleteLayerUploadCommand")
1375
- .sc(CompleteLayerUpload$)
1376
- .build() {
1355
+ class CompleteLayerUploadCommand extends command(_ep0, _mw0, "CompleteLayerUpload", CompleteLayerUpload$) {
1377
1356
  }
1378
1357
 
1379
- class CreateRepositoryCommand extends Command
1380
- .classBuilder()
1381
- .ep(commonParams)
1382
- .m(function (Command, cs, config, o) {
1383
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1384
- })
1385
- .s("SpencerFrontendService", "CreateRepository", {})
1386
- .n("ECRPUBLICClient", "CreateRepositoryCommand")
1387
- .sc(CreateRepository$)
1388
- .build() {
1358
+ class CreateRepositoryCommand extends command(_ep0, _mw0, "CreateRepository", CreateRepository$) {
1389
1359
  }
1390
1360
 
1391
- class DeleteRepositoryCommand extends Command
1392
- .classBuilder()
1393
- .ep(commonParams)
1394
- .m(function (Command, cs, config, o) {
1395
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1396
- })
1397
- .s("SpencerFrontendService", "DeleteRepository", {})
1398
- .n("ECRPUBLICClient", "DeleteRepositoryCommand")
1399
- .sc(DeleteRepository$)
1400
- .build() {
1361
+ class DeleteRepositoryCommand extends command(_ep0, _mw0, "DeleteRepository", DeleteRepository$) {
1401
1362
  }
1402
1363
 
1403
- class DeleteRepositoryPolicyCommand extends Command
1404
- .classBuilder()
1405
- .ep(commonParams)
1406
- .m(function (Command, cs, config, o) {
1407
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1408
- })
1409
- .s("SpencerFrontendService", "DeleteRepositoryPolicy", {})
1410
- .n("ECRPUBLICClient", "DeleteRepositoryPolicyCommand")
1411
- .sc(DeleteRepositoryPolicy$)
1412
- .build() {
1364
+ class DeleteRepositoryPolicyCommand extends command(_ep0, _mw0, "DeleteRepositoryPolicy", DeleteRepositoryPolicy$) {
1413
1365
  }
1414
1366
 
1415
- class DescribeImagesCommand extends Command
1416
- .classBuilder()
1417
- .ep(commonParams)
1418
- .m(function (Command, cs, config, o) {
1419
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1420
- })
1421
- .s("SpencerFrontendService", "DescribeImages", {})
1422
- .n("ECRPUBLICClient", "DescribeImagesCommand")
1423
- .sc(DescribeImages$)
1424
- .build() {
1367
+ class DescribeImagesCommand extends command(_ep0, _mw0, "DescribeImages", DescribeImages$) {
1425
1368
  }
1426
1369
 
1427
- class DescribeImageTagsCommand extends Command
1428
- .classBuilder()
1429
- .ep(commonParams)
1430
- .m(function (Command, cs, config, o) {
1431
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1432
- })
1433
- .s("SpencerFrontendService", "DescribeImageTags", {})
1434
- .n("ECRPUBLICClient", "DescribeImageTagsCommand")
1435
- .sc(DescribeImageTags$)
1436
- .build() {
1370
+ class DescribeImageTagsCommand extends command(_ep0, _mw0, "DescribeImageTags", DescribeImageTags$) {
1437
1371
  }
1438
1372
 
1439
- class DescribeRegistriesCommand extends Command
1440
- .classBuilder()
1441
- .ep(commonParams)
1442
- .m(function (Command, cs, config, o) {
1443
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1444
- })
1445
- .s("SpencerFrontendService", "DescribeRegistries", {})
1446
- .n("ECRPUBLICClient", "DescribeRegistriesCommand")
1447
- .sc(DescribeRegistries$)
1448
- .build() {
1373
+ class DescribeRegistriesCommand extends command(_ep0, _mw0, "DescribeRegistries", DescribeRegistries$) {
1449
1374
  }
1450
1375
 
1451
- class DescribeRepositoriesCommand extends Command
1452
- .classBuilder()
1453
- .ep(commonParams)
1454
- .m(function (Command, cs, config, o) {
1455
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1456
- })
1457
- .s("SpencerFrontendService", "DescribeRepositories", {})
1458
- .n("ECRPUBLICClient", "DescribeRepositoriesCommand")
1459
- .sc(DescribeRepositories$)
1460
- .build() {
1376
+ class DescribeRepositoriesCommand extends command(_ep0, _mw0, "DescribeRepositories", DescribeRepositories$) {
1461
1377
  }
1462
1378
 
1463
- class GetAuthorizationTokenCommand extends Command
1464
- .classBuilder()
1465
- .ep(commonParams)
1466
- .m(function (Command, cs, config, o) {
1467
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1468
- })
1469
- .s("SpencerFrontendService", "GetAuthorizationToken", {})
1470
- .n("ECRPUBLICClient", "GetAuthorizationTokenCommand")
1471
- .sc(GetAuthorizationToken$)
1472
- .build() {
1379
+ class GetAuthorizationTokenCommand extends command(_ep0, _mw0, "GetAuthorizationToken", GetAuthorizationToken$) {
1473
1380
  }
1474
1381
 
1475
- class GetRegistryCatalogDataCommand extends Command
1476
- .classBuilder()
1477
- .ep(commonParams)
1478
- .m(function (Command, cs, config, o) {
1479
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1480
- })
1481
- .s("SpencerFrontendService", "GetRegistryCatalogData", {})
1482
- .n("ECRPUBLICClient", "GetRegistryCatalogDataCommand")
1483
- .sc(GetRegistryCatalogData$)
1484
- .build() {
1382
+ class GetRegistryCatalogDataCommand extends command(_ep0, _mw0, "GetRegistryCatalogData", GetRegistryCatalogData$) {
1485
1383
  }
1486
1384
 
1487
- class GetRepositoryCatalogDataCommand extends Command
1488
- .classBuilder()
1489
- .ep(commonParams)
1490
- .m(function (Command, cs, config, o) {
1491
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1492
- })
1493
- .s("SpencerFrontendService", "GetRepositoryCatalogData", {})
1494
- .n("ECRPUBLICClient", "GetRepositoryCatalogDataCommand")
1495
- .sc(GetRepositoryCatalogData$)
1496
- .build() {
1385
+ class GetRepositoryCatalogDataCommand extends command(_ep0, _mw0, "GetRepositoryCatalogData", GetRepositoryCatalogData$) {
1497
1386
  }
1498
1387
 
1499
- class GetRepositoryPolicyCommand extends Command
1500
- .classBuilder()
1501
- .ep(commonParams)
1502
- .m(function (Command, cs, config, o) {
1503
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1504
- })
1505
- .s("SpencerFrontendService", "GetRepositoryPolicy", {})
1506
- .n("ECRPUBLICClient", "GetRepositoryPolicyCommand")
1507
- .sc(GetRepositoryPolicy$)
1508
- .build() {
1388
+ class GetRepositoryPolicyCommand extends command(_ep0, _mw0, "GetRepositoryPolicy", GetRepositoryPolicy$) {
1509
1389
  }
1510
1390
 
1511
- class InitiateLayerUploadCommand extends Command
1512
- .classBuilder()
1513
- .ep(commonParams)
1514
- .m(function (Command, cs, config, o) {
1515
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1516
- })
1517
- .s("SpencerFrontendService", "InitiateLayerUpload", {})
1518
- .n("ECRPUBLICClient", "InitiateLayerUploadCommand")
1519
- .sc(InitiateLayerUpload$)
1520
- .build() {
1391
+ class InitiateLayerUploadCommand extends command(_ep0, _mw0, "InitiateLayerUpload", InitiateLayerUpload$) {
1521
1392
  }
1522
1393
 
1523
- class ListTagsForResourceCommand extends Command
1524
- .classBuilder()
1525
- .ep(commonParams)
1526
- .m(function (Command, cs, config, o) {
1527
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1528
- })
1529
- .s("SpencerFrontendService", "ListTagsForResource", {})
1530
- .n("ECRPUBLICClient", "ListTagsForResourceCommand")
1531
- .sc(ListTagsForResource$)
1532
- .build() {
1394
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
1533
1395
  }
1534
1396
 
1535
- class PutImageCommand extends Command
1536
- .classBuilder()
1537
- .ep(commonParams)
1538
- .m(function (Command, cs, config, o) {
1539
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1540
- })
1541
- .s("SpencerFrontendService", "PutImage", {})
1542
- .n("ECRPUBLICClient", "PutImageCommand")
1543
- .sc(PutImage$)
1544
- .build() {
1397
+ class PutImageCommand extends command(_ep0, _mw0, "PutImage", PutImage$) {
1545
1398
  }
1546
1399
 
1547
- class PutRegistryCatalogDataCommand extends Command
1548
- .classBuilder()
1549
- .ep(commonParams)
1550
- .m(function (Command, cs, config, o) {
1551
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1552
- })
1553
- .s("SpencerFrontendService", "PutRegistryCatalogData", {})
1554
- .n("ECRPUBLICClient", "PutRegistryCatalogDataCommand")
1555
- .sc(PutRegistryCatalogData$)
1556
- .build() {
1400
+ class PutRegistryCatalogDataCommand extends command(_ep0, _mw0, "PutRegistryCatalogData", PutRegistryCatalogData$) {
1557
1401
  }
1558
1402
 
1559
- class PutRepositoryCatalogDataCommand extends Command
1560
- .classBuilder()
1561
- .ep(commonParams)
1562
- .m(function (Command, cs, config, o) {
1563
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1564
- })
1565
- .s("SpencerFrontendService", "PutRepositoryCatalogData", {})
1566
- .n("ECRPUBLICClient", "PutRepositoryCatalogDataCommand")
1567
- .sc(PutRepositoryCatalogData$)
1568
- .build() {
1403
+ class PutRepositoryCatalogDataCommand extends command(_ep0, _mw0, "PutRepositoryCatalogData", PutRepositoryCatalogData$) {
1569
1404
  }
1570
1405
 
1571
- class SetRepositoryPolicyCommand extends Command
1572
- .classBuilder()
1573
- .ep(commonParams)
1574
- .m(function (Command, cs, config, o) {
1575
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1576
- })
1577
- .s("SpencerFrontendService", "SetRepositoryPolicy", {})
1578
- .n("ECRPUBLICClient", "SetRepositoryPolicyCommand")
1579
- .sc(SetRepositoryPolicy$)
1580
- .build() {
1406
+ class SetRepositoryPolicyCommand extends command(_ep0, _mw0, "SetRepositoryPolicy", SetRepositoryPolicy$) {
1581
1407
  }
1582
1408
 
1583
- class TagResourceCommand extends Command
1584
- .classBuilder()
1585
- .ep(commonParams)
1586
- .m(function (Command, cs, config, o) {
1587
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1588
- })
1589
- .s("SpencerFrontendService", "TagResource", {})
1590
- .n("ECRPUBLICClient", "TagResourceCommand")
1591
- .sc(TagResource$)
1592
- .build() {
1409
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
1593
1410
  }
1594
1411
 
1595
- class UntagResourceCommand extends Command
1596
- .classBuilder()
1597
- .ep(commonParams)
1598
- .m(function (Command, cs, config, o) {
1599
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1600
- })
1601
- .s("SpencerFrontendService", "UntagResource", {})
1602
- .n("ECRPUBLICClient", "UntagResourceCommand")
1603
- .sc(UntagResource$)
1604
- .build() {
1412
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
1605
1413
  }
1606
1414
 
1607
- class UploadLayerPartCommand extends Command
1608
- .classBuilder()
1609
- .ep(commonParams)
1610
- .m(function (Command, cs, config, o) {
1611
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1612
- })
1613
- .s("SpencerFrontendService", "UploadLayerPart", {})
1614
- .n("ECRPUBLICClient", "UploadLayerPartCommand")
1615
- .sc(UploadLayerPart$)
1616
- .build() {
1415
+ class UploadLayerPartCommand extends command(_ep0, _mw0, "UploadLayerPart", UploadLayerPart$) {
1617
1416
  }
1618
1417
 
1619
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
  }