@aws-sdk/client-amplify 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 (119) hide show
  1. package/dist-cjs/index.js +45 -373
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/CreateAppCommand.js +2 -14
  4. package/dist-es/commands/CreateBackendEnvironmentCommand.js +2 -14
  5. package/dist-es/commands/CreateBranchCommand.js +2 -14
  6. package/dist-es/commands/CreateDeploymentCommand.js +2 -14
  7. package/dist-es/commands/CreateDomainAssociationCommand.js +2 -14
  8. package/dist-es/commands/CreateWebhookCommand.js +2 -14
  9. package/dist-es/commands/DeleteAppCommand.js +2 -14
  10. package/dist-es/commands/DeleteBackendEnvironmentCommand.js +2 -14
  11. package/dist-es/commands/DeleteBranchCommand.js +2 -14
  12. package/dist-es/commands/DeleteDomainAssociationCommand.js +2 -14
  13. package/dist-es/commands/DeleteJobCommand.js +2 -14
  14. package/dist-es/commands/DeleteWebhookCommand.js +2 -14
  15. package/dist-es/commands/GenerateAccessLogsCommand.js +2 -14
  16. package/dist-es/commands/GetAppCommand.js +2 -14
  17. package/dist-es/commands/GetArtifactUrlCommand.js +2 -14
  18. package/dist-es/commands/GetBackendEnvironmentCommand.js +2 -14
  19. package/dist-es/commands/GetBranchCommand.js +2 -14
  20. package/dist-es/commands/GetDomainAssociationCommand.js +2 -14
  21. package/dist-es/commands/GetJobCommand.js +2 -14
  22. package/dist-es/commands/GetWebhookCommand.js +2 -14
  23. package/dist-es/commands/ListAppsCommand.js +2 -14
  24. package/dist-es/commands/ListArtifactsCommand.js +2 -14
  25. package/dist-es/commands/ListBackendEnvironmentsCommand.js +2 -14
  26. package/dist-es/commands/ListBranchesCommand.js +2 -14
  27. package/dist-es/commands/ListDomainAssociationsCommand.js +2 -14
  28. package/dist-es/commands/ListJobsCommand.js +2 -14
  29. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  30. package/dist-es/commands/ListWebhooksCommand.js +2 -14
  31. package/dist-es/commands/StartDeploymentCommand.js +2 -14
  32. package/dist-es/commands/StartJobCommand.js +2 -14
  33. package/dist-es/commands/StopJobCommand.js +2 -14
  34. package/dist-es/commands/TagResourceCommand.js +2 -14
  35. package/dist-es/commands/UntagResourceCommand.js +2 -14
  36. package/dist-es/commands/UpdateAppCommand.js +2 -14
  37. package/dist-es/commands/UpdateBranchCommand.js +2 -14
  38. package/dist-es/commands/UpdateDomainAssociationCommand.js +2 -14
  39. package/dist-es/commands/UpdateWebhookCommand.js +2 -14
  40. package/dist-es/index.js +1 -0
  41. package/dist-types/commandBuilder.d.ts +18 -0
  42. package/dist-types/commands/CreateAppCommand.d.ts +3 -8
  43. package/dist-types/commands/CreateBackendEnvironmentCommand.d.ts +3 -8
  44. package/dist-types/commands/CreateBranchCommand.d.ts +3 -8
  45. package/dist-types/commands/CreateDeploymentCommand.d.ts +3 -8
  46. package/dist-types/commands/CreateDomainAssociationCommand.d.ts +3 -8
  47. package/dist-types/commands/CreateWebhookCommand.d.ts +3 -8
  48. package/dist-types/commands/DeleteAppCommand.d.ts +3 -8
  49. package/dist-types/commands/DeleteBackendEnvironmentCommand.d.ts +3 -8
  50. package/dist-types/commands/DeleteBranchCommand.d.ts +3 -8
  51. package/dist-types/commands/DeleteDomainAssociationCommand.d.ts +3 -8
  52. package/dist-types/commands/DeleteJobCommand.d.ts +3 -8
  53. package/dist-types/commands/DeleteWebhookCommand.d.ts +3 -8
  54. package/dist-types/commands/GenerateAccessLogsCommand.d.ts +3 -8
  55. package/dist-types/commands/GetAppCommand.d.ts +3 -8
  56. package/dist-types/commands/GetArtifactUrlCommand.d.ts +3 -8
  57. package/dist-types/commands/GetBackendEnvironmentCommand.d.ts +3 -8
  58. package/dist-types/commands/GetBranchCommand.d.ts +3 -8
  59. package/dist-types/commands/GetDomainAssociationCommand.d.ts +3 -8
  60. package/dist-types/commands/GetJobCommand.d.ts +3 -8
  61. package/dist-types/commands/GetWebhookCommand.d.ts +3 -8
  62. package/dist-types/commands/ListAppsCommand.d.ts +3 -8
  63. package/dist-types/commands/ListArtifactsCommand.d.ts +3 -8
  64. package/dist-types/commands/ListBackendEnvironmentsCommand.d.ts +3 -8
  65. package/dist-types/commands/ListBranchesCommand.d.ts +3 -8
  66. package/dist-types/commands/ListDomainAssociationsCommand.d.ts +3 -8
  67. package/dist-types/commands/ListJobsCommand.d.ts +3 -8
  68. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  69. package/dist-types/commands/ListWebhooksCommand.d.ts +3 -8
  70. package/dist-types/commands/StartDeploymentCommand.d.ts +3 -8
  71. package/dist-types/commands/StartJobCommand.d.ts +3 -8
  72. package/dist-types/commands/StopJobCommand.d.ts +3 -8
  73. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  74. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  75. package/dist-types/commands/UpdateAppCommand.d.ts +3 -8
  76. package/dist-types/commands/UpdateBranchCommand.d.ts +3 -8
  77. package/dist-types/commands/UpdateDomainAssociationCommand.d.ts +3 -8
  78. package/dist-types/commands/UpdateWebhookCommand.d.ts +3 -8
  79. package/dist-types/index.d.ts +1 -0
  80. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  81. package/dist-types/ts3.4/commands/CreateAppCommand.d.ts +7 -16
  82. package/dist-types/ts3.4/commands/CreateBackendEnvironmentCommand.d.ts +7 -16
  83. package/dist-types/ts3.4/commands/CreateBranchCommand.d.ts +7 -16
  84. package/dist-types/ts3.4/commands/CreateDeploymentCommand.d.ts +7 -16
  85. package/dist-types/ts3.4/commands/CreateDomainAssociationCommand.d.ts +7 -16
  86. package/dist-types/ts3.4/commands/CreateWebhookCommand.d.ts +7 -16
  87. package/dist-types/ts3.4/commands/DeleteAppCommand.d.ts +7 -16
  88. package/dist-types/ts3.4/commands/DeleteBackendEnvironmentCommand.d.ts +7 -16
  89. package/dist-types/ts3.4/commands/DeleteBranchCommand.d.ts +7 -16
  90. package/dist-types/ts3.4/commands/DeleteDomainAssociationCommand.d.ts +7 -16
  91. package/dist-types/ts3.4/commands/DeleteJobCommand.d.ts +7 -16
  92. package/dist-types/ts3.4/commands/DeleteWebhookCommand.d.ts +7 -16
  93. package/dist-types/ts3.4/commands/GenerateAccessLogsCommand.d.ts +7 -16
  94. package/dist-types/ts3.4/commands/GetAppCommand.d.ts +7 -16
  95. package/dist-types/ts3.4/commands/GetArtifactUrlCommand.d.ts +7 -16
  96. package/dist-types/ts3.4/commands/GetBackendEnvironmentCommand.d.ts +7 -16
  97. package/dist-types/ts3.4/commands/GetBranchCommand.d.ts +7 -16
  98. package/dist-types/ts3.4/commands/GetDomainAssociationCommand.d.ts +7 -16
  99. package/dist-types/ts3.4/commands/GetJobCommand.d.ts +7 -16
  100. package/dist-types/ts3.4/commands/GetWebhookCommand.d.ts +7 -16
  101. package/dist-types/ts3.4/commands/ListAppsCommand.d.ts +7 -16
  102. package/dist-types/ts3.4/commands/ListArtifactsCommand.d.ts +7 -16
  103. package/dist-types/ts3.4/commands/ListBackendEnvironmentsCommand.d.ts +7 -16
  104. package/dist-types/ts3.4/commands/ListBranchesCommand.d.ts +7 -16
  105. package/dist-types/ts3.4/commands/ListDomainAssociationsCommand.d.ts +7 -16
  106. package/dist-types/ts3.4/commands/ListJobsCommand.d.ts +7 -16
  107. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  108. package/dist-types/ts3.4/commands/ListWebhooksCommand.d.ts +7 -16
  109. package/dist-types/ts3.4/commands/StartDeploymentCommand.d.ts +7 -16
  110. package/dist-types/ts3.4/commands/StartJobCommand.d.ts +7 -16
  111. package/dist-types/ts3.4/commands/StopJobCommand.d.ts +7 -16
  112. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  113. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  114. package/dist-types/ts3.4/commands/UpdateAppCommand.d.ts +7 -16
  115. package/dist-types/ts3.4/commands/UpdateBranchCommand.d.ts +7 -16
  116. package/dist-types/ts3.4/commands/UpdateDomainAssociationCommand.d.ts +7 -16
  117. package/dist-types/ts3.4/commands/UpdateWebhookCommand.d.ts +7 -16
  118. package/dist-types/ts3.4/index.d.ts +1 -0
  119. 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
 
@@ -1335,448 +1336,119 @@ class AmplifyClient extends Client {
1335
1336
  }
1336
1337
  }
1337
1338
 
1338
- class CreateAppCommand extends Command
1339
- .classBuilder()
1340
- .ep(commonParams)
1341
- .m(function (Command, cs, config, o) {
1342
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1343
- })
1344
- .s("Amplify", "CreateApp", {})
1345
- .n("AmplifyClient", "CreateAppCommand")
1346
- .sc(CreateApp$)
1347
- .build() {
1339
+ const command = makeBuilder(commonParams, "Amplify", "AmplifyClient", getEndpointPlugin);
1340
+ const _ep0 = {};
1341
+ const _mw0 = (Command, cs, config, o) => [];
1342
+
1343
+ class CreateAppCommand extends command(_ep0, _mw0, "CreateApp", CreateApp$) {
1348
1344
  }
1349
1345
 
1350
- class CreateBackendEnvironmentCommand extends Command
1351
- .classBuilder()
1352
- .ep(commonParams)
1353
- .m(function (Command, cs, config, o) {
1354
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1355
- })
1356
- .s("Amplify", "CreateBackendEnvironment", {})
1357
- .n("AmplifyClient", "CreateBackendEnvironmentCommand")
1358
- .sc(CreateBackendEnvironment$)
1359
- .build() {
1346
+ class CreateBackendEnvironmentCommand extends command(_ep0, _mw0, "CreateBackendEnvironment", CreateBackendEnvironment$) {
1360
1347
  }
1361
1348
 
1362
- class CreateBranchCommand extends Command
1363
- .classBuilder()
1364
- .ep(commonParams)
1365
- .m(function (Command, cs, config, o) {
1366
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1367
- })
1368
- .s("Amplify", "CreateBranch", {})
1369
- .n("AmplifyClient", "CreateBranchCommand")
1370
- .sc(CreateBranch$)
1371
- .build() {
1349
+ class CreateBranchCommand extends command(_ep0, _mw0, "CreateBranch", CreateBranch$) {
1372
1350
  }
1373
1351
 
1374
- class CreateDeploymentCommand extends Command
1375
- .classBuilder()
1376
- .ep(commonParams)
1377
- .m(function (Command, cs, config, o) {
1378
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1379
- })
1380
- .s("Amplify", "CreateDeployment", {})
1381
- .n("AmplifyClient", "CreateDeploymentCommand")
1382
- .sc(CreateDeployment$)
1383
- .build() {
1352
+ class CreateDeploymentCommand extends command(_ep0, _mw0, "CreateDeployment", CreateDeployment$) {
1384
1353
  }
1385
1354
 
1386
- class CreateDomainAssociationCommand extends Command
1387
- .classBuilder()
1388
- .ep(commonParams)
1389
- .m(function (Command, cs, config, o) {
1390
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1391
- })
1392
- .s("Amplify", "CreateDomainAssociation", {})
1393
- .n("AmplifyClient", "CreateDomainAssociationCommand")
1394
- .sc(CreateDomainAssociation$)
1395
- .build() {
1355
+ class CreateDomainAssociationCommand extends command(_ep0, _mw0, "CreateDomainAssociation", CreateDomainAssociation$) {
1396
1356
  }
1397
1357
 
1398
- class CreateWebhookCommand extends Command
1399
- .classBuilder()
1400
- .ep(commonParams)
1401
- .m(function (Command, cs, config, o) {
1402
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1403
- })
1404
- .s("Amplify", "CreateWebhook", {})
1405
- .n("AmplifyClient", "CreateWebhookCommand")
1406
- .sc(CreateWebhook$)
1407
- .build() {
1358
+ class CreateWebhookCommand extends command(_ep0, _mw0, "CreateWebhook", CreateWebhook$) {
1408
1359
  }
1409
1360
 
1410
- class DeleteAppCommand extends Command
1411
- .classBuilder()
1412
- .ep(commonParams)
1413
- .m(function (Command, cs, config, o) {
1414
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1415
- })
1416
- .s("Amplify", "DeleteApp", {})
1417
- .n("AmplifyClient", "DeleteAppCommand")
1418
- .sc(DeleteApp$)
1419
- .build() {
1361
+ class DeleteAppCommand extends command(_ep0, _mw0, "DeleteApp", DeleteApp$) {
1420
1362
  }
1421
1363
 
1422
- class DeleteBackendEnvironmentCommand extends Command
1423
- .classBuilder()
1424
- .ep(commonParams)
1425
- .m(function (Command, cs, config, o) {
1426
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1427
- })
1428
- .s("Amplify", "DeleteBackendEnvironment", {})
1429
- .n("AmplifyClient", "DeleteBackendEnvironmentCommand")
1430
- .sc(DeleteBackendEnvironment$)
1431
- .build() {
1364
+ class DeleteBackendEnvironmentCommand extends command(_ep0, _mw0, "DeleteBackendEnvironment", DeleteBackendEnvironment$) {
1432
1365
  }
1433
1366
 
1434
- class DeleteBranchCommand extends Command
1435
- .classBuilder()
1436
- .ep(commonParams)
1437
- .m(function (Command, cs, config, o) {
1438
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1439
- })
1440
- .s("Amplify", "DeleteBranch", {})
1441
- .n("AmplifyClient", "DeleteBranchCommand")
1442
- .sc(DeleteBranch$)
1443
- .build() {
1367
+ class DeleteBranchCommand extends command(_ep0, _mw0, "DeleteBranch", DeleteBranch$) {
1444
1368
  }
1445
1369
 
1446
- class DeleteDomainAssociationCommand extends Command
1447
- .classBuilder()
1448
- .ep(commonParams)
1449
- .m(function (Command, cs, config, o) {
1450
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1451
- })
1452
- .s("Amplify", "DeleteDomainAssociation", {})
1453
- .n("AmplifyClient", "DeleteDomainAssociationCommand")
1454
- .sc(DeleteDomainAssociation$)
1455
- .build() {
1370
+ class DeleteDomainAssociationCommand extends command(_ep0, _mw0, "DeleteDomainAssociation", DeleteDomainAssociation$) {
1456
1371
  }
1457
1372
 
1458
- class DeleteJobCommand extends Command
1459
- .classBuilder()
1460
- .ep(commonParams)
1461
- .m(function (Command, cs, config, o) {
1462
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1463
- })
1464
- .s("Amplify", "DeleteJob", {})
1465
- .n("AmplifyClient", "DeleteJobCommand")
1466
- .sc(DeleteJob$)
1467
- .build() {
1373
+ class DeleteJobCommand extends command(_ep0, _mw0, "DeleteJob", DeleteJob$) {
1468
1374
  }
1469
1375
 
1470
- class DeleteWebhookCommand extends Command
1471
- .classBuilder()
1472
- .ep(commonParams)
1473
- .m(function (Command, cs, config, o) {
1474
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1475
- })
1476
- .s("Amplify", "DeleteWebhook", {})
1477
- .n("AmplifyClient", "DeleteWebhookCommand")
1478
- .sc(DeleteWebhook$)
1479
- .build() {
1376
+ class DeleteWebhookCommand extends command(_ep0, _mw0, "DeleteWebhook", DeleteWebhook$) {
1480
1377
  }
1481
1378
 
1482
- class GenerateAccessLogsCommand extends Command
1483
- .classBuilder()
1484
- .ep(commonParams)
1485
- .m(function (Command, cs, config, o) {
1486
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1487
- })
1488
- .s("Amplify", "GenerateAccessLogs", {})
1489
- .n("AmplifyClient", "GenerateAccessLogsCommand")
1490
- .sc(GenerateAccessLogs$)
1491
- .build() {
1379
+ class GenerateAccessLogsCommand extends command(_ep0, _mw0, "GenerateAccessLogs", GenerateAccessLogs$) {
1492
1380
  }
1493
1381
 
1494
- class GetAppCommand extends Command
1495
- .classBuilder()
1496
- .ep(commonParams)
1497
- .m(function (Command, cs, config, o) {
1498
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1499
- })
1500
- .s("Amplify", "GetApp", {})
1501
- .n("AmplifyClient", "GetAppCommand")
1502
- .sc(GetApp$)
1503
- .build() {
1382
+ class GetAppCommand extends command(_ep0, _mw0, "GetApp", GetApp$) {
1504
1383
  }
1505
1384
 
1506
- class GetArtifactUrlCommand extends Command
1507
- .classBuilder()
1508
- .ep(commonParams)
1509
- .m(function (Command, cs, config, o) {
1510
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1511
- })
1512
- .s("Amplify", "GetArtifactUrl", {})
1513
- .n("AmplifyClient", "GetArtifactUrlCommand")
1514
- .sc(GetArtifactUrl$)
1515
- .build() {
1385
+ class GetArtifactUrlCommand extends command(_ep0, _mw0, "GetArtifactUrl", GetArtifactUrl$) {
1516
1386
  }
1517
1387
 
1518
- class GetBackendEnvironmentCommand extends Command
1519
- .classBuilder()
1520
- .ep(commonParams)
1521
- .m(function (Command, cs, config, o) {
1522
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1523
- })
1524
- .s("Amplify", "GetBackendEnvironment", {})
1525
- .n("AmplifyClient", "GetBackendEnvironmentCommand")
1526
- .sc(GetBackendEnvironment$)
1527
- .build() {
1388
+ class GetBackendEnvironmentCommand extends command(_ep0, _mw0, "GetBackendEnvironment", GetBackendEnvironment$) {
1528
1389
  }
1529
1390
 
1530
- class GetBranchCommand extends Command
1531
- .classBuilder()
1532
- .ep(commonParams)
1533
- .m(function (Command, cs, config, o) {
1534
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1535
- })
1536
- .s("Amplify", "GetBranch", {})
1537
- .n("AmplifyClient", "GetBranchCommand")
1538
- .sc(GetBranch$)
1539
- .build() {
1391
+ class GetBranchCommand extends command(_ep0, _mw0, "GetBranch", GetBranch$) {
1540
1392
  }
1541
1393
 
1542
- class GetDomainAssociationCommand extends Command
1543
- .classBuilder()
1544
- .ep(commonParams)
1545
- .m(function (Command, cs, config, o) {
1546
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1547
- })
1548
- .s("Amplify", "GetDomainAssociation", {})
1549
- .n("AmplifyClient", "GetDomainAssociationCommand")
1550
- .sc(GetDomainAssociation$)
1551
- .build() {
1394
+ class GetDomainAssociationCommand extends command(_ep0, _mw0, "GetDomainAssociation", GetDomainAssociation$) {
1552
1395
  }
1553
1396
 
1554
- class GetJobCommand extends Command
1555
- .classBuilder()
1556
- .ep(commonParams)
1557
- .m(function (Command, cs, config, o) {
1558
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1559
- })
1560
- .s("Amplify", "GetJob", {})
1561
- .n("AmplifyClient", "GetJobCommand")
1562
- .sc(GetJob$)
1563
- .build() {
1397
+ class GetJobCommand extends command(_ep0, _mw0, "GetJob", GetJob$) {
1564
1398
  }
1565
1399
 
1566
- class GetWebhookCommand extends Command
1567
- .classBuilder()
1568
- .ep(commonParams)
1569
- .m(function (Command, cs, config, o) {
1570
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1571
- })
1572
- .s("Amplify", "GetWebhook", {})
1573
- .n("AmplifyClient", "GetWebhookCommand")
1574
- .sc(GetWebhook$)
1575
- .build() {
1400
+ class GetWebhookCommand extends command(_ep0, _mw0, "GetWebhook", GetWebhook$) {
1576
1401
  }
1577
1402
 
1578
- class ListAppsCommand extends Command
1579
- .classBuilder()
1580
- .ep(commonParams)
1581
- .m(function (Command, cs, config, o) {
1582
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1583
- })
1584
- .s("Amplify", "ListApps", {})
1585
- .n("AmplifyClient", "ListAppsCommand")
1586
- .sc(ListApps$)
1587
- .build() {
1403
+ class ListAppsCommand extends command(_ep0, _mw0, "ListApps", ListApps$) {
1588
1404
  }
1589
1405
 
1590
- class ListArtifactsCommand extends Command
1591
- .classBuilder()
1592
- .ep(commonParams)
1593
- .m(function (Command, cs, config, o) {
1594
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1595
- })
1596
- .s("Amplify", "ListArtifacts", {})
1597
- .n("AmplifyClient", "ListArtifactsCommand")
1598
- .sc(ListArtifacts$)
1599
- .build() {
1406
+ class ListArtifactsCommand extends command(_ep0, _mw0, "ListArtifacts", ListArtifacts$) {
1600
1407
  }
1601
1408
 
1602
- class ListBackendEnvironmentsCommand extends Command
1603
- .classBuilder()
1604
- .ep(commonParams)
1605
- .m(function (Command, cs, config, o) {
1606
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1607
- })
1608
- .s("Amplify", "ListBackendEnvironments", {})
1609
- .n("AmplifyClient", "ListBackendEnvironmentsCommand")
1610
- .sc(ListBackendEnvironments$)
1611
- .build() {
1409
+ class ListBackendEnvironmentsCommand extends command(_ep0, _mw0, "ListBackendEnvironments", ListBackendEnvironments$) {
1612
1410
  }
1613
1411
 
1614
- class ListBranchesCommand extends Command
1615
- .classBuilder()
1616
- .ep(commonParams)
1617
- .m(function (Command, cs, config, o) {
1618
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1619
- })
1620
- .s("Amplify", "ListBranches", {})
1621
- .n("AmplifyClient", "ListBranchesCommand")
1622
- .sc(ListBranches$)
1623
- .build() {
1412
+ class ListBranchesCommand extends command(_ep0, _mw0, "ListBranches", ListBranches$) {
1624
1413
  }
1625
1414
 
1626
- class ListDomainAssociationsCommand extends Command
1627
- .classBuilder()
1628
- .ep(commonParams)
1629
- .m(function (Command, cs, config, o) {
1630
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1631
- })
1632
- .s("Amplify", "ListDomainAssociations", {})
1633
- .n("AmplifyClient", "ListDomainAssociationsCommand")
1634
- .sc(ListDomainAssociations$)
1635
- .build() {
1415
+ class ListDomainAssociationsCommand extends command(_ep0, _mw0, "ListDomainAssociations", ListDomainAssociations$) {
1636
1416
  }
1637
1417
 
1638
- class ListJobsCommand extends Command
1639
- .classBuilder()
1640
- .ep(commonParams)
1641
- .m(function (Command, cs, config, o) {
1642
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1643
- })
1644
- .s("Amplify", "ListJobs", {})
1645
- .n("AmplifyClient", "ListJobsCommand")
1646
- .sc(ListJobs$)
1647
- .build() {
1418
+ class ListJobsCommand extends command(_ep0, _mw0, "ListJobs", ListJobs$) {
1648
1419
  }
1649
1420
 
1650
- class ListTagsForResourceCommand extends Command
1651
- .classBuilder()
1652
- .ep(commonParams)
1653
- .m(function (Command, cs, config, o) {
1654
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1655
- })
1656
- .s("Amplify", "ListTagsForResource", {})
1657
- .n("AmplifyClient", "ListTagsForResourceCommand")
1658
- .sc(ListTagsForResource$)
1659
- .build() {
1421
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
1660
1422
  }
1661
1423
 
1662
- class ListWebhooksCommand extends Command
1663
- .classBuilder()
1664
- .ep(commonParams)
1665
- .m(function (Command, cs, config, o) {
1666
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1667
- })
1668
- .s("Amplify", "ListWebhooks", {})
1669
- .n("AmplifyClient", "ListWebhooksCommand")
1670
- .sc(ListWebhooks$)
1671
- .build() {
1424
+ class ListWebhooksCommand extends command(_ep0, _mw0, "ListWebhooks", ListWebhooks$) {
1672
1425
  }
1673
1426
 
1674
- class StartDeploymentCommand extends Command
1675
- .classBuilder()
1676
- .ep(commonParams)
1677
- .m(function (Command, cs, config, o) {
1678
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1679
- })
1680
- .s("Amplify", "StartDeployment", {})
1681
- .n("AmplifyClient", "StartDeploymentCommand")
1682
- .sc(StartDeployment$)
1683
- .build() {
1427
+ class StartDeploymentCommand extends command(_ep0, _mw0, "StartDeployment", StartDeployment$) {
1684
1428
  }
1685
1429
 
1686
- class StartJobCommand extends Command
1687
- .classBuilder()
1688
- .ep(commonParams)
1689
- .m(function (Command, cs, config, o) {
1690
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1691
- })
1692
- .s("Amplify", "StartJob", {})
1693
- .n("AmplifyClient", "StartJobCommand")
1694
- .sc(StartJob$)
1695
- .build() {
1430
+ class StartJobCommand extends command(_ep0, _mw0, "StartJob", StartJob$) {
1696
1431
  }
1697
1432
 
1698
- class StopJobCommand extends Command
1699
- .classBuilder()
1700
- .ep(commonParams)
1701
- .m(function (Command, cs, config, o) {
1702
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1703
- })
1704
- .s("Amplify", "StopJob", {})
1705
- .n("AmplifyClient", "StopJobCommand")
1706
- .sc(StopJob$)
1707
- .build() {
1433
+ class StopJobCommand extends command(_ep0, _mw0, "StopJob", StopJob$) {
1708
1434
  }
1709
1435
 
1710
- class TagResourceCommand extends Command
1711
- .classBuilder()
1712
- .ep(commonParams)
1713
- .m(function (Command, cs, config, o) {
1714
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1715
- })
1716
- .s("Amplify", "TagResource", {})
1717
- .n("AmplifyClient", "TagResourceCommand")
1718
- .sc(TagResource$)
1719
- .build() {
1436
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
1720
1437
  }
1721
1438
 
1722
- class UntagResourceCommand extends Command
1723
- .classBuilder()
1724
- .ep(commonParams)
1725
- .m(function (Command, cs, config, o) {
1726
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1727
- })
1728
- .s("Amplify", "UntagResource", {})
1729
- .n("AmplifyClient", "UntagResourceCommand")
1730
- .sc(UntagResource$)
1731
- .build() {
1439
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
1732
1440
  }
1733
1441
 
1734
- class UpdateAppCommand extends Command
1735
- .classBuilder()
1736
- .ep(commonParams)
1737
- .m(function (Command, cs, config, o) {
1738
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1739
- })
1740
- .s("Amplify", "UpdateApp", {})
1741
- .n("AmplifyClient", "UpdateAppCommand")
1742
- .sc(UpdateApp$)
1743
- .build() {
1442
+ class UpdateAppCommand extends command(_ep0, _mw0, "UpdateApp", UpdateApp$) {
1744
1443
  }
1745
1444
 
1746
- class UpdateBranchCommand extends Command
1747
- .classBuilder()
1748
- .ep(commonParams)
1749
- .m(function (Command, cs, config, o) {
1750
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1751
- })
1752
- .s("Amplify", "UpdateBranch", {})
1753
- .n("AmplifyClient", "UpdateBranchCommand")
1754
- .sc(UpdateBranch$)
1755
- .build() {
1445
+ class UpdateBranchCommand extends command(_ep0, _mw0, "UpdateBranch", UpdateBranch$) {
1756
1446
  }
1757
1447
 
1758
- class UpdateDomainAssociationCommand extends Command
1759
- .classBuilder()
1760
- .ep(commonParams)
1761
- .m(function (Command, cs, config, o) {
1762
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1763
- })
1764
- .s("Amplify", "UpdateDomainAssociation", {})
1765
- .n("AmplifyClient", "UpdateDomainAssociationCommand")
1766
- .sc(UpdateDomainAssociation$)
1767
- .build() {
1448
+ class UpdateDomainAssociationCommand extends command(_ep0, _mw0, "UpdateDomainAssociation", UpdateDomainAssociation$) {
1768
1449
  }
1769
1450
 
1770
- class UpdateWebhookCommand extends Command
1771
- .classBuilder()
1772
- .ep(commonParams)
1773
- .m(function (Command, cs, config, o) {
1774
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1775
- })
1776
- .s("Amplify", "UpdateWebhook", {})
1777
- .n("AmplifyClient", "UpdateWebhookCommand")
1778
- .sc(UpdateWebhook$)
1779
- .build() {
1451
+ class UpdateWebhookCommand extends command(_ep0, _mw0, "UpdateWebhook", UpdateWebhook$) {
1780
1452
  }
1781
1453
 
1782
1454
  const paginateListApps = createPaginator(AmplifyClient, ListAppsCommand, "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, "Amplify", "AmplifyClient", 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 { CreateApp$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateAppCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Amplify", "CreateApp", {})
13
- .n("AmplifyClient", "CreateAppCommand")
14
- .sc(CreateApp$)
15
- .build() {
3
+ export class CreateAppCommand extends command(_ep0, _mw0, "CreateApp", CreateApp$) {
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 { CreateBackendEnvironment$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateBackendEnvironmentCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Amplify", "CreateBackendEnvironment", {})
13
- .n("AmplifyClient", "CreateBackendEnvironmentCommand")
14
- .sc(CreateBackendEnvironment$)
15
- .build() {
3
+ export class CreateBackendEnvironmentCommand extends command(_ep0, _mw0, "CreateBackendEnvironment", CreateBackendEnvironment$) {
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 { CreateBranch$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateBranchCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Amplify", "CreateBranch", {})
13
- .n("AmplifyClient", "CreateBranchCommand")
14
- .sc(CreateBranch$)
15
- .build() {
3
+ export class CreateBranchCommand extends command(_ep0, _mw0, "CreateBranch", CreateBranch$) {
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 { CreateDeployment$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateDeploymentCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Amplify", "CreateDeployment", {})
13
- .n("AmplifyClient", "CreateDeploymentCommand")
14
- .sc(CreateDeployment$)
15
- .build() {
3
+ export class CreateDeploymentCommand extends command(_ep0, _mw0, "CreateDeployment", CreateDeployment$) {
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 { CreateDomainAssociation$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateDomainAssociationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Amplify", "CreateDomainAssociation", {})
13
- .n("AmplifyClient", "CreateDomainAssociationCommand")
14
- .sc(CreateDomainAssociation$)
15
- .build() {
3
+ export class CreateDomainAssociationCommand extends command(_ep0, _mw0, "CreateDomainAssociation", CreateDomainAssociation$) {
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 { CreateWebhook$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateWebhookCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Amplify", "CreateWebhook", {})
13
- .n("AmplifyClient", "CreateWebhookCommand")
14
- .sc(CreateWebhook$)
15
- .build() {
3
+ export class CreateWebhookCommand extends command(_ep0, _mw0, "CreateWebhook", CreateWebhook$) {
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 { DeleteApp$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteAppCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Amplify", "DeleteApp", {})
13
- .n("AmplifyClient", "DeleteAppCommand")
14
- .sc(DeleteApp$)
15
- .build() {
3
+ export class DeleteAppCommand extends command(_ep0, _mw0, "DeleteApp", DeleteApp$) {
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 { DeleteBackendEnvironment$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteBackendEnvironmentCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("Amplify", "DeleteBackendEnvironment", {})
13
- .n("AmplifyClient", "DeleteBackendEnvironmentCommand")
14
- .sc(DeleteBackendEnvironment$)
15
- .build() {
3
+ export class DeleteBackendEnvironmentCommand extends command(_ep0, _mw0, "DeleteBackendEnvironment", DeleteBackendEnvironment$) {
16
4
  }