@aws-sdk/client-amplifybackend 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 (101) hide show
  1. package/dist-cjs/index.js +39 -313
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/CloneBackendCommand.js +2 -14
  4. package/dist-es/commands/CreateBackendAPICommand.js +2 -14
  5. package/dist-es/commands/CreateBackendAuthCommand.js +2 -14
  6. package/dist-es/commands/CreateBackendCommand.js +2 -14
  7. package/dist-es/commands/CreateBackendConfigCommand.js +2 -14
  8. package/dist-es/commands/CreateBackendStorageCommand.js +2 -14
  9. package/dist-es/commands/CreateTokenCommand.js +2 -14
  10. package/dist-es/commands/DeleteBackendAPICommand.js +2 -14
  11. package/dist-es/commands/DeleteBackendAuthCommand.js +2 -14
  12. package/dist-es/commands/DeleteBackendCommand.js +2 -14
  13. package/dist-es/commands/DeleteBackendStorageCommand.js +2 -14
  14. package/dist-es/commands/DeleteTokenCommand.js +2 -14
  15. package/dist-es/commands/GenerateBackendAPIModelsCommand.js +2 -14
  16. package/dist-es/commands/GetBackendAPICommand.js +2 -14
  17. package/dist-es/commands/GetBackendAPIModelsCommand.js +2 -14
  18. package/dist-es/commands/GetBackendAuthCommand.js +2 -14
  19. package/dist-es/commands/GetBackendCommand.js +2 -14
  20. package/dist-es/commands/GetBackendJobCommand.js +2 -14
  21. package/dist-es/commands/GetBackendStorageCommand.js +2 -14
  22. package/dist-es/commands/GetTokenCommand.js +2 -14
  23. package/dist-es/commands/ImportBackendAuthCommand.js +2 -14
  24. package/dist-es/commands/ImportBackendStorageCommand.js +2 -14
  25. package/dist-es/commands/ListBackendJobsCommand.js +2 -14
  26. package/dist-es/commands/ListS3BucketsCommand.js +2 -14
  27. package/dist-es/commands/RemoveAllBackendsCommand.js +2 -14
  28. package/dist-es/commands/RemoveBackendConfigCommand.js +2 -14
  29. package/dist-es/commands/UpdateBackendAPICommand.js +2 -14
  30. package/dist-es/commands/UpdateBackendAuthCommand.js +2 -14
  31. package/dist-es/commands/UpdateBackendConfigCommand.js +2 -14
  32. package/dist-es/commands/UpdateBackendJobCommand.js +2 -14
  33. package/dist-es/commands/UpdateBackendStorageCommand.js +2 -14
  34. package/dist-es/index.js +1 -0
  35. package/dist-types/commandBuilder.d.ts +18 -0
  36. package/dist-types/commands/CloneBackendCommand.d.ts +3 -8
  37. package/dist-types/commands/CreateBackendAPICommand.d.ts +3 -8
  38. package/dist-types/commands/CreateBackendAuthCommand.d.ts +3 -8
  39. package/dist-types/commands/CreateBackendCommand.d.ts +3 -8
  40. package/dist-types/commands/CreateBackendConfigCommand.d.ts +3 -8
  41. package/dist-types/commands/CreateBackendStorageCommand.d.ts +3 -8
  42. package/dist-types/commands/CreateTokenCommand.d.ts +3 -8
  43. package/dist-types/commands/DeleteBackendAPICommand.d.ts +3 -8
  44. package/dist-types/commands/DeleteBackendAuthCommand.d.ts +3 -8
  45. package/dist-types/commands/DeleteBackendCommand.d.ts +3 -8
  46. package/dist-types/commands/DeleteBackendStorageCommand.d.ts +3 -8
  47. package/dist-types/commands/DeleteTokenCommand.d.ts +3 -8
  48. package/dist-types/commands/GenerateBackendAPIModelsCommand.d.ts +3 -8
  49. package/dist-types/commands/GetBackendAPICommand.d.ts +3 -8
  50. package/dist-types/commands/GetBackendAPIModelsCommand.d.ts +3 -8
  51. package/dist-types/commands/GetBackendAuthCommand.d.ts +3 -8
  52. package/dist-types/commands/GetBackendCommand.d.ts +3 -8
  53. package/dist-types/commands/GetBackendJobCommand.d.ts +3 -8
  54. package/dist-types/commands/GetBackendStorageCommand.d.ts +3 -8
  55. package/dist-types/commands/GetTokenCommand.d.ts +3 -8
  56. package/dist-types/commands/ImportBackendAuthCommand.d.ts +3 -8
  57. package/dist-types/commands/ImportBackendStorageCommand.d.ts +3 -8
  58. package/dist-types/commands/ListBackendJobsCommand.d.ts +3 -8
  59. package/dist-types/commands/ListS3BucketsCommand.d.ts +3 -8
  60. package/dist-types/commands/RemoveAllBackendsCommand.d.ts +3 -8
  61. package/dist-types/commands/RemoveBackendConfigCommand.d.ts +3 -8
  62. package/dist-types/commands/UpdateBackendAPICommand.d.ts +3 -8
  63. package/dist-types/commands/UpdateBackendAuthCommand.d.ts +3 -8
  64. package/dist-types/commands/UpdateBackendConfigCommand.d.ts +3 -8
  65. package/dist-types/commands/UpdateBackendJobCommand.d.ts +3 -8
  66. package/dist-types/commands/UpdateBackendStorageCommand.d.ts +3 -8
  67. package/dist-types/index.d.ts +1 -0
  68. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  69. package/dist-types/ts3.4/commands/CloneBackendCommand.d.ts +7 -16
  70. package/dist-types/ts3.4/commands/CreateBackendAPICommand.d.ts +7 -16
  71. package/dist-types/ts3.4/commands/CreateBackendAuthCommand.d.ts +7 -16
  72. package/dist-types/ts3.4/commands/CreateBackendCommand.d.ts +7 -16
  73. package/dist-types/ts3.4/commands/CreateBackendConfigCommand.d.ts +7 -16
  74. package/dist-types/ts3.4/commands/CreateBackendStorageCommand.d.ts +7 -16
  75. package/dist-types/ts3.4/commands/CreateTokenCommand.d.ts +7 -16
  76. package/dist-types/ts3.4/commands/DeleteBackendAPICommand.d.ts +7 -16
  77. package/dist-types/ts3.4/commands/DeleteBackendAuthCommand.d.ts +7 -16
  78. package/dist-types/ts3.4/commands/DeleteBackendCommand.d.ts +7 -16
  79. package/dist-types/ts3.4/commands/DeleteBackendStorageCommand.d.ts +7 -16
  80. package/dist-types/ts3.4/commands/DeleteTokenCommand.d.ts +7 -16
  81. package/dist-types/ts3.4/commands/GenerateBackendAPIModelsCommand.d.ts +7 -16
  82. package/dist-types/ts3.4/commands/GetBackendAPICommand.d.ts +7 -16
  83. package/dist-types/ts3.4/commands/GetBackendAPIModelsCommand.d.ts +7 -16
  84. package/dist-types/ts3.4/commands/GetBackendAuthCommand.d.ts +7 -16
  85. package/dist-types/ts3.4/commands/GetBackendCommand.d.ts +7 -16
  86. package/dist-types/ts3.4/commands/GetBackendJobCommand.d.ts +7 -16
  87. package/dist-types/ts3.4/commands/GetBackendStorageCommand.d.ts +7 -16
  88. package/dist-types/ts3.4/commands/GetTokenCommand.d.ts +7 -16
  89. package/dist-types/ts3.4/commands/ImportBackendAuthCommand.d.ts +7 -16
  90. package/dist-types/ts3.4/commands/ImportBackendStorageCommand.d.ts +7 -16
  91. package/dist-types/ts3.4/commands/ListBackendJobsCommand.d.ts +7 -16
  92. package/dist-types/ts3.4/commands/ListS3BucketsCommand.d.ts +7 -16
  93. package/dist-types/ts3.4/commands/RemoveAllBackendsCommand.d.ts +7 -16
  94. package/dist-types/ts3.4/commands/RemoveBackendConfigCommand.d.ts +7 -16
  95. package/dist-types/ts3.4/commands/UpdateBackendAPICommand.d.ts +7 -16
  96. package/dist-types/ts3.4/commands/UpdateBackendAuthCommand.d.ts +7 -16
  97. package/dist-types/ts3.4/commands/UpdateBackendConfigCommand.d.ts +7 -16
  98. package/dist-types/ts3.4/commands/UpdateBackendJobCommand.d.ts +7 -16
  99. package/dist-types/ts3.4/commands/UpdateBackendStorageCommand.d.ts +7 -16
  100. package/dist-types/ts3.4/index.d.ts +1 -0
  101. 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 } = 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
 
@@ -1297,376 +1298,101 @@ class AmplifyBackendClient extends Client {
1297
1298
  }
1298
1299
  }
1299
1300
 
1300
- class CloneBackendCommand extends Command
1301
- .classBuilder()
1302
- .ep(commonParams)
1303
- .m(function (Command, cs, config, o) {
1304
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1305
- })
1306
- .s("AmplifyBackend", "CloneBackend", {})
1307
- .n("AmplifyBackendClient", "CloneBackendCommand")
1308
- .sc(CloneBackend$)
1309
- .build() {
1301
+ const command = makeBuilder(commonParams, "AmplifyBackend", "AmplifyBackendClient", getEndpointPlugin);
1302
+ const _ep0 = {};
1303
+ const _mw0 = (Command, cs, config, o) => [];
1304
+
1305
+ class CloneBackendCommand extends command(_ep0, _mw0, "CloneBackend", CloneBackend$) {
1310
1306
  }
1311
1307
 
1312
- class CreateBackendAPICommand extends Command
1313
- .classBuilder()
1314
- .ep(commonParams)
1315
- .m(function (Command, cs, config, o) {
1316
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1317
- })
1318
- .s("AmplifyBackend", "CreateBackendAPI", {})
1319
- .n("AmplifyBackendClient", "CreateBackendAPICommand")
1320
- .sc(CreateBackendAPI$)
1321
- .build() {
1308
+ class CreateBackendAPICommand extends command(_ep0, _mw0, "CreateBackendAPI", CreateBackendAPI$) {
1322
1309
  }
1323
1310
 
1324
- class CreateBackendAuthCommand extends Command
1325
- .classBuilder()
1326
- .ep(commonParams)
1327
- .m(function (Command, cs, config, o) {
1328
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1329
- })
1330
- .s("AmplifyBackend", "CreateBackendAuth", {})
1331
- .n("AmplifyBackendClient", "CreateBackendAuthCommand")
1332
- .sc(CreateBackendAuth$)
1333
- .build() {
1311
+ class CreateBackendAuthCommand extends command(_ep0, _mw0, "CreateBackendAuth", CreateBackendAuth$) {
1334
1312
  }
1335
1313
 
1336
- class CreateBackendCommand extends Command
1337
- .classBuilder()
1338
- .ep(commonParams)
1339
- .m(function (Command, cs, config, o) {
1340
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1341
- })
1342
- .s("AmplifyBackend", "CreateBackend", {})
1343
- .n("AmplifyBackendClient", "CreateBackendCommand")
1344
- .sc(CreateBackend$)
1345
- .build() {
1314
+ class CreateBackendCommand extends command(_ep0, _mw0, "CreateBackend", CreateBackend$) {
1346
1315
  }
1347
1316
 
1348
- class CreateBackendConfigCommand extends Command
1349
- .classBuilder()
1350
- .ep(commonParams)
1351
- .m(function (Command, cs, config, o) {
1352
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1353
- })
1354
- .s("AmplifyBackend", "CreateBackendConfig", {})
1355
- .n("AmplifyBackendClient", "CreateBackendConfigCommand")
1356
- .sc(CreateBackendConfig$)
1357
- .build() {
1317
+ class CreateBackendConfigCommand extends command(_ep0, _mw0, "CreateBackendConfig", CreateBackendConfig$) {
1358
1318
  }
1359
1319
 
1360
- class CreateBackendStorageCommand extends Command
1361
- .classBuilder()
1362
- .ep(commonParams)
1363
- .m(function (Command, cs, config, o) {
1364
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1365
- })
1366
- .s("AmplifyBackend", "CreateBackendStorage", {})
1367
- .n("AmplifyBackendClient", "CreateBackendStorageCommand")
1368
- .sc(CreateBackendStorage$)
1369
- .build() {
1320
+ class CreateBackendStorageCommand extends command(_ep0, _mw0, "CreateBackendStorage", CreateBackendStorage$) {
1370
1321
  }
1371
1322
 
1372
- class CreateTokenCommand extends Command
1373
- .classBuilder()
1374
- .ep(commonParams)
1375
- .m(function (Command, cs, config, o) {
1376
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1377
- })
1378
- .s("AmplifyBackend", "CreateToken", {})
1379
- .n("AmplifyBackendClient", "CreateTokenCommand")
1380
- .sc(CreateToken$)
1381
- .build() {
1323
+ class CreateTokenCommand extends command(_ep0, _mw0, "CreateToken", CreateToken$) {
1382
1324
  }
1383
1325
 
1384
- class DeleteBackendAPICommand extends Command
1385
- .classBuilder()
1386
- .ep(commonParams)
1387
- .m(function (Command, cs, config, o) {
1388
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1389
- })
1390
- .s("AmplifyBackend", "DeleteBackendAPI", {})
1391
- .n("AmplifyBackendClient", "DeleteBackendAPICommand")
1392
- .sc(DeleteBackendAPI$)
1393
- .build() {
1326
+ class DeleteBackendAPICommand extends command(_ep0, _mw0, "DeleteBackendAPI", DeleteBackendAPI$) {
1394
1327
  }
1395
1328
 
1396
- class DeleteBackendAuthCommand extends Command
1397
- .classBuilder()
1398
- .ep(commonParams)
1399
- .m(function (Command, cs, config, o) {
1400
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1401
- })
1402
- .s("AmplifyBackend", "DeleteBackendAuth", {})
1403
- .n("AmplifyBackendClient", "DeleteBackendAuthCommand")
1404
- .sc(DeleteBackendAuth$)
1405
- .build() {
1329
+ class DeleteBackendAuthCommand extends command(_ep0, _mw0, "DeleteBackendAuth", DeleteBackendAuth$) {
1406
1330
  }
1407
1331
 
1408
- class DeleteBackendCommand extends Command
1409
- .classBuilder()
1410
- .ep(commonParams)
1411
- .m(function (Command, cs, config, o) {
1412
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1413
- })
1414
- .s("AmplifyBackend", "DeleteBackend", {})
1415
- .n("AmplifyBackendClient", "DeleteBackendCommand")
1416
- .sc(DeleteBackend$)
1417
- .build() {
1332
+ class DeleteBackendCommand extends command(_ep0, _mw0, "DeleteBackend", DeleteBackend$) {
1418
1333
  }
1419
1334
 
1420
- class DeleteBackendStorageCommand extends Command
1421
- .classBuilder()
1422
- .ep(commonParams)
1423
- .m(function (Command, cs, config, o) {
1424
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1425
- })
1426
- .s("AmplifyBackend", "DeleteBackendStorage", {})
1427
- .n("AmplifyBackendClient", "DeleteBackendStorageCommand")
1428
- .sc(DeleteBackendStorage$)
1429
- .build() {
1335
+ class DeleteBackendStorageCommand extends command(_ep0, _mw0, "DeleteBackendStorage", DeleteBackendStorage$) {
1430
1336
  }
1431
1337
 
1432
- class DeleteTokenCommand extends Command
1433
- .classBuilder()
1434
- .ep(commonParams)
1435
- .m(function (Command, cs, config, o) {
1436
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1437
- })
1438
- .s("AmplifyBackend", "DeleteToken", {})
1439
- .n("AmplifyBackendClient", "DeleteTokenCommand")
1440
- .sc(DeleteToken$)
1441
- .build() {
1338
+ class DeleteTokenCommand extends command(_ep0, _mw0, "DeleteToken", DeleteToken$) {
1442
1339
  }
1443
1340
 
1444
- class GenerateBackendAPIModelsCommand extends Command
1445
- .classBuilder()
1446
- .ep(commonParams)
1447
- .m(function (Command, cs, config, o) {
1448
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1449
- })
1450
- .s("AmplifyBackend", "GenerateBackendAPIModels", {})
1451
- .n("AmplifyBackendClient", "GenerateBackendAPIModelsCommand")
1452
- .sc(GenerateBackendAPIModels$)
1453
- .build() {
1341
+ class GenerateBackendAPIModelsCommand extends command(_ep0, _mw0, "GenerateBackendAPIModels", GenerateBackendAPIModels$) {
1454
1342
  }
1455
1343
 
1456
- class GetBackendAPICommand extends Command
1457
- .classBuilder()
1458
- .ep(commonParams)
1459
- .m(function (Command, cs, config, o) {
1460
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1461
- })
1462
- .s("AmplifyBackend", "GetBackendAPI", {})
1463
- .n("AmplifyBackendClient", "GetBackendAPICommand")
1464
- .sc(GetBackendAPI$)
1465
- .build() {
1344
+ class GetBackendAPICommand extends command(_ep0, _mw0, "GetBackendAPI", GetBackendAPI$) {
1466
1345
  }
1467
1346
 
1468
- class GetBackendAPIModelsCommand extends Command
1469
- .classBuilder()
1470
- .ep(commonParams)
1471
- .m(function (Command, cs, config, o) {
1472
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1473
- })
1474
- .s("AmplifyBackend", "GetBackendAPIModels", {})
1475
- .n("AmplifyBackendClient", "GetBackendAPIModelsCommand")
1476
- .sc(GetBackendAPIModels$)
1477
- .build() {
1347
+ class GetBackendAPIModelsCommand extends command(_ep0, _mw0, "GetBackendAPIModels", GetBackendAPIModels$) {
1478
1348
  }
1479
1349
 
1480
- class GetBackendAuthCommand extends Command
1481
- .classBuilder()
1482
- .ep(commonParams)
1483
- .m(function (Command, cs, config, o) {
1484
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1485
- })
1486
- .s("AmplifyBackend", "GetBackendAuth", {})
1487
- .n("AmplifyBackendClient", "GetBackendAuthCommand")
1488
- .sc(GetBackendAuth$)
1489
- .build() {
1350
+ class GetBackendAuthCommand extends command(_ep0, _mw0, "GetBackendAuth", GetBackendAuth$) {
1490
1351
  }
1491
1352
 
1492
- class GetBackendCommand extends Command
1493
- .classBuilder()
1494
- .ep(commonParams)
1495
- .m(function (Command, cs, config, o) {
1496
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1497
- })
1498
- .s("AmplifyBackend", "GetBackend", {})
1499
- .n("AmplifyBackendClient", "GetBackendCommand")
1500
- .sc(GetBackend$)
1501
- .build() {
1353
+ class GetBackendCommand extends command(_ep0, _mw0, "GetBackend", GetBackend$) {
1502
1354
  }
1503
1355
 
1504
- class GetBackendJobCommand extends Command
1505
- .classBuilder()
1506
- .ep(commonParams)
1507
- .m(function (Command, cs, config, o) {
1508
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1509
- })
1510
- .s("AmplifyBackend", "GetBackendJob", {})
1511
- .n("AmplifyBackendClient", "GetBackendJobCommand")
1512
- .sc(GetBackendJob$)
1513
- .build() {
1356
+ class GetBackendJobCommand extends command(_ep0, _mw0, "GetBackendJob", GetBackendJob$) {
1514
1357
  }
1515
1358
 
1516
- class GetBackendStorageCommand extends Command
1517
- .classBuilder()
1518
- .ep(commonParams)
1519
- .m(function (Command, cs, config, o) {
1520
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1521
- })
1522
- .s("AmplifyBackend", "GetBackendStorage", {})
1523
- .n("AmplifyBackendClient", "GetBackendStorageCommand")
1524
- .sc(GetBackendStorage$)
1525
- .build() {
1359
+ class GetBackendStorageCommand extends command(_ep0, _mw0, "GetBackendStorage", GetBackendStorage$) {
1526
1360
  }
1527
1361
 
1528
- class GetTokenCommand extends Command
1529
- .classBuilder()
1530
- .ep(commonParams)
1531
- .m(function (Command, cs, config, o) {
1532
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1533
- })
1534
- .s("AmplifyBackend", "GetToken", {})
1535
- .n("AmplifyBackendClient", "GetTokenCommand")
1536
- .sc(GetToken$)
1537
- .build() {
1362
+ class GetTokenCommand extends command(_ep0, _mw0, "GetToken", GetToken$) {
1538
1363
  }
1539
1364
 
1540
- class ImportBackendAuthCommand extends Command
1541
- .classBuilder()
1542
- .ep(commonParams)
1543
- .m(function (Command, cs, config, o) {
1544
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1545
- })
1546
- .s("AmplifyBackend", "ImportBackendAuth", {})
1547
- .n("AmplifyBackendClient", "ImportBackendAuthCommand")
1548
- .sc(ImportBackendAuth$)
1549
- .build() {
1365
+ class ImportBackendAuthCommand extends command(_ep0, _mw0, "ImportBackendAuth", ImportBackendAuth$) {
1550
1366
  }
1551
1367
 
1552
- class ImportBackendStorageCommand extends Command
1553
- .classBuilder()
1554
- .ep(commonParams)
1555
- .m(function (Command, cs, config, o) {
1556
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1557
- })
1558
- .s("AmplifyBackend", "ImportBackendStorage", {})
1559
- .n("AmplifyBackendClient", "ImportBackendStorageCommand")
1560
- .sc(ImportBackendStorage$)
1561
- .build() {
1368
+ class ImportBackendStorageCommand extends command(_ep0, _mw0, "ImportBackendStorage", ImportBackendStorage$) {
1562
1369
  }
1563
1370
 
1564
- class ListBackendJobsCommand extends Command
1565
- .classBuilder()
1566
- .ep(commonParams)
1567
- .m(function (Command, cs, config, o) {
1568
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1569
- })
1570
- .s("AmplifyBackend", "ListBackendJobs", {})
1571
- .n("AmplifyBackendClient", "ListBackendJobsCommand")
1572
- .sc(ListBackendJobs$)
1573
- .build() {
1371
+ class ListBackendJobsCommand extends command(_ep0, _mw0, "ListBackendJobs", ListBackendJobs$) {
1574
1372
  }
1575
1373
 
1576
- class ListS3BucketsCommand extends Command
1577
- .classBuilder()
1578
- .ep(commonParams)
1579
- .m(function (Command, cs, config, o) {
1580
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1581
- })
1582
- .s("AmplifyBackend", "ListS3Buckets", {})
1583
- .n("AmplifyBackendClient", "ListS3BucketsCommand")
1584
- .sc(ListS3Buckets$)
1585
- .build() {
1374
+ class ListS3BucketsCommand extends command(_ep0, _mw0, "ListS3Buckets", ListS3Buckets$) {
1586
1375
  }
1587
1376
 
1588
- class RemoveAllBackendsCommand extends Command
1589
- .classBuilder()
1590
- .ep(commonParams)
1591
- .m(function (Command, cs, config, o) {
1592
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1593
- })
1594
- .s("AmplifyBackend", "RemoveAllBackends", {})
1595
- .n("AmplifyBackendClient", "RemoveAllBackendsCommand")
1596
- .sc(RemoveAllBackends$)
1597
- .build() {
1377
+ class RemoveAllBackendsCommand extends command(_ep0, _mw0, "RemoveAllBackends", RemoveAllBackends$) {
1598
1378
  }
1599
1379
 
1600
- class RemoveBackendConfigCommand extends Command
1601
- .classBuilder()
1602
- .ep(commonParams)
1603
- .m(function (Command, cs, config, o) {
1604
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1605
- })
1606
- .s("AmplifyBackend", "RemoveBackendConfig", {})
1607
- .n("AmplifyBackendClient", "RemoveBackendConfigCommand")
1608
- .sc(RemoveBackendConfig$)
1609
- .build() {
1380
+ class RemoveBackendConfigCommand extends command(_ep0, _mw0, "RemoveBackendConfig", RemoveBackendConfig$) {
1610
1381
  }
1611
1382
 
1612
- class UpdateBackendAPICommand extends Command
1613
- .classBuilder()
1614
- .ep(commonParams)
1615
- .m(function (Command, cs, config, o) {
1616
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1617
- })
1618
- .s("AmplifyBackend", "UpdateBackendAPI", {})
1619
- .n("AmplifyBackendClient", "UpdateBackendAPICommand")
1620
- .sc(UpdateBackendAPI$)
1621
- .build() {
1383
+ class UpdateBackendAPICommand extends command(_ep0, _mw0, "UpdateBackendAPI", UpdateBackendAPI$) {
1622
1384
  }
1623
1385
 
1624
- class UpdateBackendAuthCommand extends Command
1625
- .classBuilder()
1626
- .ep(commonParams)
1627
- .m(function (Command, cs, config, o) {
1628
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1629
- })
1630
- .s("AmplifyBackend", "UpdateBackendAuth", {})
1631
- .n("AmplifyBackendClient", "UpdateBackendAuthCommand")
1632
- .sc(UpdateBackendAuth$)
1633
- .build() {
1386
+ class UpdateBackendAuthCommand extends command(_ep0, _mw0, "UpdateBackendAuth", UpdateBackendAuth$) {
1634
1387
  }
1635
1388
 
1636
- class UpdateBackendConfigCommand extends Command
1637
- .classBuilder()
1638
- .ep(commonParams)
1639
- .m(function (Command, cs, config, o) {
1640
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1641
- })
1642
- .s("AmplifyBackend", "UpdateBackendConfig", {})
1643
- .n("AmplifyBackendClient", "UpdateBackendConfigCommand")
1644
- .sc(UpdateBackendConfig$)
1645
- .build() {
1389
+ class UpdateBackendConfigCommand extends command(_ep0, _mw0, "UpdateBackendConfig", UpdateBackendConfig$) {
1646
1390
  }
1647
1391
 
1648
- class UpdateBackendJobCommand extends Command
1649
- .classBuilder()
1650
- .ep(commonParams)
1651
- .m(function (Command, cs, config, o) {
1652
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1653
- })
1654
- .s("AmplifyBackend", "UpdateBackendJob", {})
1655
- .n("AmplifyBackendClient", "UpdateBackendJobCommand")
1656
- .sc(UpdateBackendJob$)
1657
- .build() {
1392
+ class UpdateBackendJobCommand extends command(_ep0, _mw0, "UpdateBackendJob", UpdateBackendJob$) {
1658
1393
  }
1659
1394
 
1660
- class UpdateBackendStorageCommand extends Command
1661
- .classBuilder()
1662
- .ep(commonParams)
1663
- .m(function (Command, cs, config, o) {
1664
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1665
- })
1666
- .s("AmplifyBackend", "UpdateBackendStorage", {})
1667
- .n("AmplifyBackendClient", "UpdateBackendStorageCommand")
1668
- .sc(UpdateBackendStorage$)
1669
- .build() {
1395
+ class UpdateBackendStorageCommand extends command(_ep0, _mw0, "UpdateBackendStorage", UpdateBackendStorage$) {
1670
1396
  }
1671
1397
 
1672
1398
  const commands = {
@@ -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, "AmplifyBackend", "AmplifyBackendClient", 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 { CloneBackend$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CloneBackendCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmplifyBackend", "CloneBackend", {})
13
- .n("AmplifyBackendClient", "CloneBackendCommand")
14
- .sc(CloneBackend$)
15
- .build() {
3
+ export class CloneBackendCommand extends command(_ep0, _mw0, "CloneBackend", CloneBackend$) {
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 { CreateBackendAPI$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateBackendAPICommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmplifyBackend", "CreateBackendAPI", {})
13
- .n("AmplifyBackendClient", "CreateBackendAPICommand")
14
- .sc(CreateBackendAPI$)
15
- .build() {
3
+ export class CreateBackendAPICommand extends command(_ep0, _mw0, "CreateBackendAPI", CreateBackendAPI$) {
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 { CreateBackendAuth$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateBackendAuthCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmplifyBackend", "CreateBackendAuth", {})
13
- .n("AmplifyBackendClient", "CreateBackendAuthCommand")
14
- .sc(CreateBackendAuth$)
15
- .build() {
3
+ export class CreateBackendAuthCommand extends command(_ep0, _mw0, "CreateBackendAuth", CreateBackendAuth$) {
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 { CreateBackend$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateBackendCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmplifyBackend", "CreateBackend", {})
13
- .n("AmplifyBackendClient", "CreateBackendCommand")
14
- .sc(CreateBackend$)
15
- .build() {
3
+ export class CreateBackendCommand extends command(_ep0, _mw0, "CreateBackend", CreateBackend$) {
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 { CreateBackendConfig$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateBackendConfigCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmplifyBackend", "CreateBackendConfig", {})
13
- .n("AmplifyBackendClient", "CreateBackendConfigCommand")
14
- .sc(CreateBackendConfig$)
15
- .build() {
3
+ export class CreateBackendConfigCommand extends command(_ep0, _mw0, "CreateBackendConfig", CreateBackendConfig$) {
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 { CreateBackendStorage$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateBackendStorageCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmplifyBackend", "CreateBackendStorage", {})
13
- .n("AmplifyBackendClient", "CreateBackendStorageCommand")
14
- .sc(CreateBackendStorage$)
15
- .build() {
3
+ export class CreateBackendStorageCommand extends command(_ep0, _mw0, "CreateBackendStorage", CreateBackendStorage$) {
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 { CreateToken$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateTokenCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmplifyBackend", "CreateToken", {})
13
- .n("AmplifyBackendClient", "CreateTokenCommand")
14
- .sc(CreateToken$)
15
- .build() {
3
+ export class CreateTokenCommand extends command(_ep0, _mw0, "CreateToken", CreateToken$) {
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 { DeleteBackendAPI$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteBackendAPICommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmplifyBackend", "DeleteBackendAPI", {})
13
- .n("AmplifyBackendClient", "DeleteBackendAPICommand")
14
- .sc(DeleteBackendAPI$)
15
- .build() {
3
+ export class DeleteBackendAPICommand extends command(_ep0, _mw0, "DeleteBackendAPI", DeleteBackendAPI$) {
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 { DeleteBackendAuth$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteBackendAuthCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmplifyBackend", "DeleteBackendAuth", {})
13
- .n("AmplifyBackendClient", "DeleteBackendAuthCommand")
14
- .sc(DeleteBackendAuth$)
15
- .build() {
3
+ export class DeleteBackendAuthCommand extends command(_ep0, _mw0, "DeleteBackendAuth", DeleteBackendAuth$) {
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 { DeleteBackend$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteBackendCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmplifyBackend", "DeleteBackend", {})
13
- .n("AmplifyBackendClient", "DeleteBackendCommand")
14
- .sc(DeleteBackend$)
15
- .build() {
3
+ export class DeleteBackendCommand extends command(_ep0, _mw0, "DeleteBackend", DeleteBackend$) {
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 { DeleteBackendStorage$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteBackendStorageCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AmplifyBackend", "DeleteBackendStorage", {})
13
- .n("AmplifyBackendClient", "DeleteBackendStorageCommand")
14
- .sc(DeleteBackendStorage$)
15
- .build() {
3
+ export class DeleteBackendStorageCommand extends command(_ep0, _mw0, "DeleteBackendStorage", DeleteBackendStorage$) {
16
4
  }