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